1#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6 AccessDeniedException(crate::types::error::AccessDeniedException),
8 AlreadyExistsException(crate::types::error::AlreadyExistsException),
10 ColumnStatisticsTaskNotRunningException(crate::types::error::ColumnStatisticsTaskNotRunningException),
12 ColumnStatisticsTaskRunningException(crate::types::error::ColumnStatisticsTaskRunningException),
14 ColumnStatisticsTaskStoppingException(crate::types::error::ColumnStatisticsTaskStoppingException),
16 ConcurrentModificationException(crate::types::error::ConcurrentModificationException),
18 ConcurrentRunsExceededException(crate::types::error::ConcurrentRunsExceededException),
20 ConditionCheckFailureException(crate::types::error::ConditionCheckFailureException),
22 ConflictException(crate::types::error::ConflictException),
24 CrawlerNotRunningException(crate::types::error::CrawlerNotRunningException),
26 CrawlerRunningException(crate::types::error::CrawlerRunningException),
28 CrawlerStoppingException(crate::types::error::CrawlerStoppingException),
30 EntityNotFoundException(crate::types::error::EntityNotFoundException),
32 FederatedResourceAlreadyExistsException(crate::types::error::FederatedResourceAlreadyExistsException),
34 FederationSourceException(crate::types::error::FederationSourceException),
36 FederationSourceRetryableException(crate::types::error::FederationSourceRetryableException),
38 GlueEncryptionException(crate::types::error::GlueEncryptionException),
40 IdempotentParameterMismatchException(crate::types::error::IdempotentParameterMismatchException),
42 IllegalBlueprintStateException(crate::types::error::IllegalBlueprintStateException),
44 IllegalSessionStateException(crate::types::error::IllegalSessionStateException),
46 IllegalWorkflowStateException(crate::types::error::IllegalWorkflowStateException),
48 IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault),
50 IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault),
52 IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault),
54 InternalServerException(crate::types::error::InternalServerException),
56 InternalServiceException(crate::types::error::InternalServiceException),
58 InvalidInputException(crate::types::error::InvalidInputException),
60 InvalidIntegrationStateFault(crate::types::error::InvalidIntegrationStateFault),
62 InvalidStateException(crate::types::error::InvalidStateException),
64 KmsKeyNotAccessibleFault(crate::types::error::KmsKeyNotAccessibleFault),
66 MlTransformNotReadyException(crate::types::error::MlTransformNotReadyException),
68 NoScheduleException(crate::types::error::NoScheduleException),
70 OperationNotSupportedException(crate::types::error::OperationNotSupportedException),
72 OperationTimeoutException(crate::types::error::OperationTimeoutException),
74 PermissionTypeMismatchException(crate::types::error::PermissionTypeMismatchException),
76 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
78 ResourceNotReadyException(crate::types::error::ResourceNotReadyException),
80 ResourceNumberLimitExceededException(crate::types::error::ResourceNumberLimitExceededException),
82 SchedulerNotRunningException(crate::types::error::SchedulerNotRunningException),
84 SchedulerRunningException(crate::types::error::SchedulerRunningException),
86 SchedulerTransitioningException(crate::types::error::SchedulerTransitioningException),
88 TargetResourceNotFound(crate::types::error::TargetResourceNotFound),
90 ThrottlingException(crate::types::error::ThrottlingException),
92 ValidationException(crate::types::error::ValidationException),
94 VersionMismatchException(crate::types::error::VersionMismatchException),
96 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
98 variable wildcard pattern and check `.code()`:
99 \
100 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
101 \
102 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
103 Unhandled(crate::error::sealed_unhandled::Unhandled),
104}
105impl ::std::fmt::Display for Error {
106 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107 match self {
108 Error::AccessDeniedException(inner) => inner.fmt(f),
109 Error::AlreadyExistsException(inner) => inner.fmt(f),
110 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.fmt(f),
111 Error::ColumnStatisticsTaskRunningException(inner) => inner.fmt(f),
112 Error::ColumnStatisticsTaskStoppingException(inner) => inner.fmt(f),
113 Error::ConcurrentModificationException(inner) => inner.fmt(f),
114 Error::ConcurrentRunsExceededException(inner) => inner.fmt(f),
115 Error::ConditionCheckFailureException(inner) => inner.fmt(f),
116 Error::ConflictException(inner) => inner.fmt(f),
117 Error::CrawlerNotRunningException(inner) => inner.fmt(f),
118 Error::CrawlerRunningException(inner) => inner.fmt(f),
119 Error::CrawlerStoppingException(inner) => inner.fmt(f),
120 Error::EntityNotFoundException(inner) => inner.fmt(f),
121 Error::FederatedResourceAlreadyExistsException(inner) => inner.fmt(f),
122 Error::FederationSourceException(inner) => inner.fmt(f),
123 Error::FederationSourceRetryableException(inner) => inner.fmt(f),
124 Error::GlueEncryptionException(inner) => inner.fmt(f),
125 Error::IdempotentParameterMismatchException(inner) => inner.fmt(f),
126 Error::IllegalBlueprintStateException(inner) => inner.fmt(f),
127 Error::IllegalSessionStateException(inner) => inner.fmt(f),
128 Error::IllegalWorkflowStateException(inner) => inner.fmt(f),
129 Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
130 Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
131 Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
132 Error::InternalServerException(inner) => inner.fmt(f),
133 Error::InternalServiceException(inner) => inner.fmt(f),
134 Error::InvalidInputException(inner) => inner.fmt(f),
135 Error::InvalidIntegrationStateFault(inner) => inner.fmt(f),
136 Error::InvalidStateException(inner) => inner.fmt(f),
137 Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
138 Error::MlTransformNotReadyException(inner) => inner.fmt(f),
139 Error::NoScheduleException(inner) => inner.fmt(f),
140 Error::OperationNotSupportedException(inner) => inner.fmt(f),
141 Error::OperationTimeoutException(inner) => inner.fmt(f),
142 Error::PermissionTypeMismatchException(inner) => inner.fmt(f),
143 Error::ResourceNotFoundException(inner) => inner.fmt(f),
144 Error::ResourceNotReadyException(inner) => inner.fmt(f),
145 Error::ResourceNumberLimitExceededException(inner) => inner.fmt(f),
146 Error::SchedulerNotRunningException(inner) => inner.fmt(f),
147 Error::SchedulerRunningException(inner) => inner.fmt(f),
148 Error::SchedulerTransitioningException(inner) => inner.fmt(f),
149 Error::TargetResourceNotFound(inner) => inner.fmt(f),
150 Error::ThrottlingException(inner) => inner.fmt(f),
151 Error::ValidationException(inner) => inner.fmt(f),
152 Error::VersionMismatchException(inner) => inner.fmt(f),
153 Error::Unhandled(_) => {
154 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
155 write!(f, "unhandled error ({code})")
156 } else {
157 f.write_str("unhandled error")
158 }
159 }
160 }
161 }
162}
163impl From<::aws_smithy_types::error::operation::BuildError> for Error {
164 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
165 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
166 source: value.into(),
167 meta: ::std::default::Default::default(),
168 })
169 }
170}
171impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
172 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
173 match self {
174 Self::AccessDeniedException(inner) => inner.meta(),
175 Self::AlreadyExistsException(inner) => inner.meta(),
176 Self::ColumnStatisticsTaskNotRunningException(inner) => inner.meta(),
177 Self::ColumnStatisticsTaskRunningException(inner) => inner.meta(),
178 Self::ColumnStatisticsTaskStoppingException(inner) => inner.meta(),
179 Self::ConcurrentModificationException(inner) => inner.meta(),
180 Self::ConcurrentRunsExceededException(inner) => inner.meta(),
181 Self::ConditionCheckFailureException(inner) => inner.meta(),
182 Self::ConflictException(inner) => inner.meta(),
183 Self::CrawlerNotRunningException(inner) => inner.meta(),
184 Self::CrawlerRunningException(inner) => inner.meta(),
185 Self::CrawlerStoppingException(inner) => inner.meta(),
186 Self::EntityNotFoundException(inner) => inner.meta(),
187 Self::FederatedResourceAlreadyExistsException(inner) => inner.meta(),
188 Self::FederationSourceException(inner) => inner.meta(),
189 Self::FederationSourceRetryableException(inner) => inner.meta(),
190 Self::GlueEncryptionException(inner) => inner.meta(),
191 Self::IdempotentParameterMismatchException(inner) => inner.meta(),
192 Self::IllegalBlueprintStateException(inner) => inner.meta(),
193 Self::IllegalSessionStateException(inner) => inner.meta(),
194 Self::IllegalWorkflowStateException(inner) => inner.meta(),
195 Self::IntegrationConflictOperationFault(inner) => inner.meta(),
196 Self::IntegrationNotFoundFault(inner) => inner.meta(),
197 Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
198 Self::InternalServerException(inner) => inner.meta(),
199 Self::InternalServiceException(inner) => inner.meta(),
200 Self::InvalidInputException(inner) => inner.meta(),
201 Self::InvalidIntegrationStateFault(inner) => inner.meta(),
202 Self::InvalidStateException(inner) => inner.meta(),
203 Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
204 Self::MlTransformNotReadyException(inner) => inner.meta(),
205 Self::NoScheduleException(inner) => inner.meta(),
206 Self::OperationNotSupportedException(inner) => inner.meta(),
207 Self::OperationTimeoutException(inner) => inner.meta(),
208 Self::PermissionTypeMismatchException(inner) => inner.meta(),
209 Self::ResourceNotFoundException(inner) => inner.meta(),
210 Self::ResourceNotReadyException(inner) => inner.meta(),
211 Self::ResourceNumberLimitExceededException(inner) => inner.meta(),
212 Self::SchedulerNotRunningException(inner) => inner.meta(),
213 Self::SchedulerRunningException(inner) => inner.meta(),
214 Self::SchedulerTransitioningException(inner) => inner.meta(),
215 Self::TargetResourceNotFound(inner) => inner.meta(),
216 Self::ThrottlingException(inner) => inner.meta(),
217 Self::ValidationException(inner) => inner.meta(),
218 Self::VersionMismatchException(inner) => inner.meta(),
219 Self::Unhandled(inner) => &inner.meta,
220 }
221 }
222}
223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>> for Error
224where
225 R: Send + Sync + std::fmt::Debug + 'static,
226{
227 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>) -> Self {
228 match err {
229 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
230 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
231 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
232 source: err.into(),
233 }),
234 }
235 }
236}
237impl From<crate::operation::batch_create_partition::BatchCreatePartitionError> for Error {
238 fn from(err: crate::operation::batch_create_partition::BatchCreatePartitionError) -> Self {
239 match err {
240 crate::operation::batch_create_partition::BatchCreatePartitionError::AlreadyExistsException(inner) => {
241 Error::AlreadyExistsException(inner)
242 }
243 crate::operation::batch_create_partition::BatchCreatePartitionError::EntityNotFoundException(inner) => {
244 Error::EntityNotFoundException(inner)
245 }
246 crate::operation::batch_create_partition::BatchCreatePartitionError::GlueEncryptionException(inner) => {
247 Error::GlueEncryptionException(inner)
248 }
249 crate::operation::batch_create_partition::BatchCreatePartitionError::InternalServiceException(inner) => {
250 Error::InternalServiceException(inner)
251 }
252 crate::operation::batch_create_partition::BatchCreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
253 crate::operation::batch_create_partition::BatchCreatePartitionError::OperationTimeoutException(inner) => {
254 Error::OperationTimeoutException(inner)
255 }
256 crate::operation::batch_create_partition::BatchCreatePartitionError::ResourceNumberLimitExceededException(inner) => {
257 Error::ResourceNumberLimitExceededException(inner)
258 }
259 crate::operation::batch_create_partition::BatchCreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
260 }
261 }
262}
263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>> for Error
264where
265 R: Send + Sync + std::fmt::Debug + 'static,
266{
267 fn from(
268 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>,
269 ) -> Self {
270 match err {
271 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
272 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
273 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
274 source: err.into(),
275 }),
276 }
277 }
278}
279impl From<crate::operation::batch_delete_connection::BatchDeleteConnectionError> for Error {
280 fn from(err: crate::operation::batch_delete_connection::BatchDeleteConnectionError) -> Self {
281 match err {
282 crate::operation::batch_delete_connection::BatchDeleteConnectionError::InternalServiceException(inner) => {
283 Error::InternalServiceException(inner)
284 }
285 crate::operation::batch_delete_connection::BatchDeleteConnectionError::OperationTimeoutException(inner) => {
286 Error::OperationTimeoutException(inner)
287 }
288 crate::operation::batch_delete_connection::BatchDeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
289 }
290 }
291}
292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>> for Error
293where
294 R: Send + Sync + std::fmt::Debug + 'static,
295{
296 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>) -> Self {
297 match err {
298 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
299 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
300 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
301 source: err.into(),
302 }),
303 }
304 }
305}
306impl From<crate::operation::batch_delete_partition::BatchDeletePartitionError> for Error {
307 fn from(err: crate::operation::batch_delete_partition::BatchDeletePartitionError) -> Self {
308 match err {
309 crate::operation::batch_delete_partition::BatchDeletePartitionError::EntityNotFoundException(inner) => {
310 Error::EntityNotFoundException(inner)
311 }
312 crate::operation::batch_delete_partition::BatchDeletePartitionError::InternalServiceException(inner) => {
313 Error::InternalServiceException(inner)
314 }
315 crate::operation::batch_delete_partition::BatchDeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
316 crate::operation::batch_delete_partition::BatchDeletePartitionError::OperationTimeoutException(inner) => {
317 Error::OperationTimeoutException(inner)
318 }
319 crate::operation::batch_delete_partition::BatchDeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
320 }
321 }
322}
323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>> for Error
324where
325 R: Send + Sync + std::fmt::Debug + 'static,
326{
327 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>) -> Self {
328 match err {
329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
332 source: err.into(),
333 }),
334 }
335 }
336}
337impl From<crate::operation::batch_delete_table::BatchDeleteTableError> for Error {
338 fn from(err: crate::operation::batch_delete_table::BatchDeleteTableError) -> Self {
339 match err {
340 crate::operation::batch_delete_table::BatchDeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
341 crate::operation::batch_delete_table::BatchDeleteTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
342 crate::operation::batch_delete_table::BatchDeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
343 crate::operation::batch_delete_table::BatchDeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
344 crate::operation::batch_delete_table::BatchDeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
345 crate::operation::batch_delete_table::BatchDeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
346 crate::operation::batch_delete_table::BatchDeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
347 }
348 }
349}
350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>>
351 for Error
352where
353 R: Send + Sync + std::fmt::Debug + 'static,
354{
355 fn from(
356 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>,
357 ) -> Self {
358 match err {
359 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
360 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
361 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
362 source: err.into(),
363 }),
364 }
365 }
366}
367impl From<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError> for Error {
368 fn from(err: crate::operation::batch_delete_table_version::BatchDeleteTableVersionError) -> Self {
369 match err {
370 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::EntityNotFoundException(inner) => {
371 Error::EntityNotFoundException(inner)
372 }
373 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InternalServiceException(inner) => {
374 Error::InternalServiceException(inner)
375 }
376 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InvalidInputException(inner) => {
377 Error::InvalidInputException(inner)
378 }
379 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::OperationTimeoutException(inner) => {
380 Error::OperationTimeoutException(inner)
381 }
382 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
383 }
384 }
385}
386impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>> for Error
387where
388 R: Send + Sync + std::fmt::Debug + 'static,
389{
390 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>) -> Self {
391 match err {
392 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
393 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
394 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
395 source: err.into(),
396 }),
397 }
398 }
399}
400impl From<crate::operation::batch_get_blueprints::BatchGetBlueprintsError> for Error {
401 fn from(err: crate::operation::batch_get_blueprints::BatchGetBlueprintsError) -> Self {
402 match err {
403 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InternalServiceException(inner) => {
404 Error::InternalServiceException(inner)
405 }
406 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
407 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::OperationTimeoutException(inner) => {
408 Error::OperationTimeoutException(inner)
409 }
410 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
411 }
412 }
413}
414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>> for Error
415where
416 R: Send + Sync + std::fmt::Debug + 'static,
417{
418 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>) -> Self {
419 match err {
420 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
421 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
422 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
423 source: err.into(),
424 }),
425 }
426 }
427}
428impl From<crate::operation::batch_get_crawlers::BatchGetCrawlersError> for Error {
429 fn from(err: crate::operation::batch_get_crawlers::BatchGetCrawlersError) -> Self {
430 match err {
431 crate::operation::batch_get_crawlers::BatchGetCrawlersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
432 crate::operation::batch_get_crawlers::BatchGetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
433 crate::operation::batch_get_crawlers::BatchGetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
434 }
435 }
436}
437impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>>
438 for Error
439where
440 R: Send + Sync + std::fmt::Debug + 'static,
441{
442 fn from(
443 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>,
444 ) -> Self {
445 match err {
446 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
447 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
448 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
449 source: err.into(),
450 }),
451 }
452 }
453}
454impl From<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError> for Error {
455 fn from(err: crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError) -> Self {
456 match err {
457 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InternalServiceException(inner) => {
458 Error::InternalServiceException(inner)
459 }
460 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InvalidInputException(inner) => {
461 Error::InvalidInputException(inner)
462 }
463 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::OperationTimeoutException(inner) => {
464 Error::OperationTimeoutException(inner)
465 }
466 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
467 }
468 }
469}
470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>>
471 for Error
472where
473 R: Send + Sync + std::fmt::Debug + 'static,
474{
475 fn from(
476 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>,
477 ) -> Self {
478 match err {
479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
482 source: err.into(),
483 }),
484 }
485 }
486}
487impl From<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError> for Error {
488 fn from(err: crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError) -> Self {
489 match err {
490 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InternalServiceException(inner) => {
491 Error::InternalServiceException(inner)
492 }
493 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InvalidInputException(inner) => {
494 Error::InvalidInputException(inner)
495 }
496 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::OperationTimeoutException(inner) => {
497 Error::OperationTimeoutException(inner)
498 }
499 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
500 }
501 }
502}
503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>> for Error
504where
505 R: Send + Sync + std::fmt::Debug + 'static,
506{
507 fn from(
508 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>,
509 ) -> Self {
510 match err {
511 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
512 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
513 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
514 source: err.into(),
515 }),
516 }
517 }
518}
519impl From<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError> for Error {
520 fn from(err: crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError) -> Self {
521 match err {
522 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
523 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InternalServiceException(inner) => {
524 Error::InternalServiceException(inner)
525 }
526 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
527 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::OperationTimeoutException(inner) => {
528 Error::OperationTimeoutException(inner)
529 }
530 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
531 }
532 }
533}
534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>> for Error
535where
536 R: Send + Sync + std::fmt::Debug + 'static,
537{
538 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>) -> Self {
539 match err {
540 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
541 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
542 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
543 source: err.into(),
544 }),
545 }
546 }
547}
548impl From<crate::operation::batch_get_jobs::BatchGetJobsError> for Error {
549 fn from(err: crate::operation::batch_get_jobs::BatchGetJobsError) -> Self {
550 match err {
551 crate::operation::batch_get_jobs::BatchGetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
552 crate::operation::batch_get_jobs::BatchGetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
553 crate::operation::batch_get_jobs::BatchGetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
554 crate::operation::batch_get_jobs::BatchGetJobsError::Unhandled(inner) => Error::Unhandled(inner),
555 }
556 }
557}
558impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>> for Error
559where
560 R: Send + Sync + std::fmt::Debug + 'static,
561{
562 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>) -> Self {
563 match err {
564 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
565 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
566 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
567 source: err.into(),
568 }),
569 }
570 }
571}
572impl From<crate::operation::batch_get_partition::BatchGetPartitionError> for Error {
573 fn from(err: crate::operation::batch_get_partition::BatchGetPartitionError) -> Self {
574 match err {
575 crate::operation::batch_get_partition::BatchGetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
576 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceException(inner) => {
577 Error::FederationSourceException(inner)
578 }
579 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceRetryableException(inner) => {
580 Error::FederationSourceRetryableException(inner)
581 }
582 crate::operation::batch_get_partition::BatchGetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
583 crate::operation::batch_get_partition::BatchGetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
584 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
585 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidStateException(inner) => Error::InvalidStateException(inner),
586 crate::operation::batch_get_partition::BatchGetPartitionError::OperationTimeoutException(inner) => {
587 Error::OperationTimeoutException(inner)
588 }
589 crate::operation::batch_get_partition::BatchGetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
590 }
591 }
592}
593impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>>
594 for Error
595where
596 R: Send + Sync + std::fmt::Debug + 'static,
597{
598 fn from(
599 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>,
600 ) -> Self {
601 match err {
602 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
603 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
604 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
605 source: err.into(),
606 }),
607 }
608 }
609}
610impl From<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError> for Error {
611 fn from(err: crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError) -> Self {
612 match err {
613 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::AccessDeniedException(inner) => {
614 Error::AccessDeniedException(inner)
615 }
616 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::EntityNotFoundException(inner) => {
617 Error::EntityNotFoundException(inner)
618 }
619 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InternalServiceException(inner) => {
620 Error::InternalServiceException(inner)
621 }
622 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InvalidInputException(inner) => {
623 Error::InvalidInputException(inner)
624 }
625 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
626 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
627 }
628 }
629}
630impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>> for Error
631where
632 R: Send + Sync + std::fmt::Debug + 'static,
633{
634 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>) -> Self {
635 match err {
636 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
637 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
638 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
639 source: err.into(),
640 }),
641 }
642 }
643}
644impl From<crate::operation::batch_get_triggers::BatchGetTriggersError> for Error {
645 fn from(err: crate::operation::batch_get_triggers::BatchGetTriggersError) -> Self {
646 match err {
647 crate::operation::batch_get_triggers::BatchGetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
648 crate::operation::batch_get_triggers::BatchGetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
649 crate::operation::batch_get_triggers::BatchGetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
650 crate::operation::batch_get_triggers::BatchGetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
651 }
652 }
653}
654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>> for Error
655where
656 R: Send + Sync + std::fmt::Debug + 'static,
657{
658 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>) -> Self {
659 match err {
660 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
661 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
662 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
663 source: err.into(),
664 }),
665 }
666 }
667}
668impl From<crate::operation::batch_get_workflows::BatchGetWorkflowsError> for Error {
669 fn from(err: crate::operation::batch_get_workflows::BatchGetWorkflowsError) -> Self {
670 match err {
671 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
672 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
673 crate::operation::batch_get_workflows::BatchGetWorkflowsError::OperationTimeoutException(inner) => {
674 Error::OperationTimeoutException(inner)
675 }
676 crate::operation::batch_get_workflows::BatchGetWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
677 }
678 }
679}
680impl<R>
681 From<
682 ::aws_smithy_runtime_api::client::result::SdkError<
683 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
684 R,
685 >,
686 > for Error
687where
688 R: Send + Sync + std::fmt::Debug + 'static,
689{
690 fn from(
691 err: ::aws_smithy_runtime_api::client::result::SdkError<
692 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
693 R,
694 >,
695 ) -> Self {
696 match err {
697 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
698 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
699 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
700 source: err.into(),
701 }),
702 }
703 }
704}
705impl From<crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError> for Error {
706 fn from(err: crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError) -> Self {
707 match err {
708 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
709 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
710 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
711 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
712 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
713 }
714 }
715}
716impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>> for Error
717where
718 R: Send + Sync + std::fmt::Debug + 'static,
719{
720 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>) -> Self {
721 match err {
722 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
723 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
724 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
725 source: err.into(),
726 }),
727 }
728 }
729}
730impl From<crate::operation::batch_stop_job_run::BatchStopJobRunError> for Error {
731 fn from(err: crate::operation::batch_stop_job_run::BatchStopJobRunError) -> Self {
732 match err {
733 crate::operation::batch_stop_job_run::BatchStopJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
734 crate::operation::batch_stop_job_run::BatchStopJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
735 crate::operation::batch_stop_job_run::BatchStopJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
736 crate::operation::batch_stop_job_run::BatchStopJobRunError::Unhandled(inner) => Error::Unhandled(inner),
737 }
738 }
739}
740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>> for Error
741where
742 R: Send + Sync + std::fmt::Debug + 'static,
743{
744 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>) -> Self {
745 match err {
746 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
747 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
748 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
749 source: err.into(),
750 }),
751 }
752 }
753}
754impl From<crate::operation::batch_update_partition::BatchUpdatePartitionError> for Error {
755 fn from(err: crate::operation::batch_update_partition::BatchUpdatePartitionError) -> Self {
756 match err {
757 crate::operation::batch_update_partition::BatchUpdatePartitionError::EntityNotFoundException(inner) => {
758 Error::EntityNotFoundException(inner)
759 }
760 crate::operation::batch_update_partition::BatchUpdatePartitionError::GlueEncryptionException(inner) => {
761 Error::GlueEncryptionException(inner)
762 }
763 crate::operation::batch_update_partition::BatchUpdatePartitionError::InternalServiceException(inner) => {
764 Error::InternalServiceException(inner)
765 }
766 crate::operation::batch_update_partition::BatchUpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
767 crate::operation::batch_update_partition::BatchUpdatePartitionError::OperationTimeoutException(inner) => {
768 Error::OperationTimeoutException(inner)
769 }
770 crate::operation::batch_update_partition::BatchUpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
771 }
772 }
773}
774impl<R>
775 From<
776 ::aws_smithy_runtime_api::client::result::SdkError<
777 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
778 R,
779 >,
780 > for Error
781where
782 R: Send + Sync + std::fmt::Debug + 'static,
783{
784 fn from(
785 err: ::aws_smithy_runtime_api::client::result::SdkError<
786 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
787 R,
788 >,
789 ) -> Self {
790 match err {
791 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
792 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
793 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
794 source: err.into(),
795 }),
796 }
797 }
798}
799impl From<crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError> for Error {
800 fn from(err: crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError) -> Self {
801 match err {
802 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::EntityNotFoundException(
803 inner,
804 ) => Error::EntityNotFoundException(inner),
805 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InternalServiceException(
806 inner,
807 ) => Error::InternalServiceException(inner),
808 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InvalidInputException(
809 inner,
810 ) => Error::InvalidInputException(inner),
811 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::OperationTimeoutException(
812 inner,
813 ) => Error::OperationTimeoutException(inner),
814 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::Unhandled(inner) => {
815 Error::Unhandled(inner)
816 }
817 }
818 }
819}
820impl<R>
821 From<
822 ::aws_smithy_runtime_api::client::result::SdkError<
823 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
824 R,
825 >,
826 > for Error
827where
828 R: Send + Sync + std::fmt::Debug + 'static,
829{
830 fn from(
831 err: ::aws_smithy_runtime_api::client::result::SdkError<
832 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
833 R,
834 >,
835 ) -> Self {
836 match err {
837 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
838 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
839 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
840 source: err.into(),
841 }),
842 }
843 }
844}
845impl From<crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError> for Error {
846 fn from(err: crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError) -> Self {
847 match err {
848 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::EntityNotFoundException(
849 inner,
850 ) => Error::EntityNotFoundException(inner),
851 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InternalServiceException(
852 inner,
853 ) => Error::InternalServiceException(inner),
854 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InvalidInputException(
855 inner,
856 ) => Error::InvalidInputException(inner),
857 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::OperationTimeoutException(
858 inner,
859 ) => Error::OperationTimeoutException(inner),
860 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
861 Error::Unhandled(inner)
862 }
863 }
864 }
865}
866impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>> for Error
867where
868 R: Send + Sync + std::fmt::Debug + 'static,
869{
870 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>) -> Self {
871 match err {
872 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
873 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
874 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
875 source: err.into(),
876 }),
877 }
878 }
879}
880impl From<crate::operation::cancel_ml_task_run::CancelMLTaskRunError> for Error {
881 fn from(err: crate::operation::cancel_ml_task_run::CancelMLTaskRunError) -> Self {
882 match err {
883 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
884 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
885 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
886 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
887 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
888 }
889 }
890}
891impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>> for Error
892where
893 R: Send + Sync + std::fmt::Debug + 'static,
894{
895 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>) -> Self {
896 match err {
897 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
898 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
899 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
900 source: err.into(),
901 }),
902 }
903 }
904}
905impl From<crate::operation::cancel_statement::CancelStatementError> for Error {
906 fn from(err: crate::operation::cancel_statement::CancelStatementError) -> Self {
907 match err {
908 crate::operation::cancel_statement::CancelStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
909 crate::operation::cancel_statement::CancelStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
910 crate::operation::cancel_statement::CancelStatementError::IllegalSessionStateException(inner) => {
911 Error::IllegalSessionStateException(inner)
912 }
913 crate::operation::cancel_statement::CancelStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
914 crate::operation::cancel_statement::CancelStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
915 crate::operation::cancel_statement::CancelStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
916 crate::operation::cancel_statement::CancelStatementError::Unhandled(inner) => Error::Unhandled(inner),
917 }
918 }
919}
920impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>>
921 for Error
922where
923 R: Send + Sync + std::fmt::Debug + 'static,
924{
925 fn from(
926 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>,
927 ) -> Self {
928 match err {
929 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
930 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
931 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
932 source: err.into(),
933 }),
934 }
935 }
936}
937impl From<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError> for Error {
938 fn from(err: crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError) -> Self {
939 match err {
940 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::AccessDeniedException(inner) => {
941 Error::AccessDeniedException(inner)
942 }
943 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InternalServiceException(inner) => {
944 Error::InternalServiceException(inner)
945 }
946 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InvalidInputException(inner) => {
947 Error::InvalidInputException(inner)
948 }
949 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::Unhandled(inner) => Error::Unhandled(inner),
950 }
951 }
952}
953impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>> for Error
954where
955 R: Send + Sync + std::fmt::Debug + 'static,
956{
957 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>) -> Self {
958 match err {
959 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
960 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
961 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
962 source: err.into(),
963 }),
964 }
965 }
966}
967impl From<crate::operation::create_blueprint::CreateBlueprintError> for Error {
968 fn from(err: crate::operation::create_blueprint::CreateBlueprintError) -> Self {
969 match err {
970 crate::operation::create_blueprint::CreateBlueprintError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
971 crate::operation::create_blueprint::CreateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
972 crate::operation::create_blueprint::CreateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
973 crate::operation::create_blueprint::CreateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
974 crate::operation::create_blueprint::CreateBlueprintError::ResourceNumberLimitExceededException(inner) => {
975 Error::ResourceNumberLimitExceededException(inner)
976 }
977 crate::operation::create_blueprint::CreateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
978 }
979 }
980}
981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>> for Error
982where
983 R: Send + Sync + std::fmt::Debug + 'static,
984{
985 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>) -> Self {
986 match err {
987 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
988 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
989 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
990 source: err.into(),
991 }),
992 }
993 }
994}
995impl From<crate::operation::create_catalog::CreateCatalogError> for Error {
996 fn from(err: crate::operation::create_catalog::CreateCatalogError) -> Self {
997 match err {
998 crate::operation::create_catalog::CreateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
999 crate::operation::create_catalog::CreateCatalogError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1000 crate::operation::create_catalog::CreateCatalogError::ConcurrentModificationException(inner) => {
1001 Error::ConcurrentModificationException(inner)
1002 }
1003 crate::operation::create_catalog::CreateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1004 crate::operation::create_catalog::CreateCatalogError::FederatedResourceAlreadyExistsException(inner) => {
1005 Error::FederatedResourceAlreadyExistsException(inner)
1006 }
1007 crate::operation::create_catalog::CreateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1008 crate::operation::create_catalog::CreateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1009 crate::operation::create_catalog::CreateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1010 crate::operation::create_catalog::CreateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1011 crate::operation::create_catalog::CreateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1012 crate::operation::create_catalog::CreateCatalogError::ResourceNumberLimitExceededException(inner) => {
1013 Error::ResourceNumberLimitExceededException(inner)
1014 }
1015 crate::operation::create_catalog::CreateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
1016 }
1017 }
1018}
1019impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>> for Error
1020where
1021 R: Send + Sync + std::fmt::Debug + 'static,
1022{
1023 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>) -> Self {
1024 match err {
1025 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1026 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1027 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1028 source: err.into(),
1029 }),
1030 }
1031 }
1032}
1033impl From<crate::operation::create_classifier::CreateClassifierError> for Error {
1034 fn from(err: crate::operation::create_classifier::CreateClassifierError) -> Self {
1035 match err {
1036 crate::operation::create_classifier::CreateClassifierError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1037 crate::operation::create_classifier::CreateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1038 crate::operation::create_classifier::CreateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1039 crate::operation::create_classifier::CreateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
1040 }
1041 }
1042}
1043impl<R>
1044 From<
1045 ::aws_smithy_runtime_api::client::result::SdkError<
1046 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1047 R,
1048 >,
1049 > for Error
1050where
1051 R: Send + Sync + std::fmt::Debug + 'static,
1052{
1053 fn from(
1054 err: ::aws_smithy_runtime_api::client::result::SdkError<
1055 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1056 R,
1057 >,
1058 ) -> Self {
1059 match err {
1060 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1061 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1062 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1063 source: err.into(),
1064 }),
1065 }
1066 }
1067}
1068impl From<crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError> for Error {
1069 fn from(err: crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError) -> Self {
1070 match err {
1071 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1072 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1073 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ColumnStatisticsTaskRunningException(inner) => Error::ColumnStatisticsTaskRunningException(inner),
1074 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1075 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1076 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1077 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
1078 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1079 }
1080 }
1081}
1082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>> for Error
1083where
1084 R: Send + Sync + std::fmt::Debug + 'static,
1085{
1086 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>) -> Self {
1087 match err {
1088 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1089 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1090 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1091 source: err.into(),
1092 }),
1093 }
1094 }
1095}
1096impl From<crate::operation::create_connection::CreateConnectionError> for Error {
1097 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
1098 match err {
1099 crate::operation::create_connection::CreateConnectionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1100 crate::operation::create_connection::CreateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1101 crate::operation::create_connection::CreateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1102 crate::operation::create_connection::CreateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1103 crate::operation::create_connection::CreateConnectionError::ResourceNumberLimitExceededException(inner) => {
1104 Error::ResourceNumberLimitExceededException(inner)
1105 }
1106 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1107 }
1108 }
1109}
1110impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>> for Error
1111where
1112 R: Send + Sync + std::fmt::Debug + 'static,
1113{
1114 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>) -> Self {
1115 match err {
1116 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1117 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1118 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1119 source: err.into(),
1120 }),
1121 }
1122 }
1123}
1124impl From<crate::operation::create_crawler::CreateCrawlerError> for Error {
1125 fn from(err: crate::operation::create_crawler::CreateCrawlerError) -> Self {
1126 match err {
1127 crate::operation::create_crawler::CreateCrawlerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1128 crate::operation::create_crawler::CreateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1129 crate::operation::create_crawler::CreateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1130 crate::operation::create_crawler::CreateCrawlerError::ResourceNumberLimitExceededException(inner) => {
1131 Error::ResourceNumberLimitExceededException(inner)
1132 }
1133 crate::operation::create_crawler::CreateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
1134 }
1135 }
1136}
1137impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>>
1138 for Error
1139where
1140 R: Send + Sync + std::fmt::Debug + 'static,
1141{
1142 fn from(
1143 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>,
1144 ) -> Self {
1145 match err {
1146 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1147 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1148 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1149 source: err.into(),
1150 }),
1151 }
1152 }
1153}
1154impl From<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError> for Error {
1155 fn from(err: crate::operation::create_custom_entity_type::CreateCustomEntityTypeError) -> Self {
1156 match err {
1157 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AccessDeniedException(inner) => {
1158 Error::AccessDeniedException(inner)
1159 }
1160 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AlreadyExistsException(inner) => {
1161 Error::AlreadyExistsException(inner)
1162 }
1163 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::IdempotentParameterMismatchException(inner) => {
1164 Error::IdempotentParameterMismatchException(inner)
1165 }
1166 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InternalServiceException(inner) => {
1167 Error::InternalServiceException(inner)
1168 }
1169 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InvalidInputException(inner) => {
1170 Error::InvalidInputException(inner)
1171 }
1172 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::OperationTimeoutException(inner) => {
1173 Error::OperationTimeoutException(inner)
1174 }
1175 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::ResourceNumberLimitExceededException(inner) => {
1176 Error::ResourceNumberLimitExceededException(inner)
1177 }
1178 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
1179 }
1180 }
1181}
1182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>> for Error
1183where
1184 R: Send + Sync + std::fmt::Debug + 'static,
1185{
1186 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>) -> Self {
1187 match err {
1188 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1189 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1190 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1191 source: err.into(),
1192 }),
1193 }
1194 }
1195}
1196impl From<crate::operation::create_database::CreateDatabaseError> for Error {
1197 fn from(err: crate::operation::create_database::CreateDatabaseError) -> Self {
1198 match err {
1199 crate::operation::create_database::CreateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1200 crate::operation::create_database::CreateDatabaseError::ConcurrentModificationException(inner) => {
1201 Error::ConcurrentModificationException(inner)
1202 }
1203 crate::operation::create_database::CreateDatabaseError::FederatedResourceAlreadyExistsException(inner) => {
1204 Error::FederatedResourceAlreadyExistsException(inner)
1205 }
1206 crate::operation::create_database::CreateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1207 crate::operation::create_database::CreateDatabaseError::FederationSourceRetryableException(inner) => {
1208 Error::FederationSourceRetryableException(inner)
1209 }
1210 crate::operation::create_database::CreateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1211 crate::operation::create_database::CreateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1212 crate::operation::create_database::CreateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1213 crate::operation::create_database::CreateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1214 crate::operation::create_database::CreateDatabaseError::ResourceNumberLimitExceededException(inner) => {
1215 Error::ResourceNumberLimitExceededException(inner)
1216 }
1217 crate::operation::create_database::CreateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1218 }
1219 }
1220}
1221impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>>
1222 for Error
1223where
1224 R: Send + Sync + std::fmt::Debug + 'static,
1225{
1226 fn from(
1227 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>,
1228 ) -> Self {
1229 match err {
1230 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1231 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1232 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1233 source: err.into(),
1234 }),
1235 }
1236 }
1237}
1238impl From<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError> for Error {
1239 fn from(err: crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError) -> Self {
1240 match err {
1241 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::AlreadyExistsException(inner) => {
1242 Error::AlreadyExistsException(inner)
1243 }
1244 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InternalServiceException(inner) => {
1245 Error::InternalServiceException(inner)
1246 }
1247 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InvalidInputException(inner) => {
1248 Error::InvalidInputException(inner)
1249 }
1250 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::OperationTimeoutException(inner) => {
1251 Error::OperationTimeoutException(inner)
1252 }
1253 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
1254 Error::ResourceNumberLimitExceededException(inner)
1255 }
1256 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
1257 }
1258 }
1259}
1260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>> for Error
1261where
1262 R: Send + Sync + std::fmt::Debug + 'static,
1263{
1264 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>) -> Self {
1265 match err {
1266 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1267 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1268 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1269 source: err.into(),
1270 }),
1271 }
1272 }
1273}
1274impl From<crate::operation::create_dev_endpoint::CreateDevEndpointError> for Error {
1275 fn from(err: crate::operation::create_dev_endpoint::CreateDevEndpointError) -> Self {
1276 match err {
1277 crate::operation::create_dev_endpoint::CreateDevEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1278 crate::operation::create_dev_endpoint::CreateDevEndpointError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1279 crate::operation::create_dev_endpoint::CreateDevEndpointError::IdempotentParameterMismatchException(inner) => {
1280 Error::IdempotentParameterMismatchException(inner)
1281 }
1282 crate::operation::create_dev_endpoint::CreateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1283 crate::operation::create_dev_endpoint::CreateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1284 crate::operation::create_dev_endpoint::CreateDevEndpointError::OperationTimeoutException(inner) => {
1285 Error::OperationTimeoutException(inner)
1286 }
1287 crate::operation::create_dev_endpoint::CreateDevEndpointError::ResourceNumberLimitExceededException(inner) => {
1288 Error::ResourceNumberLimitExceededException(inner)
1289 }
1290 crate::operation::create_dev_endpoint::CreateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1291 crate::operation::create_dev_endpoint::CreateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1292 }
1293 }
1294}
1295impl<R>
1296 From<
1297 ::aws_smithy_runtime_api::client::result::SdkError<
1298 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1299 R,
1300 >,
1301 > for Error
1302where
1303 R: Send + Sync + std::fmt::Debug + 'static,
1304{
1305 fn from(
1306 err: ::aws_smithy_runtime_api::client::result::SdkError<
1307 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1308 R,
1309 >,
1310 ) -> Self {
1311 match err {
1312 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1313 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1314 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1315 source: err.into(),
1316 }),
1317 }
1318 }
1319}
1320impl From<crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError> for Error {
1321 fn from(err: crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError) -> Self {
1322 match err {
1323 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1324 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1325 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1326 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1327 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1328 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1329 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1330 }
1331 }
1332}
1333impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1334where
1335 R: Send + Sync + std::fmt::Debug + 'static,
1336{
1337 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1338 match err {
1339 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1340 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1341 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1342 source: err.into(),
1343 }),
1344 }
1345 }
1346}
1347impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1348 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1349 match err {
1350 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1351 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1352 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1353 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1354 Error::IntegrationConflictOperationFault(inner)
1355 }
1356 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1357 Error::IntegrationQuotaExceededFault(inner)
1358 }
1359 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1360 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1361 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1362 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1363 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1364 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1365 Error::ResourceNumberLimitExceededException(inner)
1366 }
1367 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1368 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1369 }
1370 }
1371}
1372impl<R>
1373 From<
1374 ::aws_smithy_runtime_api::client::result::SdkError<
1375 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1376 R,
1377 >,
1378 > for Error
1379where
1380 R: Send + Sync + std::fmt::Debug + 'static,
1381{
1382 fn from(
1383 err: ::aws_smithy_runtime_api::client::result::SdkError<
1384 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1385 R,
1386 >,
1387 ) -> Self {
1388 match err {
1389 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1390 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1391 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1392 source: err.into(),
1393 }),
1394 }
1395 }
1396}
1397impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1398 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1399 match err {
1400 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1401 Error::AccessDeniedException(inner)
1402 }
1403 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1404 Error::ConflictException(inner)
1405 }
1406 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1407 Error::EntityNotFoundException(inner)
1408 }
1409 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1410 Error::InternalServerException(inner)
1411 }
1412 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1413 Error::InternalServiceException(inner)
1414 }
1415 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1416 Error::InvalidInputException(inner)
1417 }
1418 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1419 Error::ResourceNotFoundException(inner)
1420 }
1421 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1422 Error::ValidationException(inner)
1423 }
1424 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1425 Error::Unhandled(inner)
1426 }
1427 }
1428 }
1429}
1430impl<R>
1431 From<
1432 ::aws_smithy_runtime_api::client::result::SdkError<
1433 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1434 R,
1435 >,
1436 > for Error
1437where
1438 R: Send + Sync + std::fmt::Debug + 'static,
1439{
1440 fn from(
1441 err: ::aws_smithy_runtime_api::client::result::SdkError<
1442 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1443 R,
1444 >,
1445 ) -> Self {
1446 match err {
1447 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1448 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1449 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1450 source: err.into(),
1451 }),
1452 }
1453 }
1454}
1455impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1456 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1457 match err {
1458 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1459 Error::AccessDeniedException(inner)
1460 }
1461 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1462 Error::EntityNotFoundException(inner)
1463 }
1464 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1465 Error::InternalServerException(inner)
1466 }
1467 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1468 Error::InternalServiceException(inner)
1469 }
1470 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1471 Error::InvalidInputException(inner)
1472 }
1473 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1474 Error::ResourceNotFoundException(inner)
1475 }
1476 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1477 Error::ValidationException(inner)
1478 }
1479 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1480 }
1481 }
1482}
1483impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1484where
1485 R: Send + Sync + std::fmt::Debug + 'static,
1486{
1487 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1488 match err {
1489 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1490 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1491 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1492 source: err.into(),
1493 }),
1494 }
1495 }
1496}
1497impl From<crate::operation::create_job::CreateJobError> for Error {
1498 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1499 match err {
1500 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1501 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1502 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1503 Error::IdempotentParameterMismatchException(inner)
1504 }
1505 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1506 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1507 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1508 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1509 Error::ResourceNumberLimitExceededException(inner)
1510 }
1511 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1512 }
1513 }
1514}
1515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1516where
1517 R: Send + Sync + std::fmt::Debug + 'static,
1518{
1519 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1520 match err {
1521 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1522 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1523 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1524 source: err.into(),
1525 }),
1526 }
1527 }
1528}
1529impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1530 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1531 match err {
1532 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1533 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1534 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1535 Error::IdempotentParameterMismatchException(inner)
1536 }
1537 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1538 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1539 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1540 Error::OperationTimeoutException(inner)
1541 }
1542 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1543 Error::ResourceNumberLimitExceededException(inner)
1544 }
1545 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1546 }
1547 }
1548}
1549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1550where
1551 R: Send + Sync + std::fmt::Debug + 'static,
1552{
1553 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1554 match err {
1555 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1556 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1557 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1558 source: err.into(),
1559 }),
1560 }
1561 }
1562}
1563impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1564 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1565 match err {
1566 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1567 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1568 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1569 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1570 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1571 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1572 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1573 Error::ResourceNumberLimitExceededException(inner)
1574 }
1575 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1576 }
1577 }
1578}
1579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1580where
1581 R: Send + Sync + std::fmt::Debug + 'static,
1582{
1583 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1584 match err {
1585 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1586 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1587 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1588 source: err.into(),
1589 }),
1590 }
1591 }
1592}
1593impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1594 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1595 match err {
1596 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1597 Error::AlreadyExistsException(inner)
1598 }
1599 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1600 Error::EntityNotFoundException(inner)
1601 }
1602 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1603 Error::GlueEncryptionException(inner)
1604 }
1605 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1606 Error::InternalServiceException(inner)
1607 }
1608 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1609 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1610 Error::OperationTimeoutException(inner)
1611 }
1612 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1613 Error::ResourceNumberLimitExceededException(inner)
1614 }
1615 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1616 }
1617 }
1618}
1619impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1620where
1621 R: Send + Sync + std::fmt::Debug + 'static,
1622{
1623 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1624 match err {
1625 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1626 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1627 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1628 source: err.into(),
1629 }),
1630 }
1631 }
1632}
1633impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1634 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1635 match err {
1636 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1637 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1638 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1639 Error::ConcurrentModificationException(inner)
1640 }
1641 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1642 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1643 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1644 Error::ResourceNumberLimitExceededException(inner)
1645 }
1646 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1647 }
1648 }
1649}
1650impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1651where
1652 R: Send + Sync + std::fmt::Debug + 'static,
1653{
1654 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1655 match err {
1656 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1657 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1658 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1659 source: err.into(),
1660 }),
1661 }
1662 }
1663}
1664impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1665 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1666 match err {
1667 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1668 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1669 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1670 Error::ConcurrentModificationException(inner)
1671 }
1672 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1673 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1674 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1675 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1676 Error::ResourceNumberLimitExceededException(inner)
1677 }
1678 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1679 }
1680 }
1681}
1682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1683where
1684 R: Send + Sync + std::fmt::Debug + 'static,
1685{
1686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1687 match err {
1688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1691 source: err.into(),
1692 }),
1693 }
1694 }
1695}
1696impl From<crate::operation::create_script::CreateScriptError> for Error {
1697 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1698 match err {
1699 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1700 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1701 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1702 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1703 }
1704 }
1705}
1706impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
1707 for Error
1708where
1709 R: Send + Sync + std::fmt::Debug + 'static,
1710{
1711 fn from(
1712 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
1713 ) -> Self {
1714 match err {
1715 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1716 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1717 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1718 source: err.into(),
1719 }),
1720 }
1721 }
1722}
1723impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
1724 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
1725 match err {
1726 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
1727 Error::AlreadyExistsException(inner)
1728 }
1729 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
1730 Error::InternalServiceException(inner)
1731 }
1732 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
1733 Error::InvalidInputException(inner)
1734 }
1735 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
1736 Error::OperationTimeoutException(inner)
1737 }
1738 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
1739 Error::ResourceNumberLimitExceededException(inner)
1740 }
1741 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1742 }
1743 }
1744}
1745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
1746where
1747 R: Send + Sync + std::fmt::Debug + 'static,
1748{
1749 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
1750 match err {
1751 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1752 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1753 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1754 source: err.into(),
1755 }),
1756 }
1757 }
1758}
1759impl From<crate::operation::create_session::CreateSessionError> for Error {
1760 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
1761 match err {
1762 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1763 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1764 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
1765 Error::IdempotentParameterMismatchException(inner)
1766 }
1767 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1768 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1769 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1770 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
1771 Error::ResourceNumberLimitExceededException(inner)
1772 }
1773 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
1774 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
1775 }
1776 }
1777}
1778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
1779where
1780 R: Send + Sync + std::fmt::Debug + 'static,
1781{
1782 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
1783 match err {
1784 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1785 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1786 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1787 source: err.into(),
1788 }),
1789 }
1790 }
1791}
1792impl From<crate::operation::create_table::CreateTableError> for Error {
1793 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
1794 match err {
1795 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1796 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1797 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1798 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1799 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
1800 Error::FederationSourceRetryableException(inner)
1801 }
1802 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1803 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1804 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1805 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1806 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
1807 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
1808 Error::ResourceNumberLimitExceededException(inner)
1809 }
1810 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
1811 }
1812 }
1813}
1814impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
1815where
1816 R: Send + Sync + std::fmt::Debug + 'static,
1817{
1818 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
1819 match err {
1820 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1821 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1822 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1823 source: err.into(),
1824 }),
1825 }
1826 }
1827}
1828impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
1829 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
1830 match err {
1831 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1832 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
1833 Error::AlreadyExistsException(inner)
1834 }
1835 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
1836 Error::EntityNotFoundException(inner)
1837 }
1838 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
1839 Error::InternalServiceException(inner)
1840 }
1841 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1842 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1843 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
1844 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
1845 }
1846 }
1847}
1848impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
1849where
1850 R: Send + Sync + std::fmt::Debug + 'static,
1851{
1852 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
1853 match err {
1854 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1855 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1856 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1857 source: err.into(),
1858 }),
1859 }
1860 }
1861}
1862impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
1863 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
1864 match err {
1865 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1866 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
1867 Error::ConcurrentModificationException(inner)
1868 }
1869 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1870 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
1871 Error::IdempotentParameterMismatchException(inner)
1872 }
1873 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1874 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1875 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1876 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
1877 Error::ResourceNumberLimitExceededException(inner)
1878 }
1879 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
1880 }
1881 }
1882}
1883impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
1884where
1885 R: Send + Sync + std::fmt::Debug + 'static,
1886{
1887 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
1888 match err {
1889 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1890 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1891 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1892 source: err.into(),
1893 }),
1894 }
1895 }
1896}
1897impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
1898 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
1899 match err {
1900 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1901 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
1902 Error::InternalServiceException(inner)
1903 }
1904 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1905 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
1906 Error::OperationNotSupportedException(inner)
1907 }
1908 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
1909 Error::OperationTimeoutException(inner)
1910 }
1911 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
1912 Error::ResourceNumberLimitExceededException(inner)
1913 }
1914 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
1915 }
1916 }
1917}
1918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
1919 for Error
1920where
1921 R: Send + Sync + std::fmt::Debug + 'static,
1922{
1923 fn from(
1924 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
1925 ) -> Self {
1926 match err {
1927 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1928 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1929 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1930 source: err.into(),
1931 }),
1932 }
1933 }
1934}
1935impl From<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError> for Error {
1936 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
1937 match err {
1938 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
1939 Error::AlreadyExistsException(inner)
1940 }
1941 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
1942 Error::EntityNotFoundException(inner)
1943 }
1944 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
1945 Error::GlueEncryptionException(inner)
1946 }
1947 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
1948 Error::InternalServiceException(inner)
1949 }
1950 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
1951 Error::InvalidInputException(inner)
1952 }
1953 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
1954 Error::OperationTimeoutException(inner)
1955 }
1956 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
1957 Error::ResourceNumberLimitExceededException(inner)
1958 }
1959 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
1960 }
1961 }
1962}
1963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
1964where
1965 R: Send + Sync + std::fmt::Debug + 'static,
1966{
1967 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
1968 match err {
1969 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1970 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1971 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1972 source: err.into(),
1973 }),
1974 }
1975 }
1976}
1977impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
1978 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
1979 match err {
1980 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1981 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
1982 Error::ConcurrentModificationException(inner)
1983 }
1984 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1985 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1986 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1987 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
1988 Error::ResourceNumberLimitExceededException(inner)
1989 }
1990 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
1991 }
1992 }
1993}
1994impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>> for Error
1995where
1996 R: Send + Sync + std::fmt::Debug + 'static,
1997{
1998 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>) -> Self {
1999 match err {
2000 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2001 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2002 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2003 source: err.into(),
2004 }),
2005 }
2006 }
2007}
2008impl From<crate::operation::delete_blueprint::DeleteBlueprintError> for Error {
2009 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
2010 match err {
2011 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2012 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2013 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2014 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2015 }
2016 }
2017}
2018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
2019where
2020 R: Send + Sync + std::fmt::Debug + 'static,
2021{
2022 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
2023 match err {
2024 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2025 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2026 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2027 source: err.into(),
2028 }),
2029 }
2030 }
2031}
2032impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
2033 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
2034 match err {
2035 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2036 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
2037 Error::ConcurrentModificationException(inner)
2038 }
2039 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2040 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2041 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2042 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2043 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2044 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2045 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2046 }
2047 }
2048}
2049impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2050where
2051 R: Send + Sync + std::fmt::Debug + 'static,
2052{
2053 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2054 match err {
2055 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2056 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2057 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2058 source: err.into(),
2059 }),
2060 }
2061 }
2062}
2063impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2064 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2065 match err {
2066 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2067 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2068 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2069 }
2070 }
2071}
2072impl<R>
2073 From<
2074 ::aws_smithy_runtime_api::client::result::SdkError<
2075 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2076 R,
2077 >,
2078 > for Error
2079where
2080 R: Send + Sync + std::fmt::Debug + 'static,
2081{
2082 fn from(
2083 err: ::aws_smithy_runtime_api::client::result::SdkError<
2084 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2085 R,
2086 >,
2087 ) -> Self {
2088 match err {
2089 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2090 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2091 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2092 source: err.into(),
2093 }),
2094 }
2095 }
2096}
2097impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2098 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2099 match err {
2100 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2101 Error::EntityNotFoundException(inner)
2102 }
2103 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2104 Error::GlueEncryptionException(inner)
2105 }
2106 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2107 Error::InternalServiceException(inner)
2108 }
2109 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2110 Error::InvalidInputException(inner)
2111 }
2112 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2113 Error::OperationTimeoutException(inner)
2114 }
2115 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2116 Error::Unhandled(inner)
2117 }
2118 }
2119 }
2120}
2121impl<R>
2122 From<
2123 ::aws_smithy_runtime_api::client::result::SdkError<
2124 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2125 R,
2126 >,
2127 > for Error
2128where
2129 R: Send + Sync + std::fmt::Debug + 'static,
2130{
2131 fn from(
2132 err: ::aws_smithy_runtime_api::client::result::SdkError<
2133 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2134 R,
2135 >,
2136 ) -> Self {
2137 match err {
2138 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2139 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2140 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2141 source: err.into(),
2142 }),
2143 }
2144 }
2145}
2146impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2147 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2148 match err {
2149 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2150 Error::EntityNotFoundException(inner)
2151 }
2152 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2153 Error::GlueEncryptionException(inner)
2154 }
2155 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2156 Error::InternalServiceException(inner)
2157 }
2158 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2159 Error::InvalidInputException(inner)
2160 }
2161 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2162 Error::OperationTimeoutException(inner)
2163 }
2164 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2165 }
2166 }
2167}
2168impl<R>
2169 From<
2170 ::aws_smithy_runtime_api::client::result::SdkError<
2171 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2172 R,
2173 >,
2174 > for Error
2175where
2176 R: Send + Sync + std::fmt::Debug + 'static,
2177{
2178 fn from(
2179 err: ::aws_smithy_runtime_api::client::result::SdkError<
2180 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2181 R,
2182 >,
2183 ) -> Self {
2184 match err {
2185 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2186 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2187 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2188 source: err.into(),
2189 }),
2190 }
2191 }
2192}
2193impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2194 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2195 match err {
2196 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2197 Error::EntityNotFoundException(inner)
2198 }
2199 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2200 Error::InvalidInputException(inner)
2201 }
2202 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2203 Error::OperationTimeoutException(inner)
2204 }
2205 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2206 Error::Unhandled(inner)
2207 }
2208 }
2209 }
2210}
2211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2212where
2213 R: Send + Sync + std::fmt::Debug + 'static,
2214{
2215 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2216 match err {
2217 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2218 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2219 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2220 source: err.into(),
2221 }),
2222 }
2223 }
2224}
2225impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2226 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2227 match err {
2228 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2229 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2230 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2231 }
2232 }
2233}
2234impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2235where
2236 R: Send + Sync + std::fmt::Debug + 'static,
2237{
2238 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2239 match err {
2240 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2241 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2242 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2243 source: err.into(),
2244 }),
2245 }
2246 }
2247}
2248impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2249 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2250 match err {
2251 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2252 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2253 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2254 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2255 Error::SchedulerTransitioningException(inner)
2256 }
2257 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2258 }
2259 }
2260}
2261impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2262 for Error
2263where
2264 R: Send + Sync + std::fmt::Debug + 'static,
2265{
2266 fn from(
2267 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2268 ) -> Self {
2269 match err {
2270 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2271 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2272 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2273 source: err.into(),
2274 }),
2275 }
2276 }
2277}
2278impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2279 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2280 match err {
2281 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2282 Error::AccessDeniedException(inner)
2283 }
2284 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2285 Error::EntityNotFoundException(inner)
2286 }
2287 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2288 Error::InternalServiceException(inner)
2289 }
2290 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2291 Error::InvalidInputException(inner)
2292 }
2293 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2294 Error::OperationTimeoutException(inner)
2295 }
2296 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2297 }
2298 }
2299}
2300impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2301where
2302 R: Send + Sync + std::fmt::Debug + 'static,
2303{
2304 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2305 match err {
2306 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2307 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2308 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2309 source: err.into(),
2310 }),
2311 }
2312 }
2313}
2314impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2315 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2316 match err {
2317 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2318 Error::ConcurrentModificationException(inner)
2319 }
2320 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2321 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2322 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2323 Error::FederationSourceRetryableException(inner)
2324 }
2325 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2326 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2327 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2328 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2329 }
2330 }
2331}
2332impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2333 for Error
2334where
2335 R: Send + Sync + std::fmt::Debug + 'static,
2336{
2337 fn from(
2338 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2339 ) -> Self {
2340 match err {
2341 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2342 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2343 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2344 source: err.into(),
2345 }),
2346 }
2347 }
2348}
2349impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2350 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2351 match err {
2352 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2353 Error::EntityNotFoundException(inner)
2354 }
2355 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2356 Error::InternalServiceException(inner)
2357 }
2358 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2359 Error::InvalidInputException(inner)
2360 }
2361 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2362 Error::OperationTimeoutException(inner)
2363 }
2364 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2365 }
2366 }
2367}
2368impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2369where
2370 R: Send + Sync + std::fmt::Debug + 'static,
2371{
2372 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2373 match err {
2374 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2375 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2376 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2377 source: err.into(),
2378 }),
2379 }
2380 }
2381}
2382impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2383 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2384 match err {
2385 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2386 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2387 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2388 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2389 Error::OperationTimeoutException(inner)
2390 }
2391 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2392 }
2393 }
2394}
2395impl<R>
2396 From<
2397 ::aws_smithy_runtime_api::client::result::SdkError<
2398 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2399 R,
2400 >,
2401 > for Error
2402where
2403 R: Send + Sync + std::fmt::Debug + 'static,
2404{
2405 fn from(
2406 err: ::aws_smithy_runtime_api::client::result::SdkError<
2407 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2408 R,
2409 >,
2410 ) -> Self {
2411 match err {
2412 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2413 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2414 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2415 source: err.into(),
2416 }),
2417 }
2418 }
2419}
2420impl From<crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError> for Error {
2421 fn from(err: crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError) -> Self {
2422 match err {
2423 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2424 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2425 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2426 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2427 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2428 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2429 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2430 }
2431 }
2432}
2433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2434where
2435 R: Send + Sync + std::fmt::Debug + 'static,
2436{
2437 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2438 match err {
2439 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2440 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2441 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2442 source: err.into(),
2443 }),
2444 }
2445 }
2446}
2447impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2448 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2449 match err {
2450 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2451 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2452 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2453 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2454 Error::IntegrationConflictOperationFault(inner)
2455 }
2456 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2457 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2458 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2459 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2460 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2461 Error::InvalidIntegrationStateFault(inner)
2462 }
2463 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2464 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2465 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2466 }
2467 }
2468}
2469impl<R>
2470 From<
2471 ::aws_smithy_runtime_api::client::result::SdkError<
2472 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2473 R,
2474 >,
2475 > for Error
2476where
2477 R: Send + Sync + std::fmt::Debug + 'static,
2478{
2479 fn from(
2480 err: ::aws_smithy_runtime_api::client::result::SdkError<
2481 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2482 R,
2483 >,
2484 ) -> Self {
2485 match err {
2486 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2487 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2488 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2489 source: err.into(),
2490 }),
2491 }
2492 }
2493}
2494impl From<crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError> for Error {
2495 fn from(err: crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError) -> Self {
2496 match err {
2497 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::AccessDeniedException(inner) => {
2498 Error::AccessDeniedException(inner)
2499 }
2500 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
2501 Error::EntityNotFoundException(inner)
2502 }
2503 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServerException(inner) => {
2504 Error::InternalServerException(inner)
2505 }
2506 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServiceException(inner) => {
2507 Error::InternalServiceException(inner)
2508 }
2509 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InvalidInputException(inner) => {
2510 Error::InvalidInputException(inner)
2511 }
2512 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
2513 Error::ResourceNotFoundException(inner)
2514 }
2515 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ValidationException(inner) => {
2516 Error::ValidationException(inner)
2517 }
2518 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::Unhandled(inner) => {
2519 Error::Unhandled(inner)
2520 }
2521 }
2522 }
2523}
2524impl<R>
2525 From<
2526 ::aws_smithy_runtime_api::client::result::SdkError<
2527 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2528 R,
2529 >,
2530 > for Error
2531where
2532 R: Send + Sync + std::fmt::Debug + 'static,
2533{
2534 fn from(
2535 err: ::aws_smithy_runtime_api::client::result::SdkError<
2536 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2537 R,
2538 >,
2539 ) -> Self {
2540 match err {
2541 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2542 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2543 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2544 source: err.into(),
2545 }),
2546 }
2547 }
2548}
2549impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
2550 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
2551 match err {
2552 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
2553 Error::AccessDeniedException(inner)
2554 }
2555 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
2556 Error::EntityNotFoundException(inner)
2557 }
2558 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
2559 Error::InternalServerException(inner)
2560 }
2561 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
2562 Error::InternalServiceException(inner)
2563 }
2564 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
2565 Error::InvalidInputException(inner)
2566 }
2567 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
2568 Error::ResourceNotFoundException(inner)
2569 }
2570 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
2571 Error::ValidationException(inner)
2572 }
2573 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
2574 }
2575 }
2576}
2577impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
2578where
2579 R: Send + Sync + std::fmt::Debug + 'static,
2580{
2581 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
2582 match err {
2583 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2584 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2585 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2586 source: err.into(),
2587 }),
2588 }
2589 }
2590}
2591impl From<crate::operation::delete_job::DeleteJobError> for Error {
2592 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
2593 match err {
2594 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2595 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2596 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2597 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
2598 }
2599 }
2600}
2601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
2602where
2603 R: Send + Sync + std::fmt::Debug + 'static,
2604{
2605 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
2606 match err {
2607 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2608 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2609 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2610 source: err.into(),
2611 }),
2612 }
2613 }
2614}
2615impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
2616 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
2617 match err {
2618 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2619 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2620 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2621 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
2622 Error::OperationTimeoutException(inner)
2623 }
2624 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
2625 }
2626 }
2627}
2628impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
2629where
2630 R: Send + Sync + std::fmt::Debug + 'static,
2631{
2632 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
2633 match err {
2634 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2635 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2636 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2637 source: err.into(),
2638 }),
2639 }
2640 }
2641}
2642impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
2643 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
2644 match err {
2645 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2646 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2647 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2648 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2649 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
2650 }
2651 }
2652}
2653impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>> for Error
2654where
2655 R: Send + Sync + std::fmt::Debug + 'static,
2656{
2657 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>) -> Self {
2658 match err {
2659 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2660 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2661 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2662 source: err.into(),
2663 }),
2664 }
2665 }
2666}
2667impl From<crate::operation::delete_partition_index::DeletePartitionIndexError> for Error {
2668 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
2669 match err {
2670 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
2671 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
2672 Error::EntityNotFoundException(inner)
2673 }
2674 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
2675 Error::GlueEncryptionException(inner)
2676 }
2677 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
2678 Error::InternalServiceException(inner)
2679 }
2680 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2681 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
2682 Error::OperationTimeoutException(inner)
2683 }
2684 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
2685 }
2686 }
2687}
2688impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
2689where
2690 R: Send + Sync + std::fmt::Debug + 'static,
2691{
2692 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
2693 match err {
2694 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2695 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2696 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2697 source: err.into(),
2698 }),
2699 }
2700 }
2701}
2702impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
2703 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
2704 match err {
2705 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2706 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
2707 Error::ConcurrentModificationException(inner)
2708 }
2709 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2710 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2711 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
2712 }
2713 }
2714}
2715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2716where
2717 R: Send + Sync + std::fmt::Debug + 'static,
2718{
2719 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2720 match err {
2721 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2722 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2723 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2724 source: err.into(),
2725 }),
2726 }
2727 }
2728}
2729impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2730 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2731 match err {
2732 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
2733 Error::ConditionCheckFailureException(inner)
2734 }
2735 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
2736 Error::EntityNotFoundException(inner)
2737 }
2738 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
2739 Error::InternalServiceException(inner)
2740 }
2741 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2742 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
2743 Error::OperationTimeoutException(inner)
2744 }
2745 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2746 }
2747 }
2748}
2749impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
2750where
2751 R: Send + Sync + std::fmt::Debug + 'static,
2752{
2753 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
2754 match err {
2755 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2756 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2757 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2758 source: err.into(),
2759 }),
2760 }
2761 }
2762}
2763impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
2764 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
2765 match err {
2766 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2767 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
2768 Error::ConcurrentModificationException(inner)
2769 }
2770 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2771 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2772 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
2773 }
2774 }
2775}
2776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
2777where
2778 R: Send + Sync + std::fmt::Debug + 'static,
2779{
2780 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
2781 match err {
2782 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2783 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2784 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2785 source: err.into(),
2786 }),
2787 }
2788 }
2789}
2790impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
2791 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
2792 match err {
2793 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2794 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
2795 Error::ConcurrentModificationException(inner)
2796 }
2797 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
2798 Error::EntityNotFoundException(inner)
2799 }
2800 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2801 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2802 }
2803 }
2804}
2805impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
2806 for Error
2807where
2808 R: Send + Sync + std::fmt::Debug + 'static,
2809{
2810 fn from(
2811 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
2812 ) -> Self {
2813 match err {
2814 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2815 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2816 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2817 source: err.into(),
2818 }),
2819 }
2820 }
2821}
2822impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
2823 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
2824 match err {
2825 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
2826 Error::EntityNotFoundException(inner)
2827 }
2828 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
2829 Error::InternalServiceException(inner)
2830 }
2831 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
2832 Error::InvalidInputException(inner)
2833 }
2834 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
2835 Error::OperationTimeoutException(inner)
2836 }
2837 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2838 }
2839 }
2840}
2841impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
2842where
2843 R: Send + Sync + std::fmt::Debug + 'static,
2844{
2845 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
2846 match err {
2847 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2848 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2849 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2850 source: err.into(),
2851 }),
2852 }
2853 }
2854}
2855impl From<crate::operation::delete_session::DeleteSessionError> for Error {
2856 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
2857 match err {
2858 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2859 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
2860 Error::ConcurrentModificationException(inner)
2861 }
2862 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
2863 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2864 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2865 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2866 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
2867 }
2868 }
2869}
2870impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
2871where
2872 R: Send + Sync + std::fmt::Debug + 'static,
2873{
2874 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
2875 match err {
2876 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2877 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2878 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2879 source: err.into(),
2880 }),
2881 }
2882 }
2883}
2884impl From<crate::operation::delete_table::DeleteTableError> for Error {
2885 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
2886 match err {
2887 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2888 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2889 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2890 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
2891 Error::FederationSourceRetryableException(inner)
2892 }
2893 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2894 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2895 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2896 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2897 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
2898 }
2899 }
2900}
2901impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
2902where
2903 R: Send + Sync + std::fmt::Debug + 'static,
2904{
2905 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
2906 match err {
2907 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2908 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2909 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2910 source: err.into(),
2911 }),
2912 }
2913 }
2914}
2915impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
2916 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
2917 match err {
2918 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2919 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
2920 Error::EntityNotFoundException(inner)
2921 }
2922 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
2923 Error::InternalServiceException(inner)
2924 }
2925 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2926 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2927 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2928 }
2929 }
2930}
2931impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
2932where
2933 R: Send + Sync + std::fmt::Debug + 'static,
2934{
2935 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
2936 match err {
2937 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2938 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2939 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2940 source: err.into(),
2941 }),
2942 }
2943 }
2944}
2945impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
2946 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
2947 match err {
2948 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2949 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
2950 Error::InternalServiceException(inner)
2951 }
2952 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2953 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
2954 Error::OperationTimeoutException(inner)
2955 }
2956 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
2957 }
2958 }
2959}
2960impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
2961where
2962 R: Send + Sync + std::fmt::Debug + 'static,
2963{
2964 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
2965 match err {
2966 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2967 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2968 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2969 source: err.into(),
2970 }),
2971 }
2972 }
2973}
2974impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
2975 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
2976 match err {
2977 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
2978 Error::ConcurrentModificationException(inner)
2979 }
2980 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2981 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2982 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2983 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
2984 }
2985 }
2986}
2987impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
2988where
2989 R: Send + Sync + std::fmt::Debug + 'static,
2990{
2991 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
2992 match err {
2993 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2994 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2995 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2996 source: err.into(),
2997 }),
2998 }
2999 }
3000}
3001impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
3002 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
3003 match err {
3004 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
3005 Error::InternalServiceException(inner)
3006 }
3007 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3008 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
3009 Error::OperationNotSupportedException(inner)
3010 }
3011 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
3012 Error::OperationTimeoutException(inner)
3013 }
3014 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
3015 }
3016 }
3017}
3018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
3019 for Error
3020where
3021 R: Send + Sync + std::fmt::Debug + 'static,
3022{
3023 fn from(
3024 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
3025 ) -> Self {
3026 match err {
3027 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3028 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3029 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3030 source: err.into(),
3031 }),
3032 }
3033 }
3034}
3035impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
3036 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
3037 match err {
3038 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
3039 Error::EntityNotFoundException(inner)
3040 }
3041 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
3042 Error::InternalServiceException(inner)
3043 }
3044 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
3045 Error::InvalidInputException(inner)
3046 }
3047 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
3048 Error::OperationTimeoutException(inner)
3049 }
3050 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
3051 }
3052 }
3053}
3054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
3055where
3056 R: Send + Sync + std::fmt::Debug + 'static,
3057{
3058 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
3059 match err {
3060 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3061 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3062 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3063 source: err.into(),
3064 }),
3065 }
3066 }
3067}
3068impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
3069 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
3070 match err {
3071 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
3072 Error::ConcurrentModificationException(inner)
3073 }
3074 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3075 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3076 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3077 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3078 }
3079 }
3080}
3081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
3082where
3083 R: Send + Sync + std::fmt::Debug + 'static,
3084{
3085 fn from(
3086 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
3087 ) -> Self {
3088 match err {
3089 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3090 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3091 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3092 source: err.into(),
3093 }),
3094 }
3095 }
3096}
3097impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
3098 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
3099 match err {
3100 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
3101 Error::AccessDeniedException(inner)
3102 }
3103 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
3104 Error::InternalServiceException(inner)
3105 }
3106 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
3107 Error::InvalidInputException(inner)
3108 }
3109 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
3110 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
3111 }
3112 }
3113}
3114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
3115where
3116 R: Send + Sync + std::fmt::Debug + 'static,
3117{
3118 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
3119 match err {
3120 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3121 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3122 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3123 source: err.into(),
3124 }),
3125 }
3126 }
3127}
3128impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
3129 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
3130 match err {
3131 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3132 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3133 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3134 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3135 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3136 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3137 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3138 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3139 }
3140 }
3141}
3142impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3143 for Error
3144where
3145 R: Send + Sync + std::fmt::Debug + 'static,
3146{
3147 fn from(
3148 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3149 ) -> Self {
3150 match err {
3151 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3152 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3153 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3154 source: err.into(),
3155 }),
3156 }
3157 }
3158}
3159impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3160 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3161 match err {
3162 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3163 Error::AccessDeniedException(inner)
3164 }
3165 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3166 Error::EntityNotFoundException(inner)
3167 }
3168 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3169 Error::IntegrationNotFoundFault(inner)
3170 }
3171 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3172 Error::InternalServerException(inner)
3173 }
3174 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3175 Error::InternalServiceException(inner)
3176 }
3177 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3178 Error::InvalidInputException(inner)
3179 }
3180 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3181 Error::OperationNotSupportedException(inner)
3182 }
3183 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3184 Error::TargetResourceNotFound(inner)
3185 }
3186 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3187 Error::ValidationException(inner)
3188 }
3189 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3190 }
3191 }
3192}
3193impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3194where
3195 R: Send + Sync + std::fmt::Debug + 'static,
3196{
3197 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3198 match err {
3199 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3200 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3201 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3202 source: err.into(),
3203 }),
3204 }
3205 }
3206}
3207impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3208 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3209 match err {
3210 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3211 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3212 Error::EntityNotFoundException(inner)
3213 }
3214 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3215 Error::IntegrationNotFoundFault(inner)
3216 }
3217 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3218 Error::InternalServerException(inner)
3219 }
3220 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3221 Error::InternalServiceException(inner)
3222 }
3223 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3224 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3225 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3226 }
3227 }
3228}
3229impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3230where
3231 R: Send + Sync + std::fmt::Debug + 'static,
3232{
3233 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3234 match err {
3235 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3236 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3237 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3238 source: err.into(),
3239 }),
3240 }
3241 }
3242}
3243impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3244 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3245 match err {
3246 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3247 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3248 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3249 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3250 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3251 }
3252 }
3253}
3254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3255where
3256 R: Send + Sync + std::fmt::Debug + 'static,
3257{
3258 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3259 match err {
3260 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3261 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3262 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3263 source: err.into(),
3264 }),
3265 }
3266 }
3267}
3268impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3269 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3270 match err {
3271 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3272 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3273 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3274 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3275 }
3276 }
3277}
3278impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3279where
3280 R: Send + Sync + std::fmt::Debug + 'static,
3281{
3282 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3283 match err {
3284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3287 source: err.into(),
3288 }),
3289 }
3290 }
3291}
3292impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3293 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3294 match err {
3295 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3296 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3297 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3298 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3299 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3300 }
3301 }
3302}
3303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3304where
3305 R: Send + Sync + std::fmt::Debug + 'static,
3306{
3307 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3308 match err {
3309 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3310 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3311 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3312 source: err.into(),
3313 }),
3314 }
3315 }
3316}
3317impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3318 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3319 match err {
3320 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3321 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3322 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3323 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3324 Error::FederationSourceRetryableException(inner)
3325 }
3326 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3327 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3328 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3329 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3330 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3331 }
3332 }
3333}
3334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3335 for Error
3336where
3337 R: Send + Sync + std::fmt::Debug + 'static,
3338{
3339 fn from(
3340 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3341 ) -> Self {
3342 match err {
3343 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3344 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3345 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3346 source: err.into(),
3347 }),
3348 }
3349 }
3350}
3351impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3352 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3353 match err {
3354 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3355 Error::InternalServiceException(inner)
3356 }
3357 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3358 Error::OperationTimeoutException(inner)
3359 }
3360 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3361 }
3362 }
3363}
3364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3365where
3366 R: Send + Sync + std::fmt::Debug + 'static,
3367{
3368 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3369 match err {
3370 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3371 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3372 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3373 source: err.into(),
3374 }),
3375 }
3376 }
3377}
3378impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3379 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3380 match err {
3381 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3382 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3383 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3384 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
3385 Error::FederationSourceRetryableException(inner)
3386 }
3387 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3388 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3389 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3390 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3391 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
3392 }
3393 }
3394}
3395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
3396where
3397 R: Send + Sync + std::fmt::Debug + 'static,
3398{
3399 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
3400 match err {
3401 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3402 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3403 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3404 source: err.into(),
3405 }),
3406 }
3407 }
3408}
3409impl From<crate::operation::get_classifier::GetClassifierError> for Error {
3410 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
3411 match err {
3412 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3413 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3414 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
3415 }
3416 }
3417}
3418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>> for Error
3419where
3420 R: Send + Sync + std::fmt::Debug + 'static,
3421{
3422 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>) -> Self {
3423 match err {
3424 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3425 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3426 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3427 source: err.into(),
3428 }),
3429 }
3430 }
3431}
3432impl From<crate::operation::get_classifiers::GetClassifiersError> for Error {
3433 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
3434 match err {
3435 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3436 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
3437 }
3438 }
3439}
3440impl<R>
3441 From<
3442 ::aws_smithy_runtime_api::client::result::SdkError<
3443 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3444 R,
3445 >,
3446 > for Error
3447where
3448 R: Send + Sync + std::fmt::Debug + 'static,
3449{
3450 fn from(
3451 err: ::aws_smithy_runtime_api::client::result::SdkError<
3452 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3453 R,
3454 >,
3455 ) -> Self {
3456 match err {
3457 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3458 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3459 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3460 source: err.into(),
3461 }),
3462 }
3463 }
3464}
3465impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
3466 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
3467 match err {
3468 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
3469 Error::EntityNotFoundException(inner)
3470 }
3471 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
3472 Error::GlueEncryptionException(inner)
3473 }
3474 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
3475 Error::InternalServiceException(inner)
3476 }
3477 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
3478 Error::InvalidInputException(inner)
3479 }
3480 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
3481 Error::OperationTimeoutException(inner)
3482 }
3483 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
3484 }
3485 }
3486}
3487impl<R>
3488 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
3489 for Error
3490where
3491 R: Send + Sync + std::fmt::Debug + 'static,
3492{
3493 fn from(
3494 err: ::aws_smithy_runtime_api::client::result::SdkError<
3495 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
3496 R,
3497 >,
3498 ) -> Self {
3499 match err {
3500 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3501 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3502 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3503 source: err.into(),
3504 }),
3505 }
3506 }
3507}
3508impl From<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
3509 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
3510 match err {
3511 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
3512 Error::EntityNotFoundException(inner)
3513 }
3514 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
3515 Error::GlueEncryptionException(inner)
3516 }
3517 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
3518 Error::InternalServiceException(inner)
3519 }
3520 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
3521 Error::InvalidInputException(inner)
3522 }
3523 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
3524 Error::OperationTimeoutException(inner)
3525 }
3526 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
3527 }
3528 }
3529}
3530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
3531 for Error
3532where
3533 R: Send + Sync + std::fmt::Debug + 'static,
3534{
3535 fn from(
3536 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
3537 ) -> Self {
3538 match err {
3539 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3540 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3541 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3542 source: err.into(),
3543 }),
3544 }
3545 }
3546}
3547impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
3548 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
3549 match err {
3550 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
3551 Error::EntityNotFoundException(inner)
3552 }
3553 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
3554 Error::InvalidInputException(inner)
3555 }
3556 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
3557 Error::OperationTimeoutException(inner)
3558 }
3559 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
3560 }
3561 }
3562}
3563impl<R>
3564 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, R>>
3565 for Error
3566where
3567 R: Send + Sync + std::fmt::Debug + 'static,
3568{
3569 fn from(
3570 err: ::aws_smithy_runtime_api::client::result::SdkError<
3571 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
3572 R,
3573 >,
3574 ) -> Self {
3575 match err {
3576 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3577 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3578 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3579 source: err.into(),
3580 }),
3581 }
3582 }
3583}
3584impl From<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError> for Error {
3585 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
3586 match err {
3587 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
3588 Error::OperationTimeoutException(inner)
3589 }
3590 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
3591 }
3592 }
3593}
3594impl<R>
3595 From<
3596 ::aws_smithy_runtime_api::client::result::SdkError<
3597 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3598 R,
3599 >,
3600 > for Error
3601where
3602 R: Send + Sync + std::fmt::Debug + 'static,
3603{
3604 fn from(
3605 err: ::aws_smithy_runtime_api::client::result::SdkError<
3606 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3607 R,
3608 >,
3609 ) -> Self {
3610 match err {
3611 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3612 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3613 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3614 source: err.into(),
3615 }),
3616 }
3617 }
3618}
3619impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
3620 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
3621 match err {
3622 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
3623 Error::EntityNotFoundException(inner)
3624 }
3625 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
3626 Error::InvalidInputException(inner)
3627 }
3628 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
3629 Error::OperationTimeoutException(inner)
3630 }
3631 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3632 }
3633 }
3634}
3635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
3636where
3637 R: Send + Sync + std::fmt::Debug + 'static,
3638{
3639 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
3640 match err {
3641 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3642 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3643 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3644 source: err.into(),
3645 }),
3646 }
3647 }
3648}
3649impl From<crate::operation::get_connection::GetConnectionError> for Error {
3650 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
3651 match err {
3652 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3653 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3654 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3655 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3656 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3657 }
3658 }
3659}
3660impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
3661where
3662 R: Send + Sync + std::fmt::Debug + 'static,
3663{
3664 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> Self {
3665 match err {
3666 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3667 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3668 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3669 source: err.into(),
3670 }),
3671 }
3672 }
3673}
3674impl From<crate::operation::get_connections::GetConnectionsError> for Error {
3675 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
3676 match err {
3677 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3678 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3679 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3680 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3681 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
3682 }
3683 }
3684}
3685impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, 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_crawler::GetCrawlerError, 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_crawler::GetCrawlerError> for Error {
3700 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
3701 match err {
3702 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3703 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3704 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
3705 }
3706 }
3707}
3708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
3709where
3710 R: Send + Sync + std::fmt::Debug + 'static,
3711{
3712 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
3713 match err {
3714 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3715 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3716 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3717 source: err.into(),
3718 }),
3719 }
3720 }
3721}
3722impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
3723 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
3724 match err {
3725 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
3726 Error::OperationTimeoutException(inner)
3727 }
3728 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
3729 }
3730 }
3731}
3732impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
3733where
3734 R: Send + Sync + std::fmt::Debug + 'static,
3735{
3736 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
3737 match err {
3738 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3739 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3740 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3741 source: err.into(),
3742 }),
3743 }
3744 }
3745}
3746impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
3747 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
3748 match err {
3749 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3750 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
3751 }
3752 }
3753}
3754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
3755where
3756 R: Send + Sync + std::fmt::Debug + 'static,
3757{
3758 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
3759 match err {
3760 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3761 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3762 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3763 source: err.into(),
3764 }),
3765 }
3766 }
3767}
3768impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
3769 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
3770 match err {
3771 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3772 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
3773 Error::EntityNotFoundException(inner)
3774 }
3775 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
3776 Error::InternalServiceException(inner)
3777 }
3778 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3779 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
3780 Error::OperationTimeoutException(inner)
3781 }
3782 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
3783 }
3784 }
3785}
3786impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
3787where
3788 R: Send + Sync + std::fmt::Debug + 'static,
3789{
3790 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
3791 match err {
3792 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3793 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3794 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3795 source: err.into(),
3796 }),
3797 }
3798 }
3799}
3800impl From<crate::operation::get_database::GetDatabaseError> for Error {
3801 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
3802 match err {
3803 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3804 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3805 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
3806 Error::FederationSourceRetryableException(inner)
3807 }
3808 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3809 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3810 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3811 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3812 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
3813 }
3814 }
3815}
3816impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
3817where
3818 R: Send + Sync + std::fmt::Debug + 'static,
3819{
3820 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> 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_databases::GetDatabasesError> for Error {
3831 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
3832 match err {
3833 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3834 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3835 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
3836 Error::FederationSourceRetryableException(inner)
3837 }
3838 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3839 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3840 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3841 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3842 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
3843 }
3844 }
3845}
3846impl<R>
3847 From<
3848 ::aws_smithy_runtime_api::client::result::SdkError<
3849 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3850 R,
3851 >,
3852 > for Error
3853where
3854 R: Send + Sync + std::fmt::Debug + 'static,
3855{
3856 fn from(
3857 err: ::aws_smithy_runtime_api::client::result::SdkError<
3858 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3859 R,
3860 >,
3861 ) -> Self {
3862 match err {
3863 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3864 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3865 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3866 source: err.into(),
3867 }),
3868 }
3869 }
3870}
3871impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
3872 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
3873 match err {
3874 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
3875 Error::InternalServiceException(inner)
3876 }
3877 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
3878 Error::InvalidInputException(inner)
3879 }
3880 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
3881 Error::OperationTimeoutException(inner)
3882 }
3883 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
3884 Error::Unhandled(inner)
3885 }
3886 }
3887 }
3888}
3889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
3890where
3891 R: Send + Sync + std::fmt::Debug + 'static,
3892{
3893 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
3894 match err {
3895 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3896 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3897 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3898 source: err.into(),
3899 }),
3900 }
3901 }
3902}
3903impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
3904 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
3905 match err {
3906 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3907 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3908 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3909 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
3910 }
3911 }
3912}
3913impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
3914where
3915 R: Send + Sync + std::fmt::Debug + 'static,
3916{
3917 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
3918 match err {
3919 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3920 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3921 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3922 source: err.into(),
3923 }),
3924 }
3925 }
3926}
3927impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
3928 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
3929 match err {
3930 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
3931 Error::EntityNotFoundException(inner)
3932 }
3933 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
3934 Error::InternalServiceException(inner)
3935 }
3936 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3937 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
3938 Error::OperationTimeoutException(inner)
3939 }
3940 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
3941 }
3942 }
3943}
3944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
3945 for Error
3946where
3947 R: Send + Sync + std::fmt::Debug + 'static,
3948{
3949 fn from(
3950 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
3951 ) -> Self {
3952 match err {
3953 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3954 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3955 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3956 source: err.into(),
3957 }),
3958 }
3959 }
3960}
3961impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
3962 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
3963 match err {
3964 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
3965 Error::EntityNotFoundException(inner)
3966 }
3967 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
3968 Error::InternalServiceException(inner)
3969 }
3970 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
3971 Error::InvalidInputException(inner)
3972 }
3973 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
3974 Error::OperationTimeoutException(inner)
3975 }
3976 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
3977 }
3978 }
3979}
3980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
3981where
3982 R: Send + Sync + std::fmt::Debug + 'static,
3983{
3984 fn from(
3985 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
3986 ) -> Self {
3987 match err {
3988 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3989 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3990 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3991 source: err.into(),
3992 }),
3993 }
3994 }
3995}
3996impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
3997 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
3998 match err {
3999 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
4000 Error::EntityNotFoundException(inner)
4001 }
4002 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
4003 Error::InternalServiceException(inner)
4004 }
4005 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4006 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
4007 Error::OperationTimeoutException(inner)
4008 }
4009 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
4010 }
4011 }
4012}
4013impl<R>
4014 From<
4015 ::aws_smithy_runtime_api::client::result::SdkError<
4016 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4017 R,
4018 >,
4019 > for Error
4020where
4021 R: Send + Sync + std::fmt::Debug + 'static,
4022{
4023 fn from(
4024 err: ::aws_smithy_runtime_api::client::result::SdkError<
4025 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4026 R,
4027 >,
4028 ) -> Self {
4029 match err {
4030 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4031 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4032 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4033 source: err.into(),
4034 }),
4035 }
4036 }
4037}
4038impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
4039 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
4040 match err {
4041 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
4042 Error::EntityNotFoundException(inner)
4043 }
4044 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
4045 Error::InternalServiceException(inner)
4046 }
4047 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
4048 Error::InvalidInputException(inner)
4049 }
4050 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
4051 inner,
4052 ) => Error::OperationTimeoutException(inner),
4053 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
4054 Error::Unhandled(inner)
4055 }
4056 }
4057 }
4058}
4059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
4060where
4061 R: Send + Sync + std::fmt::Debug + 'static,
4062{
4063 fn from(
4064 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
4065 ) -> Self {
4066 match err {
4067 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4068 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4069 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4070 source: err.into(),
4071 }),
4072 }
4073 }
4074}
4075impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
4076 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
4077 match err {
4078 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
4079 Error::EntityNotFoundException(inner)
4080 }
4081 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
4082 Error::InternalServiceException(inner)
4083 }
4084 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
4085 Error::InvalidInputException(inner)
4086 }
4087 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
4088 Error::OperationTimeoutException(inner)
4089 }
4090 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
4091 }
4092 }
4093}
4094impl<R>
4095 From<
4096 ::aws_smithy_runtime_api::client::result::SdkError<
4097 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4098 R,
4099 >,
4100 > for Error
4101where
4102 R: Send + Sync + std::fmt::Debug + 'static,
4103{
4104 fn from(
4105 err: ::aws_smithy_runtime_api::client::result::SdkError<
4106 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4107 R,
4108 >,
4109 ) -> Self {
4110 match err {
4111 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4112 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4113 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4114 source: err.into(),
4115 }),
4116 }
4117 }
4118}
4119impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
4120 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
4121 match err {
4122 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
4123 Error::EntityNotFoundException(inner)
4124 }
4125 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
4126 Error::InternalServiceException(inner)
4127 }
4128 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
4129 Error::InvalidInputException(inner)
4130 }
4131 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4132 Error::OperationTimeoutException(inner)
4133 }
4134 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4135 Error::Unhandled(inner)
4136 }
4137 }
4138 }
4139}
4140impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4141where
4142 R: Send + Sync + std::fmt::Debug + 'static,
4143{
4144 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4145 match err {
4146 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4147 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4148 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4149 source: err.into(),
4150 }),
4151 }
4152 }
4153}
4154impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4155 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4156 match err {
4157 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4158 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4159 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4160 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4161 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4162 }
4163 }
4164}
4165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4166where
4167 R: Send + Sync + std::fmt::Debug + 'static,
4168{
4169 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> Self {
4170 match err {
4171 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4172 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4173 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4174 source: err.into(),
4175 }),
4176 }
4177 }
4178}
4179impl From<crate::operation::get_dev_endpoints::GetDevEndpointsError> for Error {
4180 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4181 match err {
4182 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4183 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4184 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4185 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4186 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4187 }
4188 }
4189}
4190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, 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_entity_records::GetEntityRecordsError, 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_entity_records::GetEntityRecordsError> for Error {
4205 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4206 match err {
4207 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4208 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4209 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4210 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4211 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4212 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4213 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4214 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4215 }
4216 }
4217}
4218impl<R>
4219 From<
4220 ::aws_smithy_runtime_api::client::result::SdkError<
4221 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4222 R,
4223 >,
4224 > for Error
4225where
4226 R: Send + Sync + std::fmt::Debug + 'static,
4227{
4228 fn from(
4229 err: ::aws_smithy_runtime_api::client::result::SdkError<
4230 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4231 R,
4232 >,
4233 ) -> Self {
4234 match err {
4235 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4236 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4237 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4238 source: err.into(),
4239 }),
4240 }
4241 }
4242}
4243impl From<crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError> for Error {
4244 fn from(err: crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError) -> Self {
4245 match err {
4246 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => {
4247 Error::AccessDeniedException(inner)
4248 }
4249 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::ConcurrentModificationException(
4250 inner,
4251 ) => Error::ConcurrentModificationException(inner),
4252 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => {
4253 Error::EntityNotFoundException(inner)
4254 }
4255 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InternalServiceException(inner) => {
4256 Error::InternalServiceException(inner)
4257 }
4258 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InvalidInputException(inner) => {
4259 Error::InvalidInputException(inner)
4260 }
4261 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => {
4262 Error::OperationTimeoutException(inner)
4263 }
4264 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::Unhandled(inner) => {
4265 Error::Unhandled(inner)
4266 }
4267 }
4268 }
4269}
4270impl<R>
4271 From<
4272 ::aws_smithy_runtime_api::client::result::SdkError<
4273 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4274 R,
4275 >,
4276 > for Error
4277where
4278 R: Send + Sync + std::fmt::Debug + 'static,
4279{
4280 fn from(
4281 err: ::aws_smithy_runtime_api::client::result::SdkError<
4282 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4283 R,
4284 >,
4285 ) -> Self {
4286 match err {
4287 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4288 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4289 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4290 source: err.into(),
4291 }),
4292 }
4293 }
4294}
4295impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
4296 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
4297 match err {
4298 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
4299 Error::AccessDeniedException(inner)
4300 }
4301 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
4302 Error::EntityNotFoundException(inner)
4303 }
4304 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
4305 Error::InternalServerException(inner)
4306 }
4307 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
4308 Error::InternalServiceException(inner)
4309 }
4310 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
4311 Error::InvalidInputException(inner)
4312 }
4313 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
4314 Error::ResourceNotFoundException(inner)
4315 }
4316 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
4317 Error::ValidationException(inner)
4318 }
4319 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
4320 }
4321 }
4322}
4323impl<R>
4324 From<
4325 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
4326 > for Error
4327where
4328 R: Send + Sync + std::fmt::Debug + 'static,
4329{
4330 fn from(
4331 err: ::aws_smithy_runtime_api::client::result::SdkError<
4332 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
4333 R,
4334 >,
4335 ) -> Self {
4336 match err {
4337 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4338 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4339 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4340 source: err.into(),
4341 }),
4342 }
4343 }
4344}
4345impl From<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
4346 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
4347 match err {
4348 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
4349 Error::AccessDeniedException(inner)
4350 }
4351 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
4352 Error::EntityNotFoundException(inner)
4353 }
4354 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
4355 Error::InternalServerException(inner)
4356 }
4357 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
4358 Error::InternalServiceException(inner)
4359 }
4360 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
4361 Error::InvalidInputException(inner)
4362 }
4363 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
4364 Error::ResourceNotFoundException(inner)
4365 }
4366 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
4367 Error::ValidationException(inner)
4368 }
4369 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
4370 }
4371 }
4372}
4373impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
4374where
4375 R: Send + Sync + std::fmt::Debug + 'static,
4376{
4377 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
4378 match err {
4379 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4380 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4381 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4382 source: err.into(),
4383 }),
4384 }
4385 }
4386}
4387impl From<crate::operation::get_job::GetJobError> for Error {
4388 fn from(err: crate::operation::get_job::GetJobError) -> Self {
4389 match err {
4390 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4391 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4392 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4393 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4394 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
4395 }
4396 }
4397}
4398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
4399where
4400 R: Send + Sync + std::fmt::Debug + 'static,
4401{
4402 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
4403 match err {
4404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4407 source: err.into(),
4408 }),
4409 }
4410 }
4411}
4412impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
4413 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
4414 match err {
4415 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4416 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4417 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4418 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4419 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
4420 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
4421 }
4422 }
4423}
4424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
4425where
4426 R: Send + Sync + std::fmt::Debug + 'static,
4427{
4428 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
4429 match err {
4430 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4431 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4432 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4433 source: err.into(),
4434 }),
4435 }
4436 }
4437}
4438impl From<crate::operation::get_job_run::GetJobRunError> for Error {
4439 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
4440 match err {
4441 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4442 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4443 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4444 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4445 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
4446 }
4447 }
4448}
4449impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
4450where
4451 R: Send + Sync + std::fmt::Debug + 'static,
4452{
4453 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
4454 match err {
4455 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4456 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4457 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4458 source: err.into(),
4459 }),
4460 }
4461 }
4462}
4463impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
4464 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
4465 match err {
4466 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4467 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4468 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4469 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4470 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
4471 }
4472 }
4473}
4474impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
4475where
4476 R: Send + Sync + std::fmt::Debug + 'static,
4477{
4478 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
4479 match err {
4480 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4481 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4482 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4483 source: err.into(),
4484 }),
4485 }
4486 }
4487}
4488impl From<crate::operation::get_jobs::GetJobsError> for Error {
4489 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
4490 match err {
4491 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4492 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4493 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4494 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4495 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
4496 }
4497 }
4498}
4499impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
4500where
4501 R: Send + Sync + std::fmt::Debug + 'static,
4502{
4503 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
4504 match err {
4505 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4506 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4507 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4508 source: err.into(),
4509 }),
4510 }
4511 }
4512}
4513impl From<crate::operation::get_mapping::GetMappingError> for Error {
4514 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
4515 match err {
4516 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4517 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4518 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4519 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4520 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
4521 }
4522 }
4523}
4524impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
4525where
4526 R: Send + Sync + std::fmt::Debug + 'static,
4527{
4528 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
4529 match err {
4530 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4531 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4532 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4533 source: err.into(),
4534 }),
4535 }
4536 }
4537}
4538impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
4539 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
4540 match err {
4541 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4542 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4543 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4544 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4545 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4546 }
4547 }
4548}
4549impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
4550where
4551 R: Send + Sync + std::fmt::Debug + 'static,
4552{
4553 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
4554 match err {
4555 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4556 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4557 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4558 source: err.into(),
4559 }),
4560 }
4561 }
4562}
4563impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
4564 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
4565 match err {
4566 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4567 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4568 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4569 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4570 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4571 }
4572 }
4573}
4574impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
4575where
4576 R: Send + Sync + std::fmt::Debug + 'static,
4577{
4578 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
4579 match err {
4580 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4581 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4582 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4583 source: err.into(),
4584 }),
4585 }
4586 }
4587}
4588impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
4589 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
4590 match err {
4591 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4592 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4593 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4594 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4595 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
4596 }
4597 }
4598}
4599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
4600where
4601 R: Send + Sync + std::fmt::Debug + 'static,
4602{
4603 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> Self {
4604 match err {
4605 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4606 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4607 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4608 source: err.into(),
4609 }),
4610 }
4611 }
4612}
4613impl From<crate::operation::get_ml_transforms::GetMLTransformsError> for Error {
4614 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
4615 match err {
4616 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4617 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4618 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4619 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4620 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
4621 }
4622 }
4623}
4624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
4625where
4626 R: Send + Sync + std::fmt::Debug + 'static,
4627{
4628 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
4629 match err {
4630 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4631 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4632 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4633 source: err.into(),
4634 }),
4635 }
4636 }
4637}
4638impl From<crate::operation::get_partition::GetPartitionError> for Error {
4639 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
4640 match err {
4641 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4642 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4643 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
4644 Error::FederationSourceRetryableException(inner)
4645 }
4646 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4647 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4648 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4649 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4650 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
4651 }
4652 }
4653}
4654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
4655where
4656 R: Send + Sync + std::fmt::Debug + 'static,
4657{
4658 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
4659 match err {
4660 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4661 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4662 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4663 source: err.into(),
4664 }),
4665 }
4666 }
4667}
4668impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
4669 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
4670 match err {
4671 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
4672 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
4673 Error::EntityNotFoundException(inner)
4674 }
4675 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
4676 Error::InternalServiceException(inner)
4677 }
4678 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4679 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
4680 Error::OperationTimeoutException(inner)
4681 }
4682 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
4683 }
4684 }
4685}
4686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
4687where
4688 R: Send + Sync + std::fmt::Debug + 'static,
4689{
4690 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
4691 match err {
4692 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4693 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4694 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4695 source: err.into(),
4696 }),
4697 }
4698 }
4699}
4700impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
4701 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
4702 match err {
4703 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4704 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4705 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
4706 Error::FederationSourceRetryableException(inner)
4707 }
4708 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4709 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4710 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4711 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
4712 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4713 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
4714 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
4715 }
4716 }
4717}
4718impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
4719where
4720 R: Send + Sync + std::fmt::Debug + 'static,
4721{
4722 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
4723 match err {
4724 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4725 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4726 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4727 source: err.into(),
4728 }),
4729 }
4730 }
4731}
4732impl From<crate::operation::get_plan::GetPlanError> for Error {
4733 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
4734 match err {
4735 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4736 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4737 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4738 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
4739 }
4740 }
4741}
4742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
4743where
4744 R: Send + Sync + std::fmt::Debug + 'static,
4745{
4746 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
4747 match err {
4748 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4749 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4750 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4751 source: err.into(),
4752 }),
4753 }
4754 }
4755}
4756impl From<crate::operation::get_registry::GetRegistryError> for Error {
4757 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
4758 match err {
4759 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4760 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4761 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4762 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4763 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
4764 }
4765 }
4766}
4767impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
4768where
4769 R: Send + Sync + std::fmt::Debug + 'static,
4770{
4771 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
4772 match err {
4773 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4774 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4775 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4776 source: err.into(),
4777 }),
4778 }
4779 }
4780}
4781impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
4782 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
4783 match err {
4784 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
4785 Error::GlueEncryptionException(inner)
4786 }
4787 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
4788 Error::InternalServiceException(inner)
4789 }
4790 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4791 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
4792 Error::OperationTimeoutException(inner)
4793 }
4794 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
4795 }
4796 }
4797}
4798impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
4799where
4800 R: Send + Sync + std::fmt::Debug + 'static,
4801{
4802 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
4803 match err {
4804 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4805 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4806 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4807 source: err.into(),
4808 }),
4809 }
4810 }
4811}
4812impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
4813 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
4814 match err {
4815 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4816 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4817 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4818 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
4819 Error::OperationTimeoutException(inner)
4820 }
4821 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4822 }
4823 }
4824}
4825impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
4826where
4827 R: Send + Sync + std::fmt::Debug + 'static,
4828{
4829 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
4830 match err {
4831 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4832 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4833 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4834 source: err.into(),
4835 }),
4836 }
4837 }
4838}
4839impl From<crate::operation::get_schema::GetSchemaError> for Error {
4840 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
4841 match err {
4842 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4843 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4844 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4845 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4846 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
4847 }
4848 }
4849}
4850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
4851where
4852 R: Send + Sync + std::fmt::Debug + 'static,
4853{
4854 fn from(
4855 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
4856 ) -> Self {
4857 match err {
4858 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4859 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4860 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4861 source: err.into(),
4862 }),
4863 }
4864 }
4865}
4866impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
4867 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
4868 match err {
4869 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
4870 Error::AccessDeniedException(inner)
4871 }
4872 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
4873 Error::EntityNotFoundException(inner)
4874 }
4875 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
4876 Error::InternalServiceException(inner)
4877 }
4878 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
4879 Error::InvalidInputException(inner)
4880 }
4881 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4882 }
4883 }
4884}
4885impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
4886where
4887 R: Send + Sync + std::fmt::Debug + 'static,
4888{
4889 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
4890 match err {
4891 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4892 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4893 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4894 source: err.into(),
4895 }),
4896 }
4897 }
4898}
4899impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
4900 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
4901 match err {
4902 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4903 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4904 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4905 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4906 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
4907 }
4908 }
4909}
4910impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
4911where
4912 R: Send + Sync + std::fmt::Debug + 'static,
4913{
4914 fn from(
4915 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
4916 ) -> Self {
4917 match err {
4918 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4919 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4920 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4921 source: err.into(),
4922 }),
4923 }
4924 }
4925}
4926impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
4927 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
4928 match err {
4929 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
4930 Error::AccessDeniedException(inner)
4931 }
4932 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
4933 Error::EntityNotFoundException(inner)
4934 }
4935 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
4936 Error::InternalServiceException(inner)
4937 }
4938 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
4939 Error::InvalidInputException(inner)
4940 }
4941 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
4942 }
4943 }
4944}
4945impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
4946 for Error
4947where
4948 R: Send + Sync + std::fmt::Debug + 'static,
4949{
4950 fn from(
4951 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
4952 ) -> Self {
4953 match err {
4954 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4955 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4956 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4957 source: err.into(),
4958 }),
4959 }
4960 }
4961}
4962impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
4963 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
4964 match err {
4965 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
4966 Error::EntityNotFoundException(inner)
4967 }
4968 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
4969 Error::InternalServiceException(inner)
4970 }
4971 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
4972 Error::InvalidInputException(inner)
4973 }
4974 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
4975 Error::OperationTimeoutException(inner)
4976 }
4977 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
4978 }
4979 }
4980}
4981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
4982 for Error
4983where
4984 R: Send + Sync + std::fmt::Debug + 'static,
4985{
4986 fn from(
4987 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
4988 ) -> Self {
4989 match err {
4990 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4991 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4992 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4993 source: err.into(),
4994 }),
4995 }
4996 }
4997}
4998impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
4999 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
5000 match err {
5001 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
5002 Error::EntityNotFoundException(inner)
5003 }
5004 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
5005 Error::InternalServiceException(inner)
5006 }
5007 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
5008 Error::InvalidInputException(inner)
5009 }
5010 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
5011 Error::OperationTimeoutException(inner)
5012 }
5013 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
5014 }
5015 }
5016}
5017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
5018where
5019 R: Send + Sync + std::fmt::Debug + 'static,
5020{
5021 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
5022 match err {
5023 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5024 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5025 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5026 source: err.into(),
5027 }),
5028 }
5029 }
5030}
5031impl From<crate::operation::get_session::GetSessionError> for Error {
5032 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
5033 match err {
5034 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5035 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5036 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5037 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5038 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5039 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
5040 }
5041 }
5042}
5043impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
5044where
5045 R: Send + Sync + std::fmt::Debug + 'static,
5046{
5047 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
5048 match err {
5049 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5050 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5051 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5052 source: err.into(),
5053 }),
5054 }
5055 }
5056}
5057impl From<crate::operation::get_statement::GetStatementError> for Error {
5058 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
5059 match err {
5060 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5061 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5062 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
5063 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5064 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5065 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5066 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
5067 }
5068 }
5069}
5070impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
5071where
5072 R: Send + Sync + std::fmt::Debug + 'static,
5073{
5074 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
5075 match err {
5076 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5077 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5078 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5079 source: err.into(),
5080 }),
5081 }
5082 }
5083}
5084impl From<crate::operation::get_table::GetTableError> for Error {
5085 fn from(err: crate::operation::get_table::GetTableError) -> Self {
5086 match err {
5087 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5088 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5089 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
5090 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5091 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5092 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5093 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5094 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5095 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
5096 }
5097 }
5098}
5099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
5100where
5101 R: Send + Sync + std::fmt::Debug + 'static,
5102{
5103 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
5104 match err {
5105 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5106 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5107 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5108 source: err.into(),
5109 }),
5110 }
5111 }
5112}
5113impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
5114 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
5115 match err {
5116 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5117 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5118 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5119 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5120 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5121 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
5122 }
5123 }
5124}
5125impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>> for Error
5126where
5127 R: Send + Sync + std::fmt::Debug + 'static,
5128{
5129 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>) -> Self {
5130 match err {
5131 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5132 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5133 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5134 source: err.into(),
5135 }),
5136 }
5137 }
5138}
5139impl From<crate::operation::get_tables::GetTablesError> for Error {
5140 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
5141 match err {
5142 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5143 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5144 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
5145 Error::FederationSourceRetryableException(inner)
5146 }
5147 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5148 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5149 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5150 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5151 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
5152 }
5153 }
5154}
5155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
5156where
5157 R: Send + Sync + std::fmt::Debug + 'static,
5158{
5159 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
5160 match err {
5161 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5162 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5163 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5164 source: err.into(),
5165 }),
5166 }
5167 }
5168}
5169impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
5170 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
5171 match err {
5172 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5173 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5174 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5175 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5176 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5177 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
5178 }
5179 }
5180}
5181impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
5182where
5183 R: Send + Sync + std::fmt::Debug + 'static,
5184{
5185 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
5186 match err {
5187 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5188 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5189 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5190 source: err.into(),
5191 }),
5192 }
5193 }
5194}
5195impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
5196 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
5197 match err {
5198 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5199 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5200 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5201 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5202 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5203 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5204 }
5205 }
5206}
5207impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
5208where
5209 R: Send + Sync + std::fmt::Debug + 'static,
5210{
5211 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
5212 match err {
5213 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5214 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5215 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5216 source: err.into(),
5217 }),
5218 }
5219 }
5220}
5221impl From<crate::operation::get_tags::GetTagsError> for Error {
5222 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
5223 match err {
5224 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5225 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5226 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5227 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5228 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
5229 }
5230 }
5231}
5232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
5233where
5234 R: Send + Sync + std::fmt::Debug + 'static,
5235{
5236 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
5237 match err {
5238 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5239 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5240 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5241 source: err.into(),
5242 }),
5243 }
5244 }
5245}
5246impl From<crate::operation::get_trigger::GetTriggerError> for Error {
5247 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
5248 match err {
5249 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5250 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5251 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5252 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5253 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
5254 }
5255 }
5256}
5257impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
5258where
5259 R: Send + Sync + std::fmt::Debug + 'static,
5260{
5261 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
5262 match err {
5263 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5264 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5265 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5266 source: err.into(),
5267 }),
5268 }
5269 }
5270}
5271impl From<crate::operation::get_triggers::GetTriggersError> for Error {
5272 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
5273 match err {
5274 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5275 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5276 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5277 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5278 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
5279 }
5280 }
5281}
5282impl<R>
5283 From<
5284 ::aws_smithy_runtime_api::client::result::SdkError<
5285 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5286 R,
5287 >,
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<
5294 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5295 R,
5296 >,
5297 ) -> Self {
5298 match err {
5299 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5300 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5301 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5302 source: err.into(),
5303 }),
5304 }
5305 }
5306}
5307impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
5308 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
5309 match err {
5310 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
5311 Error::EntityNotFoundException(inner)
5312 }
5313 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
5314 Error::FederationSourceException(inner)
5315 }
5316 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
5317 Error::FederationSourceRetryableException(inner)
5318 }
5319 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
5320 Error::GlueEncryptionException(inner)
5321 }
5322 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
5323 Error::InternalServiceException(inner)
5324 }
5325 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
5326 Error::InvalidInputException(inner)
5327 }
5328 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
5329 Error::OperationTimeoutException(inner)
5330 }
5331 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
5332 Error::PermissionTypeMismatchException(inner)
5333 }
5334 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5335 }
5336 }
5337}
5338impl<R>
5339 From<
5340 ::aws_smithy_runtime_api::client::result::SdkError<
5341 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5342 R,
5343 >,
5344 > for Error
5345where
5346 R: Send + Sync + std::fmt::Debug + 'static,
5347{
5348 fn from(
5349 err: ::aws_smithy_runtime_api::client::result::SdkError<
5350 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5351 R,
5352 >,
5353 ) -> Self {
5354 match err {
5355 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5356 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5357 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5358 source: err.into(),
5359 }),
5360 }
5361 }
5362}
5363impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
5364 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
5365 match err {
5366 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
5367 Error::EntityNotFoundException(inner)
5368 }
5369 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
5370 Error::FederationSourceException(inner)
5371 }
5372 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
5373 Error::FederationSourceRetryableException(inner)
5374 }
5375 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
5376 Error::GlueEncryptionException(inner)
5377 }
5378 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
5379 Error::InternalServiceException(inner)
5380 }
5381 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
5382 Error::InvalidInputException(inner)
5383 }
5384 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
5385 Error::OperationTimeoutException(inner)
5386 }
5387 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
5388 Error::PermissionTypeMismatchException(inner)
5389 }
5390 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5391 }
5392 }
5393}
5394impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
5395 for Error
5396where
5397 R: Send + Sync + std::fmt::Debug + 'static,
5398{
5399 fn from(
5400 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
5401 ) -> Self {
5402 match err {
5403 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5404 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5405 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5406 source: err.into(),
5407 }),
5408 }
5409 }
5410}
5411impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
5412 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
5413 match err {
5414 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
5415 Error::EntityNotFoundException(inner)
5416 }
5417 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
5418 Error::FederationSourceException(inner)
5419 }
5420 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
5421 Error::FederationSourceRetryableException(inner)
5422 }
5423 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
5424 Error::GlueEncryptionException(inner)
5425 }
5426 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
5427 Error::InternalServiceException(inner)
5428 }
5429 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
5430 Error::InvalidInputException(inner)
5431 }
5432 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
5433 Error::OperationTimeoutException(inner)
5434 }
5435 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
5436 Error::PermissionTypeMismatchException(inner)
5437 }
5438 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5439 }
5440 }
5441}
5442impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
5443where
5444 R: Send + Sync + std::fmt::Debug + 'static,
5445{
5446 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
5447 match err {
5448 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5449 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5450 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5451 source: err.into(),
5452 }),
5453 }
5454 }
5455}
5456impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
5457 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
5458 match err {
5459 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5460 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5461 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5462 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
5463 Error::OperationNotSupportedException(inner)
5464 }
5465 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5466 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
5467 }
5468 }
5469}
5470impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
5471 for Error
5472where
5473 R: Send + Sync + std::fmt::Debug + 'static,
5474{
5475 fn from(
5476 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
5477 ) -> Self {
5478 match err {
5479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5482 source: err.into(),
5483 }),
5484 }
5485 }
5486}
5487impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
5488 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
5489 match err {
5490 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
5491 Error::EntityNotFoundException(inner)
5492 }
5493 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
5494 Error::GlueEncryptionException(inner)
5495 }
5496 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
5497 Error::InternalServiceException(inner)
5498 }
5499 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
5500 Error::InvalidInputException(inner)
5501 }
5502 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
5503 Error::OperationTimeoutException(inner)
5504 }
5505 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
5506 }
5507 }
5508}
5509impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
5510 for Error
5511where
5512 R: Send + Sync + std::fmt::Debug + 'static,
5513{
5514 fn from(
5515 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
5516 ) -> Self {
5517 match err {
5518 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5519 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5520 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5521 source: err.into(),
5522 }),
5523 }
5524 }
5525}
5526impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
5527 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
5528 match err {
5529 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
5530 Error::EntityNotFoundException(inner)
5531 }
5532 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
5533 Error::GlueEncryptionException(inner)
5534 }
5535 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
5536 Error::InternalServiceException(inner)
5537 }
5538 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
5539 Error::InvalidInputException(inner)
5540 }
5541 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
5542 Error::OperationTimeoutException(inner)
5543 }
5544 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
5545 }
5546 }
5547}
5548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
5549where
5550 R: Send + Sync + std::fmt::Debug + 'static,
5551{
5552 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
5553 match err {
5554 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5555 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5556 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5557 source: err.into(),
5558 }),
5559 }
5560 }
5561}
5562impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
5563 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
5564 match err {
5565 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5566 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5567 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5568 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5569 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
5570 }
5571 }
5572}
5573impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
5574where
5575 R: Send + Sync + std::fmt::Debug + 'static,
5576{
5577 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
5578 match err {
5579 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5580 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5581 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5582 source: err.into(),
5583 }),
5584 }
5585 }
5586}
5587impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
5588 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
5589 match err {
5590 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5591 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5592 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5593 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5594 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
5595 }
5596 }
5597}
5598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>>
5599 for Error
5600where
5601 R: Send + Sync + std::fmt::Debug + 'static,
5602{
5603 fn from(
5604 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>,
5605 ) -> Self {
5606 match err {
5607 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5608 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5609 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5610 source: err.into(),
5611 }),
5612 }
5613 }
5614}
5615impl From<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
5616 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
5617 match err {
5618 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
5619 Error::EntityNotFoundException(inner)
5620 }
5621 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
5622 Error::InternalServiceException(inner)
5623 }
5624 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
5625 Error::InvalidInputException(inner)
5626 }
5627 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
5628 Error::OperationTimeoutException(inner)
5629 }
5630 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5631 }
5632 }
5633}
5634impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
5635where
5636 R: Send + Sync + std::fmt::Debug + 'static,
5637{
5638 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
5639 match err {
5640 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5641 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5642 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5643 source: err.into(),
5644 }),
5645 }
5646 }
5647}
5648impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
5649 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
5650 match err {
5651 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5652 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5653 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5654 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5655 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
5656 }
5657 }
5658}
5659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
5660where
5661 R: Send + Sync + std::fmt::Debug + 'static,
5662{
5663 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
5664 match err {
5665 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5666 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5667 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5668 source: err.into(),
5669 }),
5670 }
5671 }
5672}
5673impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
5674 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
5675 match err {
5676 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
5677 Error::InternalServiceException(inner)
5678 }
5679 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
5680 Error::OperationTimeoutException(inner)
5681 }
5682 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
5683 }
5684 }
5685}
5686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
5687where
5688 R: Send + Sync + std::fmt::Debug + 'static,
5689{
5690 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
5691 match err {
5692 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5693 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5694 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5695 source: err.into(),
5696 }),
5697 }
5698 }
5699}
5700impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
5701 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
5702 match err {
5703 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5704 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5705 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5706 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
5707 }
5708 }
5709}
5710impl<R>
5711 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
5712 for Error
5713where
5714 R: Send + Sync + std::fmt::Debug + 'static,
5715{
5716 fn from(
5717 err: ::aws_smithy_runtime_api::client::result::SdkError<
5718 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
5719 R,
5720 >,
5721 ) -> Self {
5722 match err {
5723 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5724 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5725 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5726 source: err.into(),
5727 }),
5728 }
5729 }
5730}
5731impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
5732 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
5733 match err {
5734 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
5735 Error::OperationTimeoutException(inner)
5736 }
5737 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5738 }
5739 }
5740}
5741impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
5742where
5743 R: Send + Sync + std::fmt::Debug + 'static,
5744{
5745 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
5746 match err {
5747 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5748 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5749 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5750 source: err.into(),
5751 }),
5752 }
5753 }
5754}
5755impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
5756 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
5757 match err {
5758 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5759 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
5760 Error::InternalServiceException(inner)
5761 }
5762 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
5763 }
5764 }
5765}
5766impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
5767where
5768 R: Send + Sync + std::fmt::Debug + 'static,
5769{
5770 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
5771 match err {
5772 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5773 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5774 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5775 source: err.into(),
5776 }),
5777 }
5778 }
5779}
5780impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
5781 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
5782 match err {
5783 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5784 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
5785 }
5786 }
5787}
5788impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
5789where
5790 R: Send + Sync + std::fmt::Debug + 'static,
5791{
5792 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
5793 match err {
5794 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5795 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5796 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5797 source: err.into(),
5798 }),
5799 }
5800 }
5801}
5802impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
5803 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
5804 match err {
5805 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5806 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5807 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5808 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
5809 }
5810 }
5811}
5812impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
5813where
5814 R: Send + Sync + std::fmt::Debug + 'static,
5815{
5816 fn from(
5817 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
5818 ) -> Self {
5819 match err {
5820 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5821 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5822 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5823 source: err.into(),
5824 }),
5825 }
5826 }
5827}
5828impl From<crate::operation::list_custom_entity_types::ListCustomEntityTypesError> for Error {
5829 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
5830 match err {
5831 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
5832 Error::InternalServiceException(inner)
5833 }
5834 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
5835 Error::InvalidInputException(inner)
5836 }
5837 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
5838 Error::OperationTimeoutException(inner)
5839 }
5840 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
5841 }
5842 }
5843}
5844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
5845 for Error
5846where
5847 R: Send + Sync + std::fmt::Debug + 'static,
5848{
5849 fn from(
5850 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
5851 ) -> Self {
5852 match err {
5853 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5854 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5855 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5856 source: err.into(),
5857 }),
5858 }
5859 }
5860}
5861impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
5862 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
5863 match err {
5864 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
5865 Error::InternalServiceException(inner)
5866 }
5867 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
5868 Error::InvalidInputException(inner)
5869 }
5870 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
5871 Error::OperationTimeoutException(inner)
5872 }
5873 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
5874 }
5875 }
5876}
5877impl<R>
5878 From<
5879 ::aws_smithy_runtime_api::client::result::SdkError<
5880 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5881 R,
5882 >,
5883 > for Error
5884where
5885 R: Send + Sync + std::fmt::Debug + 'static,
5886{
5887 fn from(
5888 err: ::aws_smithy_runtime_api::client::result::SdkError<
5889 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5890 R,
5891 >,
5892 ) -> Self {
5893 match err {
5894 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5895 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5896 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5897 source: err.into(),
5898 }),
5899 }
5900 }
5901}
5902impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
5903 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
5904 match err {
5905 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
5906 inner,
5907 ) => Error::InternalServiceException(inner),
5908 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
5909 inner,
5910 ) => Error::InvalidInputException(inner),
5911 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
5912 inner,
5913 ) => Error::OperationTimeoutException(inner),
5914 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
5915 Error::Unhandled(inner)
5916 }
5917 }
5918 }
5919}
5920impl<R>
5921 From<
5922 ::aws_smithy_runtime_api::client::result::SdkError<
5923 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5924 R,
5925 >,
5926 > for Error
5927where
5928 R: Send + Sync + std::fmt::Debug + 'static,
5929{
5930 fn from(
5931 err: ::aws_smithy_runtime_api::client::result::SdkError<
5932 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
5933 R,
5934 >,
5935 ) -> Self {
5936 match err {
5937 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5938 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5939 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5940 source: err.into(),
5941 }),
5942 }
5943 }
5944}
5945impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
5946 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
5947 match err {
5948 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
5949 inner,
5950 ) => Error::InternalServiceException(inner),
5951 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
5952 Error::InvalidInputException(inner)
5953 }
5954 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
5955 inner,
5956 ) => Error::OperationTimeoutException(inner),
5957 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
5958 Error::Unhandled(inner)
5959 }
5960 }
5961 }
5962}
5963impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
5964 for Error
5965where
5966 R: Send + Sync + std::fmt::Debug + 'static,
5967{
5968 fn from(
5969 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
5970 ) -> Self {
5971 match err {
5972 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5973 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5974 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5975 source: err.into(),
5976 }),
5977 }
5978 }
5979}
5980impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
5981 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
5982 match err {
5983 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
5984 Error::EntityNotFoundException(inner)
5985 }
5986 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
5987 Error::InternalServiceException(inner)
5988 }
5989 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
5990 Error::InvalidInputException(inner)
5991 }
5992 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
5993 Error::OperationTimeoutException(inner)
5994 }
5995 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
5996 }
5997 }
5998}
5999impl<R>
6000 From<
6001 ::aws_smithy_runtime_api::client::result::SdkError<
6002 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6003 R,
6004 >,
6005 > for Error
6006where
6007 R: Send + Sync + std::fmt::Debug + 'static,
6008{
6009 fn from(
6010 err: ::aws_smithy_runtime_api::client::result::SdkError<
6011 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6012 R,
6013 >,
6014 ) -> Self {
6015 match err {
6016 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6017 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6018 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6019 source: err.into(),
6020 }),
6021 }
6022 }
6023}
6024impl From<crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
6025 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
6026 match err {
6027 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
6028 Error::InternalServiceException(inner)
6029 }
6030 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
6031 Error::InvalidInputException(inner)
6032 }
6033 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
6034 Error::Unhandled(inner)
6035 }
6036 }
6037 }
6038}
6039impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
6040 for Error
6041where
6042 R: Send + Sync + std::fmt::Debug + 'static,
6043{
6044 fn from(
6045 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
6046 ) -> Self {
6047 match err {
6048 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6049 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6050 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6051 source: err.into(),
6052 }),
6053 }
6054 }
6055}
6056impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
6057 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
6058 match err {
6059 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
6060 Error::EntityNotFoundException(inner)
6061 }
6062 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
6063 Error::InternalServiceException(inner)
6064 }
6065 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
6066 Error::InvalidInputException(inner)
6067 }
6068 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
6069 }
6070 }
6071}
6072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>> for Error
6073where
6074 R: Send + Sync + std::fmt::Debug + 'static,
6075{
6076 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>) -> Self {
6077 match err {
6078 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6079 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6080 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6081 source: err.into(),
6082 }),
6083 }
6084 }
6085}
6086impl From<crate::operation::list_dev_endpoints::ListDevEndpointsError> for Error {
6087 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
6088 match err {
6089 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6090 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6091 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6092 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6093 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6094 }
6095 }
6096}
6097impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
6098where
6099 R: Send + Sync + std::fmt::Debug + 'static,
6100{
6101 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
6102 match err {
6103 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6104 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6105 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6106 source: err.into(),
6107 }),
6108 }
6109 }
6110}
6111impl From<crate::operation::list_entities::ListEntitiesError> for Error {
6112 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
6113 match err {
6114 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6115 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6116 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6117 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6118 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6119 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6120 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
6121 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
6122 }
6123 }
6124}
6125impl<R>
6126 From<
6127 ::aws_smithy_runtime_api::client::result::SdkError<
6128 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6129 R,
6130 >,
6131 > for Error
6132where
6133 R: Send + Sync + std::fmt::Debug + 'static,
6134{
6135 fn from(
6136 err: ::aws_smithy_runtime_api::client::result::SdkError<
6137 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6138 R,
6139 >,
6140 ) -> Self {
6141 match err {
6142 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6143 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6144 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6145 source: err.into(),
6146 }),
6147 }
6148 }
6149}
6150impl From<crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError> for Error {
6151 fn from(err: crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError) -> Self {
6152 match err {
6153 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::AccessDeniedException(inner) => {
6154 Error::AccessDeniedException(inner)
6155 }
6156 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::EntityNotFoundException(inner) => {
6157 Error::EntityNotFoundException(inner)
6158 }
6159 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServerException(inner) => {
6160 Error::InternalServerException(inner)
6161 }
6162 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServiceException(inner) => {
6163 Error::InternalServiceException(inner)
6164 }
6165 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InvalidInputException(inner) => {
6166 Error::InvalidInputException(inner)
6167 }
6168 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ResourceNotFoundException(inner) => {
6169 Error::ResourceNotFoundException(inner)
6170 }
6171 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ValidationException(inner) => {
6172 Error::ValidationException(inner)
6173 }
6174 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::Unhandled(inner) => {
6175 Error::Unhandled(inner)
6176 }
6177 }
6178 }
6179}
6180impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
6181where
6182 R: Send + Sync + std::fmt::Debug + 'static,
6183{
6184 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
6185 match err {
6186 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6187 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6188 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6189 source: err.into(),
6190 }),
6191 }
6192 }
6193}
6194impl From<crate::operation::list_jobs::ListJobsError> for Error {
6195 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
6196 match err {
6197 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6198 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6199 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6200 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6201 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
6202 }
6203 }
6204}
6205impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
6206where
6207 R: Send + Sync + std::fmt::Debug + 'static,
6208{
6209 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
6210 match err {
6211 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6212 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6213 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6214 source: err.into(),
6215 }),
6216 }
6217 }
6218}
6219impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
6220 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
6221 match err {
6222 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6223 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6224 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6225 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6226 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
6227 }
6228 }
6229}
6230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
6231where
6232 R: Send + Sync + std::fmt::Debug + 'static,
6233{
6234 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
6235 match err {
6236 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6237 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6238 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6239 source: err.into(),
6240 }),
6241 }
6242 }
6243}
6244impl From<crate::operation::list_registries::ListRegistriesError> for Error {
6245 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
6246 match err {
6247 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6248 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6249 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6250 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
6251 }
6252 }
6253}
6254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
6255where
6256 R: Send + Sync + std::fmt::Debug + 'static,
6257{
6258 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
6259 match err {
6260 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6261 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6262 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6263 source: err.into(),
6264 }),
6265 }
6266 }
6267}
6268impl From<crate::operation::list_schemas::ListSchemasError> for Error {
6269 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
6270 match err {
6271 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6272 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6273 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6274 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6275 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
6276 }
6277 }
6278}
6279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
6280where
6281 R: Send + Sync + std::fmt::Debug + 'static,
6282{
6283 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
6284 match err {
6285 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6286 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6287 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6288 source: err.into(),
6289 }),
6290 }
6291 }
6292}
6293impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
6294 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
6295 match err {
6296 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6297 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6298 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
6299 Error::InternalServiceException(inner)
6300 }
6301 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6302 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6303 }
6304 }
6305}
6306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
6307where
6308 R: Send + Sync + std::fmt::Debug + 'static,
6309{
6310 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
6311 match err {
6312 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6313 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6314 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6315 source: err.into(),
6316 }),
6317 }
6318 }
6319}
6320impl From<crate::operation::list_sessions::ListSessionsError> for Error {
6321 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
6322 match err {
6323 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6324 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6325 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6326 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6327 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
6328 }
6329 }
6330}
6331impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
6332where
6333 R: Send + Sync + std::fmt::Debug + 'static,
6334{
6335 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
6336 match err {
6337 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6338 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6339 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6340 source: err.into(),
6341 }),
6342 }
6343 }
6344}
6345impl From<crate::operation::list_statements::ListStatementsError> for Error {
6346 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
6347 match err {
6348 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6349 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6350 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6351 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6352 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6353 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6354 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
6355 }
6356 }
6357}
6358impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
6359 for Error
6360where
6361 R: Send + Sync + std::fmt::Debug + 'static,
6362{
6363 fn from(
6364 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
6365 ) -> Self {
6366 match err {
6367 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6368 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6369 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6370 source: err.into(),
6371 }),
6372 }
6373 }
6374}
6375impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
6376 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
6377 match err {
6378 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
6379 Error::AccessDeniedException(inner)
6380 }
6381 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
6382 Error::EntityNotFoundException(inner)
6383 }
6384 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
6385 Error::InternalServiceException(inner)
6386 }
6387 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
6388 Error::InvalidInputException(inner)
6389 }
6390 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6391 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
6392 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
6393 }
6394 }
6395}
6396impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
6397where
6398 R: Send + Sync + std::fmt::Debug + 'static,
6399{
6400 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
6401 match err {
6402 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6403 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6404 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6405 source: err.into(),
6406 }),
6407 }
6408 }
6409}
6410impl From<crate::operation::list_triggers::ListTriggersError> for Error {
6411 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
6412 match err {
6413 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6414 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6415 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6416 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6417 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6418 }
6419 }
6420}
6421impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
6422where
6423 R: Send + Sync + std::fmt::Debug + 'static,
6424{
6425 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
6426 match err {
6427 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6428 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6429 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6430 source: err.into(),
6431 }),
6432 }
6433 }
6434}
6435impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
6436 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
6437 match err {
6438 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6439 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6440 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
6441 Error::OperationNotSupportedException(inner)
6442 }
6443 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
6444 Error::OperationTimeoutException(inner)
6445 }
6446 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
6447 }
6448 }
6449}
6450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
6451where
6452 R: Send + Sync + std::fmt::Debug + 'static,
6453{
6454 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
6455 match err {
6456 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6457 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6458 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6459 source: err.into(),
6460 }),
6461 }
6462 }
6463}
6464impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
6465 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
6466 match err {
6467 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6468 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6469 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6470 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
6471 }
6472 }
6473}
6474impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
6475where
6476 R: Send + Sync + std::fmt::Debug + 'static,
6477{
6478 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
6479 match err {
6480 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6481 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6482 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6483 source: err.into(),
6484 }),
6485 }
6486 }
6487}
6488impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
6489 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
6490 match err {
6491 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6492 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
6493 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6494 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
6495 Error::IntegrationConflictOperationFault(inner)
6496 }
6497 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
6498 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
6499 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6500 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6501 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
6502 Error::InvalidIntegrationStateFault(inner)
6503 }
6504 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
6505 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
6506 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
6507 }
6508 }
6509}
6510impl<R>
6511 From<
6512 ::aws_smithy_runtime_api::client::result::SdkError<
6513 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6514 R,
6515 >,
6516 > for Error
6517where
6518 R: Send + Sync + std::fmt::Debug + 'static,
6519{
6520 fn from(
6521 err: ::aws_smithy_runtime_api::client::result::SdkError<
6522 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6523 R,
6524 >,
6525 ) -> Self {
6526 match err {
6527 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6528 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6529 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6530 source: err.into(),
6531 }),
6532 }
6533 }
6534}
6535impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
6536 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
6537 match err {
6538 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
6539 Error::InternalServiceException(inner)
6540 }
6541 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
6542 Error::InvalidInputException(inner)
6543 }
6544 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
6545 Error::OperationTimeoutException(inner)
6546 }
6547 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
6548 Error::Unhandled(inner)
6549 }
6550 }
6551 }
6552}
6553impl<R>
6554 From<
6555 ::aws_smithy_runtime_api::client::result::SdkError<
6556 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6557 R,
6558 >,
6559 > for Error
6560where
6561 R: Send + Sync + std::fmt::Debug + 'static,
6562{
6563 fn from(
6564 err: ::aws_smithy_runtime_api::client::result::SdkError<
6565 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6566 R,
6567 >,
6568 ) -> Self {
6569 match err {
6570 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6571 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6572 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6573 source: err.into(),
6574 }),
6575 }
6576 }
6577}
6578impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
6579 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
6580 match err {
6581 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
6582 Error::EntityNotFoundException(inner)
6583 }
6584 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
6585 Error::InternalServiceException(inner)
6586 }
6587 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
6588 Error::InvalidInputException(inner)
6589 }
6590 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
6591 }
6592 }
6593}
6594impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
6595where
6596 R: Send + Sync + std::fmt::Debug + 'static,
6597{
6598 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
6599 match err {
6600 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6601 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6602 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6603 source: err.into(),
6604 }),
6605 }
6606 }
6607}
6608impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
6609 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
6610 match err {
6611 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
6612 Error::ConditionCheckFailureException(inner)
6613 }
6614 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6615 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6616 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6617 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
6618 Error::OperationTimeoutException(inner)
6619 }
6620 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
6621 }
6622 }
6623}
6624impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
6625 for Error
6626where
6627 R: Send + Sync + std::fmt::Debug + 'static,
6628{
6629 fn from(
6630 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
6631 ) -> Self {
6632 match err {
6633 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6634 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6635 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6636 source: err.into(),
6637 }),
6638 }
6639 }
6640}
6641impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
6642 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
6643 match err {
6644 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
6645 Error::AccessDeniedException(inner)
6646 }
6647 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
6648 Error::AlreadyExistsException(inner)
6649 }
6650 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6651 Error::EntityNotFoundException(inner)
6652 }
6653 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
6654 Error::InvalidInputException(inner)
6655 }
6656 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
6657 Error::ResourceNumberLimitExceededException(inner)
6658 }
6659 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6660 }
6661 }
6662}
6663impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
6664 for Error
6665where
6666 R: Send + Sync + std::fmt::Debug + 'static,
6667{
6668 fn from(
6669 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
6670 ) -> Self {
6671 match err {
6672 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6673 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6674 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6675 source: err.into(),
6676 }),
6677 }
6678 }
6679}
6680impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
6681 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
6682 match err {
6683 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
6684 Error::AlreadyExistsException(inner)
6685 }
6686 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
6687 Error::ConcurrentModificationException(inner)
6688 }
6689 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6690 Error::EntityNotFoundException(inner)
6691 }
6692 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
6693 Error::InternalServiceException(inner)
6694 }
6695 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
6696 Error::InvalidInputException(inner)
6697 }
6698 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6699 Error::OperationTimeoutException(inner)
6700 }
6701 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
6702 Error::ResourceNumberLimitExceededException(inner)
6703 }
6704 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6705 }
6706 }
6707}
6708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
6709 for Error
6710where
6711 R: Send + Sync + std::fmt::Debug + 'static,
6712{
6713 fn from(
6714 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
6715 ) -> Self {
6716 match err {
6717 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6718 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6719 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6720 source: err.into(),
6721 }),
6722 }
6723 }
6724}
6725impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
6726 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
6727 match err {
6728 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
6729 Error::AccessDeniedException(inner)
6730 }
6731 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
6732 Error::EntityNotFoundException(inner)
6733 }
6734 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
6735 Error::InvalidInputException(inner)
6736 }
6737 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6738 }
6739 }
6740}
6741impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
6742where
6743 R: Send + Sync + std::fmt::Debug + 'static,
6744{
6745 fn from(
6746 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
6747 ) -> Self {
6748 match err {
6749 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6750 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6751 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6752 source: err.into(),
6753 }),
6754 }
6755 }
6756}
6757impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
6758 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
6759 match err {
6760 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
6761 Error::AccessDeniedException(inner)
6762 }
6763 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
6764 Error::ConcurrentModificationException(inner)
6765 }
6766 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
6767 Error::EntityNotFoundException(inner)
6768 }
6769 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
6770 Error::InternalServiceException(inner)
6771 }
6772 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
6773 Error::InvalidInputException(inner)
6774 }
6775 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
6776 Error::ResourceNumberLimitExceededException(inner)
6777 }
6778 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
6779 }
6780 }
6781}
6782impl<R>
6783 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
6784 for Error
6785where
6786 R: Send + Sync + std::fmt::Debug + 'static,
6787{
6788 fn from(
6789 err: ::aws_smithy_runtime_api::client::result::SdkError<
6790 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
6791 R,
6792 >,
6793 ) -> Self {
6794 match err {
6795 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6796 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6797 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6798 source: err.into(),
6799 }),
6800 }
6801 }
6802}
6803impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
6804 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
6805 match err {
6806 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
6807 Error::AccessDeniedException(inner)
6808 }
6809 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6810 Error::EntityNotFoundException(inner)
6811 }
6812 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
6813 Error::InvalidInputException(inner)
6814 }
6815 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6816 }
6817 }
6818}
6819impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, 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::reset_job_bookmark::ResetJobBookmarkError, 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::reset_job_bookmark::ResetJobBookmarkError> for Error {
6834 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
6835 match err {
6836 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6837 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6838 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6839 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6840 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
6841 }
6842 }
6843}
6844impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
6845where
6846 R: Send + Sync + std::fmt::Debug + 'static,
6847{
6848 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
6849 match err {
6850 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6851 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6852 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6853 source: err.into(),
6854 }),
6855 }
6856 }
6857}
6858impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
6859 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
6860 match err {
6861 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
6862 Error::ConcurrentRunsExceededException(inner)
6863 }
6864 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6865 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
6866 Error::IllegalWorkflowStateException(inner)
6867 }
6868 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6869 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6870 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
6871 Error::OperationTimeoutException(inner)
6872 }
6873 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
6874 }
6875 }
6876}
6877impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
6878where
6879 R: Send + Sync + std::fmt::Debug + 'static,
6880{
6881 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
6882 match err {
6883 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6884 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6885 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6886 source: err.into(),
6887 }),
6888 }
6889 }
6890}
6891impl From<crate::operation::run_statement::RunStatementError> for Error {
6892 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
6893 match err {
6894 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6895 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6896 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6897 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6898 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6899 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6900 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
6901 Error::ResourceNumberLimitExceededException(inner)
6902 }
6903 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
6904 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
6905 }
6906 }
6907}
6908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>> for Error
6909where
6910 R: Send + Sync + std::fmt::Debug + 'static,
6911{
6912 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>) -> Self {
6913 match err {
6914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6917 source: err.into(),
6918 }),
6919 }
6920 }
6921}
6922impl From<crate::operation::search_tables::SearchTablesError> for Error {
6923 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
6924 match err {
6925 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6926 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6927 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6928 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
6929 }
6930 }
6931}
6932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
6933where
6934 R: Send + Sync + std::fmt::Debug + 'static,
6935{
6936 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
6937 match err {
6938 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6939 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6940 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6941 source: err.into(),
6942 }),
6943 }
6944 }
6945}
6946impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
6947 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
6948 match err {
6949 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6950 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
6951 Error::IllegalBlueprintStateException(inner)
6952 }
6953 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6954 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6955 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
6956 Error::OperationTimeoutException(inner)
6957 }
6958 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
6959 Error::ResourceNumberLimitExceededException(inner)
6960 }
6961 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
6962 }
6963 }
6964}
6965impl<R>
6966 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
6967 for Error
6968where
6969 R: Send + Sync + std::fmt::Debug + 'static,
6970{
6971 fn from(
6972 err: ::aws_smithy_runtime_api::client::result::SdkError<
6973 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
6974 R,
6975 >,
6976 ) -> Self {
6977 match err {
6978 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6979 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6980 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6981 source: err.into(),
6982 }),
6983 }
6984 }
6985}
6986impl From<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
6987 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
6988 match err {
6989 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
6990 Error::AccessDeniedException(inner)
6991 }
6992 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
6993 Error::ColumnStatisticsTaskRunningException(inner)
6994 }
6995 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
6996 Error::EntityNotFoundException(inner)
6997 }
6998 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
6999 Error::InvalidInputException(inner)
7000 }
7001 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7002 Error::OperationTimeoutException(inner)
7003 }
7004 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7005 Error::ResourceNumberLimitExceededException(inner)
7006 }
7007 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7008 }
7009 }
7010}
7011impl<R>
7012 From<
7013 ::aws_smithy_runtime_api::client::result::SdkError<
7014 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
7015 R,
7016 >,
7017 > for Error
7018where
7019 R: Send + Sync + std::fmt::Debug + 'static,
7020{
7021 fn from(
7022 err: ::aws_smithy_runtime_api::client::result::SdkError<
7023 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
7024 R,
7025 >,
7026 ) -> Self {
7027 match err {
7028 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7029 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7030 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7031 source: err.into(),
7032 }),
7033 }
7034 }
7035}
7036impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
7037 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
7038 match err {
7039 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
7040 Error::AccessDeniedException(inner)
7041 }
7042 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
7043 inner,
7044 ) => Error::EntityNotFoundException(inner),
7045 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7046 Error::InvalidInputException(inner)
7047 }
7048 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7049 inner,
7050 ) => Error::OperationTimeoutException(inner),
7051 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7052 Error::Unhandled(inner)
7053 }
7054 }
7055 }
7056}
7057impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
7058where
7059 R: Send + Sync + std::fmt::Debug + 'static,
7060{
7061 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
7062 match err {
7063 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7064 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7065 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7066 source: err.into(),
7067 }),
7068 }
7069 }
7070}
7071impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
7072 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
7073 match err {
7074 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
7075 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7076 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7077 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7078 }
7079 }
7080}
7081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
7082where
7083 R: Send + Sync + std::fmt::Debug + 'static,
7084{
7085 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> 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_crawler_schedule::StartCrawlerScheduleError> for Error {
7096 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
7097 match err {
7098 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
7099 Error::EntityNotFoundException(inner)
7100 }
7101 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
7102 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
7103 Error::OperationTimeoutException(inner)
7104 }
7105 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
7106 Error::SchedulerRunningException(inner)
7107 }
7108 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7109 Error::SchedulerTransitioningException(inner)
7110 }
7111 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7112 }
7113 }
7114}
7115impl<R>
7116 From<
7117 ::aws_smithy_runtime_api::client::result::SdkError<
7118 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7119 R,
7120 >,
7121 > for Error
7122where
7123 R: Send + Sync + std::fmt::Debug + 'static,
7124{
7125 fn from(
7126 err: ::aws_smithy_runtime_api::client::result::SdkError<
7127 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7128 R,
7129 >,
7130 ) -> Self {
7131 match err {
7132 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7133 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7134 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7135 source: err.into(),
7136 }),
7137 }
7138 }
7139}
7140impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
7141 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
7142 match err {
7143 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
7144 Error::ConflictException(inner)
7145 }
7146 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
7147 inner,
7148 ) => Error::InternalServiceException(inner),
7149 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
7150 inner,
7151 ) => Error::InvalidInputException(inner),
7152 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
7153 inner,
7154 ) => Error::OperationTimeoutException(inner),
7155 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
7156 Error::Unhandled(inner)
7157 }
7158 }
7159 }
7160}
7161impl<R>
7162 From<
7163 ::aws_smithy_runtime_api::client::result::SdkError<
7164 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7165 R,
7166 >,
7167 > for Error
7168where
7169 R: Send + Sync + std::fmt::Debug + 'static,
7170{
7171 fn from(
7172 err: ::aws_smithy_runtime_api::client::result::SdkError<
7173 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7174 R,
7175 >,
7176 ) -> Self {
7177 match err {
7178 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7179 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7180 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7181 source: err.into(),
7182 }),
7183 }
7184 }
7185}
7186impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
7187 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
7188 match err {
7189 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
7190 Error::ConflictException(inner)
7191 }
7192 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
7193 inner,
7194 ) => Error::EntityNotFoundException(inner),
7195 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
7196 inner,
7197 ) => Error::InternalServiceException(inner),
7198 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
7199 Error::InvalidInputException(inner)
7200 }
7201 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
7202 inner,
7203 ) => Error::OperationTimeoutException(inner),
7204 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
7205 Error::Unhandled(inner)
7206 }
7207 }
7208 }
7209}
7210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
7211 for Error
7212where
7213 R: Send + Sync + std::fmt::Debug + 'static,
7214{
7215 fn from(
7216 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
7217 ) -> Self {
7218 match err {
7219 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7220 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7221 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7222 source: err.into(),
7223 }),
7224 }
7225 }
7226}
7227impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
7228 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
7229 match err {
7230 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
7231 Error::EntityNotFoundException(inner)
7232 }
7233 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
7234 Error::InternalServiceException(inner)
7235 }
7236 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
7237 Error::InvalidInputException(inner)
7238 }
7239 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
7240 Error::OperationTimeoutException(inner)
7241 }
7242 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7243 }
7244 }
7245}
7246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
7247 for Error
7248where
7249 R: Send + Sync + std::fmt::Debug + 'static,
7250{
7251 fn from(
7252 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
7253 ) -> Self {
7254 match err {
7255 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7256 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7257 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7258 source: err.into(),
7259 }),
7260 }
7261 }
7262}
7263impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
7264 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
7265 match err {
7266 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
7267 Error::EntityNotFoundException(inner)
7268 }
7269 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
7270 Error::InternalServiceException(inner)
7271 }
7272 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
7273 Error::InvalidInputException(inner)
7274 }
7275 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
7276 Error::OperationTimeoutException(inner)
7277 }
7278 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7279 Error::ResourceNumberLimitExceededException(inner)
7280 }
7281 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7282 }
7283 }
7284}
7285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
7286where
7287 R: Send + Sync + std::fmt::Debug + 'static,
7288{
7289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
7290 match err {
7291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7294 source: err.into(),
7295 }),
7296 }
7297 }
7298}
7299impl From<crate::operation::start_job_run::StartJobRunError> for Error {
7300 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
7301 match err {
7302 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
7303 Error::ConcurrentRunsExceededException(inner)
7304 }
7305 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7306 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7307 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7308 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7309 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
7310 Error::ResourceNumberLimitExceededException(inner)
7311 }
7312 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
7313 }
7314 }
7315}
7316impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
7317 for Error
7318where
7319 R: Send + Sync + std::fmt::Debug + 'static,
7320{
7321 fn from(
7322 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
7323 ) -> Self {
7324 match err {
7325 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7326 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7327 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7328 source: err.into(),
7329 }),
7330 }
7331 }
7332}
7333impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
7334 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
7335 match err {
7336 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
7337 Error::ConcurrentRunsExceededException(inner)
7338 }
7339 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
7340 Error::EntityNotFoundException(inner)
7341 }
7342 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
7343 Error::InternalServiceException(inner)
7344 }
7345 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
7346 Error::InvalidInputException(inner)
7347 }
7348 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
7349 Error::MlTransformNotReadyException(inner)
7350 }
7351 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
7352 Error::OperationTimeoutException(inner)
7353 }
7354 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7355 }
7356 }
7357}
7358impl<R>
7359 From<
7360 ::aws_smithy_runtime_api::client::result::SdkError<
7361 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7362 R,
7363 >,
7364 > for Error
7365where
7366 R: Send + Sync + std::fmt::Debug + 'static,
7367{
7368 fn from(
7369 err: ::aws_smithy_runtime_api::client::result::SdkError<
7370 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7371 R,
7372 >,
7373 ) -> Self {
7374 match err {
7375 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7376 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7377 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7378 source: err.into(),
7379 }),
7380 }
7381 }
7382}
7383impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
7384 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
7385 match err {
7386 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
7387 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7388 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7389 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7390 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7391 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7392 }
7393 }
7394}
7395impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
7396where
7397 R: Send + Sync + std::fmt::Debug + 'static,
7398{
7399 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
7400 match err {
7401 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7402 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7403 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7404 source: err.into(),
7405 }),
7406 }
7407 }
7408}
7409impl From<crate::operation::start_trigger::StartTriggerError> for Error {
7410 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
7411 match err {
7412 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
7413 Error::ConcurrentRunsExceededException(inner)
7414 }
7415 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7416 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7417 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7418 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7419 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
7420 Error::ResourceNumberLimitExceededException(inner)
7421 }
7422 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7423 }
7424 }
7425}
7426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
7427where
7428 R: Send + Sync + std::fmt::Debug + 'static,
7429{
7430 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
7431 match err {
7432 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7433 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7434 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7435 source: err.into(),
7436 }),
7437 }
7438 }
7439}
7440impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
7441 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
7442 match err {
7443 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
7444 Error::ConcurrentRunsExceededException(inner)
7445 }
7446 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7447 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7448 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7449 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7450 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
7451 Error::ResourceNumberLimitExceededException(inner)
7452 }
7453 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7454 }
7455 }
7456}
7457impl<R>
7458 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
7459 for Error
7460where
7461 R: Send + Sync + std::fmt::Debug + 'static,
7462{
7463 fn from(
7464 err: ::aws_smithy_runtime_api::client::result::SdkError<
7465 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
7466 R,
7467 >,
7468 ) -> Self {
7469 match err {
7470 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7471 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7472 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7473 source: err.into(),
7474 }),
7475 }
7476 }
7477}
7478impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
7479 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
7480 match err {
7481 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
7482 Error::ColumnStatisticsTaskNotRunningException(inner)
7483 }
7484 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
7485 Error::ColumnStatisticsTaskStoppingException(inner)
7486 }
7487 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
7488 Error::EntityNotFoundException(inner)
7489 }
7490 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7491 Error::OperationTimeoutException(inner)
7492 }
7493 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7494 }
7495 }
7496}
7497impl<R>
7498 From<
7499 ::aws_smithy_runtime_api::client::result::SdkError<
7500 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7501 R,
7502 >,
7503 > for Error
7504where
7505 R: Send + Sync + std::fmt::Debug + 'static,
7506{
7507 fn from(
7508 err: ::aws_smithy_runtime_api::client::result::SdkError<
7509 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7510 R,
7511 >,
7512 ) -> Self {
7513 match err {
7514 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7515 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7516 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7517 source: err.into(),
7518 }),
7519 }
7520 }
7521}
7522impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
7523 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
7524 match err {
7525 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
7526 Error::EntityNotFoundException(inner)
7527 }
7528 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7529 Error::InvalidInputException(inner)
7530 }
7531 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7532 inner,
7533 ) => Error::OperationTimeoutException(inner),
7534 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7535 Error::Unhandled(inner)
7536 }
7537 }
7538 }
7539}
7540impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
7541where
7542 R: Send + Sync + std::fmt::Debug + 'static,
7543{
7544 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
7545 match err {
7546 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7547 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7548 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7549 source: err.into(),
7550 }),
7551 }
7552 }
7553}
7554impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
7555 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
7556 match err {
7557 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
7558 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
7559 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7560 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7561 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7562 }
7563 }
7564}
7565impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
7566where
7567 R: Send + Sync + std::fmt::Debug + 'static,
7568{
7569 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
7570 match err {
7571 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7572 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7573 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7574 source: err.into(),
7575 }),
7576 }
7577 }
7578}
7579impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
7580 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
7581 match err {
7582 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
7583 Error::EntityNotFoundException(inner)
7584 }
7585 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
7586 Error::OperationTimeoutException(inner)
7587 }
7588 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
7589 Error::SchedulerNotRunningException(inner)
7590 }
7591 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7592 Error::SchedulerTransitioningException(inner)
7593 }
7594 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7595 }
7596 }
7597}
7598impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
7599where
7600 R: Send + Sync + std::fmt::Debug + 'static,
7601{
7602 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
7603 match err {
7604 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7605 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7606 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7607 source: err.into(),
7608 }),
7609 }
7610 }
7611}
7612impl From<crate::operation::stop_session::StopSessionError> for Error {
7613 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
7614 match err {
7615 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7616 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7617 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7618 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7619 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7620 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7621 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
7622 }
7623 }
7624}
7625impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
7626where
7627 R: Send + Sync + std::fmt::Debug + 'static,
7628{
7629 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
7630 match err {
7631 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7632 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7633 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7634 source: err.into(),
7635 }),
7636 }
7637 }
7638}
7639impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
7640 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
7641 match err {
7642 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7643 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7644 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7645 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7646 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7647 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7648 }
7649 }
7650}
7651impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
7652where
7653 R: Send + Sync + std::fmt::Debug + 'static,
7654{
7655 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
7656 match err {
7657 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7658 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7659 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7660 source: err.into(),
7661 }),
7662 }
7663 }
7664}
7665impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
7666 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
7667 match err {
7668 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7669 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
7670 Error::IllegalWorkflowStateException(inner)
7671 }
7672 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7673 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7674 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7675 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7676 }
7677 }
7678}
7679impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
7680where
7681 R: Send + Sync + std::fmt::Debug + 'static,
7682{
7683 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
7684 match err {
7685 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7686 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7687 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7688 source: err.into(),
7689 }),
7690 }
7691 }
7692}
7693impl From<crate::operation::tag_resource::TagResourceError> for Error {
7694 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
7695 match err {
7696 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7697 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7698 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7699 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7700 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7701 }
7702 }
7703}
7704impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
7705where
7706 R: Send + Sync + std::fmt::Debug + 'static,
7707{
7708 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
7709 match err {
7710 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7711 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7712 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7713 source: err.into(),
7714 }),
7715 }
7716 }
7717}
7718impl From<crate::operation::test_connection::TestConnectionError> for Error {
7719 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
7720 match err {
7721 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7722 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
7723 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7724 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7725 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7726 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7727 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7728 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7729 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
7730 Error::ResourceNumberLimitExceededException(inner)
7731 }
7732 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7733 }
7734 }
7735}
7736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
7737where
7738 R: Send + Sync + std::fmt::Debug + 'static,
7739{
7740 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
7741 match err {
7742 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7743 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7744 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7745 source: err.into(),
7746 }),
7747 }
7748 }
7749}
7750impl From<crate::operation::untag_resource::UntagResourceError> for Error {
7751 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
7752 match err {
7753 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7754 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7755 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7756 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7757 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7758 }
7759 }
7760}
7761impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
7762where
7763 R: Send + Sync + std::fmt::Debug + 'static,
7764{
7765 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
7766 match err {
7767 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7768 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7769 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7770 source: err.into(),
7771 }),
7772 }
7773 }
7774}
7775impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
7776 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
7777 match err {
7778 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
7779 Error::ConcurrentModificationException(inner)
7780 }
7781 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7782 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
7783 Error::IllegalBlueprintStateException(inner)
7784 }
7785 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7786 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7787 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7788 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
7789 }
7790 }
7791}
7792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
7793where
7794 R: Send + Sync + std::fmt::Debug + 'static,
7795{
7796 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
7797 match err {
7798 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7799 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7800 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7801 source: err.into(),
7802 }),
7803 }
7804 }
7805}
7806impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
7807 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
7808 match err {
7809 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7810 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
7811 Error::ConcurrentModificationException(inner)
7812 }
7813 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7814 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7815 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7816 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7817 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7818 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7819 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
7820 }
7821 }
7822}
7823impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
7824where
7825 R: Send + Sync + std::fmt::Debug + 'static,
7826{
7827 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
7828 match err {
7829 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7830 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7831 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7832 source: err.into(),
7833 }),
7834 }
7835 }
7836}
7837impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
7838 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
7839 match err {
7840 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7841 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7842 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7843 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
7844 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
7845 }
7846 }
7847}
7848impl<R>
7849 From<
7850 ::aws_smithy_runtime_api::client::result::SdkError<
7851 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7852 R,
7853 >,
7854 > for Error
7855where
7856 R: Send + Sync + std::fmt::Debug + 'static,
7857{
7858 fn from(
7859 err: ::aws_smithy_runtime_api::client::result::SdkError<
7860 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
7861 R,
7862 >,
7863 ) -> Self {
7864 match err {
7865 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7866 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7867 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7868 source: err.into(),
7869 }),
7870 }
7871 }
7872}
7873impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
7874 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
7875 match err {
7876 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
7877 Error::EntityNotFoundException(inner)
7878 }
7879 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
7880 Error::GlueEncryptionException(inner)
7881 }
7882 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
7883 Error::InternalServiceException(inner)
7884 }
7885 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
7886 Error::InvalidInputException(inner)
7887 }
7888 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
7889 Error::OperationTimeoutException(inner)
7890 }
7891 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
7892 Error::Unhandled(inner)
7893 }
7894 }
7895 }
7896}
7897impl<R>
7898 From<
7899 ::aws_smithy_runtime_api::client::result::SdkError<
7900 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7901 R,
7902 >,
7903 > for Error
7904where
7905 R: Send + Sync + std::fmt::Debug + 'static,
7906{
7907 fn from(
7908 err: ::aws_smithy_runtime_api::client::result::SdkError<
7909 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
7910 R,
7911 >,
7912 ) -> Self {
7913 match err {
7914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7917 source: err.into(),
7918 }),
7919 }
7920 }
7921}
7922impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
7923 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
7924 match err {
7925 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
7926 Error::EntityNotFoundException(inner)
7927 }
7928 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
7929 Error::GlueEncryptionException(inner)
7930 }
7931 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
7932 Error::InternalServiceException(inner)
7933 }
7934 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
7935 Error::InvalidInputException(inner)
7936 }
7937 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
7938 Error::OperationTimeoutException(inner)
7939 }
7940 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
7941 }
7942 }
7943}
7944impl<R>
7945 From<
7946 ::aws_smithy_runtime_api::client::result::SdkError<
7947 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7948 R,
7949 >,
7950 > for Error
7951where
7952 R: Send + Sync + std::fmt::Debug + 'static,
7953{
7954 fn from(
7955 err: ::aws_smithy_runtime_api::client::result::SdkError<
7956 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
7957 R,
7958 >,
7959 ) -> Self {
7960 match err {
7961 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7962 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7963 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7964 source: err.into(),
7965 }),
7966 }
7967 }
7968}
7969impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
7970 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
7971 match err {
7972 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
7973 Error::AccessDeniedException(inner)
7974 }
7975 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
7976 Error::EntityNotFoundException(inner)
7977 }
7978 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
7979 Error::InvalidInputException(inner)
7980 }
7981 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
7982 Error::OperationTimeoutException(inner)
7983 }
7984 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
7985 Error::VersionMismatchException(inner)
7986 }
7987 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
7988 Error::Unhandled(inner)
7989 }
7990 }
7991 }
7992}
7993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
7994where
7995 R: Send + Sync + std::fmt::Debug + 'static,
7996{
7997 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
7998 match err {
7999 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8000 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8001 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8002 source: err.into(),
8003 }),
8004 }
8005 }
8006}
8007impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
8008 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
8009 match err {
8010 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8011 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8012 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8013 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8014 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
8015 }
8016 }
8017}
8018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
8019where
8020 R: Send + Sync + std::fmt::Debug + 'static,
8021{
8022 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
8023 match err {
8024 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8025 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8026 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8027 source: err.into(),
8028 }),
8029 }
8030 }
8031}
8032impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
8033 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
8034 match err {
8035 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
8036 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8037 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8038 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8039 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
8040 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
8041 }
8042 }
8043}
8044impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
8045where
8046 R: Send + Sync + std::fmt::Debug + 'static,
8047{
8048 fn from(
8049 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
8050 ) -> Self {
8051 match err {
8052 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8053 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8054 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8055 source: err.into(),
8056 }),
8057 }
8058 }
8059}
8060impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
8061 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
8062 match err {
8063 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
8064 Error::EntityNotFoundException(inner)
8065 }
8066 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
8067 Error::InvalidInputException(inner)
8068 }
8069 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
8070 Error::OperationTimeoutException(inner)
8071 }
8072 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
8073 Error::SchedulerTransitioningException(inner)
8074 }
8075 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
8076 Error::VersionMismatchException(inner)
8077 }
8078 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8079 }
8080 }
8081}
8082impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
8083where
8084 R: Send + Sync + std::fmt::Debug + 'static,
8085{
8086 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
8087 match err {
8088 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8089 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8090 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8091 source: err.into(),
8092 }),
8093 }
8094 }
8095}
8096impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
8097 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
8098 match err {
8099 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8100 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
8101 Error::ConcurrentModificationException(inner)
8102 }
8103 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8104 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8105 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
8106 Error::FederationSourceRetryableException(inner)
8107 }
8108 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8109 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8110 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8111 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8112 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
8113 }
8114 }
8115}
8116impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
8117 for Error
8118where
8119 R: Send + Sync + std::fmt::Debug + 'static,
8120{
8121 fn from(
8122 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
8123 ) -> Self {
8124 match err {
8125 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8126 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8127 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8128 source: err.into(),
8129 }),
8130 }
8131 }
8132}
8133impl From<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
8134 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
8135 match err {
8136 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
8137 Error::AlreadyExistsException(inner)
8138 }
8139 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
8140 Error::EntityNotFoundException(inner)
8141 }
8142 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
8143 Error::IdempotentParameterMismatchException(inner)
8144 }
8145 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
8146 Error::InternalServiceException(inner)
8147 }
8148 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
8149 Error::InvalidInputException(inner)
8150 }
8151 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
8152 Error::OperationTimeoutException(inner)
8153 }
8154 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
8155 Error::ResourceNumberLimitExceededException(inner)
8156 }
8157 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
8158 }
8159 }
8160}
8161impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
8162where
8163 R: Send + Sync + std::fmt::Debug + 'static,
8164{
8165 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
8166 match err {
8167 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8168 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8169 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8170 source: err.into(),
8171 }),
8172 }
8173 }
8174}
8175impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
8176 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
8177 match err {
8178 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8179 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8180 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8181 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
8182 Error::OperationTimeoutException(inner)
8183 }
8184 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
8185 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8186 }
8187 }
8188}
8189impl<R>
8190 From<
8191 ::aws_smithy_runtime_api::client::result::SdkError<
8192 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8193 R,
8194 >,
8195 > for Error
8196where
8197 R: Send + Sync + std::fmt::Debug + 'static,
8198{
8199 fn from(
8200 err: ::aws_smithy_runtime_api::client::result::SdkError<
8201 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8202 R,
8203 >,
8204 ) -> Self {
8205 match err {
8206 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8207 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8208 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8209 source: err.into(),
8210 }),
8211 }
8212 }
8213}
8214impl From<crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError> for Error {
8215 fn from(err: crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError) -> Self {
8216 match err {
8217 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8218 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8219 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8220 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8221 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8222 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8223 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
8224 }
8225 }
8226}
8227impl<R>
8228 From<
8229 ::aws_smithy_runtime_api::client::result::SdkError<
8230 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8231 R,
8232 >,
8233 > for Error
8234where
8235 R: Send + Sync + std::fmt::Debug + 'static,
8236{
8237 fn from(
8238 err: ::aws_smithy_runtime_api::client::result::SdkError<
8239 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8240 R,
8241 >,
8242 ) -> Self {
8243 match err {
8244 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8245 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8246 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8247 source: err.into(),
8248 }),
8249 }
8250 }
8251}
8252impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
8253 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
8254 match err {
8255 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
8256 Error::AccessDeniedException(inner)
8257 }
8258 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
8259 Error::EntityNotFoundException(inner)
8260 }
8261 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
8262 Error::InternalServerException(inner)
8263 }
8264 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
8265 Error::InternalServiceException(inner)
8266 }
8267 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
8268 Error::InvalidInputException(inner)
8269 }
8270 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
8271 Error::ResourceNotFoundException(inner)
8272 }
8273 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
8274 Error::ValidationException(inner)
8275 }
8276 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
8277 Error::Unhandled(inner)
8278 }
8279 }
8280 }
8281}
8282impl<R>
8283 From<
8284 ::aws_smithy_runtime_api::client::result::SdkError<
8285 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8286 R,
8287 >,
8288 > for Error
8289where
8290 R: Send + Sync + std::fmt::Debug + 'static,
8291{
8292 fn from(
8293 err: ::aws_smithy_runtime_api::client::result::SdkError<
8294 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8295 R,
8296 >,
8297 ) -> Self {
8298 match err {
8299 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8300 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8301 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8302 source: err.into(),
8303 }),
8304 }
8305 }
8306}
8307impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
8308 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
8309 match err {
8310 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
8311 Error::AccessDeniedException(inner)
8312 }
8313 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
8314 Error::EntityNotFoundException(inner)
8315 }
8316 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
8317 Error::InternalServerException(inner)
8318 }
8319 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
8320 Error::InternalServiceException(inner)
8321 }
8322 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
8323 Error::InvalidInputException(inner)
8324 }
8325 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
8326 Error::ResourceNotFoundException(inner)
8327 }
8328 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
8329 Error::ValidationException(inner)
8330 }
8331 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
8332 }
8333 }
8334}
8335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
8336where
8337 R: Send + Sync + std::fmt::Debug + 'static,
8338{
8339 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
8340 match err {
8341 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8342 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8343 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8344 source: err.into(),
8345 }),
8346 }
8347 }
8348}
8349impl From<crate::operation::update_job::UpdateJobError> for Error {
8350 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
8351 match err {
8352 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8353 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8354 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8355 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8356 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8357 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
8358 }
8359 }
8360}
8361impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
8362 for Error
8363where
8364 R: Send + Sync + std::fmt::Debug + 'static,
8365{
8366 fn from(
8367 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
8368 ) -> Self {
8369 match err {
8370 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8371 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8372 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8373 source: err.into(),
8374 }),
8375 }
8376 }
8377}
8378impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
8379 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
8380 match err {
8381 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
8382 Error::AccessDeniedException(inner)
8383 }
8384 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
8385 Error::AlreadyExistsException(inner)
8386 }
8387 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
8388 Error::EntityNotFoundException(inner)
8389 }
8390 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
8391 Error::InternalServiceException(inner)
8392 }
8393 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
8394 Error::InvalidInputException(inner)
8395 }
8396 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
8397 Error::OperationTimeoutException(inner)
8398 }
8399 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
8400 Error::ValidationException(inner)
8401 }
8402 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
8403 }
8404 }
8405}
8406impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
8407where
8408 R: Send + Sync + std::fmt::Debug + 'static,
8409{
8410 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
8411 match err {
8412 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8413 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8414 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8415 source: err.into(),
8416 }),
8417 }
8418 }
8419}
8420impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
8421 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
8422 match err {
8423 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8424 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8425 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8426 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8427 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
8428 Error::OperationTimeoutException(inner)
8429 }
8430 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
8431 }
8432 }
8433}
8434impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
8435where
8436 R: Send + Sync + std::fmt::Debug + 'static,
8437{
8438 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
8439 match err {
8440 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8441 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8442 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8443 source: err.into(),
8444 }),
8445 }
8446 }
8447}
8448impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
8449 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
8450 match err {
8451 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8452 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8453 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8454 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8455 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8456 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
8457 }
8458 }
8459}
8460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
8461where
8462 R: Send + Sync + std::fmt::Debug + 'static,
8463{
8464 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
8465 match err {
8466 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8467 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8468 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8469 source: err.into(),
8470 }),
8471 }
8472 }
8473}
8474impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
8475 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
8476 match err {
8477 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8478 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
8479 Error::ConcurrentModificationException(inner)
8480 }
8481 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8482 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8483 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8484 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
8485 }
8486 }
8487}
8488impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
8489where
8490 R: Send + Sync + std::fmt::Debug + 'static,
8491{
8492 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
8493 match err {
8494 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8495 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8496 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8497 source: err.into(),
8498 }),
8499 }
8500 }
8501}
8502impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
8503 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
8504 match err {
8505 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8506 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
8507 Error::ConcurrentModificationException(inner)
8508 }
8509 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8510 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8511 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8512 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
8513 }
8514 }
8515}
8516impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
8517 for Error
8518where
8519 R: Send + Sync + std::fmt::Debug + 'static,
8520{
8521 fn from(
8522 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
8523 ) -> Self {
8524 match err {
8525 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8526 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8527 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8528 source: err.into(),
8529 }),
8530 }
8531 }
8532}
8533impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
8534 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
8535 match err {
8536 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
8537 Error::AccessDeniedException(inner)
8538 }
8539 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
8540 Error::AlreadyExistsException(inner)
8541 }
8542 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
8543 Error::EntityNotFoundException(inner)
8544 }
8545 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
8546 Error::InternalServiceException(inner)
8547 }
8548 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
8549 Error::InvalidInputException(inner)
8550 }
8551 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
8552 Error::OperationTimeoutException(inner)
8553 }
8554 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
8555 Error::ValidationException(inner)
8556 }
8557 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
8558 }
8559 }
8560}
8561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
8562where
8563 R: Send + Sync + std::fmt::Debug + 'static,
8564{
8565 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
8566 match err {
8567 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8568 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8569 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8570 source: err.into(),
8571 }),
8572 }
8573 }
8574}
8575impl From<crate::operation::update_table::UpdateTableError> for Error {
8576 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
8577 match err {
8578 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8579 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8580 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8581 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8582 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
8583 Error::FederationSourceRetryableException(inner)
8584 }
8585 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8586 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8587 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8588 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8589 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
8590 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
8591 Error::ResourceNumberLimitExceededException(inner)
8592 }
8593 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
8594 }
8595 }
8596}
8597impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
8598where
8599 R: Send + Sync + std::fmt::Debug + 'static,
8600{
8601 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
8602 match err {
8603 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8604 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8605 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8606 source: err.into(),
8607 }),
8608 }
8609 }
8610}
8611impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
8612 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
8613 match err {
8614 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8615 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
8616 Error::ConcurrentModificationException(inner)
8617 }
8618 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
8619 Error::EntityNotFoundException(inner)
8620 }
8621 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
8622 Error::InternalServiceException(inner)
8623 }
8624 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8625 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8626 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
8627 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
8628 }
8629 }
8630}
8631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
8632where
8633 R: Send + Sync + std::fmt::Debug + 'static,
8634{
8635 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
8636 match err {
8637 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8638 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8639 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8640 source: err.into(),
8641 }),
8642 }
8643 }
8644}
8645impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
8646 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
8647 match err {
8648 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
8649 Error::ConcurrentModificationException(inner)
8650 }
8651 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8652 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8653 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8654 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8655 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8656 }
8657 }
8658}
8659impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
8660where
8661 R: Send + Sync + std::fmt::Debug + 'static,
8662{
8663 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
8664 match err {
8665 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8666 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8667 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8668 source: err.into(),
8669 }),
8670 }
8671 }
8672}
8673impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
8674 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
8675 match err {
8676 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
8677 Error::ConcurrentModificationException(inner)
8678 }
8679 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8680 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
8681 Error::InternalServiceException(inner)
8682 }
8683 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8684 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
8685 Error::OperationNotSupportedException(inner)
8686 }
8687 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
8688 Error::OperationTimeoutException(inner)
8689 }
8690 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
8691 }
8692 }
8693}
8694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
8695 for Error
8696where
8697 R: Send + Sync + std::fmt::Debug + 'static,
8698{
8699 fn from(
8700 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
8701 ) -> Self {
8702 match err {
8703 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8704 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8705 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8706 source: err.into(),
8707 }),
8708 }
8709 }
8710}
8711impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
8712 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
8713 match err {
8714 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
8715 Error::EntityNotFoundException(inner)
8716 }
8717 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
8718 Error::GlueEncryptionException(inner)
8719 }
8720 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
8721 Error::InternalServiceException(inner)
8722 }
8723 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
8724 Error::InvalidInputException(inner)
8725 }
8726 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
8727 Error::OperationTimeoutException(inner)
8728 }
8729 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
8730 }
8731 }
8732}
8733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
8734where
8735 R: Send + Sync + std::fmt::Debug + 'static,
8736{
8737 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
8738 match err {
8739 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8740 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8741 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8742 source: err.into(),
8743 }),
8744 }
8745 }
8746}
8747impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
8748 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
8749 match err {
8750 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
8751 Error::ConcurrentModificationException(inner)
8752 }
8753 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8754 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8755 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8756 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8757 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
8758 }
8759 }
8760}
8761impl ::std::error::Error for Error {
8762 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
8763 match self {
8764 Error::AccessDeniedException(inner) => inner.source(),
8765 Error::AlreadyExistsException(inner) => inner.source(),
8766 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
8767 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
8768 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
8769 Error::ConcurrentModificationException(inner) => inner.source(),
8770 Error::ConcurrentRunsExceededException(inner) => inner.source(),
8771 Error::ConditionCheckFailureException(inner) => inner.source(),
8772 Error::ConflictException(inner) => inner.source(),
8773 Error::CrawlerNotRunningException(inner) => inner.source(),
8774 Error::CrawlerRunningException(inner) => inner.source(),
8775 Error::CrawlerStoppingException(inner) => inner.source(),
8776 Error::EntityNotFoundException(inner) => inner.source(),
8777 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
8778 Error::FederationSourceException(inner) => inner.source(),
8779 Error::FederationSourceRetryableException(inner) => inner.source(),
8780 Error::GlueEncryptionException(inner) => inner.source(),
8781 Error::IdempotentParameterMismatchException(inner) => inner.source(),
8782 Error::IllegalBlueprintStateException(inner) => inner.source(),
8783 Error::IllegalSessionStateException(inner) => inner.source(),
8784 Error::IllegalWorkflowStateException(inner) => inner.source(),
8785 Error::IntegrationConflictOperationFault(inner) => inner.source(),
8786 Error::IntegrationNotFoundFault(inner) => inner.source(),
8787 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
8788 Error::InternalServerException(inner) => inner.source(),
8789 Error::InternalServiceException(inner) => inner.source(),
8790 Error::InvalidInputException(inner) => inner.source(),
8791 Error::InvalidIntegrationStateFault(inner) => inner.source(),
8792 Error::InvalidStateException(inner) => inner.source(),
8793 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
8794 Error::MlTransformNotReadyException(inner) => inner.source(),
8795 Error::NoScheduleException(inner) => inner.source(),
8796 Error::OperationNotSupportedException(inner) => inner.source(),
8797 Error::OperationTimeoutException(inner) => inner.source(),
8798 Error::PermissionTypeMismatchException(inner) => inner.source(),
8799 Error::ResourceNotFoundException(inner) => inner.source(),
8800 Error::ResourceNotReadyException(inner) => inner.source(),
8801 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
8802 Error::SchedulerNotRunningException(inner) => inner.source(),
8803 Error::SchedulerRunningException(inner) => inner.source(),
8804 Error::SchedulerTransitioningException(inner) => inner.source(),
8805 Error::TargetResourceNotFound(inner) => inner.source(),
8806 Error::ThrottlingException(inner) => inner.source(),
8807 Error::ValidationException(inner) => inner.source(),
8808 Error::VersionMismatchException(inner) => inner.source(),
8809 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
8810 }
8811 }
8812}
8813impl ::aws_types::request_id::RequestId for Error {
8814 fn request_id(&self) -> Option<&str> {
8815 match self {
8816 Self::AccessDeniedException(e) => e.request_id(),
8817 Self::AlreadyExistsException(e) => e.request_id(),
8818 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
8819 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
8820 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
8821 Self::ConcurrentModificationException(e) => e.request_id(),
8822 Self::ConcurrentRunsExceededException(e) => e.request_id(),
8823 Self::ConditionCheckFailureException(e) => e.request_id(),
8824 Self::ConflictException(e) => e.request_id(),
8825 Self::CrawlerNotRunningException(e) => e.request_id(),
8826 Self::CrawlerRunningException(e) => e.request_id(),
8827 Self::CrawlerStoppingException(e) => e.request_id(),
8828 Self::EntityNotFoundException(e) => e.request_id(),
8829 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
8830 Self::FederationSourceException(e) => e.request_id(),
8831 Self::FederationSourceRetryableException(e) => e.request_id(),
8832 Self::GlueEncryptionException(e) => e.request_id(),
8833 Self::IdempotentParameterMismatchException(e) => e.request_id(),
8834 Self::IllegalBlueprintStateException(e) => e.request_id(),
8835 Self::IllegalSessionStateException(e) => e.request_id(),
8836 Self::IllegalWorkflowStateException(e) => e.request_id(),
8837 Self::IntegrationConflictOperationFault(e) => e.request_id(),
8838 Self::IntegrationNotFoundFault(e) => e.request_id(),
8839 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
8840 Self::InternalServerException(e) => e.request_id(),
8841 Self::InternalServiceException(e) => e.request_id(),
8842 Self::InvalidInputException(e) => e.request_id(),
8843 Self::InvalidIntegrationStateFault(e) => e.request_id(),
8844 Self::InvalidStateException(e) => e.request_id(),
8845 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
8846 Self::MlTransformNotReadyException(e) => e.request_id(),
8847 Self::NoScheduleException(e) => e.request_id(),
8848 Self::OperationNotSupportedException(e) => e.request_id(),
8849 Self::OperationTimeoutException(e) => e.request_id(),
8850 Self::PermissionTypeMismatchException(e) => e.request_id(),
8851 Self::ResourceNotFoundException(e) => e.request_id(),
8852 Self::ResourceNotReadyException(e) => e.request_id(),
8853 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
8854 Self::SchedulerNotRunningException(e) => e.request_id(),
8855 Self::SchedulerRunningException(e) => e.request_id(),
8856 Self::SchedulerTransitioningException(e) => e.request_id(),
8857 Self::TargetResourceNotFound(e) => e.request_id(),
8858 Self::ThrottlingException(e) => e.request_id(),
8859 Self::ValidationException(e) => e.request_id(),
8860 Self::VersionMismatchException(e) => e.request_id(),
8861 Self::Unhandled(e) => e.meta.request_id(),
8862 }
8863 }
8864}