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> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1296where
1297 R: Send + Sync + std::fmt::Debug + 'static,
1298{
1299 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1300 match err {
1301 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1302 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1303 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1304 source: err.into(),
1305 }),
1306 }
1307 }
1308}
1309impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1310 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1311 match err {
1312 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1313 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1314 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1315 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1316 Error::IntegrationConflictOperationFault(inner)
1317 }
1318 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1319 Error::IntegrationQuotaExceededFault(inner)
1320 }
1321 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1322 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1323 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1324 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1325 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1326 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1327 Error::ResourceNumberLimitExceededException(inner)
1328 }
1329 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1330 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1331 }
1332 }
1333}
1334impl<R>
1335 From<
1336 ::aws_smithy_runtime_api::client::result::SdkError<
1337 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1338 R,
1339 >,
1340 > for Error
1341where
1342 R: Send + Sync + std::fmt::Debug + 'static,
1343{
1344 fn from(
1345 err: ::aws_smithy_runtime_api::client::result::SdkError<
1346 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1347 R,
1348 >,
1349 ) -> Self {
1350 match err {
1351 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1352 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1353 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1354 source: err.into(),
1355 }),
1356 }
1357 }
1358}
1359impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1360 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1361 match err {
1362 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1363 Error::AccessDeniedException(inner)
1364 }
1365 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1366 Error::ConflictException(inner)
1367 }
1368 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1369 Error::EntityNotFoundException(inner)
1370 }
1371 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1372 Error::InternalServerException(inner)
1373 }
1374 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1375 Error::InternalServiceException(inner)
1376 }
1377 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1378 Error::InvalidInputException(inner)
1379 }
1380 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1381 Error::ResourceNotFoundException(inner)
1382 }
1383 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1384 Error::ValidationException(inner)
1385 }
1386 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1387 Error::Unhandled(inner)
1388 }
1389 }
1390 }
1391}
1392impl<R>
1393 From<
1394 ::aws_smithy_runtime_api::client::result::SdkError<
1395 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1396 R,
1397 >,
1398 > for Error
1399where
1400 R: Send + Sync + std::fmt::Debug + 'static,
1401{
1402 fn from(
1403 err: ::aws_smithy_runtime_api::client::result::SdkError<
1404 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1405 R,
1406 >,
1407 ) -> Self {
1408 match err {
1409 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1410 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1411 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1412 source: err.into(),
1413 }),
1414 }
1415 }
1416}
1417impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1418 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1419 match err {
1420 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1421 Error::AccessDeniedException(inner)
1422 }
1423 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1424 Error::EntityNotFoundException(inner)
1425 }
1426 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1427 Error::InternalServerException(inner)
1428 }
1429 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1430 Error::InternalServiceException(inner)
1431 }
1432 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1433 Error::InvalidInputException(inner)
1434 }
1435 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1436 Error::ResourceNotFoundException(inner)
1437 }
1438 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1439 Error::ValidationException(inner)
1440 }
1441 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1442 }
1443 }
1444}
1445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1446where
1447 R: Send + Sync + std::fmt::Debug + 'static,
1448{
1449 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1450 match err {
1451 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1452 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1453 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1454 source: err.into(),
1455 }),
1456 }
1457 }
1458}
1459impl From<crate::operation::create_job::CreateJobError> for Error {
1460 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1461 match err {
1462 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1463 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1464 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1465 Error::IdempotentParameterMismatchException(inner)
1466 }
1467 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1468 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1469 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1470 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1471 Error::ResourceNumberLimitExceededException(inner)
1472 }
1473 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1474 }
1475 }
1476}
1477impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1478where
1479 R: Send + Sync + std::fmt::Debug + 'static,
1480{
1481 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1482 match err {
1483 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1484 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1485 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1486 source: err.into(),
1487 }),
1488 }
1489 }
1490}
1491impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1492 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1493 match err {
1494 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1495 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1496 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1497 Error::IdempotentParameterMismatchException(inner)
1498 }
1499 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1500 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1501 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1502 Error::OperationTimeoutException(inner)
1503 }
1504 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1505 Error::ResourceNumberLimitExceededException(inner)
1506 }
1507 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1508 }
1509 }
1510}
1511impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1512where
1513 R: Send + Sync + std::fmt::Debug + 'static,
1514{
1515 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1516 match err {
1517 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1518 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1519 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1520 source: err.into(),
1521 }),
1522 }
1523 }
1524}
1525impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1526 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1527 match err {
1528 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1529 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1530 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1531 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1532 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1533 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1534 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1535 Error::ResourceNumberLimitExceededException(inner)
1536 }
1537 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1538 }
1539 }
1540}
1541impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1542where
1543 R: Send + Sync + std::fmt::Debug + 'static,
1544{
1545 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1546 match err {
1547 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1548 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1549 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1550 source: err.into(),
1551 }),
1552 }
1553 }
1554}
1555impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1556 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1557 match err {
1558 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1559 Error::AlreadyExistsException(inner)
1560 }
1561 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1562 Error::EntityNotFoundException(inner)
1563 }
1564 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1565 Error::GlueEncryptionException(inner)
1566 }
1567 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1568 Error::InternalServiceException(inner)
1569 }
1570 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1571 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1572 Error::OperationTimeoutException(inner)
1573 }
1574 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1575 Error::ResourceNumberLimitExceededException(inner)
1576 }
1577 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1578 }
1579 }
1580}
1581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1582where
1583 R: Send + Sync + std::fmt::Debug + 'static,
1584{
1585 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1586 match err {
1587 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1588 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1589 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1590 source: err.into(),
1591 }),
1592 }
1593 }
1594}
1595impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1596 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1597 match err {
1598 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1599 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1600 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1601 Error::ConcurrentModificationException(inner)
1602 }
1603 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1604 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1605 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1606 Error::ResourceNumberLimitExceededException(inner)
1607 }
1608 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1609 }
1610 }
1611}
1612impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1613where
1614 R: Send + Sync + std::fmt::Debug + 'static,
1615{
1616 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1617 match err {
1618 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1619 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1620 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1621 source: err.into(),
1622 }),
1623 }
1624 }
1625}
1626impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1627 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1628 match err {
1629 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1630 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1631 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1632 Error::ConcurrentModificationException(inner)
1633 }
1634 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1635 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1636 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1637 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1638 Error::ResourceNumberLimitExceededException(inner)
1639 }
1640 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1641 }
1642 }
1643}
1644impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1645where
1646 R: Send + Sync + std::fmt::Debug + 'static,
1647{
1648 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1649 match err {
1650 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1651 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1652 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1653 source: err.into(),
1654 }),
1655 }
1656 }
1657}
1658impl From<crate::operation::create_script::CreateScriptError> for Error {
1659 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1660 match err {
1661 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1662 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1663 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1664 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1665 }
1666 }
1667}
1668impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
1669 for Error
1670where
1671 R: Send + Sync + std::fmt::Debug + 'static,
1672{
1673 fn from(
1674 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
1675 ) -> Self {
1676 match err {
1677 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1678 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1679 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1680 source: err.into(),
1681 }),
1682 }
1683 }
1684}
1685impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
1686 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
1687 match err {
1688 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
1689 Error::AlreadyExistsException(inner)
1690 }
1691 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
1692 Error::InternalServiceException(inner)
1693 }
1694 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
1695 Error::InvalidInputException(inner)
1696 }
1697 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
1698 Error::OperationTimeoutException(inner)
1699 }
1700 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
1701 Error::ResourceNumberLimitExceededException(inner)
1702 }
1703 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1704 }
1705 }
1706}
1707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
1708where
1709 R: Send + Sync + std::fmt::Debug + 'static,
1710{
1711 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
1712 match err {
1713 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1714 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1715 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1716 source: err.into(),
1717 }),
1718 }
1719 }
1720}
1721impl From<crate::operation::create_session::CreateSessionError> for Error {
1722 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
1723 match err {
1724 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1725 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1726 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
1727 Error::IdempotentParameterMismatchException(inner)
1728 }
1729 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1730 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1731 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1732 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
1733 Error::ResourceNumberLimitExceededException(inner)
1734 }
1735 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
1736 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
1737 }
1738 }
1739}
1740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
1741where
1742 R: Send + Sync + std::fmt::Debug + 'static,
1743{
1744 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
1745 match err {
1746 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1747 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1748 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1749 source: err.into(),
1750 }),
1751 }
1752 }
1753}
1754impl From<crate::operation::create_table::CreateTableError> for Error {
1755 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
1756 match err {
1757 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1758 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1759 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1760 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1761 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
1762 Error::FederationSourceRetryableException(inner)
1763 }
1764 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1765 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1766 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1767 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1768 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
1769 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
1770 Error::ResourceNumberLimitExceededException(inner)
1771 }
1772 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
1773 }
1774 }
1775}
1776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
1777where
1778 R: Send + Sync + std::fmt::Debug + 'static,
1779{
1780 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
1781 match err {
1782 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1783 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1784 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1785 source: err.into(),
1786 }),
1787 }
1788 }
1789}
1790impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
1791 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
1792 match err {
1793 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1794 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
1795 Error::AlreadyExistsException(inner)
1796 }
1797 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
1798 Error::EntityNotFoundException(inner)
1799 }
1800 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
1801 Error::InternalServiceException(inner)
1802 }
1803 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1804 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1805 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
1806 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
1807 }
1808 }
1809}
1810impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
1811where
1812 R: Send + Sync + std::fmt::Debug + 'static,
1813{
1814 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
1815 match err {
1816 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1817 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1818 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1819 source: err.into(),
1820 }),
1821 }
1822 }
1823}
1824impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
1825 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
1826 match err {
1827 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1828 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
1829 Error::ConcurrentModificationException(inner)
1830 }
1831 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1832 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
1833 Error::IdempotentParameterMismatchException(inner)
1834 }
1835 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1836 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1837 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1838 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
1839 Error::ResourceNumberLimitExceededException(inner)
1840 }
1841 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
1842 }
1843 }
1844}
1845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
1846where
1847 R: Send + Sync + std::fmt::Debug + 'static,
1848{
1849 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
1850 match err {
1851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1854 source: err.into(),
1855 }),
1856 }
1857 }
1858}
1859impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
1860 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
1861 match err {
1862 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1863 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
1864 Error::InternalServiceException(inner)
1865 }
1866 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1867 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
1868 Error::OperationNotSupportedException(inner)
1869 }
1870 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
1871 Error::OperationTimeoutException(inner)
1872 }
1873 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
1874 Error::ResourceNumberLimitExceededException(inner)
1875 }
1876 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
1877 }
1878 }
1879}
1880impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
1881 for Error
1882where
1883 R: Send + Sync + std::fmt::Debug + 'static,
1884{
1885 fn from(
1886 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
1887 ) -> 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_user_defined_function::CreateUserDefinedFunctionError> for Error {
1898 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
1899 match err {
1900 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
1901 Error::AlreadyExistsException(inner)
1902 }
1903 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
1904 Error::EntityNotFoundException(inner)
1905 }
1906 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
1907 Error::GlueEncryptionException(inner)
1908 }
1909 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
1910 Error::InternalServiceException(inner)
1911 }
1912 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
1913 Error::InvalidInputException(inner)
1914 }
1915 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
1916 Error::OperationTimeoutException(inner)
1917 }
1918 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
1919 Error::ResourceNumberLimitExceededException(inner)
1920 }
1921 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
1922 }
1923 }
1924}
1925impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
1926where
1927 R: Send + Sync + std::fmt::Debug + 'static,
1928{
1929 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
1930 match err {
1931 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1932 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1933 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1934 source: err.into(),
1935 }),
1936 }
1937 }
1938}
1939impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
1940 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
1941 match err {
1942 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1943 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
1944 Error::ConcurrentModificationException(inner)
1945 }
1946 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1947 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1948 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1949 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
1950 Error::ResourceNumberLimitExceededException(inner)
1951 }
1952 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1953 }
1954 }
1955}
1956impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>> for Error
1957where
1958 R: Send + Sync + std::fmt::Debug + 'static,
1959{
1960 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>) -> Self {
1961 match err {
1962 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1963 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1964 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1965 source: err.into(),
1966 }),
1967 }
1968 }
1969}
1970impl From<crate::operation::delete_blueprint::DeleteBlueprintError> for Error {
1971 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
1972 match err {
1973 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1974 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1975 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1976 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
1977 }
1978 }
1979}
1980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
1981where
1982 R: Send + Sync + std::fmt::Debug + 'static,
1983{
1984 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
1985 match err {
1986 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1987 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1988 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1989 source: err.into(),
1990 }),
1991 }
1992 }
1993}
1994impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
1995 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
1996 match err {
1997 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1998 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
1999 Error::ConcurrentModificationException(inner)
2000 }
2001 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2002 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2003 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2004 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2005 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2006 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2007 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2008 }
2009 }
2010}
2011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2012where
2013 R: Send + Sync + std::fmt::Debug + 'static,
2014{
2015 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2016 match err {
2017 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2018 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2019 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2020 source: err.into(),
2021 }),
2022 }
2023 }
2024}
2025impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2026 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2027 match err {
2028 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2029 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2030 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2031 }
2032 }
2033}
2034impl<R>
2035 From<
2036 ::aws_smithy_runtime_api::client::result::SdkError<
2037 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2038 R,
2039 >,
2040 > for Error
2041where
2042 R: Send + Sync + std::fmt::Debug + 'static,
2043{
2044 fn from(
2045 err: ::aws_smithy_runtime_api::client::result::SdkError<
2046 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2047 R,
2048 >,
2049 ) -> Self {
2050 match err {
2051 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2052 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2053 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2054 source: err.into(),
2055 }),
2056 }
2057 }
2058}
2059impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2060 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2061 match err {
2062 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2063 Error::EntityNotFoundException(inner)
2064 }
2065 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2066 Error::GlueEncryptionException(inner)
2067 }
2068 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2069 Error::InternalServiceException(inner)
2070 }
2071 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2072 Error::InvalidInputException(inner)
2073 }
2074 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2075 Error::OperationTimeoutException(inner)
2076 }
2077 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2078 Error::Unhandled(inner)
2079 }
2080 }
2081 }
2082}
2083impl<R>
2084 From<
2085 ::aws_smithy_runtime_api::client::result::SdkError<
2086 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2087 R,
2088 >,
2089 > for Error
2090where
2091 R: Send + Sync + std::fmt::Debug + 'static,
2092{
2093 fn from(
2094 err: ::aws_smithy_runtime_api::client::result::SdkError<
2095 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2096 R,
2097 >,
2098 ) -> Self {
2099 match err {
2100 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2101 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2102 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2103 source: err.into(),
2104 }),
2105 }
2106 }
2107}
2108impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2109 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2110 match err {
2111 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2112 Error::EntityNotFoundException(inner)
2113 }
2114 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2115 Error::GlueEncryptionException(inner)
2116 }
2117 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2118 Error::InternalServiceException(inner)
2119 }
2120 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2121 Error::InvalidInputException(inner)
2122 }
2123 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2124 Error::OperationTimeoutException(inner)
2125 }
2126 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2127 }
2128 }
2129}
2130impl<R>
2131 From<
2132 ::aws_smithy_runtime_api::client::result::SdkError<
2133 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2134 R,
2135 >,
2136 > for Error
2137where
2138 R: Send + Sync + std::fmt::Debug + 'static,
2139{
2140 fn from(
2141 err: ::aws_smithy_runtime_api::client::result::SdkError<
2142 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2143 R,
2144 >,
2145 ) -> Self {
2146 match err {
2147 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2148 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2149 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2150 source: err.into(),
2151 }),
2152 }
2153 }
2154}
2155impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2156 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2157 match err {
2158 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2159 Error::EntityNotFoundException(inner)
2160 }
2161 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2162 Error::InvalidInputException(inner)
2163 }
2164 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2165 Error::OperationTimeoutException(inner)
2166 }
2167 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2168 Error::Unhandled(inner)
2169 }
2170 }
2171 }
2172}
2173impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2174where
2175 R: Send + Sync + std::fmt::Debug + 'static,
2176{
2177 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2178 match err {
2179 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2180 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2181 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2182 source: err.into(),
2183 }),
2184 }
2185 }
2186}
2187impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2188 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2189 match err {
2190 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2191 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2192 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2193 }
2194 }
2195}
2196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2197where
2198 R: Send + Sync + std::fmt::Debug + 'static,
2199{
2200 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2201 match err {
2202 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2203 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2204 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2205 source: err.into(),
2206 }),
2207 }
2208 }
2209}
2210impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2211 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2212 match err {
2213 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2214 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2215 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2216 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2217 Error::SchedulerTransitioningException(inner)
2218 }
2219 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2220 }
2221 }
2222}
2223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2224 for Error
2225where
2226 R: Send + Sync + std::fmt::Debug + 'static,
2227{
2228 fn from(
2229 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2230 ) -> Self {
2231 match err {
2232 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2233 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2234 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2235 source: err.into(),
2236 }),
2237 }
2238 }
2239}
2240impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2241 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2242 match err {
2243 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2244 Error::AccessDeniedException(inner)
2245 }
2246 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2247 Error::EntityNotFoundException(inner)
2248 }
2249 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2250 Error::InternalServiceException(inner)
2251 }
2252 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2253 Error::InvalidInputException(inner)
2254 }
2255 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2256 Error::OperationTimeoutException(inner)
2257 }
2258 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2259 }
2260 }
2261}
2262impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2263where
2264 R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2267 match err {
2268 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2269 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2270 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2271 source: err.into(),
2272 }),
2273 }
2274 }
2275}
2276impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2277 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2278 match err {
2279 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2280 Error::ConcurrentModificationException(inner)
2281 }
2282 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2283 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2284 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2285 Error::FederationSourceRetryableException(inner)
2286 }
2287 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2288 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2289 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2290 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2291 }
2292 }
2293}
2294impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2295 for Error
2296where
2297 R: Send + Sync + std::fmt::Debug + 'static,
2298{
2299 fn from(
2300 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2301 ) -> Self {
2302 match err {
2303 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2304 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2305 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2306 source: err.into(),
2307 }),
2308 }
2309 }
2310}
2311impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2312 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2313 match err {
2314 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2315 Error::EntityNotFoundException(inner)
2316 }
2317 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2318 Error::InternalServiceException(inner)
2319 }
2320 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2321 Error::InvalidInputException(inner)
2322 }
2323 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2324 Error::OperationTimeoutException(inner)
2325 }
2326 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2327 }
2328 }
2329}
2330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2331where
2332 R: Send + Sync + std::fmt::Debug + 'static,
2333{
2334 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2335 match err {
2336 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2337 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2338 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2339 source: err.into(),
2340 }),
2341 }
2342 }
2343}
2344impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2345 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2346 match err {
2347 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2348 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2349 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2350 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2351 Error::OperationTimeoutException(inner)
2352 }
2353 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2354 }
2355 }
2356}
2357impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2358where
2359 R: Send + Sync + std::fmt::Debug + 'static,
2360{
2361 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2362 match err {
2363 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2364 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2365 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2366 source: err.into(),
2367 }),
2368 }
2369 }
2370}
2371impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2372 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2373 match err {
2374 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2375 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2376 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2377 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2378 Error::IntegrationConflictOperationFault(inner)
2379 }
2380 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2381 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2382 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2383 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2384 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2385 Error::InvalidIntegrationStateFault(inner)
2386 }
2387 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2388 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2389 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2390 }
2391 }
2392}
2393impl<R>
2394 From<
2395 ::aws_smithy_runtime_api::client::result::SdkError<
2396 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2397 R,
2398 >,
2399 > for Error
2400where
2401 R: Send + Sync + std::fmt::Debug + 'static,
2402{
2403 fn from(
2404 err: ::aws_smithy_runtime_api::client::result::SdkError<
2405 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2406 R,
2407 >,
2408 ) -> Self {
2409 match err {
2410 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2411 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2412 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2413 source: err.into(),
2414 }),
2415 }
2416 }
2417}
2418impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
2419 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
2420 match err {
2421 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
2422 Error::AccessDeniedException(inner)
2423 }
2424 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
2425 Error::EntityNotFoundException(inner)
2426 }
2427 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
2428 Error::InternalServerException(inner)
2429 }
2430 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
2431 Error::InternalServiceException(inner)
2432 }
2433 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
2434 Error::InvalidInputException(inner)
2435 }
2436 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
2437 Error::ResourceNotFoundException(inner)
2438 }
2439 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
2440 Error::ValidationException(inner)
2441 }
2442 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
2443 }
2444 }
2445}
2446impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
2447where
2448 R: Send + Sync + std::fmt::Debug + 'static,
2449{
2450 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
2451 match err {
2452 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2453 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2454 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2455 source: err.into(),
2456 }),
2457 }
2458 }
2459}
2460impl From<crate::operation::delete_job::DeleteJobError> for Error {
2461 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
2462 match err {
2463 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2464 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2465 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2466 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
2467 }
2468 }
2469}
2470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
2471where
2472 R: Send + Sync + std::fmt::Debug + 'static,
2473{
2474 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
2475 match err {
2476 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2477 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2478 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2479 source: err.into(),
2480 }),
2481 }
2482 }
2483}
2484impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
2485 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
2486 match err {
2487 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2488 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2489 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2490 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
2491 Error::OperationTimeoutException(inner)
2492 }
2493 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
2494 }
2495 }
2496}
2497impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
2498where
2499 R: Send + Sync + std::fmt::Debug + 'static,
2500{
2501 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
2502 match err {
2503 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2504 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2505 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2506 source: err.into(),
2507 }),
2508 }
2509 }
2510}
2511impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
2512 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
2513 match err {
2514 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2515 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2516 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2517 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2518 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
2519 }
2520 }
2521}
2522impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, 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_partition_index::DeletePartitionIndexError, 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_partition_index::DeletePartitionIndexError> for Error {
2537 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
2538 match err {
2539 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
2540 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
2541 Error::EntityNotFoundException(inner)
2542 }
2543 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
2544 Error::GlueEncryptionException(inner)
2545 }
2546 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
2547 Error::InternalServiceException(inner)
2548 }
2549 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2550 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
2551 Error::OperationTimeoutException(inner)
2552 }
2553 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
2554 }
2555 }
2556}
2557impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
2558where
2559 R: Send + Sync + std::fmt::Debug + 'static,
2560{
2561 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
2562 match err {
2563 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2564 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2565 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2566 source: err.into(),
2567 }),
2568 }
2569 }
2570}
2571impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
2572 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
2573 match err {
2574 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2575 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
2576 Error::ConcurrentModificationException(inner)
2577 }
2578 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2579 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2580 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
2581 }
2582 }
2583}
2584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2585where
2586 R: Send + Sync + std::fmt::Debug + 'static,
2587{
2588 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2589 match err {
2590 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2591 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2592 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2593 source: err.into(),
2594 }),
2595 }
2596 }
2597}
2598impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2599 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2600 match err {
2601 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
2602 Error::ConditionCheckFailureException(inner)
2603 }
2604 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
2605 Error::EntityNotFoundException(inner)
2606 }
2607 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
2608 Error::InternalServiceException(inner)
2609 }
2610 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2611 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
2612 Error::OperationTimeoutException(inner)
2613 }
2614 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2615 }
2616 }
2617}
2618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
2619where
2620 R: Send + Sync + std::fmt::Debug + 'static,
2621{
2622 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
2623 match err {
2624 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2625 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2626 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2627 source: err.into(),
2628 }),
2629 }
2630 }
2631}
2632impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
2633 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
2634 match err {
2635 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2636 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
2637 Error::ConcurrentModificationException(inner)
2638 }
2639 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2640 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2641 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
2642 }
2643 }
2644}
2645impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
2646where
2647 R: Send + Sync + std::fmt::Debug + 'static,
2648{
2649 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
2650 match err {
2651 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2652 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2653 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2654 source: err.into(),
2655 }),
2656 }
2657 }
2658}
2659impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
2660 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
2661 match err {
2662 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2663 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
2664 Error::ConcurrentModificationException(inner)
2665 }
2666 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
2667 Error::EntityNotFoundException(inner)
2668 }
2669 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2670 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2671 }
2672 }
2673}
2674impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
2675 for Error
2676where
2677 R: Send + Sync + std::fmt::Debug + 'static,
2678{
2679 fn from(
2680 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
2681 ) -> Self {
2682 match err {
2683 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2684 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2685 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2686 source: err.into(),
2687 }),
2688 }
2689 }
2690}
2691impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
2692 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
2693 match err {
2694 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
2695 Error::EntityNotFoundException(inner)
2696 }
2697 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
2698 Error::InternalServiceException(inner)
2699 }
2700 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
2701 Error::InvalidInputException(inner)
2702 }
2703 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
2704 Error::OperationTimeoutException(inner)
2705 }
2706 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2707 }
2708 }
2709}
2710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
2711where
2712 R: Send + Sync + std::fmt::Debug + 'static,
2713{
2714 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
2715 match err {
2716 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2717 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2718 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2719 source: err.into(),
2720 }),
2721 }
2722 }
2723}
2724impl From<crate::operation::delete_session::DeleteSessionError> for Error {
2725 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
2726 match err {
2727 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2728 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
2729 Error::ConcurrentModificationException(inner)
2730 }
2731 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
2732 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2733 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2734 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2735 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
2736 }
2737 }
2738}
2739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
2740where
2741 R: Send + Sync + std::fmt::Debug + 'static,
2742{
2743 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
2744 match err {
2745 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2746 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2747 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2748 source: err.into(),
2749 }),
2750 }
2751 }
2752}
2753impl From<crate::operation::delete_table::DeleteTableError> for Error {
2754 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
2755 match err {
2756 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2757 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2758 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2759 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
2760 Error::FederationSourceRetryableException(inner)
2761 }
2762 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2763 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2764 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2765 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2766 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
2767 }
2768 }
2769}
2770impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
2771where
2772 R: Send + Sync + std::fmt::Debug + 'static,
2773{
2774 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
2775 match err {
2776 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2777 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2778 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2779 source: err.into(),
2780 }),
2781 }
2782 }
2783}
2784impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
2785 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
2786 match err {
2787 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2788 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
2789 Error::EntityNotFoundException(inner)
2790 }
2791 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
2792 Error::InternalServiceException(inner)
2793 }
2794 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2795 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2796 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2797 }
2798 }
2799}
2800impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
2801where
2802 R: Send + Sync + std::fmt::Debug + 'static,
2803{
2804 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
2805 match err {
2806 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2807 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2808 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2809 source: err.into(),
2810 }),
2811 }
2812 }
2813}
2814impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
2815 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
2816 match err {
2817 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2818 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
2819 Error::InternalServiceException(inner)
2820 }
2821 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2822 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
2823 Error::OperationTimeoutException(inner)
2824 }
2825 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
2826 }
2827 }
2828}
2829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
2830where
2831 R: Send + Sync + std::fmt::Debug + 'static,
2832{
2833 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
2834 match err {
2835 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2836 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2837 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2838 source: err.into(),
2839 }),
2840 }
2841 }
2842}
2843impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
2844 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
2845 match err {
2846 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
2847 Error::ConcurrentModificationException(inner)
2848 }
2849 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2850 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2851 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2852 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
2853 }
2854 }
2855}
2856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
2857where
2858 R: Send + Sync + std::fmt::Debug + 'static,
2859{
2860 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
2861 match err {
2862 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2863 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2864 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2865 source: err.into(),
2866 }),
2867 }
2868 }
2869}
2870impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
2871 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
2872 match err {
2873 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
2874 Error::InternalServiceException(inner)
2875 }
2876 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2877 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
2878 Error::OperationNotSupportedException(inner)
2879 }
2880 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
2881 Error::OperationTimeoutException(inner)
2882 }
2883 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
2884 }
2885 }
2886}
2887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
2888 for Error
2889where
2890 R: Send + Sync + std::fmt::Debug + 'static,
2891{
2892 fn from(
2893 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
2894 ) -> Self {
2895 match err {
2896 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2897 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2898 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2899 source: err.into(),
2900 }),
2901 }
2902 }
2903}
2904impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
2905 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
2906 match err {
2907 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
2908 Error::EntityNotFoundException(inner)
2909 }
2910 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
2911 Error::InternalServiceException(inner)
2912 }
2913 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
2914 Error::InvalidInputException(inner)
2915 }
2916 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
2917 Error::OperationTimeoutException(inner)
2918 }
2919 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
2920 }
2921 }
2922}
2923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
2924where
2925 R: Send + Sync + std::fmt::Debug + 'static,
2926{
2927 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
2928 match err {
2929 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2930 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2931 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2932 source: err.into(),
2933 }),
2934 }
2935 }
2936}
2937impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
2938 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
2939 match err {
2940 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
2941 Error::ConcurrentModificationException(inner)
2942 }
2943 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2944 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2945 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2946 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
2947 }
2948 }
2949}
2950impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
2951where
2952 R: Send + Sync + std::fmt::Debug + 'static,
2953{
2954 fn from(
2955 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
2956 ) -> Self {
2957 match err {
2958 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2959 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2960 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2961 source: err.into(),
2962 }),
2963 }
2964 }
2965}
2966impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
2967 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
2968 match err {
2969 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
2970 Error::AccessDeniedException(inner)
2971 }
2972 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
2973 Error::InternalServiceException(inner)
2974 }
2975 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
2976 Error::InvalidInputException(inner)
2977 }
2978 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
2979 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
2980 }
2981 }
2982}
2983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
2984where
2985 R: Send + Sync + std::fmt::Debug + 'static,
2986{
2987 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
2988 match err {
2989 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2990 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2991 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2992 source: err.into(),
2993 }),
2994 }
2995 }
2996}
2997impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
2998 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
2999 match err {
3000 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3001 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3002 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3003 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3004 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3005 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3006 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3007 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3008 }
3009 }
3010}
3011impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3012 for Error
3013where
3014 R: Send + Sync + std::fmt::Debug + 'static,
3015{
3016 fn from(
3017 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3018 ) -> Self {
3019 match err {
3020 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3021 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3022 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3023 source: err.into(),
3024 }),
3025 }
3026 }
3027}
3028impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3029 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3030 match err {
3031 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3032 Error::AccessDeniedException(inner)
3033 }
3034 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3035 Error::EntityNotFoundException(inner)
3036 }
3037 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3038 Error::IntegrationNotFoundFault(inner)
3039 }
3040 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3041 Error::InternalServerException(inner)
3042 }
3043 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3044 Error::InternalServiceException(inner)
3045 }
3046 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3047 Error::InvalidInputException(inner)
3048 }
3049 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3050 Error::OperationNotSupportedException(inner)
3051 }
3052 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3053 Error::TargetResourceNotFound(inner)
3054 }
3055 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3056 Error::ValidationException(inner)
3057 }
3058 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3059 }
3060 }
3061}
3062impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3063where
3064 R: Send + Sync + std::fmt::Debug + 'static,
3065{
3066 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3067 match err {
3068 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3069 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3070 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3071 source: err.into(),
3072 }),
3073 }
3074 }
3075}
3076impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3077 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3078 match err {
3079 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3080 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3081 Error::EntityNotFoundException(inner)
3082 }
3083 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3084 Error::IntegrationNotFoundFault(inner)
3085 }
3086 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3087 Error::InternalServerException(inner)
3088 }
3089 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3090 Error::InternalServiceException(inner)
3091 }
3092 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3093 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3094 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3095 }
3096 }
3097}
3098impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3099where
3100 R: Send + Sync + std::fmt::Debug + 'static,
3101{
3102 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3103 match err {
3104 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3105 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3106 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3107 source: err.into(),
3108 }),
3109 }
3110 }
3111}
3112impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3113 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3114 match err {
3115 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3116 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3117 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3118 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3119 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3120 }
3121 }
3122}
3123impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3124where
3125 R: Send + Sync + std::fmt::Debug + 'static,
3126{
3127 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3128 match err {
3129 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3130 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3131 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3132 source: err.into(),
3133 }),
3134 }
3135 }
3136}
3137impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3138 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3139 match err {
3140 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3141 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3142 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3143 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3144 }
3145 }
3146}
3147impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3148where
3149 R: Send + Sync + std::fmt::Debug + 'static,
3150{
3151 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3152 match err {
3153 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3154 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3155 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3156 source: err.into(),
3157 }),
3158 }
3159 }
3160}
3161impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3162 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3163 match err {
3164 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3165 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3166 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3167 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3168 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3169 }
3170 }
3171}
3172impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3173where
3174 R: Send + Sync + std::fmt::Debug + 'static,
3175{
3176 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3177 match err {
3178 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3179 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3180 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3181 source: err.into(),
3182 }),
3183 }
3184 }
3185}
3186impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3187 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3188 match err {
3189 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3190 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3191 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3192 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3193 Error::FederationSourceRetryableException(inner)
3194 }
3195 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3196 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3197 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3198 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3199 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3200 }
3201 }
3202}
3203impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3204 for Error
3205where
3206 R: Send + Sync + std::fmt::Debug + 'static,
3207{
3208 fn from(
3209 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3210 ) -> Self {
3211 match err {
3212 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3213 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3214 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3215 source: err.into(),
3216 }),
3217 }
3218 }
3219}
3220impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3221 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3222 match err {
3223 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3224 Error::InternalServiceException(inner)
3225 }
3226 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3227 Error::OperationTimeoutException(inner)
3228 }
3229 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3230 }
3231 }
3232}
3233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3234where
3235 R: Send + Sync + std::fmt::Debug + 'static,
3236{
3237 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3238 match err {
3239 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3240 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3241 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3242 source: err.into(),
3243 }),
3244 }
3245 }
3246}
3247impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3248 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3249 match err {
3250 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3251 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3252 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3253 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
3254 Error::FederationSourceRetryableException(inner)
3255 }
3256 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3257 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3258 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3259 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3260 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
3261 }
3262 }
3263}
3264impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
3265where
3266 R: Send + Sync + std::fmt::Debug + 'static,
3267{
3268 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
3269 match err {
3270 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3271 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3272 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3273 source: err.into(),
3274 }),
3275 }
3276 }
3277}
3278impl From<crate::operation::get_classifier::GetClassifierError> for Error {
3279 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
3280 match err {
3281 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3282 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3283 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
3284 }
3285 }
3286}
3287impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>> for Error
3288where
3289 R: Send + Sync + std::fmt::Debug + 'static,
3290{
3291 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>) -> Self {
3292 match err {
3293 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3294 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3295 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3296 source: err.into(),
3297 }),
3298 }
3299 }
3300}
3301impl From<crate::operation::get_classifiers::GetClassifiersError> for Error {
3302 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
3303 match err {
3304 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3305 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
3306 }
3307 }
3308}
3309impl<R>
3310 From<
3311 ::aws_smithy_runtime_api::client::result::SdkError<
3312 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3313 R,
3314 >,
3315 > for Error
3316where
3317 R: Send + Sync + std::fmt::Debug + 'static,
3318{
3319 fn from(
3320 err: ::aws_smithy_runtime_api::client::result::SdkError<
3321 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3322 R,
3323 >,
3324 ) -> Self {
3325 match err {
3326 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3327 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3328 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3329 source: err.into(),
3330 }),
3331 }
3332 }
3333}
3334impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
3335 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
3336 match err {
3337 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
3338 Error::EntityNotFoundException(inner)
3339 }
3340 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
3341 Error::GlueEncryptionException(inner)
3342 }
3343 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
3344 Error::InternalServiceException(inner)
3345 }
3346 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
3347 Error::InvalidInputException(inner)
3348 }
3349 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
3350 Error::OperationTimeoutException(inner)
3351 }
3352 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
3353 }
3354 }
3355}
3356impl<R>
3357 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
3358 for Error
3359where
3360 R: Send + Sync + std::fmt::Debug + 'static,
3361{
3362 fn from(
3363 err: ::aws_smithy_runtime_api::client::result::SdkError<
3364 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
3365 R,
3366 >,
3367 ) -> 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_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
3378 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
3379 match err {
3380 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
3381 Error::EntityNotFoundException(inner)
3382 }
3383 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
3384 Error::GlueEncryptionException(inner)
3385 }
3386 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
3387 Error::InternalServiceException(inner)
3388 }
3389 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
3390 Error::InvalidInputException(inner)
3391 }
3392 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
3393 Error::OperationTimeoutException(inner)
3394 }
3395 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
3396 }
3397 }
3398}
3399impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
3400 for Error
3401where
3402 R: Send + Sync + std::fmt::Debug + 'static,
3403{
3404 fn from(
3405 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
3406 ) -> Self {
3407 match err {
3408 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3409 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3410 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3411 source: err.into(),
3412 }),
3413 }
3414 }
3415}
3416impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
3417 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
3418 match err {
3419 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
3420 Error::EntityNotFoundException(inner)
3421 }
3422 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
3423 Error::InvalidInputException(inner)
3424 }
3425 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
3426 Error::OperationTimeoutException(inner)
3427 }
3428 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
3429 }
3430 }
3431}
3432impl<R>
3433 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, 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_task_runs::GetColumnStatisticsTaskRunsError,
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_task_runs::GetColumnStatisticsTaskRunsError> for Error {
3454 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
3455 match err {
3456 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
3457 Error::OperationTimeoutException(inner)
3458 }
3459 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
3460 }
3461 }
3462}
3463impl<R>
3464 From<
3465 ::aws_smithy_runtime_api::client::result::SdkError<
3466 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3467 R,
3468 >,
3469 > for Error
3470where
3471 R: Send + Sync + std::fmt::Debug + 'static,
3472{
3473 fn from(
3474 err: ::aws_smithy_runtime_api::client::result::SdkError<
3475 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3476 R,
3477 >,
3478 ) -> Self {
3479 match err {
3480 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3481 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3482 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3483 source: err.into(),
3484 }),
3485 }
3486 }
3487}
3488impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
3489 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
3490 match err {
3491 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
3492 Error::EntityNotFoundException(inner)
3493 }
3494 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
3495 Error::InvalidInputException(inner)
3496 }
3497 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
3498 Error::OperationTimeoutException(inner)
3499 }
3500 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3501 }
3502 }
3503}
3504impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
3505where
3506 R: Send + Sync + std::fmt::Debug + 'static,
3507{
3508 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
3509 match err {
3510 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3511 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3512 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3513 source: err.into(),
3514 }),
3515 }
3516 }
3517}
3518impl From<crate::operation::get_connection::GetConnectionError> for Error {
3519 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
3520 match err {
3521 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3522 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3523 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3524 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3525 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3526 }
3527 }
3528}
3529impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
3530where
3531 R: Send + Sync + std::fmt::Debug + 'static,
3532{
3533 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> Self {
3534 match err {
3535 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3536 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3537 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3538 source: err.into(),
3539 }),
3540 }
3541 }
3542}
3543impl From<crate::operation::get_connections::GetConnectionsError> for Error {
3544 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
3545 match err {
3546 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3547 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3548 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3549 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3550 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
3551 }
3552 }
3553}
3554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>> for Error
3555where
3556 R: Send + Sync + std::fmt::Debug + 'static,
3557{
3558 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>) -> Self {
3559 match err {
3560 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3561 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3562 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3563 source: err.into(),
3564 }),
3565 }
3566 }
3567}
3568impl From<crate::operation::get_crawler::GetCrawlerError> for Error {
3569 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
3570 match err {
3571 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3572 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3573 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
3574 }
3575 }
3576}
3577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
3578where
3579 R: Send + Sync + std::fmt::Debug + 'static,
3580{
3581 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
3582 match err {
3583 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3584 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3585 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3586 source: err.into(),
3587 }),
3588 }
3589 }
3590}
3591impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
3592 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
3593 match err {
3594 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
3595 Error::OperationTimeoutException(inner)
3596 }
3597 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
3598 }
3599 }
3600}
3601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
3602where
3603 R: Send + Sync + std::fmt::Debug + 'static,
3604{
3605 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
3606 match err {
3607 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3608 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3609 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3610 source: err.into(),
3611 }),
3612 }
3613 }
3614}
3615impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
3616 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
3617 match err {
3618 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3619 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
3620 }
3621 }
3622}
3623impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
3624where
3625 R: Send + Sync + std::fmt::Debug + 'static,
3626{
3627 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
3628 match err {
3629 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3630 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3631 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3632 source: err.into(),
3633 }),
3634 }
3635 }
3636}
3637impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
3638 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
3639 match err {
3640 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3641 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
3642 Error::EntityNotFoundException(inner)
3643 }
3644 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
3645 Error::InternalServiceException(inner)
3646 }
3647 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3648 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
3649 Error::OperationTimeoutException(inner)
3650 }
3651 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
3652 }
3653 }
3654}
3655impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
3656where
3657 R: Send + Sync + std::fmt::Debug + 'static,
3658{
3659 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
3660 match err {
3661 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3662 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3663 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3664 source: err.into(),
3665 }),
3666 }
3667 }
3668}
3669impl From<crate::operation::get_database::GetDatabaseError> for Error {
3670 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
3671 match err {
3672 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3673 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3674 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
3675 Error::FederationSourceRetryableException(inner)
3676 }
3677 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3678 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3679 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3680 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3681 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
3682 }
3683 }
3684}
3685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
3686where
3687 R: Send + Sync + std::fmt::Debug + 'static,
3688{
3689 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> Self {
3690 match err {
3691 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3692 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3693 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3694 source: err.into(),
3695 }),
3696 }
3697 }
3698}
3699impl From<crate::operation::get_databases::GetDatabasesError> for Error {
3700 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
3701 match err {
3702 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3703 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3704 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
3705 Error::FederationSourceRetryableException(inner)
3706 }
3707 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3708 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3709 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3710 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3711 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
3712 }
3713 }
3714}
3715impl<R>
3716 From<
3717 ::aws_smithy_runtime_api::client::result::SdkError<
3718 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3719 R,
3720 >,
3721 > for Error
3722where
3723 R: Send + Sync + std::fmt::Debug + 'static,
3724{
3725 fn from(
3726 err: ::aws_smithy_runtime_api::client::result::SdkError<
3727 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3728 R,
3729 >,
3730 ) -> Self {
3731 match err {
3732 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3733 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3734 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3735 source: err.into(),
3736 }),
3737 }
3738 }
3739}
3740impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
3741 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
3742 match err {
3743 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
3744 Error::InternalServiceException(inner)
3745 }
3746 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
3747 Error::InvalidInputException(inner)
3748 }
3749 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
3750 Error::OperationTimeoutException(inner)
3751 }
3752 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
3753 Error::Unhandled(inner)
3754 }
3755 }
3756 }
3757}
3758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
3759where
3760 R: Send + Sync + std::fmt::Debug + 'static,
3761{
3762 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
3763 match err {
3764 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3765 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3766 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3767 source: err.into(),
3768 }),
3769 }
3770 }
3771}
3772impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
3773 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
3774 match err {
3775 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3776 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3777 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3778 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
3779 }
3780 }
3781}
3782impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
3783where
3784 R: Send + Sync + std::fmt::Debug + 'static,
3785{
3786 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
3787 match err {
3788 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3789 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3790 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3791 source: err.into(),
3792 }),
3793 }
3794 }
3795}
3796impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
3797 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
3798 match err {
3799 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
3800 Error::EntityNotFoundException(inner)
3801 }
3802 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
3803 Error::InternalServiceException(inner)
3804 }
3805 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3806 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
3807 Error::OperationTimeoutException(inner)
3808 }
3809 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
3810 }
3811 }
3812}
3813impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
3814 for Error
3815where
3816 R: Send + Sync + std::fmt::Debug + 'static,
3817{
3818 fn from(
3819 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
3820 ) -> Self {
3821 match err {
3822 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3823 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3824 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3825 source: err.into(),
3826 }),
3827 }
3828 }
3829}
3830impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
3831 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
3832 match err {
3833 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
3834 Error::EntityNotFoundException(inner)
3835 }
3836 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
3837 Error::InternalServiceException(inner)
3838 }
3839 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
3840 Error::InvalidInputException(inner)
3841 }
3842 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
3843 Error::OperationTimeoutException(inner)
3844 }
3845 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
3846 }
3847 }
3848}
3849impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
3850where
3851 R: Send + Sync + std::fmt::Debug + 'static,
3852{
3853 fn from(
3854 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
3855 ) -> Self {
3856 match err {
3857 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3858 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3859 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3860 source: err.into(),
3861 }),
3862 }
3863 }
3864}
3865impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
3866 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
3867 match err {
3868 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
3869 Error::EntityNotFoundException(inner)
3870 }
3871 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
3872 Error::InternalServiceException(inner)
3873 }
3874 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3875 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
3876 Error::OperationTimeoutException(inner)
3877 }
3878 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
3879 }
3880 }
3881}
3882impl<R>
3883 From<
3884 ::aws_smithy_runtime_api::client::result::SdkError<
3885 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
3886 R,
3887 >,
3888 > for Error
3889where
3890 R: Send + Sync + std::fmt::Debug + 'static,
3891{
3892 fn from(
3893 err: ::aws_smithy_runtime_api::client::result::SdkError<
3894 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
3895 R,
3896 >,
3897 ) -> Self {
3898 match err {
3899 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3900 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3901 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3902 source: err.into(),
3903 }),
3904 }
3905 }
3906}
3907impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
3908 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
3909 match err {
3910 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
3911 Error::EntityNotFoundException(inner)
3912 }
3913 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
3914 Error::InternalServiceException(inner)
3915 }
3916 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
3917 Error::InvalidInputException(inner)
3918 }
3919 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
3920 inner,
3921 ) => Error::OperationTimeoutException(inner),
3922 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
3923 Error::Unhandled(inner)
3924 }
3925 }
3926 }
3927}
3928impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
3929where
3930 R: Send + Sync + std::fmt::Debug + 'static,
3931{
3932 fn from(
3933 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
3934 ) -> Self {
3935 match err {
3936 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3937 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3938 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3939 source: err.into(),
3940 }),
3941 }
3942 }
3943}
3944impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
3945 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
3946 match err {
3947 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
3948 Error::EntityNotFoundException(inner)
3949 }
3950 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
3951 Error::InternalServiceException(inner)
3952 }
3953 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
3954 Error::InvalidInputException(inner)
3955 }
3956 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
3957 Error::OperationTimeoutException(inner)
3958 }
3959 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
3960 }
3961 }
3962}
3963impl<R>
3964 From<
3965 ::aws_smithy_runtime_api::client::result::SdkError<
3966 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
3967 R,
3968 >,
3969 > for Error
3970where
3971 R: Send + Sync + std::fmt::Debug + 'static,
3972{
3973 fn from(
3974 err: ::aws_smithy_runtime_api::client::result::SdkError<
3975 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
3976 R,
3977 >,
3978 ) -> Self {
3979 match err {
3980 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3981 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3982 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3983 source: err.into(),
3984 }),
3985 }
3986 }
3987}
3988impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
3989 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
3990 match err {
3991 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
3992 Error::EntityNotFoundException(inner)
3993 }
3994 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
3995 Error::InternalServiceException(inner)
3996 }
3997 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
3998 Error::InvalidInputException(inner)
3999 }
4000 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4001 Error::OperationTimeoutException(inner)
4002 }
4003 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4004 Error::Unhandled(inner)
4005 }
4006 }
4007 }
4008}
4009impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4010where
4011 R: Send + Sync + std::fmt::Debug + 'static,
4012{
4013 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4014 match err {
4015 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4016 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4017 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4018 source: err.into(),
4019 }),
4020 }
4021 }
4022}
4023impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4024 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4025 match err {
4026 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4027 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4028 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4029 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4030 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4031 }
4032 }
4033}
4034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4035where
4036 R: Send + Sync + std::fmt::Debug + 'static,
4037{
4038 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> Self {
4039 match err {
4040 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4041 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4042 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4043 source: err.into(),
4044 }),
4045 }
4046 }
4047}
4048impl From<crate::operation::get_dev_endpoints::GetDevEndpointsError> for Error {
4049 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4050 match err {
4051 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4052 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4053 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4054 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4055 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4056 }
4057 }
4058}
4059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>> for Error
4060where
4061 R: Send + Sync + std::fmt::Debug + 'static,
4062{
4063 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>) -> Self {
4064 match err {
4065 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4066 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4067 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4068 source: err.into(),
4069 }),
4070 }
4071 }
4072}
4073impl From<crate::operation::get_entity_records::GetEntityRecordsError> for Error {
4074 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4075 match err {
4076 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4077 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4078 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4079 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4080 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4081 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4082 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4083 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4084 }
4085 }
4086}
4087impl<R>
4088 From<
4089 ::aws_smithy_runtime_api::client::result::SdkError<
4090 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4091 R,
4092 >,
4093 > for Error
4094where
4095 R: Send + Sync + std::fmt::Debug + 'static,
4096{
4097 fn from(
4098 err: ::aws_smithy_runtime_api::client::result::SdkError<
4099 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4100 R,
4101 >,
4102 ) -> Self {
4103 match err {
4104 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4105 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4106 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4107 source: err.into(),
4108 }),
4109 }
4110 }
4111}
4112impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
4113 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
4114 match err {
4115 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
4116 Error::AccessDeniedException(inner)
4117 }
4118 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
4119 Error::EntityNotFoundException(inner)
4120 }
4121 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
4122 Error::InternalServerException(inner)
4123 }
4124 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
4125 Error::InternalServiceException(inner)
4126 }
4127 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
4128 Error::InvalidInputException(inner)
4129 }
4130 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
4131 Error::ResourceNotFoundException(inner)
4132 }
4133 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
4134 Error::ValidationException(inner)
4135 }
4136 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
4137 }
4138 }
4139}
4140impl<R>
4141 From<
4142 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
4143 > for Error
4144where
4145 R: Send + Sync + std::fmt::Debug + 'static,
4146{
4147 fn from(
4148 err: ::aws_smithy_runtime_api::client::result::SdkError<
4149 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
4150 R,
4151 >,
4152 ) -> Self {
4153 match err {
4154 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4155 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4156 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4157 source: err.into(),
4158 }),
4159 }
4160 }
4161}
4162impl From<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
4163 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
4164 match err {
4165 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
4166 Error::AccessDeniedException(inner)
4167 }
4168 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
4169 Error::EntityNotFoundException(inner)
4170 }
4171 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
4172 Error::InternalServerException(inner)
4173 }
4174 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
4175 Error::InternalServiceException(inner)
4176 }
4177 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
4178 Error::InvalidInputException(inner)
4179 }
4180 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
4181 Error::ResourceNotFoundException(inner)
4182 }
4183 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
4184 Error::ValidationException(inner)
4185 }
4186 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
4187 }
4188 }
4189}
4190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
4191where
4192 R: Send + Sync + std::fmt::Debug + 'static,
4193{
4194 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
4195 match err {
4196 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4197 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4198 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4199 source: err.into(),
4200 }),
4201 }
4202 }
4203}
4204impl From<crate::operation::get_job::GetJobError> for Error {
4205 fn from(err: crate::operation::get_job::GetJobError) -> Self {
4206 match err {
4207 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4208 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4209 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4210 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4211 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
4212 }
4213 }
4214}
4215impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
4216where
4217 R: Send + Sync + std::fmt::Debug + 'static,
4218{
4219 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
4220 match err {
4221 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4222 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4223 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4224 source: err.into(),
4225 }),
4226 }
4227 }
4228}
4229impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
4230 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
4231 match err {
4232 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4233 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4234 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4235 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4236 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
4237 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
4238 }
4239 }
4240}
4241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
4242where
4243 R: Send + Sync + std::fmt::Debug + 'static,
4244{
4245 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
4246 match err {
4247 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4248 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4249 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4250 source: err.into(),
4251 }),
4252 }
4253 }
4254}
4255impl From<crate::operation::get_job_run::GetJobRunError> for Error {
4256 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
4257 match err {
4258 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4259 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4260 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4261 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4262 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
4263 }
4264 }
4265}
4266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
4267where
4268 R: Send + Sync + std::fmt::Debug + 'static,
4269{
4270 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
4271 match err {
4272 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4273 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4274 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4275 source: err.into(),
4276 }),
4277 }
4278 }
4279}
4280impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
4281 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
4282 match err {
4283 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4284 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4285 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4286 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4287 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
4288 }
4289 }
4290}
4291impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
4292where
4293 R: Send + Sync + std::fmt::Debug + 'static,
4294{
4295 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
4296 match err {
4297 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4298 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4299 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4300 source: err.into(),
4301 }),
4302 }
4303 }
4304}
4305impl From<crate::operation::get_jobs::GetJobsError> for Error {
4306 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
4307 match err {
4308 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4309 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4310 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4311 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4312 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
4313 }
4314 }
4315}
4316impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
4317where
4318 R: Send + Sync + std::fmt::Debug + 'static,
4319{
4320 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
4321 match err {
4322 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4323 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4324 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4325 source: err.into(),
4326 }),
4327 }
4328 }
4329}
4330impl From<crate::operation::get_mapping::GetMappingError> for Error {
4331 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
4332 match err {
4333 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4334 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4335 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4336 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4337 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
4338 }
4339 }
4340}
4341impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
4342where
4343 R: Send + Sync + std::fmt::Debug + 'static,
4344{
4345 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
4346 match err {
4347 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4348 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4349 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4350 source: err.into(),
4351 }),
4352 }
4353 }
4354}
4355impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
4356 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
4357 match err {
4358 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4359 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4360 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4361 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4362 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4363 }
4364 }
4365}
4366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
4367where
4368 R: Send + Sync + std::fmt::Debug + 'static,
4369{
4370 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
4371 match err {
4372 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4373 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4374 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4375 source: err.into(),
4376 }),
4377 }
4378 }
4379}
4380impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
4381 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
4382 match err {
4383 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4384 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4385 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4386 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4387 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4388 }
4389 }
4390}
4391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
4392where
4393 R: Send + Sync + std::fmt::Debug + 'static,
4394{
4395 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
4396 match err {
4397 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4398 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4399 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4400 source: err.into(),
4401 }),
4402 }
4403 }
4404}
4405impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
4406 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
4407 match err {
4408 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4409 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4410 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4411 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4412 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
4413 }
4414 }
4415}
4416impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
4417where
4418 R: Send + Sync + std::fmt::Debug + 'static,
4419{
4420 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> Self {
4421 match err {
4422 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4423 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4424 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4425 source: err.into(),
4426 }),
4427 }
4428 }
4429}
4430impl From<crate::operation::get_ml_transforms::GetMLTransformsError> for Error {
4431 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
4432 match err {
4433 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4434 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4435 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4436 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4437 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
4438 }
4439 }
4440}
4441impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
4442where
4443 R: Send + Sync + std::fmt::Debug + 'static,
4444{
4445 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
4446 match err {
4447 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4448 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4449 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4450 source: err.into(),
4451 }),
4452 }
4453 }
4454}
4455impl From<crate::operation::get_partition::GetPartitionError> for Error {
4456 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
4457 match err {
4458 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4459 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4460 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
4461 Error::FederationSourceRetryableException(inner)
4462 }
4463 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4464 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4465 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4466 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4467 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
4468 }
4469 }
4470}
4471impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
4472where
4473 R: Send + Sync + std::fmt::Debug + 'static,
4474{
4475 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
4476 match err {
4477 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4478 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4479 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4480 source: err.into(),
4481 }),
4482 }
4483 }
4484}
4485impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
4486 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
4487 match err {
4488 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
4489 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
4490 Error::EntityNotFoundException(inner)
4491 }
4492 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
4493 Error::InternalServiceException(inner)
4494 }
4495 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4496 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
4497 Error::OperationTimeoutException(inner)
4498 }
4499 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
4500 }
4501 }
4502}
4503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
4504where
4505 R: Send + Sync + std::fmt::Debug + 'static,
4506{
4507 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
4508 match err {
4509 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4510 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4511 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4512 source: err.into(),
4513 }),
4514 }
4515 }
4516}
4517impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
4518 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
4519 match err {
4520 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4521 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4522 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
4523 Error::FederationSourceRetryableException(inner)
4524 }
4525 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4526 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4527 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4528 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
4529 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4530 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
4531 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
4532 }
4533 }
4534}
4535impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
4536where
4537 R: Send + Sync + std::fmt::Debug + 'static,
4538{
4539 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
4540 match err {
4541 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4542 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4543 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4544 source: err.into(),
4545 }),
4546 }
4547 }
4548}
4549impl From<crate::operation::get_plan::GetPlanError> for Error {
4550 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
4551 match err {
4552 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4553 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4554 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4555 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
4556 }
4557 }
4558}
4559impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
4560where
4561 R: Send + Sync + std::fmt::Debug + 'static,
4562{
4563 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
4564 match err {
4565 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4566 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4567 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4568 source: err.into(),
4569 }),
4570 }
4571 }
4572}
4573impl From<crate::operation::get_registry::GetRegistryError> for Error {
4574 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
4575 match err {
4576 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4577 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4578 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4579 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4580 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
4581 }
4582 }
4583}
4584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
4585where
4586 R: Send + Sync + std::fmt::Debug + 'static,
4587{
4588 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
4589 match err {
4590 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4591 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4592 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4593 source: err.into(),
4594 }),
4595 }
4596 }
4597}
4598impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
4599 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
4600 match err {
4601 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
4602 Error::GlueEncryptionException(inner)
4603 }
4604 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
4605 Error::InternalServiceException(inner)
4606 }
4607 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4608 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
4609 Error::OperationTimeoutException(inner)
4610 }
4611 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
4612 }
4613 }
4614}
4615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
4616where
4617 R: Send + Sync + std::fmt::Debug + 'static,
4618{
4619 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
4620 match err {
4621 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4622 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4623 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4624 source: err.into(),
4625 }),
4626 }
4627 }
4628}
4629impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
4630 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
4631 match err {
4632 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4633 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4634 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4635 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
4636 Error::OperationTimeoutException(inner)
4637 }
4638 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4639 }
4640 }
4641}
4642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
4643where
4644 R: Send + Sync + std::fmt::Debug + 'static,
4645{
4646 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
4647 match err {
4648 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4649 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4650 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4651 source: err.into(),
4652 }),
4653 }
4654 }
4655}
4656impl From<crate::operation::get_schema::GetSchemaError> for Error {
4657 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
4658 match err {
4659 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4660 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4661 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4662 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4663 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
4664 }
4665 }
4666}
4667impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
4668where
4669 R: Send + Sync + std::fmt::Debug + 'static,
4670{
4671 fn from(
4672 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
4673 ) -> Self {
4674 match err {
4675 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4676 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4677 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4678 source: err.into(),
4679 }),
4680 }
4681 }
4682}
4683impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
4684 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
4685 match err {
4686 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
4687 Error::AccessDeniedException(inner)
4688 }
4689 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
4690 Error::EntityNotFoundException(inner)
4691 }
4692 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
4693 Error::InternalServiceException(inner)
4694 }
4695 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
4696 Error::InvalidInputException(inner)
4697 }
4698 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4699 }
4700 }
4701}
4702impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
4703where
4704 R: Send + Sync + std::fmt::Debug + 'static,
4705{
4706 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
4707 match err {
4708 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4709 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4710 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4711 source: err.into(),
4712 }),
4713 }
4714 }
4715}
4716impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
4717 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
4718 match err {
4719 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4720 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4721 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4722 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4723 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
4724 }
4725 }
4726}
4727impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
4728where
4729 R: Send + Sync + std::fmt::Debug + 'static,
4730{
4731 fn from(
4732 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
4733 ) -> Self {
4734 match err {
4735 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4736 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4737 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4738 source: err.into(),
4739 }),
4740 }
4741 }
4742}
4743impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
4744 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
4745 match err {
4746 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
4747 Error::AccessDeniedException(inner)
4748 }
4749 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
4750 Error::EntityNotFoundException(inner)
4751 }
4752 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
4753 Error::InternalServiceException(inner)
4754 }
4755 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
4756 Error::InvalidInputException(inner)
4757 }
4758 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
4759 }
4760 }
4761}
4762impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
4763 for Error
4764where
4765 R: Send + Sync + std::fmt::Debug + 'static,
4766{
4767 fn from(
4768 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
4769 ) -> Self {
4770 match err {
4771 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4772 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4773 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4774 source: err.into(),
4775 }),
4776 }
4777 }
4778}
4779impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
4780 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
4781 match err {
4782 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
4783 Error::EntityNotFoundException(inner)
4784 }
4785 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
4786 Error::InternalServiceException(inner)
4787 }
4788 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
4789 Error::InvalidInputException(inner)
4790 }
4791 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
4792 Error::OperationTimeoutException(inner)
4793 }
4794 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
4795 }
4796 }
4797}
4798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
4799 for Error
4800where
4801 R: Send + Sync + std::fmt::Debug + 'static,
4802{
4803 fn from(
4804 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
4805 ) -> Self {
4806 match err {
4807 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4808 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4809 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4810 source: err.into(),
4811 }),
4812 }
4813 }
4814}
4815impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
4816 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
4817 match err {
4818 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
4819 Error::EntityNotFoundException(inner)
4820 }
4821 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
4822 Error::InternalServiceException(inner)
4823 }
4824 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
4825 Error::InvalidInputException(inner)
4826 }
4827 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
4828 Error::OperationTimeoutException(inner)
4829 }
4830 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
4831 }
4832 }
4833}
4834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
4835where
4836 R: Send + Sync + std::fmt::Debug + 'static,
4837{
4838 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
4839 match err {
4840 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4841 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4842 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4843 source: err.into(),
4844 }),
4845 }
4846 }
4847}
4848impl From<crate::operation::get_session::GetSessionError> for Error {
4849 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
4850 match err {
4851 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4852 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4853 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4854 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4855 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4856 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
4857 }
4858 }
4859}
4860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
4861where
4862 R: Send + Sync + std::fmt::Debug + 'static,
4863{
4864 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
4865 match err {
4866 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4867 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4868 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4869 source: err.into(),
4870 }),
4871 }
4872 }
4873}
4874impl From<crate::operation::get_statement::GetStatementError> for Error {
4875 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
4876 match err {
4877 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4878 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4879 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
4880 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4881 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4882 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4883 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
4884 }
4885 }
4886}
4887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
4888where
4889 R: Send + Sync + std::fmt::Debug + 'static,
4890{
4891 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
4892 match err {
4893 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4894 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4895 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4896 source: err.into(),
4897 }),
4898 }
4899 }
4900}
4901impl From<crate::operation::get_table::GetTableError> for Error {
4902 fn from(err: crate::operation::get_table::GetTableError) -> Self {
4903 match err {
4904 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4905 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4906 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
4907 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4908 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4909 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4910 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4911 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
4912 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
4913 }
4914 }
4915}
4916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
4917where
4918 R: Send + Sync + std::fmt::Debug + 'static,
4919{
4920 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
4921 match err {
4922 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4923 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4924 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4925 source: err.into(),
4926 }),
4927 }
4928 }
4929}
4930impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
4931 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
4932 match err {
4933 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4934 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4935 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4936 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4937 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4938 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
4939 }
4940 }
4941}
4942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>> for Error
4943where
4944 R: Send + Sync + std::fmt::Debug + 'static,
4945{
4946 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>) -> Self {
4947 match err {
4948 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4949 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4950 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4951 source: err.into(),
4952 }),
4953 }
4954 }
4955}
4956impl From<crate::operation::get_tables::GetTablesError> for Error {
4957 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
4958 match err {
4959 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4960 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4961 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
4962 Error::FederationSourceRetryableException(inner)
4963 }
4964 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4965 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4966 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4967 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4968 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
4969 }
4970 }
4971}
4972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
4973where
4974 R: Send + Sync + std::fmt::Debug + 'static,
4975{
4976 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
4977 match err {
4978 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4979 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4980 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4981 source: err.into(),
4982 }),
4983 }
4984 }
4985}
4986impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
4987 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
4988 match err {
4989 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4990 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4991 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4992 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4993 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4994 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
4995 }
4996 }
4997}
4998impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
4999where
5000 R: Send + Sync + std::fmt::Debug + 'static,
5001{
5002 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
5003 match err {
5004 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5005 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5006 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5007 source: err.into(),
5008 }),
5009 }
5010 }
5011}
5012impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
5013 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
5014 match err {
5015 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5016 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5017 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5018 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5019 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5020 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5021 }
5022 }
5023}
5024impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
5025where
5026 R: Send + Sync + std::fmt::Debug + 'static,
5027{
5028 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
5029 match err {
5030 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5031 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5032 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5033 source: err.into(),
5034 }),
5035 }
5036 }
5037}
5038impl From<crate::operation::get_tags::GetTagsError> for Error {
5039 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
5040 match err {
5041 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5042 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5043 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5044 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5045 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
5046 }
5047 }
5048}
5049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
5050where
5051 R: Send + Sync + std::fmt::Debug + 'static,
5052{
5053 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
5054 match err {
5055 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5056 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5057 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5058 source: err.into(),
5059 }),
5060 }
5061 }
5062}
5063impl From<crate::operation::get_trigger::GetTriggerError> for Error {
5064 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
5065 match err {
5066 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5067 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5068 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5069 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5070 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
5071 }
5072 }
5073}
5074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
5075where
5076 R: Send + Sync + std::fmt::Debug + 'static,
5077{
5078 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
5079 match err {
5080 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5081 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5082 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5083 source: err.into(),
5084 }),
5085 }
5086 }
5087}
5088impl From<crate::operation::get_triggers::GetTriggersError> for Error {
5089 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
5090 match err {
5091 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5092 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5093 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5094 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5095 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
5096 }
5097 }
5098}
5099impl<R>
5100 From<
5101 ::aws_smithy_runtime_api::client::result::SdkError<
5102 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5103 R,
5104 >,
5105 > for Error
5106where
5107 R: Send + Sync + std::fmt::Debug + 'static,
5108{
5109 fn from(
5110 err: ::aws_smithy_runtime_api::client::result::SdkError<
5111 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5112 R,
5113 >,
5114 ) -> Self {
5115 match err {
5116 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5117 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5118 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5119 source: err.into(),
5120 }),
5121 }
5122 }
5123}
5124impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
5125 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
5126 match err {
5127 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
5128 Error::EntityNotFoundException(inner)
5129 }
5130 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
5131 Error::FederationSourceException(inner)
5132 }
5133 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
5134 Error::FederationSourceRetryableException(inner)
5135 }
5136 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
5137 Error::GlueEncryptionException(inner)
5138 }
5139 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
5140 Error::InternalServiceException(inner)
5141 }
5142 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
5143 Error::InvalidInputException(inner)
5144 }
5145 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
5146 Error::OperationTimeoutException(inner)
5147 }
5148 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
5149 Error::PermissionTypeMismatchException(inner)
5150 }
5151 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5152 }
5153 }
5154}
5155impl<R>
5156 From<
5157 ::aws_smithy_runtime_api::client::result::SdkError<
5158 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5159 R,
5160 >,
5161 > for Error
5162where
5163 R: Send + Sync + std::fmt::Debug + 'static,
5164{
5165 fn from(
5166 err: ::aws_smithy_runtime_api::client::result::SdkError<
5167 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5168 R,
5169 >,
5170 ) -> Self {
5171 match err {
5172 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5173 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5174 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5175 source: err.into(),
5176 }),
5177 }
5178 }
5179}
5180impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
5181 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
5182 match err {
5183 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
5184 Error::EntityNotFoundException(inner)
5185 }
5186 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
5187 Error::FederationSourceException(inner)
5188 }
5189 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
5190 Error::FederationSourceRetryableException(inner)
5191 }
5192 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
5193 Error::GlueEncryptionException(inner)
5194 }
5195 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
5196 Error::InternalServiceException(inner)
5197 }
5198 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
5199 Error::InvalidInputException(inner)
5200 }
5201 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
5202 Error::OperationTimeoutException(inner)
5203 }
5204 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
5205 Error::PermissionTypeMismatchException(inner)
5206 }
5207 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5208 }
5209 }
5210}
5211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
5212 for Error
5213where
5214 R: Send + Sync + std::fmt::Debug + 'static,
5215{
5216 fn from(
5217 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
5218 ) -> Self {
5219 match err {
5220 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5221 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5222 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5223 source: err.into(),
5224 }),
5225 }
5226 }
5227}
5228impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
5229 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
5230 match err {
5231 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
5232 Error::EntityNotFoundException(inner)
5233 }
5234 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
5235 Error::FederationSourceException(inner)
5236 }
5237 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
5238 Error::FederationSourceRetryableException(inner)
5239 }
5240 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
5241 Error::GlueEncryptionException(inner)
5242 }
5243 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
5244 Error::InternalServiceException(inner)
5245 }
5246 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
5247 Error::InvalidInputException(inner)
5248 }
5249 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
5250 Error::OperationTimeoutException(inner)
5251 }
5252 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
5253 Error::PermissionTypeMismatchException(inner)
5254 }
5255 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5256 }
5257 }
5258}
5259impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
5260where
5261 R: Send + Sync + std::fmt::Debug + 'static,
5262{
5263 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
5264 match err {
5265 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5266 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5267 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5268 source: err.into(),
5269 }),
5270 }
5271 }
5272}
5273impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
5274 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
5275 match err {
5276 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5277 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5278 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5279 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
5280 Error::OperationNotSupportedException(inner)
5281 }
5282 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5283 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
5284 }
5285 }
5286}
5287impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
5288 for Error
5289where
5290 R: Send + Sync + std::fmt::Debug + 'static,
5291{
5292 fn from(
5293 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
5294 ) -> Self {
5295 match err {
5296 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5297 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5298 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5299 source: err.into(),
5300 }),
5301 }
5302 }
5303}
5304impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
5305 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
5306 match err {
5307 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
5308 Error::EntityNotFoundException(inner)
5309 }
5310 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
5311 Error::GlueEncryptionException(inner)
5312 }
5313 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
5314 Error::InternalServiceException(inner)
5315 }
5316 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
5317 Error::InvalidInputException(inner)
5318 }
5319 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
5320 Error::OperationTimeoutException(inner)
5321 }
5322 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
5323 }
5324 }
5325}
5326impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
5327 for Error
5328where
5329 R: Send + Sync + std::fmt::Debug + 'static,
5330{
5331 fn from(
5332 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
5333 ) -> Self {
5334 match err {
5335 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5336 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5337 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5338 source: err.into(),
5339 }),
5340 }
5341 }
5342}
5343impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
5344 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
5345 match err {
5346 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
5347 Error::EntityNotFoundException(inner)
5348 }
5349 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
5350 Error::GlueEncryptionException(inner)
5351 }
5352 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
5353 Error::InternalServiceException(inner)
5354 }
5355 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
5356 Error::InvalidInputException(inner)
5357 }
5358 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
5359 Error::OperationTimeoutException(inner)
5360 }
5361 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
5362 }
5363 }
5364}
5365impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
5366where
5367 R: Send + Sync + std::fmt::Debug + 'static,
5368{
5369 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
5370 match err {
5371 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5372 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5373 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5374 source: err.into(),
5375 }),
5376 }
5377 }
5378}
5379impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
5380 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
5381 match err {
5382 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5383 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5384 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5385 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5386 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
5387 }
5388 }
5389}
5390impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
5391where
5392 R: Send + Sync + std::fmt::Debug + 'static,
5393{
5394 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
5395 match err {
5396 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5397 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5398 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5399 source: err.into(),
5400 }),
5401 }
5402 }
5403}
5404impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
5405 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
5406 match err {
5407 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5408 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5409 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5410 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5411 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
5412 }
5413 }
5414}
5415impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, 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_workflow_run_properties::GetWorkflowRunPropertiesError, 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_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
5433 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
5434 match err {
5435 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
5436 Error::EntityNotFoundException(inner)
5437 }
5438 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
5439 Error::InternalServiceException(inner)
5440 }
5441 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
5442 Error::InvalidInputException(inner)
5443 }
5444 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
5445 Error::OperationTimeoutException(inner)
5446 }
5447 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5448 }
5449 }
5450}
5451impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
5452where
5453 R: Send + Sync + std::fmt::Debug + 'static,
5454{
5455 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
5456 match err {
5457 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5458 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5459 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5460 source: err.into(),
5461 }),
5462 }
5463 }
5464}
5465impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
5466 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
5467 match err {
5468 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5469 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5470 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5471 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5472 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
5473 }
5474 }
5475}
5476impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
5477where
5478 R: Send + Sync + std::fmt::Debug + 'static,
5479{
5480 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
5481 match err {
5482 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5483 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5484 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5485 source: err.into(),
5486 }),
5487 }
5488 }
5489}
5490impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
5491 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
5492 match err {
5493 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
5494 Error::InternalServiceException(inner)
5495 }
5496 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
5497 Error::OperationTimeoutException(inner)
5498 }
5499 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
5500 }
5501 }
5502}
5503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
5504where
5505 R: Send + Sync + std::fmt::Debug + 'static,
5506{
5507 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
5508 match err {
5509 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5510 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5511 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5512 source: err.into(),
5513 }),
5514 }
5515 }
5516}
5517impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
5518 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
5519 match err {
5520 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5521 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5522 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5523 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
5524 }
5525 }
5526}
5527impl<R>
5528 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
5529 for Error
5530where
5531 R: Send + Sync + std::fmt::Debug + 'static,
5532{
5533 fn from(
5534 err: ::aws_smithy_runtime_api::client::result::SdkError<
5535 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
5536 R,
5537 >,
5538 ) -> Self {
5539 match err {
5540 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5541 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5542 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5543 source: err.into(),
5544 }),
5545 }
5546 }
5547}
5548impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
5549 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
5550 match err {
5551 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
5552 Error::OperationTimeoutException(inner)
5553 }
5554 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5555 }
5556 }
5557}
5558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
5559where
5560 R: Send + Sync + std::fmt::Debug + 'static,
5561{
5562 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
5563 match err {
5564 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5565 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5566 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5567 source: err.into(),
5568 }),
5569 }
5570 }
5571}
5572impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
5573 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
5574 match err {
5575 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5576 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
5577 Error::InternalServiceException(inner)
5578 }
5579 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
5580 }
5581 }
5582}
5583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
5584where
5585 R: Send + Sync + std::fmt::Debug + 'static,
5586{
5587 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
5588 match err {
5589 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5590 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5591 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5592 source: err.into(),
5593 }),
5594 }
5595 }
5596}
5597impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
5598 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
5599 match err {
5600 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5601 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
5602 }
5603 }
5604}
5605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
5606where
5607 R: Send + Sync + std::fmt::Debug + 'static,
5608{
5609 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
5610 match err {
5611 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5612 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5613 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5614 source: err.into(),
5615 }),
5616 }
5617 }
5618}
5619impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
5620 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
5621 match err {
5622 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5623 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5624 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5625 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
5626 }
5627 }
5628}
5629impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
5630where
5631 R: Send + Sync + std::fmt::Debug + 'static,
5632{
5633 fn from(
5634 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
5635 ) -> 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_custom_entity_types::ListCustomEntityTypesError> for Error {
5646 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
5647 match err {
5648 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
5649 Error::InternalServiceException(inner)
5650 }
5651 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
5652 Error::InvalidInputException(inner)
5653 }
5654 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
5655 Error::OperationTimeoutException(inner)
5656 }
5657 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
5658 }
5659 }
5660}
5661impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
5662 for Error
5663where
5664 R: Send + Sync + std::fmt::Debug + 'static,
5665{
5666 fn from(
5667 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
5668 ) -> Self {
5669 match err {
5670 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5671 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5672 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5673 source: err.into(),
5674 }),
5675 }
5676 }
5677}
5678impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
5679 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
5680 match err {
5681 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
5682 Error::InternalServiceException(inner)
5683 }
5684 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
5685 Error::InvalidInputException(inner)
5686 }
5687 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
5688 Error::OperationTimeoutException(inner)
5689 }
5690 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
5691 }
5692 }
5693}
5694impl<R>
5695 From<
5696 ::aws_smithy_runtime_api::client::result::SdkError<
5697 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5698 R,
5699 >,
5700 > for Error
5701where
5702 R: Send + Sync + std::fmt::Debug + 'static,
5703{
5704 fn from(
5705 err: ::aws_smithy_runtime_api::client::result::SdkError<
5706 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5707 R,
5708 >,
5709 ) -> Self {
5710 match err {
5711 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5712 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5713 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5714 source: err.into(),
5715 }),
5716 }
5717 }
5718}
5719impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
5720 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
5721 match err {
5722 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
5723 inner,
5724 ) => Error::InternalServiceException(inner),
5725 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
5726 inner,
5727 ) => Error::InvalidInputException(inner),
5728 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
5729 inner,
5730 ) => Error::OperationTimeoutException(inner),
5731 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
5732 Error::Unhandled(inner)
5733 }
5734 }
5735 }
5736}
5737impl<R>
5738 From<
5739 ::aws_smithy_runtime_api::client::result::SdkError<
5740 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5741 R,
5742 >,
5743 > for Error
5744where
5745 R: Send + Sync + std::fmt::Debug + 'static,
5746{
5747 fn from(
5748 err: ::aws_smithy_runtime_api::client::result::SdkError<
5749 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5750 R,
5751 >,
5752 ) -> Self {
5753 match err {
5754 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5755 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5756 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5757 source: err.into(),
5758 }),
5759 }
5760 }
5761}
5762impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
5763 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
5764 match err {
5765 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
5766 inner,
5767 ) => Error::InternalServiceException(inner),
5768 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
5769 Error::InvalidInputException(inner)
5770 }
5771 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
5772 inner,
5773 ) => Error::OperationTimeoutException(inner),
5774 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
5775 Error::Unhandled(inner)
5776 }
5777 }
5778 }
5779}
5780impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
5781 for Error
5782where
5783 R: Send + Sync + std::fmt::Debug + 'static,
5784{
5785 fn from(
5786 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
5787 ) -> Self {
5788 match err {
5789 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5790 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5791 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5792 source: err.into(),
5793 }),
5794 }
5795 }
5796}
5797impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
5798 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
5799 match err {
5800 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
5801 Error::EntityNotFoundException(inner)
5802 }
5803 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
5804 Error::InternalServiceException(inner)
5805 }
5806 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
5807 Error::InvalidInputException(inner)
5808 }
5809 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
5810 Error::OperationTimeoutException(inner)
5811 }
5812 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
5813 }
5814 }
5815}
5816impl<R>
5817 From<
5818 ::aws_smithy_runtime_api::client::result::SdkError<
5819 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
5820 R,
5821 >,
5822 > for Error
5823where
5824 R: Send + Sync + std::fmt::Debug + 'static,
5825{
5826 fn from(
5827 err: ::aws_smithy_runtime_api::client::result::SdkError<
5828 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
5829 R,
5830 >,
5831 ) -> Self {
5832 match err {
5833 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5834 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5835 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5836 source: err.into(),
5837 }),
5838 }
5839 }
5840}
5841impl From<crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
5842 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
5843 match err {
5844 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
5845 Error::InternalServiceException(inner)
5846 }
5847 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
5848 Error::InvalidInputException(inner)
5849 }
5850 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
5851 Error::Unhandled(inner)
5852 }
5853 }
5854 }
5855}
5856impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
5857 for Error
5858where
5859 R: Send + Sync + std::fmt::Debug + 'static,
5860{
5861 fn from(
5862 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
5863 ) -> Self {
5864 match err {
5865 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5866 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5867 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5868 source: err.into(),
5869 }),
5870 }
5871 }
5872}
5873impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
5874 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
5875 match err {
5876 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
5877 Error::EntityNotFoundException(inner)
5878 }
5879 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
5880 Error::InternalServiceException(inner)
5881 }
5882 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
5883 Error::InvalidInputException(inner)
5884 }
5885 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
5886 }
5887 }
5888}
5889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>> for Error
5890where
5891 R: Send + Sync + std::fmt::Debug + 'static,
5892{
5893 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>) -> Self {
5894 match err {
5895 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5896 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5897 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5898 source: err.into(),
5899 }),
5900 }
5901 }
5902}
5903impl From<crate::operation::list_dev_endpoints::ListDevEndpointsError> for Error {
5904 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
5905 match err {
5906 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5907 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5908 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5909 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5910 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
5911 }
5912 }
5913}
5914impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
5915where
5916 R: Send + Sync + std::fmt::Debug + 'static,
5917{
5918 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
5919 match err {
5920 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5921 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5922 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5923 source: err.into(),
5924 }),
5925 }
5926 }
5927}
5928impl From<crate::operation::list_entities::ListEntitiesError> for Error {
5929 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
5930 match err {
5931 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5932 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5933 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5934 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5935 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5936 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5937 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
5938 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
5939 }
5940 }
5941}
5942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
5943where
5944 R: Send + Sync + std::fmt::Debug + 'static,
5945{
5946 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
5947 match err {
5948 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5949 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5950 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5951 source: err.into(),
5952 }),
5953 }
5954 }
5955}
5956impl From<crate::operation::list_jobs::ListJobsError> for Error {
5957 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
5958 match err {
5959 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5960 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5961 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5962 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5963 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
5964 }
5965 }
5966}
5967impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
5968where
5969 R: Send + Sync + std::fmt::Debug + 'static,
5970{
5971 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
5972 match err {
5973 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5974 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5975 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5976 source: err.into(),
5977 }),
5978 }
5979 }
5980}
5981impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
5982 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
5983 match err {
5984 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5985 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5986 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5987 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5988 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
5989 }
5990 }
5991}
5992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
5993where
5994 R: Send + Sync + std::fmt::Debug + 'static,
5995{
5996 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
5997 match err {
5998 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5999 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6000 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6001 source: err.into(),
6002 }),
6003 }
6004 }
6005}
6006impl From<crate::operation::list_registries::ListRegistriesError> for Error {
6007 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
6008 match err {
6009 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6010 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6011 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6012 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
6013 }
6014 }
6015}
6016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
6017where
6018 R: Send + Sync + std::fmt::Debug + 'static,
6019{
6020 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
6021 match err {
6022 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6023 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6024 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6025 source: err.into(),
6026 }),
6027 }
6028 }
6029}
6030impl From<crate::operation::list_schemas::ListSchemasError> for Error {
6031 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
6032 match err {
6033 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6034 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6035 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6036 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6037 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
6038 }
6039 }
6040}
6041impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
6042where
6043 R: Send + Sync + std::fmt::Debug + 'static,
6044{
6045 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
6046 match err {
6047 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6048 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6049 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6050 source: err.into(),
6051 }),
6052 }
6053 }
6054}
6055impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
6056 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
6057 match err {
6058 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6059 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6060 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
6061 Error::InternalServiceException(inner)
6062 }
6063 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6064 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6065 }
6066 }
6067}
6068impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
6069where
6070 R: Send + Sync + std::fmt::Debug + 'static,
6071{
6072 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
6073 match err {
6074 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6075 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6076 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6077 source: err.into(),
6078 }),
6079 }
6080 }
6081}
6082impl From<crate::operation::list_sessions::ListSessionsError> for Error {
6083 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
6084 match err {
6085 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6086 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6087 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6088 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6089 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
6090 }
6091 }
6092}
6093impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
6094where
6095 R: Send + Sync + std::fmt::Debug + 'static,
6096{
6097 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
6098 match err {
6099 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6100 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6101 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6102 source: err.into(),
6103 }),
6104 }
6105 }
6106}
6107impl From<crate::operation::list_statements::ListStatementsError> for Error {
6108 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
6109 match err {
6110 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6111 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6112 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6113 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6114 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6115 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6116 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
6117 }
6118 }
6119}
6120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
6121 for Error
6122where
6123 R: Send + Sync + std::fmt::Debug + 'static,
6124{
6125 fn from(
6126 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
6127 ) -> Self {
6128 match err {
6129 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6130 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6131 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6132 source: err.into(),
6133 }),
6134 }
6135 }
6136}
6137impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
6138 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
6139 match err {
6140 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
6141 Error::AccessDeniedException(inner)
6142 }
6143 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
6144 Error::EntityNotFoundException(inner)
6145 }
6146 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
6147 Error::InternalServiceException(inner)
6148 }
6149 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
6150 Error::InvalidInputException(inner)
6151 }
6152 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6153 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
6154 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
6155 }
6156 }
6157}
6158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
6159where
6160 R: Send + Sync + std::fmt::Debug + 'static,
6161{
6162 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
6163 match err {
6164 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6165 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6166 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6167 source: err.into(),
6168 }),
6169 }
6170 }
6171}
6172impl From<crate::operation::list_triggers::ListTriggersError> for Error {
6173 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
6174 match err {
6175 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6176 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6177 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6178 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6179 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6180 }
6181 }
6182}
6183impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
6184where
6185 R: Send + Sync + std::fmt::Debug + 'static,
6186{
6187 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
6188 match err {
6189 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6190 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6191 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6192 source: err.into(),
6193 }),
6194 }
6195 }
6196}
6197impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
6198 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
6199 match err {
6200 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6201 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6202 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
6203 Error::OperationNotSupportedException(inner)
6204 }
6205 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
6206 Error::OperationTimeoutException(inner)
6207 }
6208 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
6209 }
6210 }
6211}
6212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
6213where
6214 R: Send + Sync + std::fmt::Debug + 'static,
6215{
6216 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
6217 match err {
6218 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6219 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6220 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6221 source: err.into(),
6222 }),
6223 }
6224 }
6225}
6226impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
6227 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
6228 match err {
6229 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6230 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6231 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6232 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
6233 }
6234 }
6235}
6236impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
6237where
6238 R: Send + Sync + std::fmt::Debug + 'static,
6239{
6240 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
6241 match err {
6242 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6243 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6244 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6245 source: err.into(),
6246 }),
6247 }
6248 }
6249}
6250impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
6251 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
6252 match err {
6253 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6254 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
6255 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6256 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
6257 Error::IntegrationConflictOperationFault(inner)
6258 }
6259 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
6260 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
6261 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6262 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6263 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
6264 Error::InvalidIntegrationStateFault(inner)
6265 }
6266 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
6267 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
6268 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
6269 }
6270 }
6271}
6272impl<R>
6273 From<
6274 ::aws_smithy_runtime_api::client::result::SdkError<
6275 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6276 R,
6277 >,
6278 > for Error
6279where
6280 R: Send + Sync + std::fmt::Debug + 'static,
6281{
6282 fn from(
6283 err: ::aws_smithy_runtime_api::client::result::SdkError<
6284 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6285 R,
6286 >,
6287 ) -> Self {
6288 match err {
6289 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6290 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6291 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6292 source: err.into(),
6293 }),
6294 }
6295 }
6296}
6297impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
6298 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
6299 match err {
6300 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
6301 Error::InternalServiceException(inner)
6302 }
6303 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
6304 Error::InvalidInputException(inner)
6305 }
6306 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
6307 Error::OperationTimeoutException(inner)
6308 }
6309 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
6310 Error::Unhandled(inner)
6311 }
6312 }
6313 }
6314}
6315impl<R>
6316 From<
6317 ::aws_smithy_runtime_api::client::result::SdkError<
6318 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6319 R,
6320 >,
6321 > for Error
6322where
6323 R: Send + Sync + std::fmt::Debug + 'static,
6324{
6325 fn from(
6326 err: ::aws_smithy_runtime_api::client::result::SdkError<
6327 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6328 R,
6329 >,
6330 ) -> Self {
6331 match err {
6332 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6333 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6334 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6335 source: err.into(),
6336 }),
6337 }
6338 }
6339}
6340impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
6341 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
6342 match err {
6343 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
6344 Error::EntityNotFoundException(inner)
6345 }
6346 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
6347 Error::InternalServiceException(inner)
6348 }
6349 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
6350 Error::InvalidInputException(inner)
6351 }
6352 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
6353 }
6354 }
6355}
6356impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
6357where
6358 R: Send + Sync + std::fmt::Debug + 'static,
6359{
6360 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
6361 match err {
6362 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6363 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6364 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6365 source: err.into(),
6366 }),
6367 }
6368 }
6369}
6370impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
6371 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
6372 match err {
6373 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
6374 Error::ConditionCheckFailureException(inner)
6375 }
6376 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6377 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6378 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6379 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
6380 Error::OperationTimeoutException(inner)
6381 }
6382 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
6383 }
6384 }
6385}
6386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
6387 for Error
6388where
6389 R: Send + Sync + std::fmt::Debug + 'static,
6390{
6391 fn from(
6392 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
6393 ) -> Self {
6394 match err {
6395 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6396 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6397 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6398 source: err.into(),
6399 }),
6400 }
6401 }
6402}
6403impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
6404 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
6405 match err {
6406 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
6407 Error::AccessDeniedException(inner)
6408 }
6409 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
6410 Error::AlreadyExistsException(inner)
6411 }
6412 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6413 Error::EntityNotFoundException(inner)
6414 }
6415 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
6416 Error::InvalidInputException(inner)
6417 }
6418 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
6419 Error::ResourceNumberLimitExceededException(inner)
6420 }
6421 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6422 }
6423 }
6424}
6425impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
6426 for Error
6427where
6428 R: Send + Sync + std::fmt::Debug + 'static,
6429{
6430 fn from(
6431 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
6432 ) -> Self {
6433 match err {
6434 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6435 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6436 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6437 source: err.into(),
6438 }),
6439 }
6440 }
6441}
6442impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
6443 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
6444 match err {
6445 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
6446 Error::AlreadyExistsException(inner)
6447 }
6448 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
6449 Error::ConcurrentModificationException(inner)
6450 }
6451 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6452 Error::EntityNotFoundException(inner)
6453 }
6454 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
6455 Error::InternalServiceException(inner)
6456 }
6457 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
6458 Error::InvalidInputException(inner)
6459 }
6460 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6461 Error::OperationTimeoutException(inner)
6462 }
6463 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
6464 Error::ResourceNumberLimitExceededException(inner)
6465 }
6466 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6467 }
6468 }
6469}
6470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
6471 for Error
6472where
6473 R: Send + Sync + std::fmt::Debug + 'static,
6474{
6475 fn from(
6476 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
6477 ) -> Self {
6478 match err {
6479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6482 source: err.into(),
6483 }),
6484 }
6485 }
6486}
6487impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
6488 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
6489 match err {
6490 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
6491 Error::AccessDeniedException(inner)
6492 }
6493 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
6494 Error::EntityNotFoundException(inner)
6495 }
6496 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
6497 Error::InvalidInputException(inner)
6498 }
6499 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6500 }
6501 }
6502}
6503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
6504where
6505 R: Send + Sync + std::fmt::Debug + 'static,
6506{
6507 fn from(
6508 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
6509 ) -> Self {
6510 match err {
6511 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6512 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6513 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6514 source: err.into(),
6515 }),
6516 }
6517 }
6518}
6519impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
6520 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
6521 match err {
6522 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
6523 Error::AccessDeniedException(inner)
6524 }
6525 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
6526 Error::ConcurrentModificationException(inner)
6527 }
6528 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
6529 Error::EntityNotFoundException(inner)
6530 }
6531 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
6532 Error::InternalServiceException(inner)
6533 }
6534 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
6535 Error::InvalidInputException(inner)
6536 }
6537 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
6538 Error::ResourceNumberLimitExceededException(inner)
6539 }
6540 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
6541 }
6542 }
6543}
6544impl<R>
6545 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
6546 for Error
6547where
6548 R: Send + Sync + std::fmt::Debug + 'static,
6549{
6550 fn from(
6551 err: ::aws_smithy_runtime_api::client::result::SdkError<
6552 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
6553 R,
6554 >,
6555 ) -> Self {
6556 match err {
6557 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6558 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6559 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6560 source: err.into(),
6561 }),
6562 }
6563 }
6564}
6565impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
6566 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
6567 match err {
6568 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
6569 Error::AccessDeniedException(inner)
6570 }
6571 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6572 Error::EntityNotFoundException(inner)
6573 }
6574 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
6575 Error::InvalidInputException(inner)
6576 }
6577 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6578 }
6579 }
6580}
6581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>> for Error
6582where
6583 R: Send + Sync + std::fmt::Debug + 'static,
6584{
6585 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>) -> Self {
6586 match err {
6587 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6588 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6589 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6590 source: err.into(),
6591 }),
6592 }
6593 }
6594}
6595impl From<crate::operation::reset_job_bookmark::ResetJobBookmarkError> for Error {
6596 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
6597 match err {
6598 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6599 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6600 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6601 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6602 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
6603 }
6604 }
6605}
6606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
6607where
6608 R: Send + Sync + std::fmt::Debug + 'static,
6609{
6610 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
6611 match err {
6612 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6613 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6614 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6615 source: err.into(),
6616 }),
6617 }
6618 }
6619}
6620impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
6621 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
6622 match err {
6623 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
6624 Error::ConcurrentRunsExceededException(inner)
6625 }
6626 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6627 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
6628 Error::IllegalWorkflowStateException(inner)
6629 }
6630 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6631 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6632 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
6633 Error::OperationTimeoutException(inner)
6634 }
6635 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
6636 }
6637 }
6638}
6639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
6640where
6641 R: Send + Sync + std::fmt::Debug + 'static,
6642{
6643 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
6644 match err {
6645 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6646 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6647 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6648 source: err.into(),
6649 }),
6650 }
6651 }
6652}
6653impl From<crate::operation::run_statement::RunStatementError> for Error {
6654 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
6655 match err {
6656 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6657 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6658 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6659 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6660 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6661 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6662 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
6663 Error::ResourceNumberLimitExceededException(inner)
6664 }
6665 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
6666 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
6667 }
6668 }
6669}
6670impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>> for Error
6671where
6672 R: Send + Sync + std::fmt::Debug + 'static,
6673{
6674 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>) -> Self {
6675 match err {
6676 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6677 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6678 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6679 source: err.into(),
6680 }),
6681 }
6682 }
6683}
6684impl From<crate::operation::search_tables::SearchTablesError> for Error {
6685 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
6686 match err {
6687 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6688 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6689 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6690 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
6691 }
6692 }
6693}
6694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
6695where
6696 R: Send + Sync + std::fmt::Debug + 'static,
6697{
6698 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
6699 match err {
6700 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6701 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6702 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6703 source: err.into(),
6704 }),
6705 }
6706 }
6707}
6708impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
6709 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
6710 match err {
6711 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6712 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
6713 Error::IllegalBlueprintStateException(inner)
6714 }
6715 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6716 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6717 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
6718 Error::OperationTimeoutException(inner)
6719 }
6720 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
6721 Error::ResourceNumberLimitExceededException(inner)
6722 }
6723 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
6724 }
6725 }
6726}
6727impl<R>
6728 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
6729 for Error
6730where
6731 R: Send + Sync + std::fmt::Debug + 'static,
6732{
6733 fn from(
6734 err: ::aws_smithy_runtime_api::client::result::SdkError<
6735 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
6736 R,
6737 >,
6738 ) -> 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::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
6749 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
6750 match err {
6751 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
6752 Error::AccessDeniedException(inner)
6753 }
6754 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
6755 Error::ColumnStatisticsTaskRunningException(inner)
6756 }
6757 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
6758 Error::EntityNotFoundException(inner)
6759 }
6760 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
6761 Error::InvalidInputException(inner)
6762 }
6763 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
6764 Error::OperationTimeoutException(inner)
6765 }
6766 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
6767 Error::ResourceNumberLimitExceededException(inner)
6768 }
6769 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
6770 }
6771 }
6772}
6773impl<R>
6774 From<
6775 ::aws_smithy_runtime_api::client::result::SdkError<
6776 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
6777 R,
6778 >,
6779 > for Error
6780where
6781 R: Send + Sync + std::fmt::Debug + 'static,
6782{
6783 fn from(
6784 err: ::aws_smithy_runtime_api::client::result::SdkError<
6785 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
6786 R,
6787 >,
6788 ) -> Self {
6789 match err {
6790 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6791 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6792 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6793 source: err.into(),
6794 }),
6795 }
6796 }
6797}
6798impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
6799 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
6800 match err {
6801 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
6802 Error::AccessDeniedException(inner)
6803 }
6804 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
6805 inner,
6806 ) => Error::EntityNotFoundException(inner),
6807 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
6808 Error::InvalidInputException(inner)
6809 }
6810 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
6811 inner,
6812 ) => Error::OperationTimeoutException(inner),
6813 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
6814 Error::Unhandled(inner)
6815 }
6816 }
6817 }
6818}
6819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
6820where
6821 R: Send + Sync + std::fmt::Debug + 'static,
6822{
6823 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
6824 match err {
6825 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6826 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6827 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6828 source: err.into(),
6829 }),
6830 }
6831 }
6832}
6833impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
6834 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
6835 match err {
6836 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
6837 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6838 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6839 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
6840 }
6841 }
6842}
6843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
6844where
6845 R: Send + Sync + std::fmt::Debug + 'static,
6846{
6847 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> Self {
6848 match err {
6849 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6850 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6851 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6852 source: err.into(),
6853 }),
6854 }
6855 }
6856}
6857impl From<crate::operation::start_crawler_schedule::StartCrawlerScheduleError> for Error {
6858 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
6859 match err {
6860 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
6861 Error::EntityNotFoundException(inner)
6862 }
6863 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
6864 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
6865 Error::OperationTimeoutException(inner)
6866 }
6867 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
6868 Error::SchedulerRunningException(inner)
6869 }
6870 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
6871 Error::SchedulerTransitioningException(inner)
6872 }
6873 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
6874 }
6875 }
6876}
6877impl<R>
6878 From<
6879 ::aws_smithy_runtime_api::client::result::SdkError<
6880 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
6881 R,
6882 >,
6883 > for Error
6884where
6885 R: Send + Sync + std::fmt::Debug + 'static,
6886{
6887 fn from(
6888 err: ::aws_smithy_runtime_api::client::result::SdkError<
6889 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
6890 R,
6891 >,
6892 ) -> Self {
6893 match err {
6894 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6895 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6896 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6897 source: err.into(),
6898 }),
6899 }
6900 }
6901}
6902impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
6903 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
6904 match err {
6905 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
6906 Error::ConflictException(inner)
6907 }
6908 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
6909 inner,
6910 ) => Error::InternalServiceException(inner),
6911 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
6912 inner,
6913 ) => Error::InvalidInputException(inner),
6914 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
6915 inner,
6916 ) => Error::OperationTimeoutException(inner),
6917 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
6918 Error::Unhandled(inner)
6919 }
6920 }
6921 }
6922}
6923impl<R>
6924 From<
6925 ::aws_smithy_runtime_api::client::result::SdkError<
6926 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
6927 R,
6928 >,
6929 > for Error
6930where
6931 R: Send + Sync + std::fmt::Debug + 'static,
6932{
6933 fn from(
6934 err: ::aws_smithy_runtime_api::client::result::SdkError<
6935 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
6936 R,
6937 >,
6938 ) -> Self {
6939 match err {
6940 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6941 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6942 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6943 source: err.into(),
6944 }),
6945 }
6946 }
6947}
6948impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
6949 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
6950 match err {
6951 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
6952 Error::ConflictException(inner)
6953 }
6954 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
6955 inner,
6956 ) => Error::EntityNotFoundException(inner),
6957 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
6958 inner,
6959 ) => Error::InternalServiceException(inner),
6960 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
6961 Error::InvalidInputException(inner)
6962 }
6963 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
6964 inner,
6965 ) => Error::OperationTimeoutException(inner),
6966 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
6967 Error::Unhandled(inner)
6968 }
6969 }
6970 }
6971}
6972impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
6973 for Error
6974where
6975 R: Send + Sync + std::fmt::Debug + 'static,
6976{
6977 fn from(
6978 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
6979 ) -> Self {
6980 match err {
6981 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6982 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6983 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6984 source: err.into(),
6985 }),
6986 }
6987 }
6988}
6989impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
6990 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
6991 match err {
6992 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
6993 Error::EntityNotFoundException(inner)
6994 }
6995 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
6996 Error::InternalServiceException(inner)
6997 }
6998 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
6999 Error::InvalidInputException(inner)
7000 }
7001 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
7002 Error::OperationTimeoutException(inner)
7003 }
7004 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7005 }
7006 }
7007}
7008impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
7009 for Error
7010where
7011 R: Send + Sync + std::fmt::Debug + 'static,
7012{
7013 fn from(
7014 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
7015 ) -> Self {
7016 match err {
7017 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7018 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7019 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7020 source: err.into(),
7021 }),
7022 }
7023 }
7024}
7025impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
7026 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
7027 match err {
7028 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
7029 Error::EntityNotFoundException(inner)
7030 }
7031 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
7032 Error::InternalServiceException(inner)
7033 }
7034 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
7035 Error::InvalidInputException(inner)
7036 }
7037 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
7038 Error::OperationTimeoutException(inner)
7039 }
7040 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7041 Error::ResourceNumberLimitExceededException(inner)
7042 }
7043 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7044 }
7045 }
7046}
7047impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
7048where
7049 R: Send + Sync + std::fmt::Debug + 'static,
7050{
7051 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
7052 match err {
7053 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7054 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7055 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7056 source: err.into(),
7057 }),
7058 }
7059 }
7060}
7061impl From<crate::operation::start_job_run::StartJobRunError> for Error {
7062 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
7063 match err {
7064 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
7065 Error::ConcurrentRunsExceededException(inner)
7066 }
7067 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7068 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7069 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7070 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7071 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
7072 Error::ResourceNumberLimitExceededException(inner)
7073 }
7074 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
7075 }
7076 }
7077}
7078impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
7079 for Error
7080where
7081 R: Send + Sync + std::fmt::Debug + 'static,
7082{
7083 fn from(
7084 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
7085 ) -> Self {
7086 match err {
7087 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7088 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7089 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7090 source: err.into(),
7091 }),
7092 }
7093 }
7094}
7095impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
7096 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
7097 match err {
7098 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
7099 Error::ConcurrentRunsExceededException(inner)
7100 }
7101 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
7102 Error::EntityNotFoundException(inner)
7103 }
7104 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
7105 Error::InternalServiceException(inner)
7106 }
7107 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
7108 Error::InvalidInputException(inner)
7109 }
7110 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
7111 Error::MlTransformNotReadyException(inner)
7112 }
7113 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
7114 Error::OperationTimeoutException(inner)
7115 }
7116 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7117 }
7118 }
7119}
7120impl<R>
7121 From<
7122 ::aws_smithy_runtime_api::client::result::SdkError<
7123 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7124 R,
7125 >,
7126 > for Error
7127where
7128 R: Send + Sync + std::fmt::Debug + 'static,
7129{
7130 fn from(
7131 err: ::aws_smithy_runtime_api::client::result::SdkError<
7132 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7133 R,
7134 >,
7135 ) -> Self {
7136 match err {
7137 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7138 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7139 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7140 source: err.into(),
7141 }),
7142 }
7143 }
7144}
7145impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
7146 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
7147 match err {
7148 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
7149 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7150 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7151 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7152 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7153 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7154 }
7155 }
7156}
7157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
7158where
7159 R: Send + Sync + std::fmt::Debug + 'static,
7160{
7161 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
7162 match err {
7163 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7164 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7165 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7166 source: err.into(),
7167 }),
7168 }
7169 }
7170}
7171impl From<crate::operation::start_trigger::StartTriggerError> for Error {
7172 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
7173 match err {
7174 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
7175 Error::ConcurrentRunsExceededException(inner)
7176 }
7177 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7178 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7179 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7180 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7181 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
7182 Error::ResourceNumberLimitExceededException(inner)
7183 }
7184 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7185 }
7186 }
7187}
7188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
7189where
7190 R: Send + Sync + std::fmt::Debug + 'static,
7191{
7192 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
7193 match err {
7194 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7195 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7196 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7197 source: err.into(),
7198 }),
7199 }
7200 }
7201}
7202impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
7203 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
7204 match err {
7205 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
7206 Error::ConcurrentRunsExceededException(inner)
7207 }
7208 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7209 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7210 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7211 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7212 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
7213 Error::ResourceNumberLimitExceededException(inner)
7214 }
7215 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7216 }
7217 }
7218}
7219impl<R>
7220 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
7221 for Error
7222where
7223 R: Send + Sync + std::fmt::Debug + 'static,
7224{
7225 fn from(
7226 err: ::aws_smithy_runtime_api::client::result::SdkError<
7227 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
7228 R,
7229 >,
7230 ) -> Self {
7231 match err {
7232 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7233 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7234 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7235 source: err.into(),
7236 }),
7237 }
7238 }
7239}
7240impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
7241 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
7242 match err {
7243 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
7244 Error::ColumnStatisticsTaskNotRunningException(inner)
7245 }
7246 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
7247 Error::ColumnStatisticsTaskStoppingException(inner)
7248 }
7249 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
7250 Error::EntityNotFoundException(inner)
7251 }
7252 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7253 Error::OperationTimeoutException(inner)
7254 }
7255 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7256 }
7257 }
7258}
7259impl<R>
7260 From<
7261 ::aws_smithy_runtime_api::client::result::SdkError<
7262 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7263 R,
7264 >,
7265 > for Error
7266where
7267 R: Send + Sync + std::fmt::Debug + 'static,
7268{
7269 fn from(
7270 err: ::aws_smithy_runtime_api::client::result::SdkError<
7271 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7272 R,
7273 >,
7274 ) -> Self {
7275 match err {
7276 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7277 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7278 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7279 source: err.into(),
7280 }),
7281 }
7282 }
7283}
7284impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
7285 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
7286 match err {
7287 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
7288 Error::EntityNotFoundException(inner)
7289 }
7290 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7291 Error::InvalidInputException(inner)
7292 }
7293 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7294 inner,
7295 ) => Error::OperationTimeoutException(inner),
7296 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7297 Error::Unhandled(inner)
7298 }
7299 }
7300 }
7301}
7302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
7303where
7304 R: Send + Sync + std::fmt::Debug + 'static,
7305{
7306 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
7307 match err {
7308 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7309 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7310 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7311 source: err.into(),
7312 }),
7313 }
7314 }
7315}
7316impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
7317 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
7318 match err {
7319 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
7320 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
7321 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7322 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7323 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7324 }
7325 }
7326}
7327impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
7328where
7329 R: Send + Sync + std::fmt::Debug + 'static,
7330{
7331 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
7332 match err {
7333 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7334 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7335 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7336 source: err.into(),
7337 }),
7338 }
7339 }
7340}
7341impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
7342 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
7343 match err {
7344 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
7345 Error::EntityNotFoundException(inner)
7346 }
7347 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
7348 Error::OperationTimeoutException(inner)
7349 }
7350 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
7351 Error::SchedulerNotRunningException(inner)
7352 }
7353 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7354 Error::SchedulerTransitioningException(inner)
7355 }
7356 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7357 }
7358 }
7359}
7360impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
7361where
7362 R: Send + Sync + std::fmt::Debug + 'static,
7363{
7364 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
7365 match err {
7366 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7367 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7368 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7369 source: err.into(),
7370 }),
7371 }
7372 }
7373}
7374impl From<crate::operation::stop_session::StopSessionError> for Error {
7375 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
7376 match err {
7377 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7378 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7379 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7380 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7381 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7382 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7383 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
7384 }
7385 }
7386}
7387impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
7388where
7389 R: Send + Sync + std::fmt::Debug + 'static,
7390{
7391 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
7392 match err {
7393 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7394 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7395 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7396 source: err.into(),
7397 }),
7398 }
7399 }
7400}
7401impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
7402 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
7403 match err {
7404 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7405 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7406 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7407 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7408 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7409 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7410 }
7411 }
7412}
7413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
7414where
7415 R: Send + Sync + std::fmt::Debug + 'static,
7416{
7417 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
7418 match err {
7419 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7420 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7421 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7422 source: err.into(),
7423 }),
7424 }
7425 }
7426}
7427impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
7428 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
7429 match err {
7430 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7431 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
7432 Error::IllegalWorkflowStateException(inner)
7433 }
7434 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7435 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7436 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7437 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7438 }
7439 }
7440}
7441impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
7442where
7443 R: Send + Sync + std::fmt::Debug + 'static,
7444{
7445 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
7446 match err {
7447 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7448 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7449 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7450 source: err.into(),
7451 }),
7452 }
7453 }
7454}
7455impl From<crate::operation::tag_resource::TagResourceError> for Error {
7456 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
7457 match err {
7458 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7459 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7460 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7461 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7462 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7463 }
7464 }
7465}
7466impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
7467where
7468 R: Send + Sync + std::fmt::Debug + 'static,
7469{
7470 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
7471 match err {
7472 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7473 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7474 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7475 source: err.into(),
7476 }),
7477 }
7478 }
7479}
7480impl From<crate::operation::test_connection::TestConnectionError> for Error {
7481 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
7482 match err {
7483 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7484 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
7485 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7486 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7487 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7488 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7489 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7490 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7491 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
7492 Error::ResourceNumberLimitExceededException(inner)
7493 }
7494 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7495 }
7496 }
7497}
7498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
7499where
7500 R: Send + Sync + std::fmt::Debug + 'static,
7501{
7502 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
7503 match err {
7504 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7505 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7506 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7507 source: err.into(),
7508 }),
7509 }
7510 }
7511}
7512impl From<crate::operation::untag_resource::UntagResourceError> for Error {
7513 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
7514 match err {
7515 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7516 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7517 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7518 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7519 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7520 }
7521 }
7522}
7523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
7524where
7525 R: Send + Sync + std::fmt::Debug + 'static,
7526{
7527 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
7528 match err {
7529 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7530 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7531 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7532 source: err.into(),
7533 }),
7534 }
7535 }
7536}
7537impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
7538 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
7539 match err {
7540 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
7541 Error::ConcurrentModificationException(inner)
7542 }
7543 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7544 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
7545 Error::IllegalBlueprintStateException(inner)
7546 }
7547 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7548 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7549 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7550 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
7551 }
7552 }
7553}
7554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
7555where
7556 R: Send + Sync + std::fmt::Debug + 'static,
7557{
7558 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
7559 match err {
7560 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7561 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7562 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7563 source: err.into(),
7564 }),
7565 }
7566 }
7567}
7568impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
7569 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
7570 match err {
7571 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7572 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
7573 Error::ConcurrentModificationException(inner)
7574 }
7575 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7576 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7577 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7578 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7579 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7580 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7581 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
7582 }
7583 }
7584}
7585impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
7586where
7587 R: Send + Sync + std::fmt::Debug + 'static,
7588{
7589 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
7590 match err {
7591 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7592 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7593 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7594 source: err.into(),
7595 }),
7596 }
7597 }
7598}
7599impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
7600 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
7601 match err {
7602 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7603 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7604 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7605 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
7606 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
7607 }
7608 }
7609}
7610impl<R>
7611 From<
7612 ::aws_smithy_runtime_api::client::result::SdkError<
7613 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7614 R,
7615 >,
7616 > for Error
7617where
7618 R: Send + Sync + std::fmt::Debug + 'static,
7619{
7620 fn from(
7621 err: ::aws_smithy_runtime_api::client::result::SdkError<
7622 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7623 R,
7624 >,
7625 ) -> Self {
7626 match err {
7627 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7628 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7629 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7630 source: err.into(),
7631 }),
7632 }
7633 }
7634}
7635impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
7636 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
7637 match err {
7638 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
7639 Error::EntityNotFoundException(inner)
7640 }
7641 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
7642 Error::GlueEncryptionException(inner)
7643 }
7644 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
7645 Error::InternalServiceException(inner)
7646 }
7647 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
7648 Error::InvalidInputException(inner)
7649 }
7650 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
7651 Error::OperationTimeoutException(inner)
7652 }
7653 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
7654 Error::Unhandled(inner)
7655 }
7656 }
7657 }
7658}
7659impl<R>
7660 From<
7661 ::aws_smithy_runtime_api::client::result::SdkError<
7662 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7663 R,
7664 >,
7665 > for Error
7666where
7667 R: Send + Sync + std::fmt::Debug + 'static,
7668{
7669 fn from(
7670 err: ::aws_smithy_runtime_api::client::result::SdkError<
7671 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7672 R,
7673 >,
7674 ) -> Self {
7675 match err {
7676 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7677 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7678 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7679 source: err.into(),
7680 }),
7681 }
7682 }
7683}
7684impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
7685 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
7686 match err {
7687 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
7688 Error::EntityNotFoundException(inner)
7689 }
7690 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
7691 Error::GlueEncryptionException(inner)
7692 }
7693 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
7694 Error::InternalServiceException(inner)
7695 }
7696 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
7697 Error::InvalidInputException(inner)
7698 }
7699 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
7700 Error::OperationTimeoutException(inner)
7701 }
7702 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
7703 }
7704 }
7705}
7706impl<R>
7707 From<
7708 ::aws_smithy_runtime_api::client::result::SdkError<
7709 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7710 R,
7711 >,
7712 > for Error
7713where
7714 R: Send + Sync + std::fmt::Debug + 'static,
7715{
7716 fn from(
7717 err: ::aws_smithy_runtime_api::client::result::SdkError<
7718 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7719 R,
7720 >,
7721 ) -> Self {
7722 match err {
7723 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7724 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7725 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7726 source: err.into(),
7727 }),
7728 }
7729 }
7730}
7731impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
7732 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
7733 match err {
7734 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
7735 Error::AccessDeniedException(inner)
7736 }
7737 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
7738 Error::EntityNotFoundException(inner)
7739 }
7740 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
7741 Error::InvalidInputException(inner)
7742 }
7743 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
7744 Error::OperationTimeoutException(inner)
7745 }
7746 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
7747 Error::VersionMismatchException(inner)
7748 }
7749 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
7750 Error::Unhandled(inner)
7751 }
7752 }
7753 }
7754}
7755impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
7756where
7757 R: Send + Sync + std::fmt::Debug + 'static,
7758{
7759 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
7760 match err {
7761 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7762 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7763 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7764 source: err.into(),
7765 }),
7766 }
7767 }
7768}
7769impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
7770 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
7771 match err {
7772 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7773 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7774 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7775 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7776 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7777 }
7778 }
7779}
7780impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
7781where
7782 R: Send + Sync + std::fmt::Debug + 'static,
7783{
7784 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
7785 match err {
7786 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7787 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7788 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7789 source: err.into(),
7790 }),
7791 }
7792 }
7793}
7794impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
7795 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
7796 match err {
7797 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
7798 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7799 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7800 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7801 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
7802 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7803 }
7804 }
7805}
7806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
7807where
7808 R: Send + Sync + std::fmt::Debug + 'static,
7809{
7810 fn from(
7811 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
7812 ) -> Self {
7813 match err {
7814 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7815 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7816 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7817 source: err.into(),
7818 }),
7819 }
7820 }
7821}
7822impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
7823 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
7824 match err {
7825 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
7826 Error::EntityNotFoundException(inner)
7827 }
7828 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
7829 Error::InvalidInputException(inner)
7830 }
7831 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
7832 Error::OperationTimeoutException(inner)
7833 }
7834 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7835 Error::SchedulerTransitioningException(inner)
7836 }
7837 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
7838 Error::VersionMismatchException(inner)
7839 }
7840 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7841 }
7842 }
7843}
7844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
7845where
7846 R: Send + Sync + std::fmt::Debug + 'static,
7847{
7848 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
7849 match err {
7850 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7851 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7852 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7853 source: err.into(),
7854 }),
7855 }
7856 }
7857}
7858impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
7859 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
7860 match err {
7861 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
7862 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
7863 Error::ConcurrentModificationException(inner)
7864 }
7865 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7866 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7867 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
7868 Error::FederationSourceRetryableException(inner)
7869 }
7870 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7871 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7872 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7873 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7874 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
7875 }
7876 }
7877}
7878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
7879 for Error
7880where
7881 R: Send + Sync + std::fmt::Debug + 'static,
7882{
7883 fn from(
7884 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
7885 ) -> Self {
7886 match err {
7887 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7888 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7889 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7890 source: err.into(),
7891 }),
7892 }
7893 }
7894}
7895impl From<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
7896 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
7897 match err {
7898 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
7899 Error::AlreadyExistsException(inner)
7900 }
7901 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
7902 Error::EntityNotFoundException(inner)
7903 }
7904 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
7905 Error::IdempotentParameterMismatchException(inner)
7906 }
7907 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
7908 Error::InternalServiceException(inner)
7909 }
7910 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
7911 Error::InvalidInputException(inner)
7912 }
7913 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
7914 Error::OperationTimeoutException(inner)
7915 }
7916 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
7917 Error::ResourceNumberLimitExceededException(inner)
7918 }
7919 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
7920 }
7921 }
7922}
7923impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
7924where
7925 R: Send + Sync + std::fmt::Debug + 'static,
7926{
7927 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
7928 match err {
7929 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7930 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7931 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7932 source: err.into(),
7933 }),
7934 }
7935 }
7936}
7937impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
7938 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
7939 match err {
7940 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7941 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7942 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7943 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
7944 Error::OperationTimeoutException(inner)
7945 }
7946 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
7947 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
7948 }
7949 }
7950}
7951impl<R>
7952 From<
7953 ::aws_smithy_runtime_api::client::result::SdkError<
7954 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
7955 R,
7956 >,
7957 > for Error
7958where
7959 R: Send + Sync + std::fmt::Debug + 'static,
7960{
7961 fn from(
7962 err: ::aws_smithy_runtime_api::client::result::SdkError<
7963 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
7964 R,
7965 >,
7966 ) -> Self {
7967 match err {
7968 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7969 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7970 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7971 source: err.into(),
7972 }),
7973 }
7974 }
7975}
7976impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
7977 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
7978 match err {
7979 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
7980 Error::AccessDeniedException(inner)
7981 }
7982 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
7983 Error::EntityNotFoundException(inner)
7984 }
7985 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
7986 Error::InternalServerException(inner)
7987 }
7988 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
7989 Error::InternalServiceException(inner)
7990 }
7991 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
7992 Error::InvalidInputException(inner)
7993 }
7994 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
7995 Error::ResourceNotFoundException(inner)
7996 }
7997 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
7998 Error::ValidationException(inner)
7999 }
8000 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
8001 Error::Unhandled(inner)
8002 }
8003 }
8004 }
8005}
8006impl<R>
8007 From<
8008 ::aws_smithy_runtime_api::client::result::SdkError<
8009 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8010 R,
8011 >,
8012 > for Error
8013where
8014 R: Send + Sync + std::fmt::Debug + 'static,
8015{
8016 fn from(
8017 err: ::aws_smithy_runtime_api::client::result::SdkError<
8018 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8019 R,
8020 >,
8021 ) -> Self {
8022 match err {
8023 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8024 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8025 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8026 source: err.into(),
8027 }),
8028 }
8029 }
8030}
8031impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
8032 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
8033 match err {
8034 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
8035 Error::AccessDeniedException(inner)
8036 }
8037 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
8038 Error::EntityNotFoundException(inner)
8039 }
8040 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
8041 Error::InternalServerException(inner)
8042 }
8043 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
8044 Error::InternalServiceException(inner)
8045 }
8046 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
8047 Error::InvalidInputException(inner)
8048 }
8049 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
8050 Error::ResourceNotFoundException(inner)
8051 }
8052 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
8053 Error::ValidationException(inner)
8054 }
8055 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
8056 }
8057 }
8058}
8059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
8060where
8061 R: Send + Sync + std::fmt::Debug + 'static,
8062{
8063 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
8064 match err {
8065 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8066 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8067 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8068 source: err.into(),
8069 }),
8070 }
8071 }
8072}
8073impl From<crate::operation::update_job::UpdateJobError> for Error {
8074 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
8075 match err {
8076 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8077 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8078 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8079 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8080 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8081 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
8082 }
8083 }
8084}
8085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
8086 for Error
8087where
8088 R: Send + Sync + std::fmt::Debug + 'static,
8089{
8090 fn from(
8091 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
8092 ) -> Self {
8093 match err {
8094 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8095 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8096 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8097 source: err.into(),
8098 }),
8099 }
8100 }
8101}
8102impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
8103 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
8104 match err {
8105 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
8106 Error::AccessDeniedException(inner)
8107 }
8108 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
8109 Error::AlreadyExistsException(inner)
8110 }
8111 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
8112 Error::EntityNotFoundException(inner)
8113 }
8114 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
8115 Error::InternalServiceException(inner)
8116 }
8117 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
8118 Error::InvalidInputException(inner)
8119 }
8120 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
8121 Error::OperationTimeoutException(inner)
8122 }
8123 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
8124 Error::ValidationException(inner)
8125 }
8126 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
8127 }
8128 }
8129}
8130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
8131where
8132 R: Send + Sync + std::fmt::Debug + 'static,
8133{
8134 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
8135 match err {
8136 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8137 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8138 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8139 source: err.into(),
8140 }),
8141 }
8142 }
8143}
8144impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
8145 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
8146 match err {
8147 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8148 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8149 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8150 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8151 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
8152 Error::OperationTimeoutException(inner)
8153 }
8154 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
8155 }
8156 }
8157}
8158impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
8159where
8160 R: Send + Sync + std::fmt::Debug + 'static,
8161{
8162 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
8163 match err {
8164 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8165 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8166 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8167 source: err.into(),
8168 }),
8169 }
8170 }
8171}
8172impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
8173 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
8174 match err {
8175 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8176 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8177 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8178 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8179 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8180 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
8181 }
8182 }
8183}
8184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
8185where
8186 R: Send + Sync + std::fmt::Debug + 'static,
8187{
8188 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
8189 match err {
8190 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8191 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8192 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8193 source: err.into(),
8194 }),
8195 }
8196 }
8197}
8198impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
8199 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
8200 match err {
8201 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8202 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
8203 Error::ConcurrentModificationException(inner)
8204 }
8205 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8206 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8207 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8208 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
8209 }
8210 }
8211}
8212impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
8213where
8214 R: Send + Sync + std::fmt::Debug + 'static,
8215{
8216 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
8217 match err {
8218 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8219 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8220 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8221 source: err.into(),
8222 }),
8223 }
8224 }
8225}
8226impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
8227 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
8228 match err {
8229 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8230 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
8231 Error::ConcurrentModificationException(inner)
8232 }
8233 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8234 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8235 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8236 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
8237 }
8238 }
8239}
8240impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
8241 for Error
8242where
8243 R: Send + Sync + std::fmt::Debug + 'static,
8244{
8245 fn from(
8246 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
8247 ) -> Self {
8248 match err {
8249 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8250 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8251 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8252 source: err.into(),
8253 }),
8254 }
8255 }
8256}
8257impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
8258 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
8259 match err {
8260 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
8261 Error::AccessDeniedException(inner)
8262 }
8263 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
8264 Error::AlreadyExistsException(inner)
8265 }
8266 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
8267 Error::EntityNotFoundException(inner)
8268 }
8269 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
8270 Error::InternalServiceException(inner)
8271 }
8272 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
8273 Error::InvalidInputException(inner)
8274 }
8275 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
8276 Error::OperationTimeoutException(inner)
8277 }
8278 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
8279 Error::ValidationException(inner)
8280 }
8281 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
8282 }
8283 }
8284}
8285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
8286where
8287 R: Send + Sync + std::fmt::Debug + 'static,
8288{
8289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
8290 match err {
8291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8294 source: err.into(),
8295 }),
8296 }
8297 }
8298}
8299impl From<crate::operation::update_table::UpdateTableError> for Error {
8300 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
8301 match err {
8302 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8303 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8304 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8305 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8306 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
8307 Error::FederationSourceRetryableException(inner)
8308 }
8309 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8310 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8311 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8312 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8313 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
8314 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
8315 Error::ResourceNumberLimitExceededException(inner)
8316 }
8317 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
8318 }
8319 }
8320}
8321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
8322where
8323 R: Send + Sync + std::fmt::Debug + 'static,
8324{
8325 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
8326 match err {
8327 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8328 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8329 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8330 source: err.into(),
8331 }),
8332 }
8333 }
8334}
8335impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
8336 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
8337 match err {
8338 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8339 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
8340 Error::ConcurrentModificationException(inner)
8341 }
8342 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
8343 Error::EntityNotFoundException(inner)
8344 }
8345 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
8346 Error::InternalServiceException(inner)
8347 }
8348 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8349 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8350 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
8351 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
8352 }
8353 }
8354}
8355impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
8356where
8357 R: Send + Sync + std::fmt::Debug + 'static,
8358{
8359 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
8360 match err {
8361 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8362 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8363 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8364 source: err.into(),
8365 }),
8366 }
8367 }
8368}
8369impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
8370 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
8371 match err {
8372 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
8373 Error::ConcurrentModificationException(inner)
8374 }
8375 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8376 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8377 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8378 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8379 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8380 }
8381 }
8382}
8383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
8384where
8385 R: Send + Sync + std::fmt::Debug + 'static,
8386{
8387 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
8388 match err {
8389 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8390 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8391 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8392 source: err.into(),
8393 }),
8394 }
8395 }
8396}
8397impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
8398 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
8399 match err {
8400 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
8401 Error::ConcurrentModificationException(inner)
8402 }
8403 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8404 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
8405 Error::InternalServiceException(inner)
8406 }
8407 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8408 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
8409 Error::OperationNotSupportedException(inner)
8410 }
8411 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
8412 Error::OperationTimeoutException(inner)
8413 }
8414 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
8415 }
8416 }
8417}
8418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
8419 for Error
8420where
8421 R: Send + Sync + std::fmt::Debug + 'static,
8422{
8423 fn from(
8424 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
8425 ) -> Self {
8426 match err {
8427 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8428 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8429 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8430 source: err.into(),
8431 }),
8432 }
8433 }
8434}
8435impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
8436 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
8437 match err {
8438 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
8439 Error::EntityNotFoundException(inner)
8440 }
8441 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
8442 Error::GlueEncryptionException(inner)
8443 }
8444 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
8445 Error::InternalServiceException(inner)
8446 }
8447 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
8448 Error::InvalidInputException(inner)
8449 }
8450 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
8451 Error::OperationTimeoutException(inner)
8452 }
8453 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
8454 }
8455 }
8456}
8457impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
8458where
8459 R: Send + Sync + std::fmt::Debug + 'static,
8460{
8461 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
8462 match err {
8463 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8464 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8465 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8466 source: err.into(),
8467 }),
8468 }
8469 }
8470}
8471impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
8472 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
8473 match err {
8474 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
8475 Error::ConcurrentModificationException(inner)
8476 }
8477 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8478 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8479 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8480 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8481 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
8482 }
8483 }
8484}
8485impl ::std::error::Error for Error {
8486 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
8487 match self {
8488 Error::AccessDeniedException(inner) => inner.source(),
8489 Error::AlreadyExistsException(inner) => inner.source(),
8490 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
8491 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
8492 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
8493 Error::ConcurrentModificationException(inner) => inner.source(),
8494 Error::ConcurrentRunsExceededException(inner) => inner.source(),
8495 Error::ConditionCheckFailureException(inner) => inner.source(),
8496 Error::ConflictException(inner) => inner.source(),
8497 Error::CrawlerNotRunningException(inner) => inner.source(),
8498 Error::CrawlerRunningException(inner) => inner.source(),
8499 Error::CrawlerStoppingException(inner) => inner.source(),
8500 Error::EntityNotFoundException(inner) => inner.source(),
8501 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
8502 Error::FederationSourceException(inner) => inner.source(),
8503 Error::FederationSourceRetryableException(inner) => inner.source(),
8504 Error::GlueEncryptionException(inner) => inner.source(),
8505 Error::IdempotentParameterMismatchException(inner) => inner.source(),
8506 Error::IllegalBlueprintStateException(inner) => inner.source(),
8507 Error::IllegalSessionStateException(inner) => inner.source(),
8508 Error::IllegalWorkflowStateException(inner) => inner.source(),
8509 Error::IntegrationConflictOperationFault(inner) => inner.source(),
8510 Error::IntegrationNotFoundFault(inner) => inner.source(),
8511 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
8512 Error::InternalServerException(inner) => inner.source(),
8513 Error::InternalServiceException(inner) => inner.source(),
8514 Error::InvalidInputException(inner) => inner.source(),
8515 Error::InvalidIntegrationStateFault(inner) => inner.source(),
8516 Error::InvalidStateException(inner) => inner.source(),
8517 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
8518 Error::MlTransformNotReadyException(inner) => inner.source(),
8519 Error::NoScheduleException(inner) => inner.source(),
8520 Error::OperationNotSupportedException(inner) => inner.source(),
8521 Error::OperationTimeoutException(inner) => inner.source(),
8522 Error::PermissionTypeMismatchException(inner) => inner.source(),
8523 Error::ResourceNotFoundException(inner) => inner.source(),
8524 Error::ResourceNotReadyException(inner) => inner.source(),
8525 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
8526 Error::SchedulerNotRunningException(inner) => inner.source(),
8527 Error::SchedulerRunningException(inner) => inner.source(),
8528 Error::SchedulerTransitioningException(inner) => inner.source(),
8529 Error::TargetResourceNotFound(inner) => inner.source(),
8530 Error::ThrottlingException(inner) => inner.source(),
8531 Error::ValidationException(inner) => inner.source(),
8532 Error::VersionMismatchException(inner) => inner.source(),
8533 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
8534 }
8535 }
8536}
8537impl ::aws_types::request_id::RequestId for Error {
8538 fn request_id(&self) -> Option<&str> {
8539 match self {
8540 Self::AccessDeniedException(e) => e.request_id(),
8541 Self::AlreadyExistsException(e) => e.request_id(),
8542 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
8543 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
8544 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
8545 Self::ConcurrentModificationException(e) => e.request_id(),
8546 Self::ConcurrentRunsExceededException(e) => e.request_id(),
8547 Self::ConditionCheckFailureException(e) => e.request_id(),
8548 Self::ConflictException(e) => e.request_id(),
8549 Self::CrawlerNotRunningException(e) => e.request_id(),
8550 Self::CrawlerRunningException(e) => e.request_id(),
8551 Self::CrawlerStoppingException(e) => e.request_id(),
8552 Self::EntityNotFoundException(e) => e.request_id(),
8553 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
8554 Self::FederationSourceException(e) => e.request_id(),
8555 Self::FederationSourceRetryableException(e) => e.request_id(),
8556 Self::GlueEncryptionException(e) => e.request_id(),
8557 Self::IdempotentParameterMismatchException(e) => e.request_id(),
8558 Self::IllegalBlueprintStateException(e) => e.request_id(),
8559 Self::IllegalSessionStateException(e) => e.request_id(),
8560 Self::IllegalWorkflowStateException(e) => e.request_id(),
8561 Self::IntegrationConflictOperationFault(e) => e.request_id(),
8562 Self::IntegrationNotFoundFault(e) => e.request_id(),
8563 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
8564 Self::InternalServerException(e) => e.request_id(),
8565 Self::InternalServiceException(e) => e.request_id(),
8566 Self::InvalidInputException(e) => e.request_id(),
8567 Self::InvalidIntegrationStateFault(e) => e.request_id(),
8568 Self::InvalidStateException(e) => e.request_id(),
8569 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
8570 Self::MlTransformNotReadyException(e) => e.request_id(),
8571 Self::NoScheduleException(e) => e.request_id(),
8572 Self::OperationNotSupportedException(e) => e.request_id(),
8573 Self::OperationTimeoutException(e) => e.request_id(),
8574 Self::PermissionTypeMismatchException(e) => e.request_id(),
8575 Self::ResourceNotFoundException(e) => e.request_id(),
8576 Self::ResourceNotReadyException(e) => e.request_id(),
8577 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
8578 Self::SchedulerNotRunningException(e) => e.request_id(),
8579 Self::SchedulerRunningException(e) => e.request_id(),
8580 Self::SchedulerTransitioningException(e) => e.request_id(),
8581 Self::TargetResourceNotFound(e) => e.request_id(),
8582 Self::ThrottlingException(e) => e.request_id(),
8583 Self::ValidationException(e) => e.request_id(),
8584 Self::VersionMismatchException(e) => e.request_id(),
8585 Self::Unhandled(e) => e.meta.request_id(),
8586 }
8587 }
8588}