1#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6 AccessDeniedException(crate::types::error::AccessDeniedException),
8 AlreadyExistsException(crate::types::error::AlreadyExistsException),
10 ColumnStatisticsTaskNotRunningException(crate::types::error::ColumnStatisticsTaskNotRunningException),
12 ColumnStatisticsTaskRunningException(crate::types::error::ColumnStatisticsTaskRunningException),
14 ColumnStatisticsTaskStoppingException(crate::types::error::ColumnStatisticsTaskStoppingException),
16 ConcurrentModificationException(crate::types::error::ConcurrentModificationException),
18 ConcurrentRunsExceededException(crate::types::error::ConcurrentRunsExceededException),
20 ConditionCheckFailureException(crate::types::error::ConditionCheckFailureException),
22 ConflictException(crate::types::error::ConflictException),
24 CrawlerNotRunningException(crate::types::error::CrawlerNotRunningException),
26 CrawlerRunningException(crate::types::error::CrawlerRunningException),
28 CrawlerStoppingException(crate::types::error::CrawlerStoppingException),
30 EntityNotFoundException(crate::types::error::EntityNotFoundException),
32 FederatedResourceAlreadyExistsException(crate::types::error::FederatedResourceAlreadyExistsException),
34 FederationSourceException(crate::types::error::FederationSourceException),
36 FederationSourceRetryableException(crate::types::error::FederationSourceRetryableException),
38 GlueEncryptionException(crate::types::error::GlueEncryptionException),
40 IdempotentParameterMismatchException(crate::types::error::IdempotentParameterMismatchException),
42 IllegalBlueprintStateException(crate::types::error::IllegalBlueprintStateException),
44 IllegalSessionStateException(crate::types::error::IllegalSessionStateException),
46 IllegalWorkflowStateException(crate::types::error::IllegalWorkflowStateException),
48 IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault),
50 IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault),
52 IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault),
54 InternalServerException(crate::types::error::InternalServerException),
56 InternalServiceException(crate::types::error::InternalServiceException),
58 InvalidInputException(crate::types::error::InvalidInputException),
60 InvalidIntegrationStateFault(crate::types::error::InvalidIntegrationStateFault),
62 InvalidStateException(crate::types::error::InvalidStateException),
64 KmsKeyNotAccessibleFault(crate::types::error::KmsKeyNotAccessibleFault),
66 MlTransformNotReadyException(crate::types::error::MlTransformNotReadyException),
68 MaterializedViewRefreshTaskNotRunningException(crate::types::error::MaterializedViewRefreshTaskNotRunningException),
70 MaterializedViewRefreshTaskRunningException(crate::types::error::MaterializedViewRefreshTaskRunningException),
72 MaterializedViewRefreshTaskStoppingException(crate::types::error::MaterializedViewRefreshTaskStoppingException),
74 NoScheduleException(crate::types::error::NoScheduleException),
76 OperationNotSupportedException(crate::types::error::OperationNotSupportedException),
78 OperationTimeoutException(crate::types::error::OperationTimeoutException),
80 PermissionTypeMismatchException(crate::types::error::PermissionTypeMismatchException),
82 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
84 ResourceNotReadyException(crate::types::error::ResourceNotReadyException),
86 ResourceNumberLimitExceededException(crate::types::error::ResourceNumberLimitExceededException),
88 SchedulerNotRunningException(crate::types::error::SchedulerNotRunningException),
90 SchedulerRunningException(crate::types::error::SchedulerRunningException),
92 SchedulerTransitioningException(crate::types::error::SchedulerTransitioningException),
94 TargetResourceNotFound(crate::types::error::TargetResourceNotFound),
96 ThrottlingException(crate::types::error::ThrottlingException),
98 ValidationException(crate::types::error::ValidationException),
100 VersionMismatchException(crate::types::error::VersionMismatchException),
102 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
104 variable wildcard pattern and check `.code()`:
105 \
106 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
107 \
108 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
109 Unhandled(crate::error::sealed_unhandled::Unhandled),
110}
111impl ::std::fmt::Display for Error {
112 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
113 match self {
114 Error::AccessDeniedException(inner) => inner.fmt(f),
115 Error::AlreadyExistsException(inner) => inner.fmt(f),
116 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.fmt(f),
117 Error::ColumnStatisticsTaskRunningException(inner) => inner.fmt(f),
118 Error::ColumnStatisticsTaskStoppingException(inner) => inner.fmt(f),
119 Error::ConcurrentModificationException(inner) => inner.fmt(f),
120 Error::ConcurrentRunsExceededException(inner) => inner.fmt(f),
121 Error::ConditionCheckFailureException(inner) => inner.fmt(f),
122 Error::ConflictException(inner) => inner.fmt(f),
123 Error::CrawlerNotRunningException(inner) => inner.fmt(f),
124 Error::CrawlerRunningException(inner) => inner.fmt(f),
125 Error::CrawlerStoppingException(inner) => inner.fmt(f),
126 Error::EntityNotFoundException(inner) => inner.fmt(f),
127 Error::FederatedResourceAlreadyExistsException(inner) => inner.fmt(f),
128 Error::FederationSourceException(inner) => inner.fmt(f),
129 Error::FederationSourceRetryableException(inner) => inner.fmt(f),
130 Error::GlueEncryptionException(inner) => inner.fmt(f),
131 Error::IdempotentParameterMismatchException(inner) => inner.fmt(f),
132 Error::IllegalBlueprintStateException(inner) => inner.fmt(f),
133 Error::IllegalSessionStateException(inner) => inner.fmt(f),
134 Error::IllegalWorkflowStateException(inner) => inner.fmt(f),
135 Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
136 Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
137 Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
138 Error::InternalServerException(inner) => inner.fmt(f),
139 Error::InternalServiceException(inner) => inner.fmt(f),
140 Error::InvalidInputException(inner) => inner.fmt(f),
141 Error::InvalidIntegrationStateFault(inner) => inner.fmt(f),
142 Error::InvalidStateException(inner) => inner.fmt(f),
143 Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
144 Error::MlTransformNotReadyException(inner) => inner.fmt(f),
145 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.fmt(f),
146 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.fmt(f),
147 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.fmt(f),
148 Error::NoScheduleException(inner) => inner.fmt(f),
149 Error::OperationNotSupportedException(inner) => inner.fmt(f),
150 Error::OperationTimeoutException(inner) => inner.fmt(f),
151 Error::PermissionTypeMismatchException(inner) => inner.fmt(f),
152 Error::ResourceNotFoundException(inner) => inner.fmt(f),
153 Error::ResourceNotReadyException(inner) => inner.fmt(f),
154 Error::ResourceNumberLimitExceededException(inner) => inner.fmt(f),
155 Error::SchedulerNotRunningException(inner) => inner.fmt(f),
156 Error::SchedulerRunningException(inner) => inner.fmt(f),
157 Error::SchedulerTransitioningException(inner) => inner.fmt(f),
158 Error::TargetResourceNotFound(inner) => inner.fmt(f),
159 Error::ThrottlingException(inner) => inner.fmt(f),
160 Error::ValidationException(inner) => inner.fmt(f),
161 Error::VersionMismatchException(inner) => inner.fmt(f),
162 Error::Unhandled(_) => {
163 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
164 write!(f, "unhandled error ({code})")
165 } else {
166 f.write_str("unhandled error")
167 }
168 }
169 }
170 }
171}
172impl From<::aws_smithy_types::error::operation::BuildError> for Error {
173 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
174 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
175 source: value.into(),
176 meta: ::std::default::Default::default(),
177 })
178 }
179}
180impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
181 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
182 match self {
183 Self::AccessDeniedException(inner) => inner.meta(),
184 Self::AlreadyExistsException(inner) => inner.meta(),
185 Self::ColumnStatisticsTaskNotRunningException(inner) => inner.meta(),
186 Self::ColumnStatisticsTaskRunningException(inner) => inner.meta(),
187 Self::ColumnStatisticsTaskStoppingException(inner) => inner.meta(),
188 Self::ConcurrentModificationException(inner) => inner.meta(),
189 Self::ConcurrentRunsExceededException(inner) => inner.meta(),
190 Self::ConditionCheckFailureException(inner) => inner.meta(),
191 Self::ConflictException(inner) => inner.meta(),
192 Self::CrawlerNotRunningException(inner) => inner.meta(),
193 Self::CrawlerRunningException(inner) => inner.meta(),
194 Self::CrawlerStoppingException(inner) => inner.meta(),
195 Self::EntityNotFoundException(inner) => inner.meta(),
196 Self::FederatedResourceAlreadyExistsException(inner) => inner.meta(),
197 Self::FederationSourceException(inner) => inner.meta(),
198 Self::FederationSourceRetryableException(inner) => inner.meta(),
199 Self::GlueEncryptionException(inner) => inner.meta(),
200 Self::IdempotentParameterMismatchException(inner) => inner.meta(),
201 Self::IllegalBlueprintStateException(inner) => inner.meta(),
202 Self::IllegalSessionStateException(inner) => inner.meta(),
203 Self::IllegalWorkflowStateException(inner) => inner.meta(),
204 Self::IntegrationConflictOperationFault(inner) => inner.meta(),
205 Self::IntegrationNotFoundFault(inner) => inner.meta(),
206 Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
207 Self::InternalServerException(inner) => inner.meta(),
208 Self::InternalServiceException(inner) => inner.meta(),
209 Self::InvalidInputException(inner) => inner.meta(),
210 Self::InvalidIntegrationStateFault(inner) => inner.meta(),
211 Self::InvalidStateException(inner) => inner.meta(),
212 Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
213 Self::MlTransformNotReadyException(inner) => inner.meta(),
214 Self::MaterializedViewRefreshTaskNotRunningException(inner) => inner.meta(),
215 Self::MaterializedViewRefreshTaskRunningException(inner) => inner.meta(),
216 Self::MaterializedViewRefreshTaskStoppingException(inner) => inner.meta(),
217 Self::NoScheduleException(inner) => inner.meta(),
218 Self::OperationNotSupportedException(inner) => inner.meta(),
219 Self::OperationTimeoutException(inner) => inner.meta(),
220 Self::PermissionTypeMismatchException(inner) => inner.meta(),
221 Self::ResourceNotFoundException(inner) => inner.meta(),
222 Self::ResourceNotReadyException(inner) => inner.meta(),
223 Self::ResourceNumberLimitExceededException(inner) => inner.meta(),
224 Self::SchedulerNotRunningException(inner) => inner.meta(),
225 Self::SchedulerRunningException(inner) => inner.meta(),
226 Self::SchedulerTransitioningException(inner) => inner.meta(),
227 Self::TargetResourceNotFound(inner) => inner.meta(),
228 Self::ThrottlingException(inner) => inner.meta(),
229 Self::ValidationException(inner) => inner.meta(),
230 Self::VersionMismatchException(inner) => inner.meta(),
231 Self::Unhandled(inner) => &inner.meta,
232 }
233 }
234}
235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>> for Error
236where
237 R: Send + Sync + std::fmt::Debug + 'static,
238{
239 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>) -> Self {
240 match err {
241 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
242 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
243 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
244 source: err.into(),
245 }),
246 }
247 }
248}
249impl From<crate::operation::batch_create_partition::BatchCreatePartitionError> for Error {
250 fn from(err: crate::operation::batch_create_partition::BatchCreatePartitionError) -> Self {
251 match err {
252 crate::operation::batch_create_partition::BatchCreatePartitionError::AlreadyExistsException(inner) => {
253 Error::AlreadyExistsException(inner)
254 }
255 crate::operation::batch_create_partition::BatchCreatePartitionError::EntityNotFoundException(inner) => {
256 Error::EntityNotFoundException(inner)
257 }
258 crate::operation::batch_create_partition::BatchCreatePartitionError::GlueEncryptionException(inner) => {
259 Error::GlueEncryptionException(inner)
260 }
261 crate::operation::batch_create_partition::BatchCreatePartitionError::InternalServiceException(inner) => {
262 Error::InternalServiceException(inner)
263 }
264 crate::operation::batch_create_partition::BatchCreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
265 crate::operation::batch_create_partition::BatchCreatePartitionError::OperationTimeoutException(inner) => {
266 Error::OperationTimeoutException(inner)
267 }
268 crate::operation::batch_create_partition::BatchCreatePartitionError::ResourceNumberLimitExceededException(inner) => {
269 Error::ResourceNumberLimitExceededException(inner)
270 }
271 crate::operation::batch_create_partition::BatchCreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
272 }
273 }
274}
275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>> for Error
276where
277 R: Send + Sync + std::fmt::Debug + 'static,
278{
279 fn from(
280 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>,
281 ) -> Self {
282 match err {
283 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
284 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
285 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
286 source: err.into(),
287 }),
288 }
289 }
290}
291impl From<crate::operation::batch_delete_connection::BatchDeleteConnectionError> for Error {
292 fn from(err: crate::operation::batch_delete_connection::BatchDeleteConnectionError) -> Self {
293 match err {
294 crate::operation::batch_delete_connection::BatchDeleteConnectionError::InternalServiceException(inner) => {
295 Error::InternalServiceException(inner)
296 }
297 crate::operation::batch_delete_connection::BatchDeleteConnectionError::OperationTimeoutException(inner) => {
298 Error::OperationTimeoutException(inner)
299 }
300 crate::operation::batch_delete_connection::BatchDeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
301 }
302 }
303}
304impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>> for Error
305where
306 R: Send + Sync + std::fmt::Debug + 'static,
307{
308 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>) -> Self {
309 match err {
310 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
311 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
312 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
313 source: err.into(),
314 }),
315 }
316 }
317}
318impl From<crate::operation::batch_delete_partition::BatchDeletePartitionError> for Error {
319 fn from(err: crate::operation::batch_delete_partition::BatchDeletePartitionError) -> Self {
320 match err {
321 crate::operation::batch_delete_partition::BatchDeletePartitionError::EntityNotFoundException(inner) => {
322 Error::EntityNotFoundException(inner)
323 }
324 crate::operation::batch_delete_partition::BatchDeletePartitionError::InternalServiceException(inner) => {
325 Error::InternalServiceException(inner)
326 }
327 crate::operation::batch_delete_partition::BatchDeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
328 crate::operation::batch_delete_partition::BatchDeletePartitionError::OperationTimeoutException(inner) => {
329 Error::OperationTimeoutException(inner)
330 }
331 crate::operation::batch_delete_partition::BatchDeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
332 }
333 }
334}
335impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>> for Error
336where
337 R: Send + Sync + std::fmt::Debug + 'static,
338{
339 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>) -> Self {
340 match err {
341 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
342 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
343 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
344 source: err.into(),
345 }),
346 }
347 }
348}
349impl From<crate::operation::batch_delete_table::BatchDeleteTableError> for Error {
350 fn from(err: crate::operation::batch_delete_table::BatchDeleteTableError) -> Self {
351 match err {
352 crate::operation::batch_delete_table::BatchDeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
353 crate::operation::batch_delete_table::BatchDeleteTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
354 crate::operation::batch_delete_table::BatchDeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
355 crate::operation::batch_delete_table::BatchDeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
356 crate::operation::batch_delete_table::BatchDeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
357 crate::operation::batch_delete_table::BatchDeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
358 crate::operation::batch_delete_table::BatchDeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
359 }
360 }
361}
362impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>>
363 for Error
364where
365 R: Send + Sync + std::fmt::Debug + 'static,
366{
367 fn from(
368 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>,
369 ) -> Self {
370 match err {
371 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
372 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
373 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
374 source: err.into(),
375 }),
376 }
377 }
378}
379impl From<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError> for Error {
380 fn from(err: crate::operation::batch_delete_table_version::BatchDeleteTableVersionError) -> Self {
381 match err {
382 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::EntityNotFoundException(inner) => {
383 Error::EntityNotFoundException(inner)
384 }
385 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InternalServiceException(inner) => {
386 Error::InternalServiceException(inner)
387 }
388 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InvalidInputException(inner) => {
389 Error::InvalidInputException(inner)
390 }
391 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::OperationTimeoutException(inner) => {
392 Error::OperationTimeoutException(inner)
393 }
394 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
395 }
396 }
397}
398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>> for Error
399where
400 R: Send + Sync + std::fmt::Debug + 'static,
401{
402 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>) -> Self {
403 match err {
404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
407 source: err.into(),
408 }),
409 }
410 }
411}
412impl From<crate::operation::batch_get_blueprints::BatchGetBlueprintsError> for Error {
413 fn from(err: crate::operation::batch_get_blueprints::BatchGetBlueprintsError) -> Self {
414 match err {
415 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InternalServiceException(inner) => {
416 Error::InternalServiceException(inner)
417 }
418 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
419 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::OperationTimeoutException(inner) => {
420 Error::OperationTimeoutException(inner)
421 }
422 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
423 }
424 }
425}
426impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>> for Error
427where
428 R: Send + Sync + std::fmt::Debug + 'static,
429{
430 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>) -> Self {
431 match err {
432 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
433 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
434 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
435 source: err.into(),
436 }),
437 }
438 }
439}
440impl From<crate::operation::batch_get_crawlers::BatchGetCrawlersError> for Error {
441 fn from(err: crate::operation::batch_get_crawlers::BatchGetCrawlersError) -> Self {
442 match err {
443 crate::operation::batch_get_crawlers::BatchGetCrawlersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
444 crate::operation::batch_get_crawlers::BatchGetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
445 crate::operation::batch_get_crawlers::BatchGetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
446 }
447 }
448}
449impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>>
450 for Error
451where
452 R: Send + Sync + std::fmt::Debug + 'static,
453{
454 fn from(
455 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>,
456 ) -> Self {
457 match err {
458 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
459 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
460 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
461 source: err.into(),
462 }),
463 }
464 }
465}
466impl From<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError> for Error {
467 fn from(err: crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError) -> Self {
468 match err {
469 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InternalServiceException(inner) => {
470 Error::InternalServiceException(inner)
471 }
472 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InvalidInputException(inner) => {
473 Error::InvalidInputException(inner)
474 }
475 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::OperationTimeoutException(inner) => {
476 Error::OperationTimeoutException(inner)
477 }
478 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
479 }
480 }
481}
482impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>>
483 for Error
484where
485 R: Send + Sync + std::fmt::Debug + 'static,
486{
487 fn from(
488 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>,
489 ) -> Self {
490 match err {
491 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
492 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
493 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
494 source: err.into(),
495 }),
496 }
497 }
498}
499impl From<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError> for Error {
500 fn from(err: crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError) -> Self {
501 match err {
502 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InternalServiceException(inner) => {
503 Error::InternalServiceException(inner)
504 }
505 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InvalidInputException(inner) => {
506 Error::InvalidInputException(inner)
507 }
508 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::OperationTimeoutException(inner) => {
509 Error::OperationTimeoutException(inner)
510 }
511 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
512 }
513 }
514}
515impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>> for Error
516where
517 R: Send + Sync + std::fmt::Debug + 'static,
518{
519 fn from(
520 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>,
521 ) -> Self {
522 match err {
523 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
524 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
525 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
526 source: err.into(),
527 }),
528 }
529 }
530}
531impl From<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError> for Error {
532 fn from(err: crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError) -> Self {
533 match err {
534 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
535 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InternalServiceException(inner) => {
536 Error::InternalServiceException(inner)
537 }
538 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
539 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::OperationTimeoutException(inner) => {
540 Error::OperationTimeoutException(inner)
541 }
542 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
543 }
544 }
545}
546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>> for Error
547where
548 R: Send + Sync + std::fmt::Debug + 'static,
549{
550 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>) -> Self {
551 match err {
552 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
553 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
554 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
555 source: err.into(),
556 }),
557 }
558 }
559}
560impl From<crate::operation::batch_get_jobs::BatchGetJobsError> for Error {
561 fn from(err: crate::operation::batch_get_jobs::BatchGetJobsError) -> Self {
562 match err {
563 crate::operation::batch_get_jobs::BatchGetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
564 crate::operation::batch_get_jobs::BatchGetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
565 crate::operation::batch_get_jobs::BatchGetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
566 crate::operation::batch_get_jobs::BatchGetJobsError::Unhandled(inner) => Error::Unhandled(inner),
567 }
568 }
569}
570impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>> for Error
571where
572 R: Send + Sync + std::fmt::Debug + 'static,
573{
574 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>) -> Self {
575 match err {
576 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
577 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
578 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
579 source: err.into(),
580 }),
581 }
582 }
583}
584impl From<crate::operation::batch_get_partition::BatchGetPartitionError> for Error {
585 fn from(err: crate::operation::batch_get_partition::BatchGetPartitionError) -> Self {
586 match err {
587 crate::operation::batch_get_partition::BatchGetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
588 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceException(inner) => {
589 Error::FederationSourceException(inner)
590 }
591 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceRetryableException(inner) => {
592 Error::FederationSourceRetryableException(inner)
593 }
594 crate::operation::batch_get_partition::BatchGetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
595 crate::operation::batch_get_partition::BatchGetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
596 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
597 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidStateException(inner) => Error::InvalidStateException(inner),
598 crate::operation::batch_get_partition::BatchGetPartitionError::OperationTimeoutException(inner) => {
599 Error::OperationTimeoutException(inner)
600 }
601 crate::operation::batch_get_partition::BatchGetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
602 }
603 }
604}
605impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>>
606 for Error
607where
608 R: Send + Sync + std::fmt::Debug + 'static,
609{
610 fn from(
611 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>,
612 ) -> Self {
613 match err {
614 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
615 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
616 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
617 source: err.into(),
618 }),
619 }
620 }
621}
622impl From<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError> for Error {
623 fn from(err: crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError) -> Self {
624 match err {
625 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::AccessDeniedException(inner) => {
626 Error::AccessDeniedException(inner)
627 }
628 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::EntityNotFoundException(inner) => {
629 Error::EntityNotFoundException(inner)
630 }
631 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InternalServiceException(inner) => {
632 Error::InternalServiceException(inner)
633 }
634 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InvalidInputException(inner) => {
635 Error::InvalidInputException(inner)
636 }
637 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
638 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
639 }
640 }
641}
642impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>> for Error
643where
644 R: Send + Sync + std::fmt::Debug + 'static,
645{
646 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>) -> Self {
647 match err {
648 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
649 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
650 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
651 source: err.into(),
652 }),
653 }
654 }
655}
656impl From<crate::operation::batch_get_triggers::BatchGetTriggersError> for Error {
657 fn from(err: crate::operation::batch_get_triggers::BatchGetTriggersError) -> Self {
658 match err {
659 crate::operation::batch_get_triggers::BatchGetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
660 crate::operation::batch_get_triggers::BatchGetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
661 crate::operation::batch_get_triggers::BatchGetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
662 crate::operation::batch_get_triggers::BatchGetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
663 }
664 }
665}
666impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>> for Error
667where
668 R: Send + Sync + std::fmt::Debug + 'static,
669{
670 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>) -> Self {
671 match err {
672 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
673 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
674 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
675 source: err.into(),
676 }),
677 }
678 }
679}
680impl From<crate::operation::batch_get_workflows::BatchGetWorkflowsError> for Error {
681 fn from(err: crate::operation::batch_get_workflows::BatchGetWorkflowsError) -> Self {
682 match err {
683 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
684 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
685 crate::operation::batch_get_workflows::BatchGetWorkflowsError::OperationTimeoutException(inner) => {
686 Error::OperationTimeoutException(inner)
687 }
688 crate::operation::batch_get_workflows::BatchGetWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
689 }
690 }
691}
692impl<R>
693 From<
694 ::aws_smithy_runtime_api::client::result::SdkError<
695 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
696 R,
697 >,
698 > for Error
699where
700 R: Send + Sync + std::fmt::Debug + 'static,
701{
702 fn from(
703 err: ::aws_smithy_runtime_api::client::result::SdkError<
704 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
705 R,
706 >,
707 ) -> Self {
708 match err {
709 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
710 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
711 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
712 source: err.into(),
713 }),
714 }
715 }
716}
717impl From<crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError> for Error {
718 fn from(err: crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError) -> Self {
719 match err {
720 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
721 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
722 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
723 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
724 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
725 }
726 }
727}
728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>> for Error
729where
730 R: Send + Sync + std::fmt::Debug + 'static,
731{
732 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>) -> Self {
733 match err {
734 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
735 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
736 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
737 source: err.into(),
738 }),
739 }
740 }
741}
742impl From<crate::operation::batch_stop_job_run::BatchStopJobRunError> for Error {
743 fn from(err: crate::operation::batch_stop_job_run::BatchStopJobRunError) -> Self {
744 match err {
745 crate::operation::batch_stop_job_run::BatchStopJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
746 crate::operation::batch_stop_job_run::BatchStopJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
747 crate::operation::batch_stop_job_run::BatchStopJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
748 crate::operation::batch_stop_job_run::BatchStopJobRunError::Unhandled(inner) => Error::Unhandled(inner),
749 }
750 }
751}
752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>> for Error
753where
754 R: Send + Sync + std::fmt::Debug + 'static,
755{
756 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>) -> Self {
757 match err {
758 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
759 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
760 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
761 source: err.into(),
762 }),
763 }
764 }
765}
766impl From<crate::operation::batch_update_partition::BatchUpdatePartitionError> for Error {
767 fn from(err: crate::operation::batch_update_partition::BatchUpdatePartitionError) -> Self {
768 match err {
769 crate::operation::batch_update_partition::BatchUpdatePartitionError::EntityNotFoundException(inner) => {
770 Error::EntityNotFoundException(inner)
771 }
772 crate::operation::batch_update_partition::BatchUpdatePartitionError::GlueEncryptionException(inner) => {
773 Error::GlueEncryptionException(inner)
774 }
775 crate::operation::batch_update_partition::BatchUpdatePartitionError::InternalServiceException(inner) => {
776 Error::InternalServiceException(inner)
777 }
778 crate::operation::batch_update_partition::BatchUpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
779 crate::operation::batch_update_partition::BatchUpdatePartitionError::OperationTimeoutException(inner) => {
780 Error::OperationTimeoutException(inner)
781 }
782 crate::operation::batch_update_partition::BatchUpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
783 }
784 }
785}
786impl<R>
787 From<
788 ::aws_smithy_runtime_api::client::result::SdkError<
789 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
790 R,
791 >,
792 > for Error
793where
794 R: Send + Sync + std::fmt::Debug + 'static,
795{
796 fn from(
797 err: ::aws_smithy_runtime_api::client::result::SdkError<
798 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
799 R,
800 >,
801 ) -> Self {
802 match err {
803 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
804 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
805 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
806 source: err.into(),
807 }),
808 }
809 }
810}
811impl From<crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError> for Error {
812 fn from(err: crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError) -> Self {
813 match err {
814 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::EntityNotFoundException(
815 inner,
816 ) => Error::EntityNotFoundException(inner),
817 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InternalServiceException(
818 inner,
819 ) => Error::InternalServiceException(inner),
820 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InvalidInputException(
821 inner,
822 ) => Error::InvalidInputException(inner),
823 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::OperationTimeoutException(
824 inner,
825 ) => Error::OperationTimeoutException(inner),
826 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::Unhandled(inner) => {
827 Error::Unhandled(inner)
828 }
829 }
830 }
831}
832impl<R>
833 From<
834 ::aws_smithy_runtime_api::client::result::SdkError<
835 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
836 R,
837 >,
838 > for Error
839where
840 R: Send + Sync + std::fmt::Debug + 'static,
841{
842 fn from(
843 err: ::aws_smithy_runtime_api::client::result::SdkError<
844 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
845 R,
846 >,
847 ) -> Self {
848 match err {
849 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
850 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
851 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
852 source: err.into(),
853 }),
854 }
855 }
856}
857impl From<crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError> for Error {
858 fn from(err: crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError) -> Self {
859 match err {
860 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::EntityNotFoundException(
861 inner,
862 ) => Error::EntityNotFoundException(inner),
863 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InternalServiceException(
864 inner,
865 ) => Error::InternalServiceException(inner),
866 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InvalidInputException(
867 inner,
868 ) => Error::InvalidInputException(inner),
869 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::OperationTimeoutException(
870 inner,
871 ) => Error::OperationTimeoutException(inner),
872 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
873 Error::Unhandled(inner)
874 }
875 }
876 }
877}
878impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>> for Error
879where
880 R: Send + Sync + std::fmt::Debug + 'static,
881{
882 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>) -> Self {
883 match err {
884 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
885 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
886 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
887 source: err.into(),
888 }),
889 }
890 }
891}
892impl From<crate::operation::cancel_ml_task_run::CancelMLTaskRunError> for Error {
893 fn from(err: crate::operation::cancel_ml_task_run::CancelMLTaskRunError) -> Self {
894 match err {
895 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
896 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
897 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
898 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
899 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
900 }
901 }
902}
903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>> for Error
904where
905 R: Send + Sync + std::fmt::Debug + 'static,
906{
907 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>) -> Self {
908 match err {
909 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
910 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
911 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
912 source: err.into(),
913 }),
914 }
915 }
916}
917impl From<crate::operation::cancel_statement::CancelStatementError> for Error {
918 fn from(err: crate::operation::cancel_statement::CancelStatementError) -> Self {
919 match err {
920 crate::operation::cancel_statement::CancelStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
921 crate::operation::cancel_statement::CancelStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
922 crate::operation::cancel_statement::CancelStatementError::IllegalSessionStateException(inner) => {
923 Error::IllegalSessionStateException(inner)
924 }
925 crate::operation::cancel_statement::CancelStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
926 crate::operation::cancel_statement::CancelStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
927 crate::operation::cancel_statement::CancelStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
928 crate::operation::cancel_statement::CancelStatementError::Unhandled(inner) => Error::Unhandled(inner),
929 }
930 }
931}
932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>>
933 for Error
934where
935 R: Send + Sync + std::fmt::Debug + 'static,
936{
937 fn from(
938 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>,
939 ) -> Self {
940 match err {
941 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
942 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
943 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
944 source: err.into(),
945 }),
946 }
947 }
948}
949impl From<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError> for Error {
950 fn from(err: crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError) -> Self {
951 match err {
952 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::AccessDeniedException(inner) => {
953 Error::AccessDeniedException(inner)
954 }
955 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InternalServiceException(inner) => {
956 Error::InternalServiceException(inner)
957 }
958 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InvalidInputException(inner) => {
959 Error::InvalidInputException(inner)
960 }
961 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::Unhandled(inner) => Error::Unhandled(inner),
962 }
963 }
964}
965impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>> for Error
966where
967 R: Send + Sync + std::fmt::Debug + 'static,
968{
969 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>) -> Self {
970 match err {
971 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
972 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
973 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
974 source: err.into(),
975 }),
976 }
977 }
978}
979impl From<crate::operation::create_blueprint::CreateBlueprintError> for Error {
980 fn from(err: crate::operation::create_blueprint::CreateBlueprintError) -> Self {
981 match err {
982 crate::operation::create_blueprint::CreateBlueprintError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
983 crate::operation::create_blueprint::CreateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
984 crate::operation::create_blueprint::CreateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
985 crate::operation::create_blueprint::CreateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
986 crate::operation::create_blueprint::CreateBlueprintError::ResourceNumberLimitExceededException(inner) => {
987 Error::ResourceNumberLimitExceededException(inner)
988 }
989 crate::operation::create_blueprint::CreateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
990 }
991 }
992}
993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>> for Error
994where
995 R: Send + Sync + std::fmt::Debug + 'static,
996{
997 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>) -> Self {
998 match err {
999 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1000 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1001 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1002 source: err.into(),
1003 }),
1004 }
1005 }
1006}
1007impl From<crate::operation::create_catalog::CreateCatalogError> for Error {
1008 fn from(err: crate::operation::create_catalog::CreateCatalogError) -> Self {
1009 match err {
1010 crate::operation::create_catalog::CreateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1011 crate::operation::create_catalog::CreateCatalogError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1012 crate::operation::create_catalog::CreateCatalogError::ConcurrentModificationException(inner) => {
1013 Error::ConcurrentModificationException(inner)
1014 }
1015 crate::operation::create_catalog::CreateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1016 crate::operation::create_catalog::CreateCatalogError::FederatedResourceAlreadyExistsException(inner) => {
1017 Error::FederatedResourceAlreadyExistsException(inner)
1018 }
1019 crate::operation::create_catalog::CreateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1020 crate::operation::create_catalog::CreateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1021 crate::operation::create_catalog::CreateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1022 crate::operation::create_catalog::CreateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1023 crate::operation::create_catalog::CreateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1024 crate::operation::create_catalog::CreateCatalogError::ResourceNumberLimitExceededException(inner) => {
1025 Error::ResourceNumberLimitExceededException(inner)
1026 }
1027 crate::operation::create_catalog::CreateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
1028 }
1029 }
1030}
1031impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>> for Error
1032where
1033 R: Send + Sync + std::fmt::Debug + 'static,
1034{
1035 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>) -> Self {
1036 match err {
1037 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1038 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1039 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1040 source: err.into(),
1041 }),
1042 }
1043 }
1044}
1045impl From<crate::operation::create_classifier::CreateClassifierError> for Error {
1046 fn from(err: crate::operation::create_classifier::CreateClassifierError) -> Self {
1047 match err {
1048 crate::operation::create_classifier::CreateClassifierError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1049 crate::operation::create_classifier::CreateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1050 crate::operation::create_classifier::CreateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1051 crate::operation::create_classifier::CreateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
1052 }
1053 }
1054}
1055impl<R>
1056 From<
1057 ::aws_smithy_runtime_api::client::result::SdkError<
1058 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1059 R,
1060 >,
1061 > for Error
1062where
1063 R: Send + Sync + std::fmt::Debug + 'static,
1064{
1065 fn from(
1066 err: ::aws_smithy_runtime_api::client::result::SdkError<
1067 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1068 R,
1069 >,
1070 ) -> Self {
1071 match err {
1072 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1073 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1074 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1075 source: err.into(),
1076 }),
1077 }
1078 }
1079}
1080impl From<crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError> for Error {
1081 fn from(err: crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError) -> Self {
1082 match err {
1083 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1084 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1085 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ColumnStatisticsTaskRunningException(inner) => Error::ColumnStatisticsTaskRunningException(inner),
1086 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1087 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1088 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1089 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
1090 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1091 }
1092 }
1093}
1094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>> for Error
1095where
1096 R: Send + Sync + std::fmt::Debug + 'static,
1097{
1098 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>) -> Self {
1099 match err {
1100 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1101 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1102 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1103 source: err.into(),
1104 }),
1105 }
1106 }
1107}
1108impl From<crate::operation::create_connection::CreateConnectionError> for Error {
1109 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
1110 match err {
1111 crate::operation::create_connection::CreateConnectionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1112 crate::operation::create_connection::CreateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1113 crate::operation::create_connection::CreateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1114 crate::operation::create_connection::CreateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1115 crate::operation::create_connection::CreateConnectionError::ResourceNumberLimitExceededException(inner) => {
1116 Error::ResourceNumberLimitExceededException(inner)
1117 }
1118 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1119 }
1120 }
1121}
1122impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>> for Error
1123where
1124 R: Send + Sync + std::fmt::Debug + 'static,
1125{
1126 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>) -> Self {
1127 match err {
1128 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1129 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1130 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1131 source: err.into(),
1132 }),
1133 }
1134 }
1135}
1136impl From<crate::operation::create_crawler::CreateCrawlerError> for Error {
1137 fn from(err: crate::operation::create_crawler::CreateCrawlerError) -> Self {
1138 match err {
1139 crate::operation::create_crawler::CreateCrawlerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1140 crate::operation::create_crawler::CreateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1141 crate::operation::create_crawler::CreateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1142 crate::operation::create_crawler::CreateCrawlerError::ResourceNumberLimitExceededException(inner) => {
1143 Error::ResourceNumberLimitExceededException(inner)
1144 }
1145 crate::operation::create_crawler::CreateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
1146 }
1147 }
1148}
1149impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>>
1150 for Error
1151where
1152 R: Send + Sync + std::fmt::Debug + 'static,
1153{
1154 fn from(
1155 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>,
1156 ) -> Self {
1157 match err {
1158 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1159 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1160 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1161 source: err.into(),
1162 }),
1163 }
1164 }
1165}
1166impl From<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError> for Error {
1167 fn from(err: crate::operation::create_custom_entity_type::CreateCustomEntityTypeError) -> Self {
1168 match err {
1169 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AccessDeniedException(inner) => {
1170 Error::AccessDeniedException(inner)
1171 }
1172 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AlreadyExistsException(inner) => {
1173 Error::AlreadyExistsException(inner)
1174 }
1175 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::IdempotentParameterMismatchException(inner) => {
1176 Error::IdempotentParameterMismatchException(inner)
1177 }
1178 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InternalServiceException(inner) => {
1179 Error::InternalServiceException(inner)
1180 }
1181 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InvalidInputException(inner) => {
1182 Error::InvalidInputException(inner)
1183 }
1184 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::OperationTimeoutException(inner) => {
1185 Error::OperationTimeoutException(inner)
1186 }
1187 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::ResourceNumberLimitExceededException(inner) => {
1188 Error::ResourceNumberLimitExceededException(inner)
1189 }
1190 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
1191 }
1192 }
1193}
1194impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>> for Error
1195where
1196 R: Send + Sync + std::fmt::Debug + 'static,
1197{
1198 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>) -> Self {
1199 match err {
1200 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1201 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1202 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1203 source: err.into(),
1204 }),
1205 }
1206 }
1207}
1208impl From<crate::operation::create_database::CreateDatabaseError> for Error {
1209 fn from(err: crate::operation::create_database::CreateDatabaseError) -> Self {
1210 match err {
1211 crate::operation::create_database::CreateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1212 crate::operation::create_database::CreateDatabaseError::ConcurrentModificationException(inner) => {
1213 Error::ConcurrentModificationException(inner)
1214 }
1215 crate::operation::create_database::CreateDatabaseError::FederatedResourceAlreadyExistsException(inner) => {
1216 Error::FederatedResourceAlreadyExistsException(inner)
1217 }
1218 crate::operation::create_database::CreateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1219 crate::operation::create_database::CreateDatabaseError::FederationSourceRetryableException(inner) => {
1220 Error::FederationSourceRetryableException(inner)
1221 }
1222 crate::operation::create_database::CreateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1223 crate::operation::create_database::CreateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1224 crate::operation::create_database::CreateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1225 crate::operation::create_database::CreateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1226 crate::operation::create_database::CreateDatabaseError::ResourceNumberLimitExceededException(inner) => {
1227 Error::ResourceNumberLimitExceededException(inner)
1228 }
1229 crate::operation::create_database::CreateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1230 }
1231 }
1232}
1233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>>
1234 for Error
1235where
1236 R: Send + Sync + std::fmt::Debug + 'static,
1237{
1238 fn from(
1239 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>,
1240 ) -> Self {
1241 match err {
1242 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1243 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1244 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1245 source: err.into(),
1246 }),
1247 }
1248 }
1249}
1250impl From<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError> for Error {
1251 fn from(err: crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError) -> Self {
1252 match err {
1253 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::AlreadyExistsException(inner) => {
1254 Error::AlreadyExistsException(inner)
1255 }
1256 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InternalServiceException(inner) => {
1257 Error::InternalServiceException(inner)
1258 }
1259 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InvalidInputException(inner) => {
1260 Error::InvalidInputException(inner)
1261 }
1262 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::OperationTimeoutException(inner) => {
1263 Error::OperationTimeoutException(inner)
1264 }
1265 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
1266 Error::ResourceNumberLimitExceededException(inner)
1267 }
1268 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
1269 }
1270 }
1271}
1272impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>> for Error
1273where
1274 R: Send + Sync + std::fmt::Debug + 'static,
1275{
1276 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>) -> Self {
1277 match err {
1278 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1279 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1280 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1281 source: err.into(),
1282 }),
1283 }
1284 }
1285}
1286impl From<crate::operation::create_dev_endpoint::CreateDevEndpointError> for Error {
1287 fn from(err: crate::operation::create_dev_endpoint::CreateDevEndpointError) -> Self {
1288 match err {
1289 crate::operation::create_dev_endpoint::CreateDevEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1290 crate::operation::create_dev_endpoint::CreateDevEndpointError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1291 crate::operation::create_dev_endpoint::CreateDevEndpointError::IdempotentParameterMismatchException(inner) => {
1292 Error::IdempotentParameterMismatchException(inner)
1293 }
1294 crate::operation::create_dev_endpoint::CreateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1295 crate::operation::create_dev_endpoint::CreateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1296 crate::operation::create_dev_endpoint::CreateDevEndpointError::OperationTimeoutException(inner) => {
1297 Error::OperationTimeoutException(inner)
1298 }
1299 crate::operation::create_dev_endpoint::CreateDevEndpointError::ResourceNumberLimitExceededException(inner) => {
1300 Error::ResourceNumberLimitExceededException(inner)
1301 }
1302 crate::operation::create_dev_endpoint::CreateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1303 crate::operation::create_dev_endpoint::CreateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1304 }
1305 }
1306}
1307impl<R>
1308 From<
1309 ::aws_smithy_runtime_api::client::result::SdkError<
1310 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1311 R,
1312 >,
1313 > for Error
1314where
1315 R: Send + Sync + std::fmt::Debug + 'static,
1316{
1317 fn from(
1318 err: ::aws_smithy_runtime_api::client::result::SdkError<
1319 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1320 R,
1321 >,
1322 ) -> Self {
1323 match err {
1324 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1325 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1326 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1327 source: err.into(),
1328 }),
1329 }
1330 }
1331}
1332impl From<crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError> for Error {
1333 fn from(err: crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError) -> Self {
1334 match err {
1335 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1336 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1337 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1338 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1339 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1340 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1341 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1342 }
1343 }
1344}
1345impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1346where
1347 R: Send + Sync + std::fmt::Debug + 'static,
1348{
1349 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1350 match err {
1351 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1352 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1353 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1354 source: err.into(),
1355 }),
1356 }
1357 }
1358}
1359impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1360 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1361 match err {
1362 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1363 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1364 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1365 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1366 Error::IntegrationConflictOperationFault(inner)
1367 }
1368 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1369 Error::IntegrationQuotaExceededFault(inner)
1370 }
1371 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1372 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1373 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1374 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1375 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1376 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1377 Error::ResourceNumberLimitExceededException(inner)
1378 }
1379 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1380 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1381 }
1382 }
1383}
1384impl<R>
1385 From<
1386 ::aws_smithy_runtime_api::client::result::SdkError<
1387 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1388 R,
1389 >,
1390 > for Error
1391where
1392 R: Send + Sync + std::fmt::Debug + 'static,
1393{
1394 fn from(
1395 err: ::aws_smithy_runtime_api::client::result::SdkError<
1396 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1397 R,
1398 >,
1399 ) -> Self {
1400 match err {
1401 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1402 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1403 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1404 source: err.into(),
1405 }),
1406 }
1407 }
1408}
1409impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1410 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1411 match err {
1412 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1413 Error::AccessDeniedException(inner)
1414 }
1415 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1416 Error::ConflictException(inner)
1417 }
1418 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1419 Error::EntityNotFoundException(inner)
1420 }
1421 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1422 Error::InternalServerException(inner)
1423 }
1424 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1425 Error::InternalServiceException(inner)
1426 }
1427 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1428 Error::InvalidInputException(inner)
1429 }
1430 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1431 Error::ResourceNotFoundException(inner)
1432 }
1433 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1434 Error::ValidationException(inner)
1435 }
1436 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1437 Error::Unhandled(inner)
1438 }
1439 }
1440 }
1441}
1442impl<R>
1443 From<
1444 ::aws_smithy_runtime_api::client::result::SdkError<
1445 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1446 R,
1447 >,
1448 > for Error
1449where
1450 R: Send + Sync + std::fmt::Debug + 'static,
1451{
1452 fn from(
1453 err: ::aws_smithy_runtime_api::client::result::SdkError<
1454 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1455 R,
1456 >,
1457 ) -> Self {
1458 match err {
1459 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1460 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1461 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1462 source: err.into(),
1463 }),
1464 }
1465 }
1466}
1467impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1468 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1469 match err {
1470 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1471 Error::AccessDeniedException(inner)
1472 }
1473 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1474 Error::EntityNotFoundException(inner)
1475 }
1476 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1477 Error::InternalServerException(inner)
1478 }
1479 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1480 Error::InternalServiceException(inner)
1481 }
1482 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1483 Error::InvalidInputException(inner)
1484 }
1485 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1486 Error::ResourceNotFoundException(inner)
1487 }
1488 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1489 Error::ValidationException(inner)
1490 }
1491 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1492 }
1493 }
1494}
1495impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1496where
1497 R: Send + Sync + std::fmt::Debug + 'static,
1498{
1499 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1500 match err {
1501 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1502 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1503 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1504 source: err.into(),
1505 }),
1506 }
1507 }
1508}
1509impl From<crate::operation::create_job::CreateJobError> for Error {
1510 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1511 match err {
1512 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1513 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1514 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1515 Error::IdempotentParameterMismatchException(inner)
1516 }
1517 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1518 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1519 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1520 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1521 Error::ResourceNumberLimitExceededException(inner)
1522 }
1523 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1524 }
1525 }
1526}
1527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1528where
1529 R: Send + Sync + std::fmt::Debug + 'static,
1530{
1531 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1532 match err {
1533 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1534 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1535 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1536 source: err.into(),
1537 }),
1538 }
1539 }
1540}
1541impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1542 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1543 match err {
1544 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1545 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1546 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1547 Error::IdempotentParameterMismatchException(inner)
1548 }
1549 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1550 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1551 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1552 Error::OperationTimeoutException(inner)
1553 }
1554 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1555 Error::ResourceNumberLimitExceededException(inner)
1556 }
1557 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1558 }
1559 }
1560}
1561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1562where
1563 R: Send + Sync + std::fmt::Debug + 'static,
1564{
1565 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1566 match err {
1567 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1568 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1569 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1570 source: err.into(),
1571 }),
1572 }
1573 }
1574}
1575impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1576 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1577 match err {
1578 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1579 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1580 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1581 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1582 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1583 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1584 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1585 Error::ResourceNumberLimitExceededException(inner)
1586 }
1587 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1588 }
1589 }
1590}
1591impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1592where
1593 R: Send + Sync + std::fmt::Debug + 'static,
1594{
1595 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1596 match err {
1597 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1598 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1599 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1600 source: err.into(),
1601 }),
1602 }
1603 }
1604}
1605impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1606 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1607 match err {
1608 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1609 Error::AlreadyExistsException(inner)
1610 }
1611 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1612 Error::EntityNotFoundException(inner)
1613 }
1614 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1615 Error::GlueEncryptionException(inner)
1616 }
1617 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1618 Error::InternalServiceException(inner)
1619 }
1620 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1621 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1622 Error::OperationTimeoutException(inner)
1623 }
1624 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1625 Error::ResourceNumberLimitExceededException(inner)
1626 }
1627 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1628 }
1629 }
1630}
1631impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1632where
1633 R: Send + Sync + std::fmt::Debug + 'static,
1634{
1635 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1636 match err {
1637 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1638 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1639 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1640 source: err.into(),
1641 }),
1642 }
1643 }
1644}
1645impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1646 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1647 match err {
1648 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1649 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1650 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1651 Error::ConcurrentModificationException(inner)
1652 }
1653 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1654 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1655 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1656 Error::ResourceNumberLimitExceededException(inner)
1657 }
1658 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1659 }
1660 }
1661}
1662impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1663where
1664 R: Send + Sync + std::fmt::Debug + 'static,
1665{
1666 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1667 match err {
1668 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1669 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1670 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1671 source: err.into(),
1672 }),
1673 }
1674 }
1675}
1676impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1677 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1678 match err {
1679 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1680 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1681 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1682 Error::ConcurrentModificationException(inner)
1683 }
1684 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1685 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1686 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1687 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1688 Error::ResourceNumberLimitExceededException(inner)
1689 }
1690 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1691 }
1692 }
1693}
1694impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1695where
1696 R: Send + Sync + std::fmt::Debug + 'static,
1697{
1698 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1699 match err {
1700 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1701 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1702 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1703 source: err.into(),
1704 }),
1705 }
1706 }
1707}
1708impl From<crate::operation::create_script::CreateScriptError> for Error {
1709 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1710 match err {
1711 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1712 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1713 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1714 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1715 }
1716 }
1717}
1718impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
1719 for Error
1720where
1721 R: Send + Sync + std::fmt::Debug + 'static,
1722{
1723 fn from(
1724 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
1725 ) -> Self {
1726 match err {
1727 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1728 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1729 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1730 source: err.into(),
1731 }),
1732 }
1733 }
1734}
1735impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
1736 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
1737 match err {
1738 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
1739 Error::AlreadyExistsException(inner)
1740 }
1741 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
1742 Error::InternalServiceException(inner)
1743 }
1744 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
1745 Error::InvalidInputException(inner)
1746 }
1747 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
1748 Error::OperationTimeoutException(inner)
1749 }
1750 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
1751 Error::ResourceNumberLimitExceededException(inner)
1752 }
1753 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1754 }
1755 }
1756}
1757impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
1758where
1759 R: Send + Sync + std::fmt::Debug + 'static,
1760{
1761 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
1762 match err {
1763 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1764 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1765 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1766 source: err.into(),
1767 }),
1768 }
1769 }
1770}
1771impl From<crate::operation::create_session::CreateSessionError> for Error {
1772 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
1773 match err {
1774 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1775 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1776 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
1777 Error::IdempotentParameterMismatchException(inner)
1778 }
1779 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1780 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1781 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1782 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
1783 Error::ResourceNumberLimitExceededException(inner)
1784 }
1785 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
1786 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
1787 }
1788 }
1789}
1790impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
1791where
1792 R: Send + Sync + std::fmt::Debug + 'static,
1793{
1794 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
1795 match err {
1796 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1797 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1798 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1799 source: err.into(),
1800 }),
1801 }
1802 }
1803}
1804impl From<crate::operation::create_table::CreateTableError> for Error {
1805 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
1806 match err {
1807 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1808 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1809 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1810 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1811 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
1812 Error::FederationSourceRetryableException(inner)
1813 }
1814 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1815 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1816 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1817 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1818 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
1819 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
1820 Error::ResourceNumberLimitExceededException(inner)
1821 }
1822 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
1823 }
1824 }
1825}
1826impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
1827where
1828 R: Send + Sync + std::fmt::Debug + 'static,
1829{
1830 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
1831 match err {
1832 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1833 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1834 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1835 source: err.into(),
1836 }),
1837 }
1838 }
1839}
1840impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
1841 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
1842 match err {
1843 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1844 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
1845 Error::AlreadyExistsException(inner)
1846 }
1847 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
1848 Error::EntityNotFoundException(inner)
1849 }
1850 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
1851 Error::InternalServiceException(inner)
1852 }
1853 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1854 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1855 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
1856 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
1857 }
1858 }
1859}
1860impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
1861where
1862 R: Send + Sync + std::fmt::Debug + 'static,
1863{
1864 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
1865 match err {
1866 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1867 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1868 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1869 source: err.into(),
1870 }),
1871 }
1872 }
1873}
1874impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
1875 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
1876 match err {
1877 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1878 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
1879 Error::ConcurrentModificationException(inner)
1880 }
1881 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1882 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
1883 Error::IdempotentParameterMismatchException(inner)
1884 }
1885 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1886 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1887 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1888 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
1889 Error::ResourceNumberLimitExceededException(inner)
1890 }
1891 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
1892 }
1893 }
1894}
1895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
1896where
1897 R: Send + Sync + std::fmt::Debug + 'static,
1898{
1899 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
1900 match err {
1901 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1902 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1903 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1904 source: err.into(),
1905 }),
1906 }
1907 }
1908}
1909impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
1910 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
1911 match err {
1912 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1913 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
1914 Error::InternalServiceException(inner)
1915 }
1916 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1917 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
1918 Error::OperationNotSupportedException(inner)
1919 }
1920 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
1921 Error::OperationTimeoutException(inner)
1922 }
1923 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
1924 Error::ResourceNumberLimitExceededException(inner)
1925 }
1926 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
1927 }
1928 }
1929}
1930impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
1931 for Error
1932where
1933 R: Send + Sync + std::fmt::Debug + 'static,
1934{
1935 fn from(
1936 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
1937 ) -> Self {
1938 match err {
1939 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1940 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1941 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1942 source: err.into(),
1943 }),
1944 }
1945 }
1946}
1947impl From<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError> for Error {
1948 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
1949 match err {
1950 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
1951 Error::AlreadyExistsException(inner)
1952 }
1953 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
1954 Error::EntityNotFoundException(inner)
1955 }
1956 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
1957 Error::GlueEncryptionException(inner)
1958 }
1959 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
1960 Error::InternalServiceException(inner)
1961 }
1962 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
1963 Error::InvalidInputException(inner)
1964 }
1965 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
1966 Error::OperationTimeoutException(inner)
1967 }
1968 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
1969 Error::ResourceNumberLimitExceededException(inner)
1970 }
1971 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
1972 }
1973 }
1974}
1975impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
1976where
1977 R: Send + Sync + std::fmt::Debug + 'static,
1978{
1979 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
1980 match err {
1981 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1982 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1983 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1984 source: err.into(),
1985 }),
1986 }
1987 }
1988}
1989impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
1990 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
1991 match err {
1992 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1993 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
1994 Error::ConcurrentModificationException(inner)
1995 }
1996 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1997 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1998 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1999 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
2000 Error::ResourceNumberLimitExceededException(inner)
2001 }
2002 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
2003 }
2004 }
2005}
2006impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>> for Error
2007where
2008 R: Send + Sync + std::fmt::Debug + 'static,
2009{
2010 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, R>) -> Self {
2011 match err {
2012 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2013 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2014 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2015 source: err.into(),
2016 }),
2017 }
2018 }
2019}
2020impl From<crate::operation::delete_blueprint::DeleteBlueprintError> for Error {
2021 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
2022 match err {
2023 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2024 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2025 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2026 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2027 }
2028 }
2029}
2030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
2031where
2032 R: Send + Sync + std::fmt::Debug + 'static,
2033{
2034 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
2035 match err {
2036 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2037 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2038 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2039 source: err.into(),
2040 }),
2041 }
2042 }
2043}
2044impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
2045 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
2046 match err {
2047 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2048 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
2049 Error::ConcurrentModificationException(inner)
2050 }
2051 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2052 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2053 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2054 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2055 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2056 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2057 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2058 }
2059 }
2060}
2061impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2062where
2063 R: Send + Sync + std::fmt::Debug + 'static,
2064{
2065 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2066 match err {
2067 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2068 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2069 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2070 source: err.into(),
2071 }),
2072 }
2073 }
2074}
2075impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2076 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2077 match err {
2078 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2079 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2080 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2081 }
2082 }
2083}
2084impl<R>
2085 From<
2086 ::aws_smithy_runtime_api::client::result::SdkError<
2087 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2088 R,
2089 >,
2090 > for Error
2091where
2092 R: Send + Sync + std::fmt::Debug + 'static,
2093{
2094 fn from(
2095 err: ::aws_smithy_runtime_api::client::result::SdkError<
2096 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2097 R,
2098 >,
2099 ) -> Self {
2100 match err {
2101 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2102 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2103 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2104 source: err.into(),
2105 }),
2106 }
2107 }
2108}
2109impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2110 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2111 match err {
2112 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2113 Error::EntityNotFoundException(inner)
2114 }
2115 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2116 Error::GlueEncryptionException(inner)
2117 }
2118 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2119 Error::InternalServiceException(inner)
2120 }
2121 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2122 Error::InvalidInputException(inner)
2123 }
2124 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2125 Error::OperationTimeoutException(inner)
2126 }
2127 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2128 Error::Unhandled(inner)
2129 }
2130 }
2131 }
2132}
2133impl<R>
2134 From<
2135 ::aws_smithy_runtime_api::client::result::SdkError<
2136 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2137 R,
2138 >,
2139 > for Error
2140where
2141 R: Send + Sync + std::fmt::Debug + 'static,
2142{
2143 fn from(
2144 err: ::aws_smithy_runtime_api::client::result::SdkError<
2145 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2146 R,
2147 >,
2148 ) -> Self {
2149 match err {
2150 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2151 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2152 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2153 source: err.into(),
2154 }),
2155 }
2156 }
2157}
2158impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2159 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2160 match err {
2161 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2162 Error::EntityNotFoundException(inner)
2163 }
2164 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2165 Error::GlueEncryptionException(inner)
2166 }
2167 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2168 Error::InternalServiceException(inner)
2169 }
2170 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2171 Error::InvalidInputException(inner)
2172 }
2173 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2174 Error::OperationTimeoutException(inner)
2175 }
2176 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2177 }
2178 }
2179}
2180impl<R>
2181 From<
2182 ::aws_smithy_runtime_api::client::result::SdkError<
2183 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2184 R,
2185 >,
2186 > for Error
2187where
2188 R: Send + Sync + std::fmt::Debug + 'static,
2189{
2190 fn from(
2191 err: ::aws_smithy_runtime_api::client::result::SdkError<
2192 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2193 R,
2194 >,
2195 ) -> Self {
2196 match err {
2197 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2198 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2199 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2200 source: err.into(),
2201 }),
2202 }
2203 }
2204}
2205impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2206 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2207 match err {
2208 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2209 Error::EntityNotFoundException(inner)
2210 }
2211 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2212 Error::InvalidInputException(inner)
2213 }
2214 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2215 Error::OperationTimeoutException(inner)
2216 }
2217 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2218 Error::Unhandled(inner)
2219 }
2220 }
2221 }
2222}
2223impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2224where
2225 R: Send + Sync + std::fmt::Debug + 'static,
2226{
2227 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2228 match err {
2229 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2230 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2231 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2232 source: err.into(),
2233 }),
2234 }
2235 }
2236}
2237impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2238 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2239 match err {
2240 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2241 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2242 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2243 }
2244 }
2245}
2246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>> for Error
2247where
2248 R: Send + Sync + std::fmt::Debug + 'static,
2249{
2250 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>) -> Self {
2251 match err {
2252 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2253 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2254 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2255 source: err.into(),
2256 }),
2257 }
2258 }
2259}
2260impl From<crate::operation::delete_connection_type::DeleteConnectionTypeError> for Error {
2261 fn from(err: crate::operation::delete_connection_type::DeleteConnectionTypeError) -> Self {
2262 match err {
2263 crate::operation::delete_connection_type::DeleteConnectionTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2264 crate::operation::delete_connection_type::DeleteConnectionTypeError::EntityNotFoundException(inner) => {
2265 Error::EntityNotFoundException(inner)
2266 }
2267 crate::operation::delete_connection_type::DeleteConnectionTypeError::InternalServiceException(inner) => {
2268 Error::InternalServiceException(inner)
2269 }
2270 crate::operation::delete_connection_type::DeleteConnectionTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2271 crate::operation::delete_connection_type::DeleteConnectionTypeError::OperationTimeoutException(inner) => {
2272 Error::OperationTimeoutException(inner)
2273 }
2274 crate::operation::delete_connection_type::DeleteConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
2275 crate::operation::delete_connection_type::DeleteConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
2276 }
2277 }
2278}
2279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2280where
2281 R: Send + Sync + std::fmt::Debug + 'static,
2282{
2283 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2284 match err {
2285 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2286 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2287 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2288 source: err.into(),
2289 }),
2290 }
2291 }
2292}
2293impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2294 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2295 match err {
2296 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2297 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2298 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2299 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2300 Error::SchedulerTransitioningException(inner)
2301 }
2302 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2303 }
2304 }
2305}
2306impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2307 for Error
2308where
2309 R: Send + Sync + std::fmt::Debug + 'static,
2310{
2311 fn from(
2312 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2313 ) -> Self {
2314 match err {
2315 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2316 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2317 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2318 source: err.into(),
2319 }),
2320 }
2321 }
2322}
2323impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2324 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2325 match err {
2326 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2327 Error::AccessDeniedException(inner)
2328 }
2329 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2330 Error::EntityNotFoundException(inner)
2331 }
2332 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2333 Error::InternalServiceException(inner)
2334 }
2335 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2336 Error::InvalidInputException(inner)
2337 }
2338 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2339 Error::OperationTimeoutException(inner)
2340 }
2341 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2342 }
2343 }
2344}
2345impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2346where
2347 R: Send + Sync + std::fmt::Debug + 'static,
2348{
2349 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2350 match err {
2351 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2352 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2353 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2354 source: err.into(),
2355 }),
2356 }
2357 }
2358}
2359impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2360 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2361 match err {
2362 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2363 Error::ConcurrentModificationException(inner)
2364 }
2365 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2366 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2367 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2368 Error::FederationSourceRetryableException(inner)
2369 }
2370 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2371 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2372 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2373 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2374 }
2375 }
2376}
2377impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2378 for Error
2379where
2380 R: Send + Sync + std::fmt::Debug + 'static,
2381{
2382 fn from(
2383 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2384 ) -> Self {
2385 match err {
2386 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2387 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2388 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2389 source: err.into(),
2390 }),
2391 }
2392 }
2393}
2394impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2395 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2396 match err {
2397 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2398 Error::EntityNotFoundException(inner)
2399 }
2400 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2401 Error::InternalServiceException(inner)
2402 }
2403 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2404 Error::InvalidInputException(inner)
2405 }
2406 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2407 Error::OperationTimeoutException(inner)
2408 }
2409 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2410 }
2411 }
2412}
2413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2414where
2415 R: Send + Sync + std::fmt::Debug + 'static,
2416{
2417 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2418 match err {
2419 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2420 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2421 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2422 source: err.into(),
2423 }),
2424 }
2425 }
2426}
2427impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2428 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2429 match err {
2430 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2431 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2432 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2433 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2434 Error::OperationTimeoutException(inner)
2435 }
2436 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2437 }
2438 }
2439}
2440impl<R>
2441 From<
2442 ::aws_smithy_runtime_api::client::result::SdkError<
2443 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2444 R,
2445 >,
2446 > for Error
2447where
2448 R: Send + Sync + std::fmt::Debug + 'static,
2449{
2450 fn from(
2451 err: ::aws_smithy_runtime_api::client::result::SdkError<
2452 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2453 R,
2454 >,
2455 ) -> Self {
2456 match err {
2457 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2458 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2459 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2460 source: err.into(),
2461 }),
2462 }
2463 }
2464}
2465impl From<crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError> for Error {
2466 fn from(err: crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError) -> Self {
2467 match err {
2468 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2469 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2470 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2471 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2472 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2473 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2474 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2475 }
2476 }
2477}
2478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2479where
2480 R: Send + Sync + std::fmt::Debug + 'static,
2481{
2482 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2483 match err {
2484 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2485 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2486 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2487 source: err.into(),
2488 }),
2489 }
2490 }
2491}
2492impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2493 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2494 match err {
2495 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2496 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2497 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2498 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2499 Error::IntegrationConflictOperationFault(inner)
2500 }
2501 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2502 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2503 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2504 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2505 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2506 Error::InvalidIntegrationStateFault(inner)
2507 }
2508 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2509 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2510 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2511 }
2512 }
2513}
2514impl<R>
2515 From<
2516 ::aws_smithy_runtime_api::client::result::SdkError<
2517 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2518 R,
2519 >,
2520 > for Error
2521where
2522 R: Send + Sync + std::fmt::Debug + 'static,
2523{
2524 fn from(
2525 err: ::aws_smithy_runtime_api::client::result::SdkError<
2526 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2527 R,
2528 >,
2529 ) -> Self {
2530 match err {
2531 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2532 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2533 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2534 source: err.into(),
2535 }),
2536 }
2537 }
2538}
2539impl From<crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError> for Error {
2540 fn from(err: crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError) -> Self {
2541 match err {
2542 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::AccessDeniedException(inner) => {
2543 Error::AccessDeniedException(inner)
2544 }
2545 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
2546 Error::EntityNotFoundException(inner)
2547 }
2548 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServerException(inner) => {
2549 Error::InternalServerException(inner)
2550 }
2551 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServiceException(inner) => {
2552 Error::InternalServiceException(inner)
2553 }
2554 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InvalidInputException(inner) => {
2555 Error::InvalidInputException(inner)
2556 }
2557 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
2558 Error::ResourceNotFoundException(inner)
2559 }
2560 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ValidationException(inner) => {
2561 Error::ValidationException(inner)
2562 }
2563 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::Unhandled(inner) => {
2564 Error::Unhandled(inner)
2565 }
2566 }
2567 }
2568}
2569impl<R>
2570 From<
2571 ::aws_smithy_runtime_api::client::result::SdkError<
2572 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2573 R,
2574 >,
2575 > for Error
2576where
2577 R: Send + Sync + std::fmt::Debug + 'static,
2578{
2579 fn from(
2580 err: ::aws_smithy_runtime_api::client::result::SdkError<
2581 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2582 R,
2583 >,
2584 ) -> Self {
2585 match err {
2586 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2587 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2588 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2589 source: err.into(),
2590 }),
2591 }
2592 }
2593}
2594impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
2595 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
2596 match err {
2597 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
2598 Error::AccessDeniedException(inner)
2599 }
2600 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
2601 Error::EntityNotFoundException(inner)
2602 }
2603 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
2604 Error::InternalServerException(inner)
2605 }
2606 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
2607 Error::InternalServiceException(inner)
2608 }
2609 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
2610 Error::InvalidInputException(inner)
2611 }
2612 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
2613 Error::ResourceNotFoundException(inner)
2614 }
2615 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
2616 Error::ValidationException(inner)
2617 }
2618 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
2619 }
2620 }
2621}
2622impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
2623where
2624 R: Send + Sync + std::fmt::Debug + 'static,
2625{
2626 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
2627 match err {
2628 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2629 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2630 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2631 source: err.into(),
2632 }),
2633 }
2634 }
2635}
2636impl From<crate::operation::delete_job::DeleteJobError> for Error {
2637 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
2638 match err {
2639 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2640 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2641 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2642 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
2643 }
2644 }
2645}
2646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
2647where
2648 R: Send + Sync + std::fmt::Debug + 'static,
2649{
2650 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
2651 match err {
2652 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2653 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2654 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2655 source: err.into(),
2656 }),
2657 }
2658 }
2659}
2660impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
2661 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
2662 match err {
2663 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2664 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2665 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2666 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
2667 Error::OperationTimeoutException(inner)
2668 }
2669 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
2670 }
2671 }
2672}
2673impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
2674where
2675 R: Send + Sync + std::fmt::Debug + 'static,
2676{
2677 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
2678 match err {
2679 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2680 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2681 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2682 source: err.into(),
2683 }),
2684 }
2685 }
2686}
2687impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
2688 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
2689 match err {
2690 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2691 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2692 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2693 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2694 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
2695 }
2696 }
2697}
2698impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>> for Error
2699where
2700 R: Send + Sync + std::fmt::Debug + 'static,
2701{
2702 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>) -> Self {
2703 match err {
2704 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2705 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2706 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2707 source: err.into(),
2708 }),
2709 }
2710 }
2711}
2712impl From<crate::operation::delete_partition_index::DeletePartitionIndexError> for Error {
2713 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
2714 match err {
2715 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
2716 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
2717 Error::EntityNotFoundException(inner)
2718 }
2719 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
2720 Error::GlueEncryptionException(inner)
2721 }
2722 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
2723 Error::InternalServiceException(inner)
2724 }
2725 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2726 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
2727 Error::OperationTimeoutException(inner)
2728 }
2729 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
2730 }
2731 }
2732}
2733impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
2734where
2735 R: Send + Sync + std::fmt::Debug + 'static,
2736{
2737 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
2738 match err {
2739 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2740 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2741 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2742 source: err.into(),
2743 }),
2744 }
2745 }
2746}
2747impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
2748 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
2749 match err {
2750 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2751 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
2752 Error::ConcurrentModificationException(inner)
2753 }
2754 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2755 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2756 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
2757 }
2758 }
2759}
2760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
2761where
2762 R: Send + Sync + std::fmt::Debug + 'static,
2763{
2764 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
2765 match err {
2766 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2767 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2768 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2769 source: err.into(),
2770 }),
2771 }
2772 }
2773}
2774impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
2775 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
2776 match err {
2777 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
2778 Error::ConditionCheckFailureException(inner)
2779 }
2780 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
2781 Error::EntityNotFoundException(inner)
2782 }
2783 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
2784 Error::InternalServiceException(inner)
2785 }
2786 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2787 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
2788 Error::OperationTimeoutException(inner)
2789 }
2790 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
2791 }
2792 }
2793}
2794impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
2795where
2796 R: Send + Sync + std::fmt::Debug + 'static,
2797{
2798 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
2799 match err {
2800 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2801 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2802 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2803 source: err.into(),
2804 }),
2805 }
2806 }
2807}
2808impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
2809 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
2810 match err {
2811 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2812 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
2813 Error::ConcurrentModificationException(inner)
2814 }
2815 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2816 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2817 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
2818 }
2819 }
2820}
2821impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
2822where
2823 R: Send + Sync + std::fmt::Debug + 'static,
2824{
2825 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
2826 match err {
2827 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2828 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2829 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2830 source: err.into(),
2831 }),
2832 }
2833 }
2834}
2835impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
2836 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
2837 match err {
2838 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2839 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
2840 Error::ConcurrentModificationException(inner)
2841 }
2842 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
2843 Error::EntityNotFoundException(inner)
2844 }
2845 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2846 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
2847 }
2848 }
2849}
2850impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
2851 for Error
2852where
2853 R: Send + Sync + std::fmt::Debug + 'static,
2854{
2855 fn from(
2856 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
2857 ) -> Self {
2858 match err {
2859 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2860 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2861 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2862 source: err.into(),
2863 }),
2864 }
2865 }
2866}
2867impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
2868 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
2869 match err {
2870 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
2871 Error::EntityNotFoundException(inner)
2872 }
2873 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
2874 Error::InternalServiceException(inner)
2875 }
2876 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
2877 Error::InvalidInputException(inner)
2878 }
2879 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
2880 Error::OperationTimeoutException(inner)
2881 }
2882 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2883 }
2884 }
2885}
2886impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
2887where
2888 R: Send + Sync + std::fmt::Debug + 'static,
2889{
2890 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
2891 match err {
2892 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2893 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2894 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2895 source: err.into(),
2896 }),
2897 }
2898 }
2899}
2900impl From<crate::operation::delete_session::DeleteSessionError> for Error {
2901 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
2902 match err {
2903 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2904 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
2905 Error::ConcurrentModificationException(inner)
2906 }
2907 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
2908 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2909 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2910 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2911 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
2912 }
2913 }
2914}
2915impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
2916where
2917 R: Send + Sync + std::fmt::Debug + 'static,
2918{
2919 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
2920 match err {
2921 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2922 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2923 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2924 source: err.into(),
2925 }),
2926 }
2927 }
2928}
2929impl From<crate::operation::delete_table::DeleteTableError> for Error {
2930 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
2931 match err {
2932 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2933 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2934 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2935 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
2936 Error::FederationSourceRetryableException(inner)
2937 }
2938 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2939 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2940 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2941 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2942 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
2943 }
2944 }
2945}
2946impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
2947where
2948 R: Send + Sync + std::fmt::Debug + 'static,
2949{
2950 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
2951 match err {
2952 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2953 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2954 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2955 source: err.into(),
2956 }),
2957 }
2958 }
2959}
2960impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
2961 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
2962 match err {
2963 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2964 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
2965 Error::EntityNotFoundException(inner)
2966 }
2967 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
2968 Error::InternalServiceException(inner)
2969 }
2970 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2971 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2972 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2973 }
2974 }
2975}
2976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
2977where
2978 R: Send + Sync + std::fmt::Debug + 'static,
2979{
2980 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
2981 match err {
2982 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2983 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2984 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2985 source: err.into(),
2986 }),
2987 }
2988 }
2989}
2990impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
2991 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
2992 match err {
2993 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2994 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
2995 Error::InternalServiceException(inner)
2996 }
2997 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2998 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
2999 Error::OperationTimeoutException(inner)
3000 }
3001 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
3002 }
3003 }
3004}
3005impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
3006where
3007 R: Send + Sync + std::fmt::Debug + 'static,
3008{
3009 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
3010 match err {
3011 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3012 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3013 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3014 source: err.into(),
3015 }),
3016 }
3017 }
3018}
3019impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
3020 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
3021 match err {
3022 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
3023 Error::ConcurrentModificationException(inner)
3024 }
3025 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3026 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3027 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3028 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
3029 }
3030 }
3031}
3032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
3033where
3034 R: Send + Sync + std::fmt::Debug + 'static,
3035{
3036 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
3037 match err {
3038 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3039 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3040 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3041 source: err.into(),
3042 }),
3043 }
3044 }
3045}
3046impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
3047 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
3048 match err {
3049 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
3050 Error::InternalServiceException(inner)
3051 }
3052 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3053 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
3054 Error::OperationNotSupportedException(inner)
3055 }
3056 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
3057 Error::OperationTimeoutException(inner)
3058 }
3059 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
3060 }
3061 }
3062}
3063impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
3064 for Error
3065where
3066 R: Send + Sync + std::fmt::Debug + 'static,
3067{
3068 fn from(
3069 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
3070 ) -> Self {
3071 match err {
3072 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3073 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3074 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3075 source: err.into(),
3076 }),
3077 }
3078 }
3079}
3080impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
3081 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
3082 match err {
3083 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
3084 Error::EntityNotFoundException(inner)
3085 }
3086 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
3087 Error::InternalServiceException(inner)
3088 }
3089 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
3090 Error::InvalidInputException(inner)
3091 }
3092 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
3093 Error::OperationTimeoutException(inner)
3094 }
3095 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
3096 }
3097 }
3098}
3099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
3100where
3101 R: Send + Sync + std::fmt::Debug + 'static,
3102{
3103 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
3104 match err {
3105 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3106 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3107 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3108 source: err.into(),
3109 }),
3110 }
3111 }
3112}
3113impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
3114 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
3115 match err {
3116 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
3117 Error::ConcurrentModificationException(inner)
3118 }
3119 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3120 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3121 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3122 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3123 }
3124 }
3125}
3126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
3127where
3128 R: Send + Sync + std::fmt::Debug + 'static,
3129{
3130 fn from(
3131 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
3132 ) -> Self {
3133 match err {
3134 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3135 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3136 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3137 source: err.into(),
3138 }),
3139 }
3140 }
3141}
3142impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
3143 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
3144 match err {
3145 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
3146 Error::AccessDeniedException(inner)
3147 }
3148 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
3149 Error::InternalServiceException(inner)
3150 }
3151 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
3152 Error::InvalidInputException(inner)
3153 }
3154 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
3155 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
3156 }
3157 }
3158}
3159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
3160where
3161 R: Send + Sync + std::fmt::Debug + 'static,
3162{
3163 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
3164 match err {
3165 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3166 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3167 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3168 source: err.into(),
3169 }),
3170 }
3171 }
3172}
3173impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
3174 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
3175 match err {
3176 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3177 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3178 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3179 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3180 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3181 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3182 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3183 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3184 }
3185 }
3186}
3187impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3188 for Error
3189where
3190 R: Send + Sync + std::fmt::Debug + 'static,
3191{
3192 fn from(
3193 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3194 ) -> Self {
3195 match err {
3196 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3197 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3198 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3199 source: err.into(),
3200 }),
3201 }
3202 }
3203}
3204impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3205 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3206 match err {
3207 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3208 Error::AccessDeniedException(inner)
3209 }
3210 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3211 Error::EntityNotFoundException(inner)
3212 }
3213 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3214 Error::IntegrationNotFoundFault(inner)
3215 }
3216 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3217 Error::InternalServerException(inner)
3218 }
3219 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3220 Error::InternalServiceException(inner)
3221 }
3222 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3223 Error::InvalidInputException(inner)
3224 }
3225 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3226 Error::OperationNotSupportedException(inner)
3227 }
3228 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3229 Error::TargetResourceNotFound(inner)
3230 }
3231 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3232 Error::ValidationException(inner)
3233 }
3234 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3235 }
3236 }
3237}
3238impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3239where
3240 R: Send + Sync + std::fmt::Debug + 'static,
3241{
3242 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3243 match err {
3244 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3245 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3246 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3247 source: err.into(),
3248 }),
3249 }
3250 }
3251}
3252impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3253 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3254 match err {
3255 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3256 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3257 Error::EntityNotFoundException(inner)
3258 }
3259 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3260 Error::IntegrationNotFoundFault(inner)
3261 }
3262 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3263 Error::InternalServerException(inner)
3264 }
3265 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3266 Error::InternalServiceException(inner)
3267 }
3268 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3269 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3270 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3271 }
3272 }
3273}
3274impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3275where
3276 R: Send + Sync + std::fmt::Debug + 'static,
3277{
3278 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3279 match err {
3280 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3281 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3282 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3283 source: err.into(),
3284 }),
3285 }
3286 }
3287}
3288impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3289 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3290 match err {
3291 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3292 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3293 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3294 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3295 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3296 }
3297 }
3298}
3299impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3300where
3301 R: Send + Sync + std::fmt::Debug + 'static,
3302{
3303 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3304 match err {
3305 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3306 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3307 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3308 source: err.into(),
3309 }),
3310 }
3311 }
3312}
3313impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3314 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3315 match err {
3316 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3317 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3318 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3319 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3320 }
3321 }
3322}
3323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3324where
3325 R: Send + Sync + std::fmt::Debug + 'static,
3326{
3327 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3328 match err {
3329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3332 source: err.into(),
3333 }),
3334 }
3335 }
3336}
3337impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3338 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3339 match err {
3340 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3341 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3342 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3343 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3344 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3345 }
3346 }
3347}
3348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3349where
3350 R: Send + Sync + std::fmt::Debug + 'static,
3351{
3352 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3353 match err {
3354 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3355 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3356 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3357 source: err.into(),
3358 }),
3359 }
3360 }
3361}
3362impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3363 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3364 match err {
3365 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3366 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3367 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3368 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3369 Error::FederationSourceRetryableException(inner)
3370 }
3371 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3372 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3373 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3374 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3375 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3376 }
3377 }
3378}
3379impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3380 for Error
3381where
3382 R: Send + Sync + std::fmt::Debug + 'static,
3383{
3384 fn from(
3385 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3386 ) -> Self {
3387 match err {
3388 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3389 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3390 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3391 source: err.into(),
3392 }),
3393 }
3394 }
3395}
3396impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3397 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3398 match err {
3399 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3400 Error::InternalServiceException(inner)
3401 }
3402 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3403 Error::OperationTimeoutException(inner)
3404 }
3405 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3406 }
3407 }
3408}
3409impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3410where
3411 R: Send + Sync + std::fmt::Debug + 'static,
3412{
3413 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3414 match err {
3415 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3416 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3417 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3418 source: err.into(),
3419 }),
3420 }
3421 }
3422}
3423impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3424 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3425 match err {
3426 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3427 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3428 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3429 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
3430 Error::FederationSourceRetryableException(inner)
3431 }
3432 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3433 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3434 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3435 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3436 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
3437 }
3438 }
3439}
3440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
3441where
3442 R: Send + Sync + std::fmt::Debug + 'static,
3443{
3444 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
3445 match err {
3446 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3447 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3448 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3449 source: err.into(),
3450 }),
3451 }
3452 }
3453}
3454impl From<crate::operation::get_classifier::GetClassifierError> for Error {
3455 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
3456 match err {
3457 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3458 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3459 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
3460 }
3461 }
3462}
3463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>> for Error
3464where
3465 R: Send + Sync + std::fmt::Debug + 'static,
3466{
3467 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>) -> Self {
3468 match err {
3469 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3470 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3471 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3472 source: err.into(),
3473 }),
3474 }
3475 }
3476}
3477impl From<crate::operation::get_classifiers::GetClassifiersError> for Error {
3478 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
3479 match err {
3480 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3481 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
3482 }
3483 }
3484}
3485impl<R>
3486 From<
3487 ::aws_smithy_runtime_api::client::result::SdkError<
3488 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3489 R,
3490 >,
3491 > for Error
3492where
3493 R: Send + Sync + std::fmt::Debug + 'static,
3494{
3495 fn from(
3496 err: ::aws_smithy_runtime_api::client::result::SdkError<
3497 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3498 R,
3499 >,
3500 ) -> Self {
3501 match err {
3502 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3503 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3504 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3505 source: err.into(),
3506 }),
3507 }
3508 }
3509}
3510impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
3511 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
3512 match err {
3513 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
3514 Error::EntityNotFoundException(inner)
3515 }
3516 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
3517 Error::GlueEncryptionException(inner)
3518 }
3519 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
3520 Error::InternalServiceException(inner)
3521 }
3522 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
3523 Error::InvalidInputException(inner)
3524 }
3525 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
3526 Error::OperationTimeoutException(inner)
3527 }
3528 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
3529 }
3530 }
3531}
3532impl<R>
3533 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
3534 for Error
3535where
3536 R: Send + Sync + std::fmt::Debug + 'static,
3537{
3538 fn from(
3539 err: ::aws_smithy_runtime_api::client::result::SdkError<
3540 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
3541 R,
3542 >,
3543 ) -> Self {
3544 match err {
3545 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3546 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3547 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3548 source: err.into(),
3549 }),
3550 }
3551 }
3552}
3553impl From<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
3554 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
3555 match err {
3556 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
3557 Error::EntityNotFoundException(inner)
3558 }
3559 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
3560 Error::GlueEncryptionException(inner)
3561 }
3562 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
3563 Error::InternalServiceException(inner)
3564 }
3565 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
3566 Error::InvalidInputException(inner)
3567 }
3568 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
3569 Error::OperationTimeoutException(inner)
3570 }
3571 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
3572 }
3573 }
3574}
3575impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
3576 for Error
3577where
3578 R: Send + Sync + std::fmt::Debug + 'static,
3579{
3580 fn from(
3581 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
3582 ) -> Self {
3583 match err {
3584 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3585 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3586 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3587 source: err.into(),
3588 }),
3589 }
3590 }
3591}
3592impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
3593 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
3594 match err {
3595 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
3596 Error::EntityNotFoundException(inner)
3597 }
3598 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
3599 Error::InvalidInputException(inner)
3600 }
3601 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
3602 Error::OperationTimeoutException(inner)
3603 }
3604 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
3605 }
3606 }
3607}
3608impl<R>
3609 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, R>>
3610 for Error
3611where
3612 R: Send + Sync + std::fmt::Debug + 'static,
3613{
3614 fn from(
3615 err: ::aws_smithy_runtime_api::client::result::SdkError<
3616 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
3617 R,
3618 >,
3619 ) -> Self {
3620 match err {
3621 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3622 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3623 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3624 source: err.into(),
3625 }),
3626 }
3627 }
3628}
3629impl From<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError> for Error {
3630 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
3631 match err {
3632 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
3633 Error::OperationTimeoutException(inner)
3634 }
3635 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
3636 }
3637 }
3638}
3639impl<R>
3640 From<
3641 ::aws_smithy_runtime_api::client::result::SdkError<
3642 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3643 R,
3644 >,
3645 > for Error
3646where
3647 R: Send + Sync + std::fmt::Debug + 'static,
3648{
3649 fn from(
3650 err: ::aws_smithy_runtime_api::client::result::SdkError<
3651 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
3652 R,
3653 >,
3654 ) -> Self {
3655 match err {
3656 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3657 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3658 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3659 source: err.into(),
3660 }),
3661 }
3662 }
3663}
3664impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
3665 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
3666 match err {
3667 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
3668 Error::EntityNotFoundException(inner)
3669 }
3670 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
3671 Error::InvalidInputException(inner)
3672 }
3673 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
3674 Error::OperationTimeoutException(inner)
3675 }
3676 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
3677 }
3678 }
3679}
3680impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
3681where
3682 R: Send + Sync + std::fmt::Debug + 'static,
3683{
3684 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
3685 match err {
3686 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3687 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3688 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3689 source: err.into(),
3690 }),
3691 }
3692 }
3693}
3694impl From<crate::operation::get_connection::GetConnectionError> for Error {
3695 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
3696 match err {
3697 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3698 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3699 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3700 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3701 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
3702 }
3703 }
3704}
3705impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
3706where
3707 R: Send + Sync + std::fmt::Debug + 'static,
3708{
3709 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> Self {
3710 match err {
3711 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3712 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3713 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3714 source: err.into(),
3715 }),
3716 }
3717 }
3718}
3719impl From<crate::operation::get_connections::GetConnectionsError> for Error {
3720 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
3721 match err {
3722 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3723 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3724 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3725 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3726 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
3727 }
3728 }
3729}
3730impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>> for Error
3731where
3732 R: Send + Sync + std::fmt::Debug + 'static,
3733{
3734 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, R>) -> Self {
3735 match err {
3736 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3737 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3738 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3739 source: err.into(),
3740 }),
3741 }
3742 }
3743}
3744impl From<crate::operation::get_crawler::GetCrawlerError> for Error {
3745 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
3746 match err {
3747 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3748 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3749 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
3750 }
3751 }
3752}
3753impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
3754where
3755 R: Send + Sync + std::fmt::Debug + 'static,
3756{
3757 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
3758 match err {
3759 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3760 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3761 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3762 source: err.into(),
3763 }),
3764 }
3765 }
3766}
3767impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
3768 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
3769 match err {
3770 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
3771 Error::OperationTimeoutException(inner)
3772 }
3773 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
3774 }
3775 }
3776}
3777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
3778where
3779 R: Send + Sync + std::fmt::Debug + 'static,
3780{
3781 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
3782 match err {
3783 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3784 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3785 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3786 source: err.into(),
3787 }),
3788 }
3789 }
3790}
3791impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
3792 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
3793 match err {
3794 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3795 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
3796 }
3797 }
3798}
3799impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
3800where
3801 R: Send + Sync + std::fmt::Debug + 'static,
3802{
3803 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
3804 match err {
3805 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3806 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3807 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3808 source: err.into(),
3809 }),
3810 }
3811 }
3812}
3813impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
3814 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
3815 match err {
3816 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3817 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
3818 Error::EntityNotFoundException(inner)
3819 }
3820 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
3821 Error::InternalServiceException(inner)
3822 }
3823 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3824 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
3825 Error::OperationTimeoutException(inner)
3826 }
3827 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
3828 }
3829 }
3830}
3831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
3832where
3833 R: Send + Sync + std::fmt::Debug + 'static,
3834{
3835 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
3836 match err {
3837 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3838 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3839 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3840 source: err.into(),
3841 }),
3842 }
3843 }
3844}
3845impl From<crate::operation::get_database::GetDatabaseError> for Error {
3846 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
3847 match err {
3848 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3849 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3850 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
3851 Error::FederationSourceRetryableException(inner)
3852 }
3853 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3854 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3855 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3856 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3857 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
3858 }
3859 }
3860}
3861impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
3862where
3863 R: Send + Sync + std::fmt::Debug + 'static,
3864{
3865 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> Self {
3866 match err {
3867 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3868 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3869 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3870 source: err.into(),
3871 }),
3872 }
3873 }
3874}
3875impl From<crate::operation::get_databases::GetDatabasesError> for Error {
3876 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
3877 match err {
3878 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3879 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3880 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
3881 Error::FederationSourceRetryableException(inner)
3882 }
3883 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3884 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3885 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3886 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3887 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
3888 }
3889 }
3890}
3891impl<R>
3892 From<
3893 ::aws_smithy_runtime_api::client::result::SdkError<
3894 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3895 R,
3896 >,
3897 > for Error
3898where
3899 R: Send + Sync + std::fmt::Debug + 'static,
3900{
3901 fn from(
3902 err: ::aws_smithy_runtime_api::client::result::SdkError<
3903 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
3904 R,
3905 >,
3906 ) -> Self {
3907 match err {
3908 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3909 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3910 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3911 source: err.into(),
3912 }),
3913 }
3914 }
3915}
3916impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
3917 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
3918 match err {
3919 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
3920 Error::InternalServiceException(inner)
3921 }
3922 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
3923 Error::InvalidInputException(inner)
3924 }
3925 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
3926 Error::OperationTimeoutException(inner)
3927 }
3928 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
3929 Error::Unhandled(inner)
3930 }
3931 }
3932 }
3933}
3934impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
3935where
3936 R: Send + Sync + std::fmt::Debug + 'static,
3937{
3938 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
3939 match err {
3940 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3941 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3942 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3943 source: err.into(),
3944 }),
3945 }
3946 }
3947}
3948impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
3949 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
3950 match err {
3951 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3952 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3953 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3954 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
3955 }
3956 }
3957}
3958impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
3959where
3960 R: Send + Sync + std::fmt::Debug + 'static,
3961{
3962 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
3963 match err {
3964 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3965 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3966 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3967 source: err.into(),
3968 }),
3969 }
3970 }
3971}
3972impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
3973 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
3974 match err {
3975 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
3976 Error::EntityNotFoundException(inner)
3977 }
3978 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
3979 Error::InternalServiceException(inner)
3980 }
3981 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3982 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
3983 Error::OperationTimeoutException(inner)
3984 }
3985 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
3986 }
3987 }
3988}
3989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
3990 for Error
3991where
3992 R: Send + Sync + std::fmt::Debug + 'static,
3993{
3994 fn from(
3995 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
3996 ) -> Self {
3997 match err {
3998 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3999 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4000 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4001 source: err.into(),
4002 }),
4003 }
4004 }
4005}
4006impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
4007 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
4008 match err {
4009 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
4010 Error::EntityNotFoundException(inner)
4011 }
4012 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
4013 Error::InternalServiceException(inner)
4014 }
4015 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
4016 Error::InvalidInputException(inner)
4017 }
4018 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
4019 Error::OperationTimeoutException(inner)
4020 }
4021 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
4022 }
4023 }
4024}
4025impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
4026where
4027 R: Send + Sync + std::fmt::Debug + 'static,
4028{
4029 fn from(
4030 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
4031 ) -> Self {
4032 match err {
4033 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4034 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4035 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4036 source: err.into(),
4037 }),
4038 }
4039 }
4040}
4041impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
4042 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
4043 match err {
4044 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
4045 Error::EntityNotFoundException(inner)
4046 }
4047 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
4048 Error::InternalServiceException(inner)
4049 }
4050 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4051 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
4052 Error::OperationTimeoutException(inner)
4053 }
4054 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
4055 }
4056 }
4057}
4058impl<R>
4059 From<
4060 ::aws_smithy_runtime_api::client::result::SdkError<
4061 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4062 R,
4063 >,
4064 > for Error
4065where
4066 R: Send + Sync + std::fmt::Debug + 'static,
4067{
4068 fn from(
4069 err: ::aws_smithy_runtime_api::client::result::SdkError<
4070 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4071 R,
4072 >,
4073 ) -> Self {
4074 match err {
4075 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4076 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4077 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4078 source: err.into(),
4079 }),
4080 }
4081 }
4082}
4083impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
4084 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
4085 match err {
4086 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
4087 Error::EntityNotFoundException(inner)
4088 }
4089 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
4090 Error::InternalServiceException(inner)
4091 }
4092 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
4093 Error::InvalidInputException(inner)
4094 }
4095 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
4096 inner,
4097 ) => Error::OperationTimeoutException(inner),
4098 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
4099 Error::Unhandled(inner)
4100 }
4101 }
4102 }
4103}
4104impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
4105where
4106 R: Send + Sync + std::fmt::Debug + 'static,
4107{
4108 fn from(
4109 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
4110 ) -> Self {
4111 match err {
4112 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4113 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4114 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4115 source: err.into(),
4116 }),
4117 }
4118 }
4119}
4120impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
4121 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
4122 match err {
4123 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
4124 Error::EntityNotFoundException(inner)
4125 }
4126 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
4127 Error::InternalServiceException(inner)
4128 }
4129 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
4130 Error::InvalidInputException(inner)
4131 }
4132 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
4133 Error::OperationTimeoutException(inner)
4134 }
4135 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
4136 }
4137 }
4138}
4139impl<R>
4140 From<
4141 ::aws_smithy_runtime_api::client::result::SdkError<
4142 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4143 R,
4144 >,
4145 > for Error
4146where
4147 R: Send + Sync + std::fmt::Debug + 'static,
4148{
4149 fn from(
4150 err: ::aws_smithy_runtime_api::client::result::SdkError<
4151 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4152 R,
4153 >,
4154 ) -> Self {
4155 match err {
4156 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4157 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4158 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4159 source: err.into(),
4160 }),
4161 }
4162 }
4163}
4164impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
4165 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
4166 match err {
4167 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
4168 Error::EntityNotFoundException(inner)
4169 }
4170 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
4171 Error::InternalServiceException(inner)
4172 }
4173 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
4174 Error::InvalidInputException(inner)
4175 }
4176 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4177 Error::OperationTimeoutException(inner)
4178 }
4179 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4180 Error::Unhandled(inner)
4181 }
4182 }
4183 }
4184}
4185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4186where
4187 R: Send + Sync + std::fmt::Debug + 'static,
4188{
4189 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4190 match err {
4191 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4192 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4193 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4194 source: err.into(),
4195 }),
4196 }
4197 }
4198}
4199impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4200 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4201 match err {
4202 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4203 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4204 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4205 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4206 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4207 }
4208 }
4209}
4210impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4211where
4212 R: Send + Sync + std::fmt::Debug + 'static,
4213{
4214 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> Self {
4215 match err {
4216 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4217 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4218 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4219 source: err.into(),
4220 }),
4221 }
4222 }
4223}
4224impl From<crate::operation::get_dev_endpoints::GetDevEndpointsError> for Error {
4225 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4226 match err {
4227 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4228 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4229 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4230 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4231 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4232 }
4233 }
4234}
4235impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>> for Error
4236where
4237 R: Send + Sync + std::fmt::Debug + 'static,
4238{
4239 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>) -> Self {
4240 match err {
4241 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4242 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4243 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4244 source: err.into(),
4245 }),
4246 }
4247 }
4248}
4249impl From<crate::operation::get_entity_records::GetEntityRecordsError> for Error {
4250 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4251 match err {
4252 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4253 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4254 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4255 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4256 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4257 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4258 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4259 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4260 }
4261 }
4262}
4263impl<R>
4264 From<
4265 ::aws_smithy_runtime_api::client::result::SdkError<
4266 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4267 R,
4268 >,
4269 > for Error
4270where
4271 R: Send + Sync + std::fmt::Debug + 'static,
4272{
4273 fn from(
4274 err: ::aws_smithy_runtime_api::client::result::SdkError<
4275 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4276 R,
4277 >,
4278 ) -> Self {
4279 match err {
4280 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4281 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4282 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4283 source: err.into(),
4284 }),
4285 }
4286 }
4287}
4288impl From<crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError> for Error {
4289 fn from(err: crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError) -> Self {
4290 match err {
4291 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => {
4292 Error::AccessDeniedException(inner)
4293 }
4294 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::ConcurrentModificationException(
4295 inner,
4296 ) => Error::ConcurrentModificationException(inner),
4297 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => {
4298 Error::EntityNotFoundException(inner)
4299 }
4300 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InternalServiceException(inner) => {
4301 Error::InternalServiceException(inner)
4302 }
4303 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InvalidInputException(inner) => {
4304 Error::InvalidInputException(inner)
4305 }
4306 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => {
4307 Error::OperationTimeoutException(inner)
4308 }
4309 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::Unhandled(inner) => {
4310 Error::Unhandled(inner)
4311 }
4312 }
4313 }
4314}
4315impl<R>
4316 From<
4317 ::aws_smithy_runtime_api::client::result::SdkError<
4318 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4319 R,
4320 >,
4321 > for Error
4322where
4323 R: Send + Sync + std::fmt::Debug + 'static,
4324{
4325 fn from(
4326 err: ::aws_smithy_runtime_api::client::result::SdkError<
4327 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4328 R,
4329 >,
4330 ) -> Self {
4331 match err {
4332 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4333 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4334 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4335 source: err.into(),
4336 }),
4337 }
4338 }
4339}
4340impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
4341 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
4342 match err {
4343 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
4344 Error::AccessDeniedException(inner)
4345 }
4346 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
4347 Error::EntityNotFoundException(inner)
4348 }
4349 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
4350 Error::InternalServerException(inner)
4351 }
4352 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
4353 Error::InternalServiceException(inner)
4354 }
4355 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
4356 Error::InvalidInputException(inner)
4357 }
4358 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
4359 Error::ResourceNotFoundException(inner)
4360 }
4361 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
4362 Error::ValidationException(inner)
4363 }
4364 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
4365 }
4366 }
4367}
4368impl<R>
4369 From<
4370 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
4371 > for Error
4372where
4373 R: Send + Sync + std::fmt::Debug + 'static,
4374{
4375 fn from(
4376 err: ::aws_smithy_runtime_api::client::result::SdkError<
4377 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
4378 R,
4379 >,
4380 ) -> Self {
4381 match err {
4382 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4383 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4384 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4385 source: err.into(),
4386 }),
4387 }
4388 }
4389}
4390impl From<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
4391 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
4392 match err {
4393 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
4394 Error::AccessDeniedException(inner)
4395 }
4396 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
4397 Error::EntityNotFoundException(inner)
4398 }
4399 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
4400 Error::InternalServerException(inner)
4401 }
4402 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
4403 Error::InternalServiceException(inner)
4404 }
4405 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
4406 Error::InvalidInputException(inner)
4407 }
4408 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
4409 Error::ResourceNotFoundException(inner)
4410 }
4411 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
4412 Error::ValidationException(inner)
4413 }
4414 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
4415 }
4416 }
4417}
4418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
4419where
4420 R: Send + Sync + std::fmt::Debug + 'static,
4421{
4422 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
4423 match err {
4424 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4425 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4426 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4427 source: err.into(),
4428 }),
4429 }
4430 }
4431}
4432impl From<crate::operation::get_job::GetJobError> for Error {
4433 fn from(err: crate::operation::get_job::GetJobError) -> Self {
4434 match err {
4435 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4436 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4437 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4438 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4439 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
4440 }
4441 }
4442}
4443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
4444where
4445 R: Send + Sync + std::fmt::Debug + 'static,
4446{
4447 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
4448 match err {
4449 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4450 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4451 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4452 source: err.into(),
4453 }),
4454 }
4455 }
4456}
4457impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
4458 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
4459 match err {
4460 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4461 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4462 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4463 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4464 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
4465 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
4466 }
4467 }
4468}
4469impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
4470where
4471 R: Send + Sync + std::fmt::Debug + 'static,
4472{
4473 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
4474 match err {
4475 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4476 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4477 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4478 source: err.into(),
4479 }),
4480 }
4481 }
4482}
4483impl From<crate::operation::get_job_run::GetJobRunError> for Error {
4484 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
4485 match err {
4486 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4487 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4488 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4489 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4490 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
4491 }
4492 }
4493}
4494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
4495where
4496 R: Send + Sync + std::fmt::Debug + 'static,
4497{
4498 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
4499 match err {
4500 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4501 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4502 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4503 source: err.into(),
4504 }),
4505 }
4506 }
4507}
4508impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
4509 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
4510 match err {
4511 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4512 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4513 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4514 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4515 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
4516 }
4517 }
4518}
4519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
4520where
4521 R: Send + Sync + std::fmt::Debug + 'static,
4522{
4523 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
4524 match err {
4525 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4526 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4527 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4528 source: err.into(),
4529 }),
4530 }
4531 }
4532}
4533impl From<crate::operation::get_jobs::GetJobsError> for Error {
4534 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
4535 match err {
4536 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4537 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4538 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4539 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4540 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
4541 }
4542 }
4543}
4544impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
4545where
4546 R: Send + Sync + std::fmt::Debug + 'static,
4547{
4548 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
4549 match err {
4550 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4551 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4552 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4553 source: err.into(),
4554 }),
4555 }
4556 }
4557}
4558impl From<crate::operation::get_mapping::GetMappingError> for Error {
4559 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
4560 match err {
4561 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4562 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4563 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4564 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4565 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
4566 }
4567 }
4568}
4569impl<R>
4570 From<
4571 ::aws_smithy_runtime_api::client::result::SdkError<
4572 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
4573 R,
4574 >,
4575 > for Error
4576where
4577 R: Send + Sync + std::fmt::Debug + 'static,
4578{
4579 fn from(
4580 err: ::aws_smithy_runtime_api::client::result::SdkError<
4581 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
4582 R,
4583 >,
4584 ) -> Self {
4585 match err {
4586 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4587 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4588 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4589 source: err.into(),
4590 }),
4591 }
4592 }
4593}
4594impl From<crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError> for Error {
4595 fn from(err: crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError) -> Self {
4596 match err {
4597 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => {
4598 Error::AccessDeniedException(inner)
4599 }
4600 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => {
4601 Error::EntityNotFoundException(inner)
4602 }
4603 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => {
4604 Error::InvalidInputException(inner)
4605 }
4606 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => {
4607 Error::OperationTimeoutException(inner)
4608 }
4609 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::Unhandled(inner) => {
4610 Error::Unhandled(inner)
4611 }
4612 }
4613 }
4614}
4615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
4616where
4617 R: Send + Sync + std::fmt::Debug + 'static,
4618{
4619 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
4620 match err {
4621 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4622 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4623 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4624 source: err.into(),
4625 }),
4626 }
4627 }
4628}
4629impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
4630 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
4631 match err {
4632 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4633 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4634 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4635 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4636 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4637 }
4638 }
4639}
4640impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
4641where
4642 R: Send + Sync + std::fmt::Debug + 'static,
4643{
4644 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
4645 match err {
4646 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4647 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4648 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4649 source: err.into(),
4650 }),
4651 }
4652 }
4653}
4654impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
4655 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
4656 match err {
4657 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4658 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4659 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4660 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4661 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4662 }
4663 }
4664}
4665impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
4666where
4667 R: Send + Sync + std::fmt::Debug + 'static,
4668{
4669 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
4670 match err {
4671 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4672 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4673 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4674 source: err.into(),
4675 }),
4676 }
4677 }
4678}
4679impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
4680 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
4681 match err {
4682 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4683 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4684 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4685 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4686 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
4687 }
4688 }
4689}
4690impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
4691where
4692 R: Send + Sync + std::fmt::Debug + 'static,
4693{
4694 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> Self {
4695 match err {
4696 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4697 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4698 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4699 source: err.into(),
4700 }),
4701 }
4702 }
4703}
4704impl From<crate::operation::get_ml_transforms::GetMLTransformsError> for Error {
4705 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
4706 match err {
4707 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4708 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4709 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4710 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4711 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
4712 }
4713 }
4714}
4715impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
4716where
4717 R: Send + Sync + std::fmt::Debug + 'static,
4718{
4719 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
4720 match err {
4721 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4722 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4723 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4724 source: err.into(),
4725 }),
4726 }
4727 }
4728}
4729impl From<crate::operation::get_partition::GetPartitionError> for Error {
4730 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
4731 match err {
4732 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4733 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4734 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
4735 Error::FederationSourceRetryableException(inner)
4736 }
4737 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4738 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4739 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4740 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4741 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
4742 }
4743 }
4744}
4745impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
4746where
4747 R: Send + Sync + std::fmt::Debug + 'static,
4748{
4749 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
4750 match err {
4751 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4752 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4753 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4754 source: err.into(),
4755 }),
4756 }
4757 }
4758}
4759impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
4760 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
4761 match err {
4762 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
4763 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
4764 Error::EntityNotFoundException(inner)
4765 }
4766 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
4767 Error::InternalServiceException(inner)
4768 }
4769 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4770 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
4771 Error::OperationTimeoutException(inner)
4772 }
4773 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
4774 }
4775 }
4776}
4777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
4778where
4779 R: Send + Sync + std::fmt::Debug + 'static,
4780{
4781 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
4782 match err {
4783 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4784 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4785 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4786 source: err.into(),
4787 }),
4788 }
4789 }
4790}
4791impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
4792 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
4793 match err {
4794 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4795 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4796 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
4797 Error::FederationSourceRetryableException(inner)
4798 }
4799 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4800 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4801 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4802 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
4803 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4804 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
4805 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
4806 }
4807 }
4808}
4809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
4810where
4811 R: Send + Sync + std::fmt::Debug + 'static,
4812{
4813 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
4814 match err {
4815 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4816 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4817 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4818 source: err.into(),
4819 }),
4820 }
4821 }
4822}
4823impl From<crate::operation::get_plan::GetPlanError> for Error {
4824 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
4825 match err {
4826 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4827 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4828 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4829 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
4830 }
4831 }
4832}
4833impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
4834where
4835 R: Send + Sync + std::fmt::Debug + 'static,
4836{
4837 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
4838 match err {
4839 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4840 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4841 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4842 source: err.into(),
4843 }),
4844 }
4845 }
4846}
4847impl From<crate::operation::get_registry::GetRegistryError> for Error {
4848 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
4849 match err {
4850 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4851 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4852 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4853 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4854 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
4855 }
4856 }
4857}
4858impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
4859where
4860 R: Send + Sync + std::fmt::Debug + 'static,
4861{
4862 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
4863 match err {
4864 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4865 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4866 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4867 source: err.into(),
4868 }),
4869 }
4870 }
4871}
4872impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
4873 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
4874 match err {
4875 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
4876 Error::GlueEncryptionException(inner)
4877 }
4878 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
4879 Error::InternalServiceException(inner)
4880 }
4881 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4882 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
4883 Error::OperationTimeoutException(inner)
4884 }
4885 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
4886 }
4887 }
4888}
4889impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
4890where
4891 R: Send + Sync + std::fmt::Debug + 'static,
4892{
4893 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
4894 match err {
4895 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4896 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4897 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4898 source: err.into(),
4899 }),
4900 }
4901 }
4902}
4903impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
4904 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
4905 match err {
4906 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4907 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4908 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4909 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
4910 Error::OperationTimeoutException(inner)
4911 }
4912 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
4913 }
4914 }
4915}
4916impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
4917where
4918 R: Send + Sync + std::fmt::Debug + 'static,
4919{
4920 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
4921 match err {
4922 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4923 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4924 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4925 source: err.into(),
4926 }),
4927 }
4928 }
4929}
4930impl From<crate::operation::get_schema::GetSchemaError> for Error {
4931 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
4932 match err {
4933 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4934 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4935 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4936 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4937 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
4938 }
4939 }
4940}
4941impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
4942where
4943 R: Send + Sync + std::fmt::Debug + 'static,
4944{
4945 fn from(
4946 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
4947 ) -> Self {
4948 match err {
4949 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4950 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4951 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4952 source: err.into(),
4953 }),
4954 }
4955 }
4956}
4957impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
4958 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
4959 match err {
4960 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
4961 Error::AccessDeniedException(inner)
4962 }
4963 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
4964 Error::EntityNotFoundException(inner)
4965 }
4966 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
4967 Error::InternalServiceException(inner)
4968 }
4969 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
4970 Error::InvalidInputException(inner)
4971 }
4972 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
4973 }
4974 }
4975}
4976impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
4977where
4978 R: Send + Sync + std::fmt::Debug + 'static,
4979{
4980 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
4981 match err {
4982 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4983 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4984 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4985 source: err.into(),
4986 }),
4987 }
4988 }
4989}
4990impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
4991 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
4992 match err {
4993 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4994 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4995 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4996 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4997 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
4998 }
4999 }
5000}
5001impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
5002where
5003 R: Send + Sync + std::fmt::Debug + 'static,
5004{
5005 fn from(
5006 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
5007 ) -> Self {
5008 match err {
5009 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5010 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5011 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5012 source: err.into(),
5013 }),
5014 }
5015 }
5016}
5017impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
5018 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
5019 match err {
5020 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
5021 Error::AccessDeniedException(inner)
5022 }
5023 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
5024 Error::EntityNotFoundException(inner)
5025 }
5026 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
5027 Error::InternalServiceException(inner)
5028 }
5029 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
5030 Error::InvalidInputException(inner)
5031 }
5032 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
5033 }
5034 }
5035}
5036impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
5037 for Error
5038where
5039 R: Send + Sync + std::fmt::Debug + 'static,
5040{
5041 fn from(
5042 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
5043 ) -> Self {
5044 match err {
5045 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5046 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5047 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5048 source: err.into(),
5049 }),
5050 }
5051 }
5052}
5053impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
5054 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
5055 match err {
5056 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
5057 Error::EntityNotFoundException(inner)
5058 }
5059 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
5060 Error::InternalServiceException(inner)
5061 }
5062 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
5063 Error::InvalidInputException(inner)
5064 }
5065 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
5066 Error::OperationTimeoutException(inner)
5067 }
5068 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
5069 }
5070 }
5071}
5072impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
5073 for Error
5074where
5075 R: Send + Sync + std::fmt::Debug + 'static,
5076{
5077 fn from(
5078 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
5079 ) -> Self {
5080 match err {
5081 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5082 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5083 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5084 source: err.into(),
5085 }),
5086 }
5087 }
5088}
5089impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
5090 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
5091 match err {
5092 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
5093 Error::EntityNotFoundException(inner)
5094 }
5095 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
5096 Error::InternalServiceException(inner)
5097 }
5098 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
5099 Error::InvalidInputException(inner)
5100 }
5101 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
5102 Error::OperationTimeoutException(inner)
5103 }
5104 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
5105 }
5106 }
5107}
5108impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
5109where
5110 R: Send + Sync + std::fmt::Debug + 'static,
5111{
5112 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
5113 match err {
5114 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5115 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5116 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5117 source: err.into(),
5118 }),
5119 }
5120 }
5121}
5122impl From<crate::operation::get_session::GetSessionError> for Error {
5123 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
5124 match err {
5125 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5126 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5127 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5128 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5129 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5130 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
5131 }
5132 }
5133}
5134impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
5135where
5136 R: Send + Sync + std::fmt::Debug + 'static,
5137{
5138 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
5139 match err {
5140 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5141 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5142 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5143 source: err.into(),
5144 }),
5145 }
5146 }
5147}
5148impl From<crate::operation::get_statement::GetStatementError> for Error {
5149 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
5150 match err {
5151 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5152 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5153 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
5154 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5155 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5156 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5157 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
5158 }
5159 }
5160}
5161impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
5162where
5163 R: Send + Sync + std::fmt::Debug + 'static,
5164{
5165 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
5166 match err {
5167 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5168 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5169 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5170 source: err.into(),
5171 }),
5172 }
5173 }
5174}
5175impl From<crate::operation::get_table::GetTableError> for Error {
5176 fn from(err: crate::operation::get_table::GetTableError) -> Self {
5177 match err {
5178 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5179 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5180 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
5181 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5182 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5183 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5184 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5185 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5186 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
5187 }
5188 }
5189}
5190impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
5191where
5192 R: Send + Sync + std::fmt::Debug + 'static,
5193{
5194 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
5195 match err {
5196 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5197 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5198 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5199 source: err.into(),
5200 }),
5201 }
5202 }
5203}
5204impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
5205 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
5206 match err {
5207 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5208 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5209 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5210 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5211 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5212 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
5213 }
5214 }
5215}
5216impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>> for Error
5217where
5218 R: Send + Sync + std::fmt::Debug + 'static,
5219{
5220 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, R>) -> Self {
5221 match err {
5222 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5223 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5224 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5225 source: err.into(),
5226 }),
5227 }
5228 }
5229}
5230impl From<crate::operation::get_tables::GetTablesError> for Error {
5231 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
5232 match err {
5233 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5234 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5235 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
5236 Error::FederationSourceRetryableException(inner)
5237 }
5238 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5239 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5240 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5241 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5242 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
5243 }
5244 }
5245}
5246impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
5247where
5248 R: Send + Sync + std::fmt::Debug + 'static,
5249{
5250 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
5251 match err {
5252 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5253 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5254 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5255 source: err.into(),
5256 }),
5257 }
5258 }
5259}
5260impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
5261 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
5262 match err {
5263 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5264 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5265 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5266 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5267 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5268 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
5269 }
5270 }
5271}
5272impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
5273where
5274 R: Send + Sync + std::fmt::Debug + 'static,
5275{
5276 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
5277 match err {
5278 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5279 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5280 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5281 source: err.into(),
5282 }),
5283 }
5284 }
5285}
5286impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
5287 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
5288 match err {
5289 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5290 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5291 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5292 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5293 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5294 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5295 }
5296 }
5297}
5298impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
5299where
5300 R: Send + Sync + std::fmt::Debug + 'static,
5301{
5302 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
5303 match err {
5304 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5305 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5306 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5307 source: err.into(),
5308 }),
5309 }
5310 }
5311}
5312impl From<crate::operation::get_tags::GetTagsError> for Error {
5313 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
5314 match err {
5315 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5316 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5317 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5318 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5319 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
5320 }
5321 }
5322}
5323impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
5324where
5325 R: Send + Sync + std::fmt::Debug + 'static,
5326{
5327 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
5328 match err {
5329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5332 source: err.into(),
5333 }),
5334 }
5335 }
5336}
5337impl From<crate::operation::get_trigger::GetTriggerError> for Error {
5338 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
5339 match err {
5340 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5341 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5342 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5343 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5344 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
5345 }
5346 }
5347}
5348impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
5349where
5350 R: Send + Sync + std::fmt::Debug + 'static,
5351{
5352 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
5353 match err {
5354 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5355 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5356 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5357 source: err.into(),
5358 }),
5359 }
5360 }
5361}
5362impl From<crate::operation::get_triggers::GetTriggersError> for Error {
5363 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
5364 match err {
5365 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5366 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5367 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5368 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5369 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
5370 }
5371 }
5372}
5373impl<R>
5374 From<
5375 ::aws_smithy_runtime_api::client::result::SdkError<
5376 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5377 R,
5378 >,
5379 > for Error
5380where
5381 R: Send + Sync + std::fmt::Debug + 'static,
5382{
5383 fn from(
5384 err: ::aws_smithy_runtime_api::client::result::SdkError<
5385 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
5386 R,
5387 >,
5388 ) -> Self {
5389 match err {
5390 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5391 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5392 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5393 source: err.into(),
5394 }),
5395 }
5396 }
5397}
5398impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
5399 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
5400 match err {
5401 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
5402 Error::EntityNotFoundException(inner)
5403 }
5404 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
5405 Error::FederationSourceException(inner)
5406 }
5407 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
5408 Error::FederationSourceRetryableException(inner)
5409 }
5410 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
5411 Error::GlueEncryptionException(inner)
5412 }
5413 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
5414 Error::InternalServiceException(inner)
5415 }
5416 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
5417 Error::InvalidInputException(inner)
5418 }
5419 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
5420 Error::OperationTimeoutException(inner)
5421 }
5422 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
5423 Error::PermissionTypeMismatchException(inner)
5424 }
5425 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5426 }
5427 }
5428}
5429impl<R>
5430 From<
5431 ::aws_smithy_runtime_api::client::result::SdkError<
5432 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5433 R,
5434 >,
5435 > for Error
5436where
5437 R: Send + Sync + std::fmt::Debug + 'static,
5438{
5439 fn from(
5440 err: ::aws_smithy_runtime_api::client::result::SdkError<
5441 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
5442 R,
5443 >,
5444 ) -> Self {
5445 match err {
5446 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5447 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5448 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5449 source: err.into(),
5450 }),
5451 }
5452 }
5453}
5454impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
5455 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
5456 match err {
5457 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
5458 Error::EntityNotFoundException(inner)
5459 }
5460 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
5461 Error::FederationSourceException(inner)
5462 }
5463 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
5464 Error::FederationSourceRetryableException(inner)
5465 }
5466 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
5467 Error::GlueEncryptionException(inner)
5468 }
5469 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
5470 Error::InternalServiceException(inner)
5471 }
5472 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
5473 Error::InvalidInputException(inner)
5474 }
5475 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
5476 Error::OperationTimeoutException(inner)
5477 }
5478 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
5479 Error::PermissionTypeMismatchException(inner)
5480 }
5481 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5482 }
5483 }
5484}
5485impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
5486 for Error
5487where
5488 R: Send + Sync + std::fmt::Debug + 'static,
5489{
5490 fn from(
5491 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
5492 ) -> Self {
5493 match err {
5494 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5495 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5496 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5497 source: err.into(),
5498 }),
5499 }
5500 }
5501}
5502impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
5503 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
5504 match err {
5505 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
5506 Error::EntityNotFoundException(inner)
5507 }
5508 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
5509 Error::FederationSourceException(inner)
5510 }
5511 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
5512 Error::FederationSourceRetryableException(inner)
5513 }
5514 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
5515 Error::GlueEncryptionException(inner)
5516 }
5517 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
5518 Error::InternalServiceException(inner)
5519 }
5520 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
5521 Error::InvalidInputException(inner)
5522 }
5523 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
5524 Error::OperationTimeoutException(inner)
5525 }
5526 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
5527 Error::PermissionTypeMismatchException(inner)
5528 }
5529 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
5530 }
5531 }
5532}
5533impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
5534where
5535 R: Send + Sync + std::fmt::Debug + 'static,
5536{
5537 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
5538 match err {
5539 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5540 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5541 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5542 source: err.into(),
5543 }),
5544 }
5545 }
5546}
5547impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
5548 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
5549 match err {
5550 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5551 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5552 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5553 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
5554 Error::OperationNotSupportedException(inner)
5555 }
5556 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5557 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
5558 }
5559 }
5560}
5561impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
5562 for Error
5563where
5564 R: Send + Sync + std::fmt::Debug + 'static,
5565{
5566 fn from(
5567 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
5568 ) -> Self {
5569 match err {
5570 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5571 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5572 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5573 source: err.into(),
5574 }),
5575 }
5576 }
5577}
5578impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
5579 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
5580 match err {
5581 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
5582 Error::EntityNotFoundException(inner)
5583 }
5584 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
5585 Error::GlueEncryptionException(inner)
5586 }
5587 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
5588 Error::InternalServiceException(inner)
5589 }
5590 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
5591 Error::InvalidInputException(inner)
5592 }
5593 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
5594 Error::OperationTimeoutException(inner)
5595 }
5596 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
5597 }
5598 }
5599}
5600impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
5601 for Error
5602where
5603 R: Send + Sync + std::fmt::Debug + 'static,
5604{
5605 fn from(
5606 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
5607 ) -> Self {
5608 match err {
5609 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5610 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5611 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5612 source: err.into(),
5613 }),
5614 }
5615 }
5616}
5617impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
5618 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
5619 match err {
5620 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
5621 Error::EntityNotFoundException(inner)
5622 }
5623 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
5624 Error::GlueEncryptionException(inner)
5625 }
5626 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
5627 Error::InternalServiceException(inner)
5628 }
5629 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
5630 Error::InvalidInputException(inner)
5631 }
5632 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
5633 Error::OperationTimeoutException(inner)
5634 }
5635 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
5636 }
5637 }
5638}
5639impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
5640where
5641 R: Send + Sync + std::fmt::Debug + 'static,
5642{
5643 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
5644 match err {
5645 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5646 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5647 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5648 source: err.into(),
5649 }),
5650 }
5651 }
5652}
5653impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
5654 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
5655 match err {
5656 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5657 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5658 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5659 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5660 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
5661 }
5662 }
5663}
5664impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
5665where
5666 R: Send + Sync + std::fmt::Debug + 'static,
5667{
5668 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
5669 match err {
5670 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5671 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5672 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5673 source: err.into(),
5674 }),
5675 }
5676 }
5677}
5678impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
5679 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
5680 match err {
5681 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5682 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5683 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5684 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5685 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
5686 }
5687 }
5688}
5689impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>>
5690 for Error
5691where
5692 R: Send + Sync + std::fmt::Debug + 'static,
5693{
5694 fn from(
5695 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>,
5696 ) -> Self {
5697 match err {
5698 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5699 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5700 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5701 source: err.into(),
5702 }),
5703 }
5704 }
5705}
5706impl From<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
5707 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
5708 match err {
5709 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
5710 Error::EntityNotFoundException(inner)
5711 }
5712 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
5713 Error::InternalServiceException(inner)
5714 }
5715 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
5716 Error::InvalidInputException(inner)
5717 }
5718 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
5719 Error::OperationTimeoutException(inner)
5720 }
5721 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5722 }
5723 }
5724}
5725impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
5726where
5727 R: Send + Sync + std::fmt::Debug + 'static,
5728{
5729 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
5730 match err {
5731 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5732 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5733 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5734 source: err.into(),
5735 }),
5736 }
5737 }
5738}
5739impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
5740 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
5741 match err {
5742 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5743 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5744 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5745 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5746 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
5747 }
5748 }
5749}
5750impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
5751where
5752 R: Send + Sync + std::fmt::Debug + 'static,
5753{
5754 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
5755 match err {
5756 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5757 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5758 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5759 source: err.into(),
5760 }),
5761 }
5762 }
5763}
5764impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
5765 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
5766 match err {
5767 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
5768 Error::InternalServiceException(inner)
5769 }
5770 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
5771 Error::OperationTimeoutException(inner)
5772 }
5773 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
5774 }
5775 }
5776}
5777impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
5778where
5779 R: Send + Sync + std::fmt::Debug + 'static,
5780{
5781 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
5782 match err {
5783 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5784 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5785 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5786 source: err.into(),
5787 }),
5788 }
5789 }
5790}
5791impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
5792 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
5793 match err {
5794 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5795 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5796 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5797 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
5798 }
5799 }
5800}
5801impl<R>
5802 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
5803 for Error
5804where
5805 R: Send + Sync + std::fmt::Debug + 'static,
5806{
5807 fn from(
5808 err: ::aws_smithy_runtime_api::client::result::SdkError<
5809 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
5810 R,
5811 >,
5812 ) -> Self {
5813 match err {
5814 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5815 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5816 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5817 source: err.into(),
5818 }),
5819 }
5820 }
5821}
5822impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
5823 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
5824 match err {
5825 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
5826 Error::OperationTimeoutException(inner)
5827 }
5828 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5829 }
5830 }
5831}
5832impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
5833where
5834 R: Send + Sync + std::fmt::Debug + 'static,
5835{
5836 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
5837 match err {
5838 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5839 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5840 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5841 source: err.into(),
5842 }),
5843 }
5844 }
5845}
5846impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
5847 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
5848 match err {
5849 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5850 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
5851 Error::InternalServiceException(inner)
5852 }
5853 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
5854 }
5855 }
5856}
5857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
5858where
5859 R: Send + Sync + std::fmt::Debug + 'static,
5860{
5861 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
5862 match err {
5863 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5864 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5865 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5866 source: err.into(),
5867 }),
5868 }
5869 }
5870}
5871impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
5872 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
5873 match err {
5874 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5875 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
5876 }
5877 }
5878}
5879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
5880where
5881 R: Send + Sync + std::fmt::Debug + 'static,
5882{
5883 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
5884 match err {
5885 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5886 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5887 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5888 source: err.into(),
5889 }),
5890 }
5891 }
5892}
5893impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
5894 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
5895 match err {
5896 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5897 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5898 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5899 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
5900 }
5901 }
5902}
5903impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
5904where
5905 R: Send + Sync + std::fmt::Debug + 'static,
5906{
5907 fn from(
5908 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
5909 ) -> Self {
5910 match err {
5911 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5912 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5913 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5914 source: err.into(),
5915 }),
5916 }
5917 }
5918}
5919impl From<crate::operation::list_custom_entity_types::ListCustomEntityTypesError> for Error {
5920 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
5921 match err {
5922 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
5923 Error::InternalServiceException(inner)
5924 }
5925 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
5926 Error::InvalidInputException(inner)
5927 }
5928 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
5929 Error::OperationTimeoutException(inner)
5930 }
5931 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
5932 }
5933 }
5934}
5935impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
5936 for Error
5937where
5938 R: Send + Sync + std::fmt::Debug + 'static,
5939{
5940 fn from(
5941 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
5942 ) -> Self {
5943 match err {
5944 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5945 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5946 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5947 source: err.into(),
5948 }),
5949 }
5950 }
5951}
5952impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
5953 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
5954 match err {
5955 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
5956 Error::InternalServiceException(inner)
5957 }
5958 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
5959 Error::InvalidInputException(inner)
5960 }
5961 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
5962 Error::OperationTimeoutException(inner)
5963 }
5964 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
5965 }
5966 }
5967}
5968impl<R>
5969 From<
5970 ::aws_smithy_runtime_api::client::result::SdkError<
5971 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5972 R,
5973 >,
5974 > for Error
5975where
5976 R: Send + Sync + std::fmt::Debug + 'static,
5977{
5978 fn from(
5979 err: ::aws_smithy_runtime_api::client::result::SdkError<
5980 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
5981 R,
5982 >,
5983 ) -> Self {
5984 match err {
5985 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5986 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5987 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5988 source: err.into(),
5989 }),
5990 }
5991 }
5992}
5993impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
5994 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
5995 match err {
5996 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
5997 inner,
5998 ) => Error::InternalServiceException(inner),
5999 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
6000 inner,
6001 ) => Error::InvalidInputException(inner),
6002 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
6003 inner,
6004 ) => Error::OperationTimeoutException(inner),
6005 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
6006 Error::Unhandled(inner)
6007 }
6008 }
6009 }
6010}
6011impl<R>
6012 From<
6013 ::aws_smithy_runtime_api::client::result::SdkError<
6014 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
6015 R,
6016 >,
6017 > for Error
6018where
6019 R: Send + Sync + std::fmt::Debug + 'static,
6020{
6021 fn from(
6022 err: ::aws_smithy_runtime_api::client::result::SdkError<
6023 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
6024 R,
6025 >,
6026 ) -> Self {
6027 match err {
6028 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6029 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6030 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6031 source: err.into(),
6032 }),
6033 }
6034 }
6035}
6036impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
6037 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
6038 match err {
6039 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
6040 inner,
6041 ) => Error::InternalServiceException(inner),
6042 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
6043 Error::InvalidInputException(inner)
6044 }
6045 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
6046 inner,
6047 ) => Error::OperationTimeoutException(inner),
6048 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
6049 Error::Unhandled(inner)
6050 }
6051 }
6052 }
6053}
6054impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
6055 for Error
6056where
6057 R: Send + Sync + std::fmt::Debug + 'static,
6058{
6059 fn from(
6060 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
6061 ) -> Self {
6062 match err {
6063 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6064 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6065 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6066 source: err.into(),
6067 }),
6068 }
6069 }
6070}
6071impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
6072 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
6073 match err {
6074 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
6075 Error::EntityNotFoundException(inner)
6076 }
6077 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
6078 Error::InternalServiceException(inner)
6079 }
6080 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
6081 Error::InvalidInputException(inner)
6082 }
6083 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
6084 Error::OperationTimeoutException(inner)
6085 }
6086 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
6087 }
6088 }
6089}
6090impl<R>
6091 From<
6092 ::aws_smithy_runtime_api::client::result::SdkError<
6093 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6094 R,
6095 >,
6096 > for Error
6097where
6098 R: Send + Sync + std::fmt::Debug + 'static,
6099{
6100 fn from(
6101 err: ::aws_smithy_runtime_api::client::result::SdkError<
6102 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6103 R,
6104 >,
6105 ) -> Self {
6106 match err {
6107 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6108 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6109 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6110 source: err.into(),
6111 }),
6112 }
6113 }
6114}
6115impl From<crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
6116 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
6117 match err {
6118 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
6119 Error::InternalServiceException(inner)
6120 }
6121 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
6122 Error::InvalidInputException(inner)
6123 }
6124 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
6125 Error::Unhandled(inner)
6126 }
6127 }
6128 }
6129}
6130impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
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<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
6137 ) -> Self {
6138 match err {
6139 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6140 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6141 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6142 source: err.into(),
6143 }),
6144 }
6145 }
6146}
6147impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
6148 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
6149 match err {
6150 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
6151 Error::EntityNotFoundException(inner)
6152 }
6153 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
6154 Error::InternalServiceException(inner)
6155 }
6156 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
6157 Error::InvalidInputException(inner)
6158 }
6159 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
6160 }
6161 }
6162}
6163impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>> for Error
6164where
6165 R: Send + Sync + std::fmt::Debug + 'static,
6166{
6167 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>) -> Self {
6168 match err {
6169 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6170 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6171 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6172 source: err.into(),
6173 }),
6174 }
6175 }
6176}
6177impl From<crate::operation::list_dev_endpoints::ListDevEndpointsError> for Error {
6178 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
6179 match err {
6180 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6181 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6182 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6183 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6184 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6185 }
6186 }
6187}
6188impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
6189where
6190 R: Send + Sync + std::fmt::Debug + 'static,
6191{
6192 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
6193 match err {
6194 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6195 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6196 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6197 source: err.into(),
6198 }),
6199 }
6200 }
6201}
6202impl From<crate::operation::list_entities::ListEntitiesError> for Error {
6203 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
6204 match err {
6205 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6206 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6207 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6208 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6209 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6210 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6211 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
6212 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
6213 }
6214 }
6215}
6216impl<R>
6217 From<
6218 ::aws_smithy_runtime_api::client::result::SdkError<
6219 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6220 R,
6221 >,
6222 > for Error
6223where
6224 R: Send + Sync + std::fmt::Debug + 'static,
6225{
6226 fn from(
6227 err: ::aws_smithy_runtime_api::client::result::SdkError<
6228 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6229 R,
6230 >,
6231 ) -> Self {
6232 match err {
6233 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6234 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6235 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6236 source: err.into(),
6237 }),
6238 }
6239 }
6240}
6241impl From<crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError> for Error {
6242 fn from(err: crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError) -> Self {
6243 match err {
6244 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::AccessDeniedException(inner) => {
6245 Error::AccessDeniedException(inner)
6246 }
6247 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::EntityNotFoundException(inner) => {
6248 Error::EntityNotFoundException(inner)
6249 }
6250 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServerException(inner) => {
6251 Error::InternalServerException(inner)
6252 }
6253 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServiceException(inner) => {
6254 Error::InternalServiceException(inner)
6255 }
6256 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InvalidInputException(inner) => {
6257 Error::InvalidInputException(inner)
6258 }
6259 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ResourceNotFoundException(inner) => {
6260 Error::ResourceNotFoundException(inner)
6261 }
6262 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ValidationException(inner) => {
6263 Error::ValidationException(inner)
6264 }
6265 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::Unhandled(inner) => {
6266 Error::Unhandled(inner)
6267 }
6268 }
6269 }
6270}
6271impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
6272where
6273 R: Send + Sync + std::fmt::Debug + 'static,
6274{
6275 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
6276 match err {
6277 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6278 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6279 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6280 source: err.into(),
6281 }),
6282 }
6283 }
6284}
6285impl From<crate::operation::list_jobs::ListJobsError> for Error {
6286 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
6287 match err {
6288 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6289 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6290 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6291 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6292 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
6293 }
6294 }
6295}
6296impl<R>
6297 From<
6298 ::aws_smithy_runtime_api::client::result::SdkError<
6299 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
6300 R,
6301 >,
6302 > for Error
6303where
6304 R: Send + Sync + std::fmt::Debug + 'static,
6305{
6306 fn from(
6307 err: ::aws_smithy_runtime_api::client::result::SdkError<
6308 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
6309 R,
6310 >,
6311 ) -> Self {
6312 match err {
6313 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6314 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6315 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6316 source: err.into(),
6317 }),
6318 }
6319 }
6320}
6321impl From<crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError> for Error {
6322 fn from(err: crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError) -> Self {
6323 match err {
6324 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::AccessDeniedException(inner) => {
6325 Error::AccessDeniedException(inner)
6326 }
6327 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::InvalidInputException(inner) => {
6328 Error::InvalidInputException(inner)
6329 }
6330 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::OperationTimeoutException(
6331 inner,
6332 ) => Error::OperationTimeoutException(inner),
6333 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::Unhandled(inner) => {
6334 Error::Unhandled(inner)
6335 }
6336 }
6337 }
6338}
6339impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
6340where
6341 R: Send + Sync + std::fmt::Debug + 'static,
6342{
6343 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
6344 match err {
6345 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6346 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6347 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6348 source: err.into(),
6349 }),
6350 }
6351 }
6352}
6353impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
6354 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
6355 match err {
6356 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6357 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6358 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6359 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6360 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
6361 }
6362 }
6363}
6364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
6365where
6366 R: Send + Sync + std::fmt::Debug + 'static,
6367{
6368 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
6369 match err {
6370 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6371 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6372 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6373 source: err.into(),
6374 }),
6375 }
6376 }
6377}
6378impl From<crate::operation::list_registries::ListRegistriesError> for Error {
6379 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
6380 match err {
6381 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6382 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6383 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6384 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
6385 }
6386 }
6387}
6388impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
6389where
6390 R: Send + Sync + std::fmt::Debug + 'static,
6391{
6392 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
6393 match err {
6394 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6395 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6396 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6397 source: err.into(),
6398 }),
6399 }
6400 }
6401}
6402impl From<crate::operation::list_schemas::ListSchemasError> for Error {
6403 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
6404 match err {
6405 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6406 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6407 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6408 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6409 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
6410 }
6411 }
6412}
6413impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
6414where
6415 R: Send + Sync + std::fmt::Debug + 'static,
6416{
6417 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
6418 match err {
6419 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6420 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6421 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6422 source: err.into(),
6423 }),
6424 }
6425 }
6426}
6427impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
6428 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
6429 match err {
6430 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6431 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6432 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
6433 Error::InternalServiceException(inner)
6434 }
6435 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6436 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
6437 }
6438 }
6439}
6440impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
6441where
6442 R: Send + Sync + std::fmt::Debug + 'static,
6443{
6444 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
6445 match err {
6446 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6447 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6448 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6449 source: err.into(),
6450 }),
6451 }
6452 }
6453}
6454impl From<crate::operation::list_sessions::ListSessionsError> for Error {
6455 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
6456 match err {
6457 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6458 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6459 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6460 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6461 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
6462 }
6463 }
6464}
6465impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
6466where
6467 R: Send + Sync + std::fmt::Debug + 'static,
6468{
6469 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
6470 match err {
6471 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6472 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6473 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6474 source: err.into(),
6475 }),
6476 }
6477 }
6478}
6479impl From<crate::operation::list_statements::ListStatementsError> for Error {
6480 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
6481 match err {
6482 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6483 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6484 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
6485 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6486 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6487 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6488 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
6489 }
6490 }
6491}
6492impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
6493 for Error
6494where
6495 R: Send + Sync + std::fmt::Debug + 'static,
6496{
6497 fn from(
6498 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
6499 ) -> Self {
6500 match err {
6501 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6502 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6503 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6504 source: err.into(),
6505 }),
6506 }
6507 }
6508}
6509impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
6510 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
6511 match err {
6512 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
6513 Error::AccessDeniedException(inner)
6514 }
6515 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
6516 Error::EntityNotFoundException(inner)
6517 }
6518 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
6519 Error::InternalServiceException(inner)
6520 }
6521 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
6522 Error::InvalidInputException(inner)
6523 }
6524 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6525 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
6526 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
6527 }
6528 }
6529}
6530impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
6531where
6532 R: Send + Sync + std::fmt::Debug + 'static,
6533{
6534 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
6535 match err {
6536 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6537 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6538 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6539 source: err.into(),
6540 }),
6541 }
6542 }
6543}
6544impl From<crate::operation::list_triggers::ListTriggersError> for Error {
6545 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
6546 match err {
6547 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6548 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6549 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6550 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6551 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6552 }
6553 }
6554}
6555impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
6556where
6557 R: Send + Sync + std::fmt::Debug + 'static,
6558{
6559 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
6560 match err {
6561 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6562 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6563 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6564 source: err.into(),
6565 }),
6566 }
6567 }
6568}
6569impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
6570 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
6571 match err {
6572 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6573 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6574 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
6575 Error::OperationNotSupportedException(inner)
6576 }
6577 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
6578 Error::OperationTimeoutException(inner)
6579 }
6580 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
6581 }
6582 }
6583}
6584impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
6585where
6586 R: Send + Sync + std::fmt::Debug + 'static,
6587{
6588 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
6589 match err {
6590 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6591 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6592 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6593 source: err.into(),
6594 }),
6595 }
6596 }
6597}
6598impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
6599 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
6600 match err {
6601 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6602 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6603 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6604 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
6605 }
6606 }
6607}
6608impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
6609where
6610 R: Send + Sync + std::fmt::Debug + 'static,
6611{
6612 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
6613 match err {
6614 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6615 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6616 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6617 source: err.into(),
6618 }),
6619 }
6620 }
6621}
6622impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
6623 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
6624 match err {
6625 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6626 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
6627 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6628 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
6629 Error::IntegrationConflictOperationFault(inner)
6630 }
6631 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
6632 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
6633 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6634 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6635 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
6636 Error::InvalidIntegrationStateFault(inner)
6637 }
6638 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
6639 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
6640 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
6641 }
6642 }
6643}
6644impl<R>
6645 From<
6646 ::aws_smithy_runtime_api::client::result::SdkError<
6647 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6648 R,
6649 >,
6650 > for Error
6651where
6652 R: Send + Sync + std::fmt::Debug + 'static,
6653{
6654 fn from(
6655 err: ::aws_smithy_runtime_api::client::result::SdkError<
6656 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
6657 R,
6658 >,
6659 ) -> Self {
6660 match err {
6661 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6662 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6663 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6664 source: err.into(),
6665 }),
6666 }
6667 }
6668}
6669impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
6670 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
6671 match err {
6672 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
6673 Error::InternalServiceException(inner)
6674 }
6675 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
6676 Error::InvalidInputException(inner)
6677 }
6678 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
6679 Error::OperationTimeoutException(inner)
6680 }
6681 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
6682 Error::Unhandled(inner)
6683 }
6684 }
6685 }
6686}
6687impl<R>
6688 From<
6689 ::aws_smithy_runtime_api::client::result::SdkError<
6690 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6691 R,
6692 >,
6693 > for Error
6694where
6695 R: Send + Sync + std::fmt::Debug + 'static,
6696{
6697 fn from(
6698 err: ::aws_smithy_runtime_api::client::result::SdkError<
6699 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
6700 R,
6701 >,
6702 ) -> Self {
6703 match err {
6704 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6705 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6706 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6707 source: err.into(),
6708 }),
6709 }
6710 }
6711}
6712impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
6713 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
6714 match err {
6715 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
6716 Error::EntityNotFoundException(inner)
6717 }
6718 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
6719 Error::InternalServiceException(inner)
6720 }
6721 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
6722 Error::InvalidInputException(inner)
6723 }
6724 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
6725 }
6726 }
6727}
6728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
6729where
6730 R: Send + Sync + std::fmt::Debug + 'static,
6731{
6732 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
6733 match err {
6734 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6735 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6736 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6737 source: err.into(),
6738 }),
6739 }
6740 }
6741}
6742impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
6743 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
6744 match err {
6745 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
6746 Error::ConditionCheckFailureException(inner)
6747 }
6748 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6749 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6750 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6751 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
6752 Error::OperationTimeoutException(inner)
6753 }
6754 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
6755 }
6756 }
6757}
6758impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
6759 for Error
6760where
6761 R: Send + Sync + std::fmt::Debug + 'static,
6762{
6763 fn from(
6764 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
6765 ) -> Self {
6766 match err {
6767 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6768 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6769 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6770 source: err.into(),
6771 }),
6772 }
6773 }
6774}
6775impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
6776 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
6777 match err {
6778 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
6779 Error::AccessDeniedException(inner)
6780 }
6781 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
6782 Error::AlreadyExistsException(inner)
6783 }
6784 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6785 Error::EntityNotFoundException(inner)
6786 }
6787 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
6788 Error::InvalidInputException(inner)
6789 }
6790 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
6791 Error::ResourceNumberLimitExceededException(inner)
6792 }
6793 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6794 }
6795 }
6796}
6797impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
6798 for Error
6799where
6800 R: Send + Sync + std::fmt::Debug + 'static,
6801{
6802 fn from(
6803 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
6804 ) -> Self {
6805 match err {
6806 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6807 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6808 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6809 source: err.into(),
6810 }),
6811 }
6812 }
6813}
6814impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
6815 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
6816 match err {
6817 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
6818 Error::AlreadyExistsException(inner)
6819 }
6820 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
6821 Error::ConcurrentModificationException(inner)
6822 }
6823 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6824 Error::EntityNotFoundException(inner)
6825 }
6826 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
6827 Error::InternalServiceException(inner)
6828 }
6829 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
6830 Error::InvalidInputException(inner)
6831 }
6832 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6833 Error::OperationTimeoutException(inner)
6834 }
6835 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
6836 Error::ResourceNumberLimitExceededException(inner)
6837 }
6838 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6839 }
6840 }
6841}
6842impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
6843 for Error
6844where
6845 R: Send + Sync + std::fmt::Debug + 'static,
6846{
6847 fn from(
6848 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
6849 ) -> Self {
6850 match err {
6851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6854 source: err.into(),
6855 }),
6856 }
6857 }
6858}
6859impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
6860 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
6861 match err {
6862 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
6863 Error::AccessDeniedException(inner)
6864 }
6865 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
6866 Error::EntityNotFoundException(inner)
6867 }
6868 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
6869 Error::InvalidInputException(inner)
6870 }
6871 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6872 }
6873 }
6874}
6875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>> for Error
6876where
6877 R: Send + Sync + std::fmt::Debug + 'static,
6878{
6879 fn from(
6880 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>,
6881 ) -> 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::register_connection_type::RegisterConnectionTypeError> for Error {
6892 fn from(err: crate::operation::register_connection_type::RegisterConnectionTypeError) -> Self {
6893 match err {
6894 crate::operation::register_connection_type::RegisterConnectionTypeError::AccessDeniedException(inner) => {
6895 Error::AccessDeniedException(inner)
6896 }
6897 crate::operation::register_connection_type::RegisterConnectionTypeError::InternalServiceException(inner) => {
6898 Error::InternalServiceException(inner)
6899 }
6900 crate::operation::register_connection_type::RegisterConnectionTypeError::InvalidInputException(inner) => {
6901 Error::InvalidInputException(inner)
6902 }
6903 crate::operation::register_connection_type::RegisterConnectionTypeError::OperationTimeoutException(inner) => {
6904 Error::OperationTimeoutException(inner)
6905 }
6906 crate::operation::register_connection_type::RegisterConnectionTypeError::ResourceNumberLimitExceededException(inner) => {
6907 Error::ResourceNumberLimitExceededException(inner)
6908 }
6909 crate::operation::register_connection_type::RegisterConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
6910 crate::operation::register_connection_type::RegisterConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
6911 }
6912 }
6913}
6914impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
6915where
6916 R: Send + Sync + std::fmt::Debug + 'static,
6917{
6918 fn from(
6919 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
6920 ) -> Self {
6921 match err {
6922 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6923 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6924 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6925 source: err.into(),
6926 }),
6927 }
6928 }
6929}
6930impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
6931 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
6932 match err {
6933 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
6934 Error::AccessDeniedException(inner)
6935 }
6936 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
6937 Error::ConcurrentModificationException(inner)
6938 }
6939 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
6940 Error::EntityNotFoundException(inner)
6941 }
6942 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
6943 Error::InternalServiceException(inner)
6944 }
6945 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
6946 Error::InvalidInputException(inner)
6947 }
6948 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
6949 Error::ResourceNumberLimitExceededException(inner)
6950 }
6951 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
6952 }
6953 }
6954}
6955impl<R>
6956 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
6957 for Error
6958where
6959 R: Send + Sync + std::fmt::Debug + 'static,
6960{
6961 fn from(
6962 err: ::aws_smithy_runtime_api::client::result::SdkError<
6963 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
6964 R,
6965 >,
6966 ) -> Self {
6967 match err {
6968 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6969 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6970 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6971 source: err.into(),
6972 }),
6973 }
6974 }
6975}
6976impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
6977 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
6978 match err {
6979 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
6980 Error::AccessDeniedException(inner)
6981 }
6982 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
6983 Error::EntityNotFoundException(inner)
6984 }
6985 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
6986 Error::InvalidInputException(inner)
6987 }
6988 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6989 }
6990 }
6991}
6992impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>> for Error
6993where
6994 R: Send + Sync + std::fmt::Debug + 'static,
6995{
6996 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>) -> Self {
6997 match err {
6998 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6999 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7000 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7001 source: err.into(),
7002 }),
7003 }
7004 }
7005}
7006impl From<crate::operation::reset_job_bookmark::ResetJobBookmarkError> for Error {
7007 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
7008 match err {
7009 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7010 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7011 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7012 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7013 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
7014 }
7015 }
7016}
7017impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
7018where
7019 R: Send + Sync + std::fmt::Debug + 'static,
7020{
7021 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
7022 match err {
7023 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7024 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7025 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7026 source: err.into(),
7027 }),
7028 }
7029 }
7030}
7031impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
7032 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
7033 match err {
7034 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
7035 Error::ConcurrentRunsExceededException(inner)
7036 }
7037 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7038 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
7039 Error::IllegalWorkflowStateException(inner)
7040 }
7041 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7042 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7043 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
7044 Error::OperationTimeoutException(inner)
7045 }
7046 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7047 }
7048 }
7049}
7050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
7051where
7052 R: Send + Sync + std::fmt::Debug + 'static,
7053{
7054 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
7055 match err {
7056 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7057 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7058 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7059 source: err.into(),
7060 }),
7061 }
7062 }
7063}
7064impl From<crate::operation::run_statement::RunStatementError> for Error {
7065 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
7066 match err {
7067 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7068 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7069 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7070 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7071 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7072 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7073 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
7074 Error::ResourceNumberLimitExceededException(inner)
7075 }
7076 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
7077 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
7078 }
7079 }
7080}
7081impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, 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::search_tables::SearchTablesError, 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::search_tables::SearchTablesError> for Error {
7096 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
7097 match err {
7098 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7099 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7100 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7101 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
7102 }
7103 }
7104}
7105impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
7106where
7107 R: Send + Sync + std::fmt::Debug + 'static,
7108{
7109 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
7110 match err {
7111 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7112 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7113 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7114 source: err.into(),
7115 }),
7116 }
7117 }
7118}
7119impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
7120 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
7121 match err {
7122 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7123 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
7124 Error::IllegalBlueprintStateException(inner)
7125 }
7126 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7127 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7128 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
7129 Error::OperationTimeoutException(inner)
7130 }
7131 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
7132 Error::ResourceNumberLimitExceededException(inner)
7133 }
7134 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
7135 }
7136 }
7137}
7138impl<R>
7139 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
7140 for Error
7141where
7142 R: Send + Sync + std::fmt::Debug + 'static,
7143{
7144 fn from(
7145 err: ::aws_smithy_runtime_api::client::result::SdkError<
7146 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
7147 R,
7148 >,
7149 ) -> Self {
7150 match err {
7151 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7152 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7153 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7154 source: err.into(),
7155 }),
7156 }
7157 }
7158}
7159impl From<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
7160 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
7161 match err {
7162 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
7163 Error::AccessDeniedException(inner)
7164 }
7165 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
7166 Error::ColumnStatisticsTaskRunningException(inner)
7167 }
7168 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
7169 Error::EntityNotFoundException(inner)
7170 }
7171 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
7172 Error::InvalidInputException(inner)
7173 }
7174 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7175 Error::OperationTimeoutException(inner)
7176 }
7177 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7178 Error::ResourceNumberLimitExceededException(inner)
7179 }
7180 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7181 }
7182 }
7183}
7184impl<R>
7185 From<
7186 ::aws_smithy_runtime_api::client::result::SdkError<
7187 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
7188 R,
7189 >,
7190 > for Error
7191where
7192 R: Send + Sync + std::fmt::Debug + 'static,
7193{
7194 fn from(
7195 err: ::aws_smithy_runtime_api::client::result::SdkError<
7196 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
7197 R,
7198 >,
7199 ) -> Self {
7200 match err {
7201 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7202 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7203 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7204 source: err.into(),
7205 }),
7206 }
7207 }
7208}
7209impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
7210 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
7211 match err {
7212 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
7213 Error::AccessDeniedException(inner)
7214 }
7215 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
7216 inner,
7217 ) => Error::EntityNotFoundException(inner),
7218 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7219 Error::InvalidInputException(inner)
7220 }
7221 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7222 inner,
7223 ) => Error::OperationTimeoutException(inner),
7224 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7225 Error::Unhandled(inner)
7226 }
7227 }
7228 }
7229}
7230impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
7231where
7232 R: Send + Sync + std::fmt::Debug + 'static,
7233{
7234 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
7235 match err {
7236 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7237 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7238 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7239 source: err.into(),
7240 }),
7241 }
7242 }
7243}
7244impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
7245 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
7246 match err {
7247 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
7248 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7249 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7250 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7251 }
7252 }
7253}
7254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
7255where
7256 R: Send + Sync + std::fmt::Debug + 'static,
7257{
7258 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> Self {
7259 match err {
7260 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7261 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7262 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7263 source: err.into(),
7264 }),
7265 }
7266 }
7267}
7268impl From<crate::operation::start_crawler_schedule::StartCrawlerScheduleError> for Error {
7269 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
7270 match err {
7271 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
7272 Error::EntityNotFoundException(inner)
7273 }
7274 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
7275 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
7276 Error::OperationTimeoutException(inner)
7277 }
7278 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
7279 Error::SchedulerRunningException(inner)
7280 }
7281 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7282 Error::SchedulerTransitioningException(inner)
7283 }
7284 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7285 }
7286 }
7287}
7288impl<R>
7289 From<
7290 ::aws_smithy_runtime_api::client::result::SdkError<
7291 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7292 R,
7293 >,
7294 > for Error
7295where
7296 R: Send + Sync + std::fmt::Debug + 'static,
7297{
7298 fn from(
7299 err: ::aws_smithy_runtime_api::client::result::SdkError<
7300 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
7301 R,
7302 >,
7303 ) -> Self {
7304 match err {
7305 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7306 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7307 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7308 source: err.into(),
7309 }),
7310 }
7311 }
7312}
7313impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
7314 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
7315 match err {
7316 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
7317 Error::ConflictException(inner)
7318 }
7319 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
7320 inner,
7321 ) => Error::InternalServiceException(inner),
7322 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
7323 inner,
7324 ) => Error::InvalidInputException(inner),
7325 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
7326 inner,
7327 ) => Error::OperationTimeoutException(inner),
7328 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
7329 Error::Unhandled(inner)
7330 }
7331 }
7332 }
7333}
7334impl<R>
7335 From<
7336 ::aws_smithy_runtime_api::client::result::SdkError<
7337 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7338 R,
7339 >,
7340 > for Error
7341where
7342 R: Send + Sync + std::fmt::Debug + 'static,
7343{
7344 fn from(
7345 err: ::aws_smithy_runtime_api::client::result::SdkError<
7346 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
7347 R,
7348 >,
7349 ) -> Self {
7350 match err {
7351 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7352 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7353 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7354 source: err.into(),
7355 }),
7356 }
7357 }
7358}
7359impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
7360 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
7361 match err {
7362 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
7363 Error::ConflictException(inner)
7364 }
7365 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
7366 inner,
7367 ) => Error::EntityNotFoundException(inner),
7368 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
7369 inner,
7370 ) => Error::InternalServiceException(inner),
7371 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
7372 Error::InvalidInputException(inner)
7373 }
7374 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
7375 inner,
7376 ) => Error::OperationTimeoutException(inner),
7377 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
7378 Error::Unhandled(inner)
7379 }
7380 }
7381 }
7382}
7383impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
7384 for Error
7385where
7386 R: Send + Sync + std::fmt::Debug + 'static,
7387{
7388 fn from(
7389 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
7390 ) -> Self {
7391 match err {
7392 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7393 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7394 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7395 source: err.into(),
7396 }),
7397 }
7398 }
7399}
7400impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
7401 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
7402 match err {
7403 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
7404 Error::EntityNotFoundException(inner)
7405 }
7406 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
7407 Error::InternalServiceException(inner)
7408 }
7409 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
7410 Error::InvalidInputException(inner)
7411 }
7412 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
7413 Error::OperationTimeoutException(inner)
7414 }
7415 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7416 }
7417 }
7418}
7419impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
7420 for Error
7421where
7422 R: Send + Sync + std::fmt::Debug + 'static,
7423{
7424 fn from(
7425 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
7426 ) -> Self {
7427 match err {
7428 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7429 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7430 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7431 source: err.into(),
7432 }),
7433 }
7434 }
7435}
7436impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
7437 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
7438 match err {
7439 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
7440 Error::EntityNotFoundException(inner)
7441 }
7442 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
7443 Error::InternalServiceException(inner)
7444 }
7445 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
7446 Error::InvalidInputException(inner)
7447 }
7448 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
7449 Error::OperationTimeoutException(inner)
7450 }
7451 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
7452 Error::ResourceNumberLimitExceededException(inner)
7453 }
7454 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7455 }
7456 }
7457}
7458impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
7459where
7460 R: Send + Sync + std::fmt::Debug + 'static,
7461{
7462 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
7463 match err {
7464 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7465 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7466 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7467 source: err.into(),
7468 }),
7469 }
7470 }
7471}
7472impl From<crate::operation::start_job_run::StartJobRunError> for Error {
7473 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
7474 match err {
7475 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
7476 Error::ConcurrentRunsExceededException(inner)
7477 }
7478 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7479 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7480 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7481 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7482 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
7483 Error::ResourceNumberLimitExceededException(inner)
7484 }
7485 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
7486 }
7487 }
7488}
7489impl<R>
7490 From<
7491 ::aws_smithy_runtime_api::client::result::SdkError<
7492 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
7493 R,
7494 >,
7495 > for Error
7496where
7497 R: Send + Sync + std::fmt::Debug + 'static,
7498{
7499 fn from(
7500 err: ::aws_smithy_runtime_api::client::result::SdkError<
7501 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
7502 R,
7503 >,
7504 ) -> Self {
7505 match err {
7506 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7507 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7508 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7509 source: err.into(),
7510 }),
7511 }
7512 }
7513}
7514impl From<crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError> for Error {
7515 fn from(err: crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError) -> Self {
7516 match err {
7517 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7518 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7519 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7520 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskRunningException(inner) => Error::MaterializedViewRefreshTaskRunningException(inner),
7521 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7522 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
7523 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7524 }
7525 }
7526}
7527impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
7528 for Error
7529where
7530 R: Send + Sync + std::fmt::Debug + 'static,
7531{
7532 fn from(
7533 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
7534 ) -> Self {
7535 match err {
7536 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7537 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7538 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7539 source: err.into(),
7540 }),
7541 }
7542 }
7543}
7544impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
7545 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
7546 match err {
7547 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
7548 Error::ConcurrentRunsExceededException(inner)
7549 }
7550 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
7551 Error::EntityNotFoundException(inner)
7552 }
7553 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
7554 Error::InternalServiceException(inner)
7555 }
7556 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
7557 Error::InvalidInputException(inner)
7558 }
7559 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
7560 Error::MlTransformNotReadyException(inner)
7561 }
7562 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
7563 Error::OperationTimeoutException(inner)
7564 }
7565 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7566 }
7567 }
7568}
7569impl<R>
7570 From<
7571 ::aws_smithy_runtime_api::client::result::SdkError<
7572 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7573 R,
7574 >,
7575 > for Error
7576where
7577 R: Send + Sync + std::fmt::Debug + 'static,
7578{
7579 fn from(
7580 err: ::aws_smithy_runtime_api::client::result::SdkError<
7581 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
7582 R,
7583 >,
7584 ) -> Self {
7585 match err {
7586 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7587 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7588 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7589 source: err.into(),
7590 }),
7591 }
7592 }
7593}
7594impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
7595 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
7596 match err {
7597 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
7598 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7599 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7600 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7601 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7602 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7603 }
7604 }
7605}
7606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
7607where
7608 R: Send + Sync + std::fmt::Debug + 'static,
7609{
7610 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
7611 match err {
7612 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7613 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7614 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7615 source: err.into(),
7616 }),
7617 }
7618 }
7619}
7620impl From<crate::operation::start_trigger::StartTriggerError> for Error {
7621 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
7622 match err {
7623 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
7624 Error::ConcurrentRunsExceededException(inner)
7625 }
7626 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7627 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7628 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7629 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7630 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
7631 Error::ResourceNumberLimitExceededException(inner)
7632 }
7633 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7634 }
7635 }
7636}
7637impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
7638where
7639 R: Send + Sync + std::fmt::Debug + 'static,
7640{
7641 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
7642 match err {
7643 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7644 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7645 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7646 source: err.into(),
7647 }),
7648 }
7649 }
7650}
7651impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
7652 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
7653 match err {
7654 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
7655 Error::ConcurrentRunsExceededException(inner)
7656 }
7657 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7658 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7659 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7660 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7661 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
7662 Error::ResourceNumberLimitExceededException(inner)
7663 }
7664 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7665 }
7666 }
7667}
7668impl<R>
7669 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
7670 for Error
7671where
7672 R: Send + Sync + std::fmt::Debug + 'static,
7673{
7674 fn from(
7675 err: ::aws_smithy_runtime_api::client::result::SdkError<
7676 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
7677 R,
7678 >,
7679 ) -> Self {
7680 match err {
7681 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7682 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7683 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7684 source: err.into(),
7685 }),
7686 }
7687 }
7688}
7689impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
7690 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
7691 match err {
7692 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
7693 Error::ColumnStatisticsTaskNotRunningException(inner)
7694 }
7695 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
7696 Error::ColumnStatisticsTaskStoppingException(inner)
7697 }
7698 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
7699 Error::EntityNotFoundException(inner)
7700 }
7701 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
7702 Error::OperationTimeoutException(inner)
7703 }
7704 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7705 }
7706 }
7707}
7708impl<R>
7709 From<
7710 ::aws_smithy_runtime_api::client::result::SdkError<
7711 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7712 R,
7713 >,
7714 > for Error
7715where
7716 R: Send + Sync + std::fmt::Debug + 'static,
7717{
7718 fn from(
7719 err: ::aws_smithy_runtime_api::client::result::SdkError<
7720 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
7721 R,
7722 >,
7723 ) -> Self {
7724 match err {
7725 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7726 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7727 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7728 source: err.into(),
7729 }),
7730 }
7731 }
7732}
7733impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
7734 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
7735 match err {
7736 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
7737 Error::EntityNotFoundException(inner)
7738 }
7739 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
7740 Error::InvalidInputException(inner)
7741 }
7742 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
7743 inner,
7744 ) => Error::OperationTimeoutException(inner),
7745 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
7746 Error::Unhandled(inner)
7747 }
7748 }
7749 }
7750}
7751impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
7752where
7753 R: Send + Sync + std::fmt::Debug + 'static,
7754{
7755 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
7756 match err {
7757 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7758 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7759 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7760 source: err.into(),
7761 }),
7762 }
7763 }
7764}
7765impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
7766 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
7767 match err {
7768 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
7769 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
7770 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7771 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7772 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
7773 }
7774 }
7775}
7776impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
7777where
7778 R: Send + Sync + std::fmt::Debug + 'static,
7779{
7780 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
7781 match err {
7782 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7783 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7784 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7785 source: err.into(),
7786 }),
7787 }
7788 }
7789}
7790impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
7791 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
7792 match err {
7793 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
7794 Error::EntityNotFoundException(inner)
7795 }
7796 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
7797 Error::OperationTimeoutException(inner)
7798 }
7799 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
7800 Error::SchedulerNotRunningException(inner)
7801 }
7802 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
7803 Error::SchedulerTransitioningException(inner)
7804 }
7805 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
7806 }
7807 }
7808}
7809impl<R>
7810 From<
7811 ::aws_smithy_runtime_api::client::result::SdkError<
7812 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
7813 R,
7814 >,
7815 > for Error
7816where
7817 R: Send + Sync + std::fmt::Debug + 'static,
7818{
7819 fn from(
7820 err: ::aws_smithy_runtime_api::client::result::SdkError<
7821 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
7822 R,
7823 >,
7824 ) -> Self {
7825 match err {
7826 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7827 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7828 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7829 source: err.into(),
7830 }),
7831 }
7832 }
7833}
7834impl From<crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError> for Error {
7835 fn from(err: crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError) -> Self {
7836 match err {
7837 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7838 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7839 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskNotRunningException(inner) => Error::MaterializedViewRefreshTaskNotRunningException(inner),
7840 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskStoppingException(inner) => Error::MaterializedViewRefreshTaskStoppingException(inner),
7841 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7842 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
7843 }
7844 }
7845}
7846impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
7847where
7848 R: Send + Sync + std::fmt::Debug + 'static,
7849{
7850 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
7851 match err {
7852 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7853 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7854 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7855 source: err.into(),
7856 }),
7857 }
7858 }
7859}
7860impl From<crate::operation::stop_session::StopSessionError> for Error {
7861 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
7862 match err {
7863 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7864 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7865 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7866 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7867 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7868 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7869 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
7870 }
7871 }
7872}
7873impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
7874where
7875 R: Send + Sync + std::fmt::Debug + 'static,
7876{
7877 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
7878 match err {
7879 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7880 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7881 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7882 source: err.into(),
7883 }),
7884 }
7885 }
7886}
7887impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
7888 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
7889 match err {
7890 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7891 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7892 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7893 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7894 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7895 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
7896 }
7897 }
7898}
7899impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
7900where
7901 R: Send + Sync + std::fmt::Debug + 'static,
7902{
7903 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
7904 match err {
7905 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7906 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7907 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7908 source: err.into(),
7909 }),
7910 }
7911 }
7912}
7913impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
7914 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
7915 match err {
7916 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7917 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
7918 Error::IllegalWorkflowStateException(inner)
7919 }
7920 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7921 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7922 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7923 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
7924 }
7925 }
7926}
7927impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
7928where
7929 R: Send + Sync + std::fmt::Debug + 'static,
7930{
7931 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
7932 match err {
7933 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7934 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7935 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7936 source: err.into(),
7937 }),
7938 }
7939 }
7940}
7941impl From<crate::operation::tag_resource::TagResourceError> for Error {
7942 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
7943 match err {
7944 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7945 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7946 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7947 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7948 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
7949 }
7950 }
7951}
7952impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
7953where
7954 R: Send + Sync + std::fmt::Debug + 'static,
7955{
7956 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
7957 match err {
7958 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7959 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7960 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7961 source: err.into(),
7962 }),
7963 }
7964 }
7965}
7966impl From<crate::operation::test_connection::TestConnectionError> for Error {
7967 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
7968 match err {
7969 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7970 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
7971 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7972 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
7973 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
7974 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7975 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7976 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7977 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
7978 Error::ResourceNumberLimitExceededException(inner)
7979 }
7980 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
7981 }
7982 }
7983}
7984impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
7985where
7986 R: Send + Sync + std::fmt::Debug + 'static,
7987{
7988 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
7989 match err {
7990 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7991 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7992 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7993 source: err.into(),
7994 }),
7995 }
7996 }
7997}
7998impl From<crate::operation::untag_resource::UntagResourceError> for Error {
7999 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
8000 match err {
8001 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8002 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8003 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8004 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8005 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
8006 }
8007 }
8008}
8009impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
8010where
8011 R: Send + Sync + std::fmt::Debug + 'static,
8012{
8013 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
8014 match err {
8015 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8016 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8017 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8018 source: err.into(),
8019 }),
8020 }
8021 }
8022}
8023impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
8024 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
8025 match err {
8026 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
8027 Error::ConcurrentModificationException(inner)
8028 }
8029 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8030 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
8031 Error::IllegalBlueprintStateException(inner)
8032 }
8033 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8034 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8035 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8036 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
8037 }
8038 }
8039}
8040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
8041where
8042 R: Send + Sync + std::fmt::Debug + 'static,
8043{
8044 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
8045 match err {
8046 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8047 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8048 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8049 source: err.into(),
8050 }),
8051 }
8052 }
8053}
8054impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
8055 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
8056 match err {
8057 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8058 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
8059 Error::ConcurrentModificationException(inner)
8060 }
8061 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8062 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8063 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8064 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8065 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8066 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8067 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
8068 }
8069 }
8070}
8071impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
8072where
8073 R: Send + Sync + std::fmt::Debug + 'static,
8074{
8075 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
8076 match err {
8077 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8078 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8079 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8080 source: err.into(),
8081 }),
8082 }
8083 }
8084}
8085impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
8086 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
8087 match err {
8088 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8089 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8090 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8091 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
8092 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
8093 }
8094 }
8095}
8096impl<R>
8097 From<
8098 ::aws_smithy_runtime_api::client::result::SdkError<
8099 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
8100 R,
8101 >,
8102 > for Error
8103where
8104 R: Send + Sync + std::fmt::Debug + 'static,
8105{
8106 fn from(
8107 err: ::aws_smithy_runtime_api::client::result::SdkError<
8108 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
8109 R,
8110 >,
8111 ) -> Self {
8112 match err {
8113 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8114 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8115 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8116 source: err.into(),
8117 }),
8118 }
8119 }
8120}
8121impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
8122 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
8123 match err {
8124 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
8125 Error::EntityNotFoundException(inner)
8126 }
8127 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
8128 Error::GlueEncryptionException(inner)
8129 }
8130 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
8131 Error::InternalServiceException(inner)
8132 }
8133 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
8134 Error::InvalidInputException(inner)
8135 }
8136 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
8137 Error::OperationTimeoutException(inner)
8138 }
8139 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
8140 Error::Unhandled(inner)
8141 }
8142 }
8143 }
8144}
8145impl<R>
8146 From<
8147 ::aws_smithy_runtime_api::client::result::SdkError<
8148 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
8149 R,
8150 >,
8151 > for Error
8152where
8153 R: Send + Sync + std::fmt::Debug + 'static,
8154{
8155 fn from(
8156 err: ::aws_smithy_runtime_api::client::result::SdkError<
8157 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
8158 R,
8159 >,
8160 ) -> Self {
8161 match err {
8162 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8163 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8164 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8165 source: err.into(),
8166 }),
8167 }
8168 }
8169}
8170impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
8171 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
8172 match err {
8173 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
8174 Error::EntityNotFoundException(inner)
8175 }
8176 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
8177 Error::GlueEncryptionException(inner)
8178 }
8179 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
8180 Error::InternalServiceException(inner)
8181 }
8182 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
8183 Error::InvalidInputException(inner)
8184 }
8185 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
8186 Error::OperationTimeoutException(inner)
8187 }
8188 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
8189 }
8190 }
8191}
8192impl<R>
8193 From<
8194 ::aws_smithy_runtime_api::client::result::SdkError<
8195 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
8196 R,
8197 >,
8198 > for Error
8199where
8200 R: Send + Sync + std::fmt::Debug + 'static,
8201{
8202 fn from(
8203 err: ::aws_smithy_runtime_api::client::result::SdkError<
8204 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
8205 R,
8206 >,
8207 ) -> Self {
8208 match err {
8209 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8210 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8211 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8212 source: err.into(),
8213 }),
8214 }
8215 }
8216}
8217impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
8218 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
8219 match err {
8220 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
8221 Error::AccessDeniedException(inner)
8222 }
8223 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
8224 Error::EntityNotFoundException(inner)
8225 }
8226 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
8227 Error::InvalidInputException(inner)
8228 }
8229 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
8230 Error::OperationTimeoutException(inner)
8231 }
8232 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
8233 Error::VersionMismatchException(inner)
8234 }
8235 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
8236 Error::Unhandled(inner)
8237 }
8238 }
8239 }
8240}
8241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
8242where
8243 R: Send + Sync + std::fmt::Debug + 'static,
8244{
8245 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
8246 match err {
8247 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8248 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8249 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8250 source: err.into(),
8251 }),
8252 }
8253 }
8254}
8255impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
8256 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
8257 match err {
8258 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8259 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8260 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8261 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8262 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
8263 }
8264 }
8265}
8266impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
8267where
8268 R: Send + Sync + std::fmt::Debug + 'static,
8269{
8270 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
8271 match err {
8272 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8273 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8274 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8275 source: err.into(),
8276 }),
8277 }
8278 }
8279}
8280impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
8281 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
8282 match err {
8283 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
8284 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8285 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8286 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8287 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
8288 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
8289 }
8290 }
8291}
8292impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
8293where
8294 R: Send + Sync + std::fmt::Debug + 'static,
8295{
8296 fn from(
8297 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
8298 ) -> Self {
8299 match err {
8300 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8301 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8302 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8303 source: err.into(),
8304 }),
8305 }
8306 }
8307}
8308impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
8309 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
8310 match err {
8311 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
8312 Error::EntityNotFoundException(inner)
8313 }
8314 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
8315 Error::InvalidInputException(inner)
8316 }
8317 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
8318 Error::OperationTimeoutException(inner)
8319 }
8320 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
8321 Error::SchedulerTransitioningException(inner)
8322 }
8323 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
8324 Error::VersionMismatchException(inner)
8325 }
8326 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8327 }
8328 }
8329}
8330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
8331where
8332 R: Send + Sync + std::fmt::Debug + 'static,
8333{
8334 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
8335 match err {
8336 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8337 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8338 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8339 source: err.into(),
8340 }),
8341 }
8342 }
8343}
8344impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
8345 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
8346 match err {
8347 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8348 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
8349 Error::ConcurrentModificationException(inner)
8350 }
8351 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8352 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8353 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
8354 Error::FederationSourceRetryableException(inner)
8355 }
8356 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8357 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8358 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8359 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8360 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
8361 }
8362 }
8363}
8364impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
8365 for Error
8366where
8367 R: Send + Sync + std::fmt::Debug + 'static,
8368{
8369 fn from(
8370 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
8371 ) -> Self {
8372 match err {
8373 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8374 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8375 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8376 source: err.into(),
8377 }),
8378 }
8379 }
8380}
8381impl From<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
8382 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
8383 match err {
8384 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
8385 Error::AlreadyExistsException(inner)
8386 }
8387 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
8388 Error::EntityNotFoundException(inner)
8389 }
8390 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
8391 Error::IdempotentParameterMismatchException(inner)
8392 }
8393 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
8394 Error::InternalServiceException(inner)
8395 }
8396 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
8397 Error::InvalidInputException(inner)
8398 }
8399 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
8400 Error::OperationTimeoutException(inner)
8401 }
8402 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
8403 Error::ResourceNumberLimitExceededException(inner)
8404 }
8405 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
8406 }
8407 }
8408}
8409impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
8410where
8411 R: Send + Sync + std::fmt::Debug + 'static,
8412{
8413 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
8414 match err {
8415 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8416 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8417 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8418 source: err.into(),
8419 }),
8420 }
8421 }
8422}
8423impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
8424 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
8425 match err {
8426 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8427 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8428 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8429 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
8430 Error::OperationTimeoutException(inner)
8431 }
8432 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
8433 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
8434 }
8435 }
8436}
8437impl<R>
8438 From<
8439 ::aws_smithy_runtime_api::client::result::SdkError<
8440 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8441 R,
8442 >,
8443 > for Error
8444where
8445 R: Send + Sync + std::fmt::Debug + 'static,
8446{
8447 fn from(
8448 err: ::aws_smithy_runtime_api::client::result::SdkError<
8449 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
8450 R,
8451 >,
8452 ) -> Self {
8453 match err {
8454 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8455 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8456 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8457 source: err.into(),
8458 }),
8459 }
8460 }
8461}
8462impl From<crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError> for Error {
8463 fn from(err: crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError) -> Self {
8464 match err {
8465 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8466 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8467 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8468 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8469 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8470 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8471 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
8472 }
8473 }
8474}
8475impl<R>
8476 From<
8477 ::aws_smithy_runtime_api::client::result::SdkError<
8478 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8479 R,
8480 >,
8481 > for Error
8482where
8483 R: Send + Sync + std::fmt::Debug + 'static,
8484{
8485 fn from(
8486 err: ::aws_smithy_runtime_api::client::result::SdkError<
8487 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
8488 R,
8489 >,
8490 ) -> Self {
8491 match err {
8492 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8493 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8494 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8495 source: err.into(),
8496 }),
8497 }
8498 }
8499}
8500impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
8501 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
8502 match err {
8503 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
8504 Error::AccessDeniedException(inner)
8505 }
8506 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
8507 Error::EntityNotFoundException(inner)
8508 }
8509 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
8510 Error::InternalServerException(inner)
8511 }
8512 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
8513 Error::InternalServiceException(inner)
8514 }
8515 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
8516 Error::InvalidInputException(inner)
8517 }
8518 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
8519 Error::ResourceNotFoundException(inner)
8520 }
8521 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
8522 Error::ValidationException(inner)
8523 }
8524 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
8525 Error::Unhandled(inner)
8526 }
8527 }
8528 }
8529}
8530impl<R>
8531 From<
8532 ::aws_smithy_runtime_api::client::result::SdkError<
8533 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8534 R,
8535 >,
8536 > for Error
8537where
8538 R: Send + Sync + std::fmt::Debug + 'static,
8539{
8540 fn from(
8541 err: ::aws_smithy_runtime_api::client::result::SdkError<
8542 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
8543 R,
8544 >,
8545 ) -> Self {
8546 match err {
8547 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8548 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8549 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8550 source: err.into(),
8551 }),
8552 }
8553 }
8554}
8555impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
8556 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
8557 match err {
8558 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
8559 Error::AccessDeniedException(inner)
8560 }
8561 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
8562 Error::EntityNotFoundException(inner)
8563 }
8564 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
8565 Error::InternalServerException(inner)
8566 }
8567 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
8568 Error::InternalServiceException(inner)
8569 }
8570 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
8571 Error::InvalidInputException(inner)
8572 }
8573 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
8574 Error::ResourceNotFoundException(inner)
8575 }
8576 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
8577 Error::ValidationException(inner)
8578 }
8579 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
8580 }
8581 }
8582}
8583impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
8584where
8585 R: Send + Sync + std::fmt::Debug + 'static,
8586{
8587 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
8588 match err {
8589 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8590 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8591 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8592 source: err.into(),
8593 }),
8594 }
8595 }
8596}
8597impl From<crate::operation::update_job::UpdateJobError> for Error {
8598 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
8599 match err {
8600 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8601 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8602 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8603 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8604 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8605 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
8606 }
8607 }
8608}
8609impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
8610 for Error
8611where
8612 R: Send + Sync + std::fmt::Debug + 'static,
8613{
8614 fn from(
8615 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
8616 ) -> Self {
8617 match err {
8618 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8619 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8620 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8621 source: err.into(),
8622 }),
8623 }
8624 }
8625}
8626impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
8627 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
8628 match err {
8629 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
8630 Error::AccessDeniedException(inner)
8631 }
8632 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
8633 Error::AlreadyExistsException(inner)
8634 }
8635 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
8636 Error::EntityNotFoundException(inner)
8637 }
8638 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
8639 Error::InternalServiceException(inner)
8640 }
8641 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
8642 Error::InvalidInputException(inner)
8643 }
8644 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
8645 Error::OperationTimeoutException(inner)
8646 }
8647 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
8648 Error::ValidationException(inner)
8649 }
8650 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
8651 }
8652 }
8653}
8654impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
8655where
8656 R: Send + Sync + std::fmt::Debug + 'static,
8657{
8658 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
8659 match err {
8660 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8661 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8662 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8663 source: err.into(),
8664 }),
8665 }
8666 }
8667}
8668impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
8669 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
8670 match err {
8671 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8672 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8673 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8674 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8675 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
8676 Error::OperationTimeoutException(inner)
8677 }
8678 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
8679 }
8680 }
8681}
8682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
8683where
8684 R: Send + Sync + std::fmt::Debug + 'static,
8685{
8686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
8687 match err {
8688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8691 source: err.into(),
8692 }),
8693 }
8694 }
8695}
8696impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
8697 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
8698 match err {
8699 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8700 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8701 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8702 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8703 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8704 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
8705 }
8706 }
8707}
8708impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
8709where
8710 R: Send + Sync + std::fmt::Debug + 'static,
8711{
8712 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
8713 match err {
8714 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8715 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8716 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8717 source: err.into(),
8718 }),
8719 }
8720 }
8721}
8722impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
8723 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
8724 match err {
8725 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8726 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
8727 Error::ConcurrentModificationException(inner)
8728 }
8729 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8730 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8731 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8732 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
8733 }
8734 }
8735}
8736impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
8737where
8738 R: Send + Sync + std::fmt::Debug + 'static,
8739{
8740 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
8741 match err {
8742 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8743 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8744 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8745 source: err.into(),
8746 }),
8747 }
8748 }
8749}
8750impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
8751 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
8752 match err {
8753 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8754 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
8755 Error::ConcurrentModificationException(inner)
8756 }
8757 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8758 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8759 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8760 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
8761 }
8762 }
8763}
8764impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
8765 for Error
8766where
8767 R: Send + Sync + std::fmt::Debug + 'static,
8768{
8769 fn from(
8770 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
8771 ) -> Self {
8772 match err {
8773 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8774 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8775 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8776 source: err.into(),
8777 }),
8778 }
8779 }
8780}
8781impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
8782 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
8783 match err {
8784 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
8785 Error::AccessDeniedException(inner)
8786 }
8787 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
8788 Error::AlreadyExistsException(inner)
8789 }
8790 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
8791 Error::EntityNotFoundException(inner)
8792 }
8793 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
8794 Error::InternalServiceException(inner)
8795 }
8796 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
8797 Error::InvalidInputException(inner)
8798 }
8799 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
8800 Error::OperationTimeoutException(inner)
8801 }
8802 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
8803 Error::ValidationException(inner)
8804 }
8805 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
8806 }
8807 }
8808}
8809impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
8810where
8811 R: Send + Sync + std::fmt::Debug + 'static,
8812{
8813 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
8814 match err {
8815 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8816 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8817 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8818 source: err.into(),
8819 }),
8820 }
8821 }
8822}
8823impl From<crate::operation::update_table::UpdateTableError> for Error {
8824 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
8825 match err {
8826 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
8827 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8828 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8829 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8830 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
8831 Error::FederationSourceRetryableException(inner)
8832 }
8833 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8834 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8835 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8836 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8837 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
8838 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
8839 Error::ResourceNumberLimitExceededException(inner)
8840 }
8841 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
8842 }
8843 }
8844}
8845impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
8846where
8847 R: Send + Sync + std::fmt::Debug + 'static,
8848{
8849 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
8850 match err {
8851 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8852 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8853 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8854 source: err.into(),
8855 }),
8856 }
8857 }
8858}
8859impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
8860 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
8861 match err {
8862 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8863 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
8864 Error::ConcurrentModificationException(inner)
8865 }
8866 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
8867 Error::EntityNotFoundException(inner)
8868 }
8869 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
8870 Error::InternalServiceException(inner)
8871 }
8872 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8873 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8874 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
8875 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
8876 }
8877 }
8878}
8879impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
8880where
8881 R: Send + Sync + std::fmt::Debug + 'static,
8882{
8883 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
8884 match err {
8885 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8886 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8887 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8888 source: err.into(),
8889 }),
8890 }
8891 }
8892}
8893impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
8894 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
8895 match err {
8896 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
8897 Error::ConcurrentModificationException(inner)
8898 }
8899 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8900 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8901 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8902 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8903 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8904 }
8905 }
8906}
8907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
8908where
8909 R: Send + Sync + std::fmt::Debug + 'static,
8910{
8911 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
8912 match err {
8913 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8914 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8915 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8916 source: err.into(),
8917 }),
8918 }
8919 }
8920}
8921impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
8922 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
8923 match err {
8924 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
8925 Error::ConcurrentModificationException(inner)
8926 }
8927 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8928 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
8929 Error::InternalServiceException(inner)
8930 }
8931 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8932 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
8933 Error::OperationNotSupportedException(inner)
8934 }
8935 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
8936 Error::OperationTimeoutException(inner)
8937 }
8938 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
8939 }
8940 }
8941}
8942impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
8943 for Error
8944where
8945 R: Send + Sync + std::fmt::Debug + 'static,
8946{
8947 fn from(
8948 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
8949 ) -> Self {
8950 match err {
8951 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8952 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8953 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8954 source: err.into(),
8955 }),
8956 }
8957 }
8958}
8959impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
8960 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
8961 match err {
8962 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
8963 Error::EntityNotFoundException(inner)
8964 }
8965 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
8966 Error::GlueEncryptionException(inner)
8967 }
8968 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
8969 Error::InternalServiceException(inner)
8970 }
8971 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
8972 Error::InvalidInputException(inner)
8973 }
8974 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
8975 Error::OperationTimeoutException(inner)
8976 }
8977 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
8978 }
8979 }
8980}
8981impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
8982where
8983 R: Send + Sync + std::fmt::Debug + 'static,
8984{
8985 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
8986 match err {
8987 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8988 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8989 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8990 source: err.into(),
8991 }),
8992 }
8993 }
8994}
8995impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
8996 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
8997 match err {
8998 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
8999 Error::ConcurrentModificationException(inner)
9000 }
9001 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9002 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9003 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9004 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9005 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
9006 }
9007 }
9008}
9009impl ::std::error::Error for Error {
9010 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
9011 match self {
9012 Error::AccessDeniedException(inner) => inner.source(),
9013 Error::AlreadyExistsException(inner) => inner.source(),
9014 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
9015 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
9016 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
9017 Error::ConcurrentModificationException(inner) => inner.source(),
9018 Error::ConcurrentRunsExceededException(inner) => inner.source(),
9019 Error::ConditionCheckFailureException(inner) => inner.source(),
9020 Error::ConflictException(inner) => inner.source(),
9021 Error::CrawlerNotRunningException(inner) => inner.source(),
9022 Error::CrawlerRunningException(inner) => inner.source(),
9023 Error::CrawlerStoppingException(inner) => inner.source(),
9024 Error::EntityNotFoundException(inner) => inner.source(),
9025 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
9026 Error::FederationSourceException(inner) => inner.source(),
9027 Error::FederationSourceRetryableException(inner) => inner.source(),
9028 Error::GlueEncryptionException(inner) => inner.source(),
9029 Error::IdempotentParameterMismatchException(inner) => inner.source(),
9030 Error::IllegalBlueprintStateException(inner) => inner.source(),
9031 Error::IllegalSessionStateException(inner) => inner.source(),
9032 Error::IllegalWorkflowStateException(inner) => inner.source(),
9033 Error::IntegrationConflictOperationFault(inner) => inner.source(),
9034 Error::IntegrationNotFoundFault(inner) => inner.source(),
9035 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
9036 Error::InternalServerException(inner) => inner.source(),
9037 Error::InternalServiceException(inner) => inner.source(),
9038 Error::InvalidInputException(inner) => inner.source(),
9039 Error::InvalidIntegrationStateFault(inner) => inner.source(),
9040 Error::InvalidStateException(inner) => inner.source(),
9041 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
9042 Error::MlTransformNotReadyException(inner) => inner.source(),
9043 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.source(),
9044 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.source(),
9045 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.source(),
9046 Error::NoScheduleException(inner) => inner.source(),
9047 Error::OperationNotSupportedException(inner) => inner.source(),
9048 Error::OperationTimeoutException(inner) => inner.source(),
9049 Error::PermissionTypeMismatchException(inner) => inner.source(),
9050 Error::ResourceNotFoundException(inner) => inner.source(),
9051 Error::ResourceNotReadyException(inner) => inner.source(),
9052 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
9053 Error::SchedulerNotRunningException(inner) => inner.source(),
9054 Error::SchedulerRunningException(inner) => inner.source(),
9055 Error::SchedulerTransitioningException(inner) => inner.source(),
9056 Error::TargetResourceNotFound(inner) => inner.source(),
9057 Error::ThrottlingException(inner) => inner.source(),
9058 Error::ValidationException(inner) => inner.source(),
9059 Error::VersionMismatchException(inner) => inner.source(),
9060 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
9061 }
9062 }
9063}
9064impl ::aws_types::request_id::RequestId for Error {
9065 fn request_id(&self) -> Option<&str> {
9066 match self {
9067 Self::AccessDeniedException(e) => e.request_id(),
9068 Self::AlreadyExistsException(e) => e.request_id(),
9069 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
9070 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
9071 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
9072 Self::ConcurrentModificationException(e) => e.request_id(),
9073 Self::ConcurrentRunsExceededException(e) => e.request_id(),
9074 Self::ConditionCheckFailureException(e) => e.request_id(),
9075 Self::ConflictException(e) => e.request_id(),
9076 Self::CrawlerNotRunningException(e) => e.request_id(),
9077 Self::CrawlerRunningException(e) => e.request_id(),
9078 Self::CrawlerStoppingException(e) => e.request_id(),
9079 Self::EntityNotFoundException(e) => e.request_id(),
9080 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
9081 Self::FederationSourceException(e) => e.request_id(),
9082 Self::FederationSourceRetryableException(e) => e.request_id(),
9083 Self::GlueEncryptionException(e) => e.request_id(),
9084 Self::IdempotentParameterMismatchException(e) => e.request_id(),
9085 Self::IllegalBlueprintStateException(e) => e.request_id(),
9086 Self::IllegalSessionStateException(e) => e.request_id(),
9087 Self::IllegalWorkflowStateException(e) => e.request_id(),
9088 Self::IntegrationConflictOperationFault(e) => e.request_id(),
9089 Self::IntegrationNotFoundFault(e) => e.request_id(),
9090 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
9091 Self::InternalServerException(e) => e.request_id(),
9092 Self::InternalServiceException(e) => e.request_id(),
9093 Self::InvalidInputException(e) => e.request_id(),
9094 Self::InvalidIntegrationStateFault(e) => e.request_id(),
9095 Self::InvalidStateException(e) => e.request_id(),
9096 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
9097 Self::MlTransformNotReadyException(e) => e.request_id(),
9098 Self::MaterializedViewRefreshTaskNotRunningException(e) => e.request_id(),
9099 Self::MaterializedViewRefreshTaskRunningException(e) => e.request_id(),
9100 Self::MaterializedViewRefreshTaskStoppingException(e) => e.request_id(),
9101 Self::NoScheduleException(e) => e.request_id(),
9102 Self::OperationNotSupportedException(e) => e.request_id(),
9103 Self::OperationTimeoutException(e) => e.request_id(),
9104 Self::PermissionTypeMismatchException(e) => e.request_id(),
9105 Self::ResourceNotFoundException(e) => e.request_id(),
9106 Self::ResourceNotReadyException(e) => e.request_id(),
9107 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
9108 Self::SchedulerNotRunningException(e) => e.request_id(),
9109 Self::SchedulerRunningException(e) => e.request_id(),
9110 Self::SchedulerTransitioningException(e) => e.request_id(),
9111 Self::TargetResourceNotFound(e) => e.request_id(),
9112 Self::ThrottlingException(e) => e.request_id(),
9113 Self::ValidationException(e) => e.request_id(),
9114 Self::VersionMismatchException(e) => e.request_id(),
9115 Self::Unhandled(e) => e.meta.request_id(),
9116 }
9117 }
9118}