1#[non_exhaustive]
4#[derive(::std::fmt::Debug)]
5pub enum Error {
6 AccessDeniedException(crate::types::error::AccessDeniedException),
8 AlreadyExistsException(crate::types::error::AlreadyExistsException),
10 ColumnStatisticsTaskNotRunningException(crate::types::error::ColumnStatisticsTaskNotRunningException),
12 ColumnStatisticsTaskRunningException(crate::types::error::ColumnStatisticsTaskRunningException),
14 ColumnStatisticsTaskStoppingException(crate::types::error::ColumnStatisticsTaskStoppingException),
16 ConcurrentModificationException(crate::types::error::ConcurrentModificationException),
18 ConcurrentRunsExceededException(crate::types::error::ConcurrentRunsExceededException),
20 ConditionCheckFailureException(crate::types::error::ConditionCheckFailureException),
22 ConflictException(crate::types::error::ConflictException),
24 CrawlerNotRunningException(crate::types::error::CrawlerNotRunningException),
26 CrawlerRunningException(crate::types::error::CrawlerRunningException),
28 CrawlerStoppingException(crate::types::error::CrawlerStoppingException),
30 EntityNotFoundException(crate::types::error::EntityNotFoundException),
32 FederatedResourceAlreadyExistsException(crate::types::error::FederatedResourceAlreadyExistsException),
34 FederationSourceException(crate::types::error::FederationSourceException),
36 FederationSourceRetryableException(crate::types::error::FederationSourceRetryableException),
38 GlueEncryptionException(crate::types::error::GlueEncryptionException),
40 IdempotentParameterMismatchException(crate::types::error::IdempotentParameterMismatchException),
42 IllegalBlueprintStateException(crate::types::error::IllegalBlueprintStateException),
44 IllegalSessionStateException(crate::types::error::IllegalSessionStateException),
46 IllegalWorkflowStateException(crate::types::error::IllegalWorkflowStateException),
48 IntegrationConflictOperationFault(crate::types::error::IntegrationConflictOperationFault),
50 IntegrationNotFoundFault(crate::types::error::IntegrationNotFoundFault),
52 IntegrationQuotaExceededFault(crate::types::error::IntegrationQuotaExceededFault),
54 InternalServerException(crate::types::error::InternalServerException),
56 InternalServiceException(crate::types::error::InternalServiceException),
58 InvalidInputException(crate::types::error::InvalidInputException),
60 InvalidIntegrationStateFault(crate::types::error::InvalidIntegrationStateFault),
62 InvalidStateException(crate::types::error::InvalidStateException),
64 KmsKeyNotAccessibleFault(crate::types::error::KmsKeyNotAccessibleFault),
66 MlTransformNotReadyException(crate::types::error::MlTransformNotReadyException),
68 MaterializedViewRefreshTaskNotRunningException(crate::types::error::MaterializedViewRefreshTaskNotRunningException),
70 MaterializedViewRefreshTaskRunningException(crate::types::error::MaterializedViewRefreshTaskRunningException),
72 MaterializedViewRefreshTaskStoppingException(crate::types::error::MaterializedViewRefreshTaskStoppingException),
74 NoScheduleException(crate::types::error::NoScheduleException),
76 OperationNotSupportedException(crate::types::error::OperationNotSupportedException),
78 OperationTimeoutException(crate::types::error::OperationTimeoutException),
80 PermissionTypeMismatchException(crate::types::error::PermissionTypeMismatchException),
82 ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
84 ResourceNotReadyException(crate::types::error::ResourceNotReadyException),
86 ResourceNumberLimitExceededException(crate::types::error::ResourceNumberLimitExceededException),
88 SchedulerNotRunningException(crate::types::error::SchedulerNotRunningException),
90 SchedulerRunningException(crate::types::error::SchedulerRunningException),
92 SchedulerTransitioningException(crate::types::error::SchedulerTransitioningException),
94 SessionBusyException(crate::types::error::SessionBusyException),
96 TargetResourceNotFound(crate::types::error::TargetResourceNotFound),
98 ThrottlingException(crate::types::error::ThrottlingException),
100 ValidationException(crate::types::error::ValidationException),
102 VersionMismatchException(crate::types::error::VersionMismatchException),
104 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
106 variable wildcard pattern and check `.code()`:
107 \
108 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
109 \
110 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
111 Unhandled(crate::error::sealed_unhandled::Unhandled),
112}
113impl ::std::fmt::Display for Error {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 match self {
116 Error::AccessDeniedException(inner) => inner.fmt(f),
117 Error::AlreadyExistsException(inner) => inner.fmt(f),
118 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.fmt(f),
119 Error::ColumnStatisticsTaskRunningException(inner) => inner.fmt(f),
120 Error::ColumnStatisticsTaskStoppingException(inner) => inner.fmt(f),
121 Error::ConcurrentModificationException(inner) => inner.fmt(f),
122 Error::ConcurrentRunsExceededException(inner) => inner.fmt(f),
123 Error::ConditionCheckFailureException(inner) => inner.fmt(f),
124 Error::ConflictException(inner) => inner.fmt(f),
125 Error::CrawlerNotRunningException(inner) => inner.fmt(f),
126 Error::CrawlerRunningException(inner) => inner.fmt(f),
127 Error::CrawlerStoppingException(inner) => inner.fmt(f),
128 Error::EntityNotFoundException(inner) => inner.fmt(f),
129 Error::FederatedResourceAlreadyExistsException(inner) => inner.fmt(f),
130 Error::FederationSourceException(inner) => inner.fmt(f),
131 Error::FederationSourceRetryableException(inner) => inner.fmt(f),
132 Error::GlueEncryptionException(inner) => inner.fmt(f),
133 Error::IdempotentParameterMismatchException(inner) => inner.fmt(f),
134 Error::IllegalBlueprintStateException(inner) => inner.fmt(f),
135 Error::IllegalSessionStateException(inner) => inner.fmt(f),
136 Error::IllegalWorkflowStateException(inner) => inner.fmt(f),
137 Error::IntegrationConflictOperationFault(inner) => inner.fmt(f),
138 Error::IntegrationNotFoundFault(inner) => inner.fmt(f),
139 Error::IntegrationQuotaExceededFault(inner) => inner.fmt(f),
140 Error::InternalServerException(inner) => inner.fmt(f),
141 Error::InternalServiceException(inner) => inner.fmt(f),
142 Error::InvalidInputException(inner) => inner.fmt(f),
143 Error::InvalidIntegrationStateFault(inner) => inner.fmt(f),
144 Error::InvalidStateException(inner) => inner.fmt(f),
145 Error::KmsKeyNotAccessibleFault(inner) => inner.fmt(f),
146 Error::MlTransformNotReadyException(inner) => inner.fmt(f),
147 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.fmt(f),
148 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.fmt(f),
149 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.fmt(f),
150 Error::NoScheduleException(inner) => inner.fmt(f),
151 Error::OperationNotSupportedException(inner) => inner.fmt(f),
152 Error::OperationTimeoutException(inner) => inner.fmt(f),
153 Error::PermissionTypeMismatchException(inner) => inner.fmt(f),
154 Error::ResourceNotFoundException(inner) => inner.fmt(f),
155 Error::ResourceNotReadyException(inner) => inner.fmt(f),
156 Error::ResourceNumberLimitExceededException(inner) => inner.fmt(f),
157 Error::SchedulerNotRunningException(inner) => inner.fmt(f),
158 Error::SchedulerRunningException(inner) => inner.fmt(f),
159 Error::SchedulerTransitioningException(inner) => inner.fmt(f),
160 Error::SessionBusyException(inner) => inner.fmt(f),
161 Error::TargetResourceNotFound(inner) => inner.fmt(f),
162 Error::ThrottlingException(inner) => inner.fmt(f),
163 Error::ValidationException(inner) => inner.fmt(f),
164 Error::VersionMismatchException(inner) => inner.fmt(f),
165 Error::Unhandled(_) => {
166 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
167 write!(f, "unhandled error ({code})")
168 } else {
169 f.write_str("unhandled error")
170 }
171 }
172 }
173 }
174}
175impl From<::aws_smithy_types::error::operation::BuildError> for Error {
176 fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
177 Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
178 source: value.into(),
179 meta: ::std::default::Default::default(),
180 })
181 }
182}
183impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
184 fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
185 match self {
186 Self::AccessDeniedException(inner) => inner.meta(),
187 Self::AlreadyExistsException(inner) => inner.meta(),
188 Self::ColumnStatisticsTaskNotRunningException(inner) => inner.meta(),
189 Self::ColumnStatisticsTaskRunningException(inner) => inner.meta(),
190 Self::ColumnStatisticsTaskStoppingException(inner) => inner.meta(),
191 Self::ConcurrentModificationException(inner) => inner.meta(),
192 Self::ConcurrentRunsExceededException(inner) => inner.meta(),
193 Self::ConditionCheckFailureException(inner) => inner.meta(),
194 Self::ConflictException(inner) => inner.meta(),
195 Self::CrawlerNotRunningException(inner) => inner.meta(),
196 Self::CrawlerRunningException(inner) => inner.meta(),
197 Self::CrawlerStoppingException(inner) => inner.meta(),
198 Self::EntityNotFoundException(inner) => inner.meta(),
199 Self::FederatedResourceAlreadyExistsException(inner) => inner.meta(),
200 Self::FederationSourceException(inner) => inner.meta(),
201 Self::FederationSourceRetryableException(inner) => inner.meta(),
202 Self::GlueEncryptionException(inner) => inner.meta(),
203 Self::IdempotentParameterMismatchException(inner) => inner.meta(),
204 Self::IllegalBlueprintStateException(inner) => inner.meta(),
205 Self::IllegalSessionStateException(inner) => inner.meta(),
206 Self::IllegalWorkflowStateException(inner) => inner.meta(),
207 Self::IntegrationConflictOperationFault(inner) => inner.meta(),
208 Self::IntegrationNotFoundFault(inner) => inner.meta(),
209 Self::IntegrationQuotaExceededFault(inner) => inner.meta(),
210 Self::InternalServerException(inner) => inner.meta(),
211 Self::InternalServiceException(inner) => inner.meta(),
212 Self::InvalidInputException(inner) => inner.meta(),
213 Self::InvalidIntegrationStateFault(inner) => inner.meta(),
214 Self::InvalidStateException(inner) => inner.meta(),
215 Self::KmsKeyNotAccessibleFault(inner) => inner.meta(),
216 Self::MlTransformNotReadyException(inner) => inner.meta(),
217 Self::MaterializedViewRefreshTaskNotRunningException(inner) => inner.meta(),
218 Self::MaterializedViewRefreshTaskRunningException(inner) => inner.meta(),
219 Self::MaterializedViewRefreshTaskStoppingException(inner) => inner.meta(),
220 Self::NoScheduleException(inner) => inner.meta(),
221 Self::OperationNotSupportedException(inner) => inner.meta(),
222 Self::OperationTimeoutException(inner) => inner.meta(),
223 Self::PermissionTypeMismatchException(inner) => inner.meta(),
224 Self::ResourceNotFoundException(inner) => inner.meta(),
225 Self::ResourceNotReadyException(inner) => inner.meta(),
226 Self::ResourceNumberLimitExceededException(inner) => inner.meta(),
227 Self::SchedulerNotRunningException(inner) => inner.meta(),
228 Self::SchedulerRunningException(inner) => inner.meta(),
229 Self::SchedulerTransitioningException(inner) => inner.meta(),
230 Self::SessionBusyException(inner) => inner.meta(),
231 Self::TargetResourceNotFound(inner) => inner.meta(),
232 Self::ThrottlingException(inner) => inner.meta(),
233 Self::ValidationException(inner) => inner.meta(),
234 Self::VersionMismatchException(inner) => inner.meta(),
235 Self::Unhandled(inner) => &inner.meta,
236 }
237 }
238}
239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError, R>> for Error
240where
241 R: Send + Sync + std::fmt::Debug + 'static,
242{
243 fn from(
244 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError, R>,
245 ) -> Self {
246 match err {
247 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
248 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
249 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
250 source: err.into(),
251 }),
252 }
253 }
254}
255impl From<crate::operation::associate_glossary_terms::AssociateGlossaryTermsError> for Error {
256 fn from(err: crate::operation::associate_glossary_terms::AssociateGlossaryTermsError) -> Self {
257 match err {
258 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::AccessDeniedException(inner) => {
259 Error::AccessDeniedException(inner)
260 }
261 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::ConcurrentModificationException(inner) => {
262 Error::ConcurrentModificationException(inner)
263 }
264 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::EntityNotFoundException(inner) => {
265 Error::EntityNotFoundException(inner)
266 }
267 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::InternalServiceException(inner) => {
268 Error::InternalServiceException(inner)
269 }
270 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::InvalidInputException(inner) => {
271 Error::InvalidInputException(inner)
272 }
273 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
274 crate::operation::associate_glossary_terms::AssociateGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
275 }
276 }
277}
278impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>> for Error
279where
280 R: Send + Sync + std::fmt::Debug + 'static,
281{
282 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_create_partition::BatchCreatePartitionError, R>) -> Self {
283 match err {
284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
287 source: err.into(),
288 }),
289 }
290 }
291}
292impl From<crate::operation::batch_create_partition::BatchCreatePartitionError> for Error {
293 fn from(err: crate::operation::batch_create_partition::BatchCreatePartitionError) -> Self {
294 match err {
295 crate::operation::batch_create_partition::BatchCreatePartitionError::AlreadyExistsException(inner) => {
296 Error::AlreadyExistsException(inner)
297 }
298 crate::operation::batch_create_partition::BatchCreatePartitionError::ConcurrentModificationException(inner) => {
299 Error::ConcurrentModificationException(inner)
300 }
301 crate::operation::batch_create_partition::BatchCreatePartitionError::EntityNotFoundException(inner) => {
302 Error::EntityNotFoundException(inner)
303 }
304 crate::operation::batch_create_partition::BatchCreatePartitionError::GlueEncryptionException(inner) => {
305 Error::GlueEncryptionException(inner)
306 }
307 crate::operation::batch_create_partition::BatchCreatePartitionError::InternalServiceException(inner) => {
308 Error::InternalServiceException(inner)
309 }
310 crate::operation::batch_create_partition::BatchCreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
311 crate::operation::batch_create_partition::BatchCreatePartitionError::OperationTimeoutException(inner) => {
312 Error::OperationTimeoutException(inner)
313 }
314 crate::operation::batch_create_partition::BatchCreatePartitionError::ResourceNumberLimitExceededException(inner) => {
315 Error::ResourceNumberLimitExceededException(inner)
316 }
317 crate::operation::batch_create_partition::BatchCreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
318 }
319 }
320}
321impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>> for Error
322where
323 R: Send + Sync + std::fmt::Debug + 'static,
324{
325 fn from(
326 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_connection::BatchDeleteConnectionError, R>,
327 ) -> Self {
328 match err {
329 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
330 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
331 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
332 source: err.into(),
333 }),
334 }
335 }
336}
337impl From<crate::operation::batch_delete_connection::BatchDeleteConnectionError> for Error {
338 fn from(err: crate::operation::batch_delete_connection::BatchDeleteConnectionError) -> Self {
339 match err {
340 crate::operation::batch_delete_connection::BatchDeleteConnectionError::InternalServiceException(inner) => {
341 Error::InternalServiceException(inner)
342 }
343 crate::operation::batch_delete_connection::BatchDeleteConnectionError::OperationTimeoutException(inner) => {
344 Error::OperationTimeoutException(inner)
345 }
346 crate::operation::batch_delete_connection::BatchDeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
347 }
348 }
349}
350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>> for Error
351where
352 R: Send + Sync + std::fmt::Debug + 'static,
353{
354 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_partition::BatchDeletePartitionError, R>) -> Self {
355 match err {
356 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
357 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
358 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
359 source: err.into(),
360 }),
361 }
362 }
363}
364impl From<crate::operation::batch_delete_partition::BatchDeletePartitionError> for Error {
365 fn from(err: crate::operation::batch_delete_partition::BatchDeletePartitionError) -> Self {
366 match err {
367 crate::operation::batch_delete_partition::BatchDeletePartitionError::ConcurrentModificationException(inner) => {
368 Error::ConcurrentModificationException(inner)
369 }
370 crate::operation::batch_delete_partition::BatchDeletePartitionError::EntityNotFoundException(inner) => {
371 Error::EntityNotFoundException(inner)
372 }
373 crate::operation::batch_delete_partition::BatchDeletePartitionError::InternalServiceException(inner) => {
374 Error::InternalServiceException(inner)
375 }
376 crate::operation::batch_delete_partition::BatchDeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
377 crate::operation::batch_delete_partition::BatchDeletePartitionError::OperationTimeoutException(inner) => {
378 Error::OperationTimeoutException(inner)
379 }
380 crate::operation::batch_delete_partition::BatchDeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
381 }
382 }
383}
384impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>> for Error
385where
386 R: Send + Sync + std::fmt::Debug + 'static,
387{
388 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table::BatchDeleteTableError, R>) -> Self {
389 match err {
390 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
391 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
392 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
393 source: err.into(),
394 }),
395 }
396 }
397}
398impl From<crate::operation::batch_delete_table::BatchDeleteTableError> for Error {
399 fn from(err: crate::operation::batch_delete_table::BatchDeleteTableError) -> Self {
400 match err {
401 crate::operation::batch_delete_table::BatchDeleteTableError::ConcurrentModificationException(inner) => {
402 Error::ConcurrentModificationException(inner)
403 }
404 crate::operation::batch_delete_table::BatchDeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
405 crate::operation::batch_delete_table::BatchDeleteTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
406 crate::operation::batch_delete_table::BatchDeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
407 crate::operation::batch_delete_table::BatchDeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
408 crate::operation::batch_delete_table::BatchDeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
409 crate::operation::batch_delete_table::BatchDeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
410 crate::operation::batch_delete_table::BatchDeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
411 }
412 }
413}
414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>>
415 for Error
416where
417 R: Send + Sync + std::fmt::Debug + 'static,
418{
419 fn from(
420 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError, R>,
421 ) -> Self {
422 match err {
423 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
424 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
425 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
426 source: err.into(),
427 }),
428 }
429 }
430}
431impl From<crate::operation::batch_delete_table_version::BatchDeleteTableVersionError> for Error {
432 fn from(err: crate::operation::batch_delete_table_version::BatchDeleteTableVersionError) -> Self {
433 match err {
434 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::EntityNotFoundException(inner) => {
435 Error::EntityNotFoundException(inner)
436 }
437 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InternalServiceException(inner) => {
438 Error::InternalServiceException(inner)
439 }
440 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::InvalidInputException(inner) => {
441 Error::InvalidInputException(inner)
442 }
443 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::OperationTimeoutException(inner) => {
444 Error::OperationTimeoutException(inner)
445 }
446 crate::operation::batch_delete_table_version::BatchDeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
447 }
448 }
449}
450impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>> for Error
451where
452 R: Send + Sync + std::fmt::Debug + 'static,
453{
454 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_blueprints::BatchGetBlueprintsError, R>) -> Self {
455 match err {
456 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
457 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
458 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
459 source: err.into(),
460 }),
461 }
462 }
463}
464impl From<crate::operation::batch_get_blueprints::BatchGetBlueprintsError> for Error {
465 fn from(err: crate::operation::batch_get_blueprints::BatchGetBlueprintsError) -> Self {
466 match err {
467 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InternalServiceException(inner) => {
468 Error::InternalServiceException(inner)
469 }
470 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
471 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::OperationTimeoutException(inner) => {
472 Error::OperationTimeoutException(inner)
473 }
474 crate::operation::batch_get_blueprints::BatchGetBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
475 }
476 }
477}
478impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>> for Error
479where
480 R: Send + Sync + std::fmt::Debug + 'static,
481{
482 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_crawlers::BatchGetCrawlersError, R>) -> Self {
483 match err {
484 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
485 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
486 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
487 source: err.into(),
488 }),
489 }
490 }
491}
492impl From<crate::operation::batch_get_crawlers::BatchGetCrawlersError> for Error {
493 fn from(err: crate::operation::batch_get_crawlers::BatchGetCrawlersError) -> Self {
494 match err {
495 crate::operation::batch_get_crawlers::BatchGetCrawlersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
496 crate::operation::batch_get_crawlers::BatchGetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
497 crate::operation::batch_get_crawlers::BatchGetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
498 }
499 }
500}
501impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>>
502 for Error
503where
504 R: Send + Sync + std::fmt::Debug + 'static,
505{
506 fn from(
507 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError, R>,
508 ) -> Self {
509 match err {
510 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
511 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
512 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
513 source: err.into(),
514 }),
515 }
516 }
517}
518impl From<crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError> for Error {
519 fn from(err: crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError) -> Self {
520 match err {
521 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InternalServiceException(inner) => {
522 Error::InternalServiceException(inner)
523 }
524 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::InvalidInputException(inner) => {
525 Error::InvalidInputException(inner)
526 }
527 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::OperationTimeoutException(inner) => {
528 Error::OperationTimeoutException(inner)
529 }
530 crate::operation::batch_get_custom_entity_types::BatchGetCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
531 }
532 }
533}
534impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>>
535 for Error
536where
537 R: Send + Sync + std::fmt::Debug + 'static,
538{
539 fn from(
540 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError, R>,
541 ) -> Self {
542 match err {
543 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
544 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
545 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
546 source: err.into(),
547 }),
548 }
549 }
550}
551impl From<crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError> for Error {
552 fn from(err: crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError) -> Self {
553 match err {
554 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InternalServiceException(inner) => {
555 Error::InternalServiceException(inner)
556 }
557 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::InvalidInputException(inner) => {
558 Error::InvalidInputException(inner)
559 }
560 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::OperationTimeoutException(inner) => {
561 Error::OperationTimeoutException(inner)
562 }
563 crate::operation::batch_get_data_quality_result::BatchGetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
564 }
565 }
566}
567impl<R>
568 From<
569 ::aws_smithy_runtime_api::client::result::SdkError<
570 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError,
571 R,
572 >,
573 > for Error
574where
575 R: Send + Sync + std::fmt::Debug + 'static,
576{
577 fn from(
578 err: ::aws_smithy_runtime_api::client::result::SdkError<
579 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError,
580 R,
581 >,
582 ) -> Self {
583 match err {
584 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
585 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
586 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
587 source: err.into(),
588 }),
589 }
590 }
591}
592impl From<crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError> for Error {
593 fn from(err: crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError) -> Self {
594 match err {
595 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
596 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
597 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
598 crate::operation::batch_get_data_quality_ruleset_evaluation_run::BatchGetDataQualityRulesetEvaluationRunError::Unhandled(inner) => Error::Unhandled(inner),
599 }
600 }
601}
602impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>> for Error
603where
604 R: Send + Sync + std::fmt::Debug + 'static,
605{
606 fn from(
607 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError, R>,
608 ) -> Self {
609 match err {
610 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
611 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
612 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
613 source: err.into(),
614 }),
615 }
616 }
617}
618impl From<crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError> for Error {
619 fn from(err: crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError) -> Self {
620 match err {
621 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
622 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InternalServiceException(inner) => {
623 Error::InternalServiceException(inner)
624 }
625 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
626 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::OperationTimeoutException(inner) => {
627 Error::OperationTimeoutException(inner)
628 }
629 crate::operation::batch_get_dev_endpoints::BatchGetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
630 }
631 }
632}
633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError, R>> for Error
634where
635 R: Send + Sync + std::fmt::Debug + 'static,
636{
637 fn from(
638 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError, R>,
639 ) -> Self {
640 match err {
641 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
642 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
643 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
644 source: err.into(),
645 }),
646 }
647 }
648}
649impl From<crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError> for Error {
650 fn from(err: crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError) -> Self {
651 match err {
652 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::AccessDeniedException(inner) => {
653 Error::AccessDeniedException(inner)
654 }
655 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::EntityNotFoundException(inner) => {
656 Error::EntityNotFoundException(inner)
657 }
658 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::InternalServiceException(inner) => {
659 Error::InternalServiceException(inner)
660 }
661 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::InvalidInputException(inner) => {
662 Error::InvalidInputException(inner)
663 }
664 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
665 crate::operation::batch_get_iterable_forms::BatchGetIterableFormsError::Unhandled(inner) => Error::Unhandled(inner),
666 }
667 }
668}
669impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>> for Error
670where
671 R: Send + Sync + std::fmt::Debug + 'static,
672{
673 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_jobs::BatchGetJobsError, R>) -> Self {
674 match err {
675 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
676 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
677 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
678 source: err.into(),
679 }),
680 }
681 }
682}
683impl From<crate::operation::batch_get_jobs::BatchGetJobsError> for Error {
684 fn from(err: crate::operation::batch_get_jobs::BatchGetJobsError) -> Self {
685 match err {
686 crate::operation::batch_get_jobs::BatchGetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
687 crate::operation::batch_get_jobs::BatchGetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
688 crate::operation::batch_get_jobs::BatchGetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
689 crate::operation::batch_get_jobs::BatchGetJobsError::Unhandled(inner) => Error::Unhandled(inner),
690 }
691 }
692}
693impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>> for Error
694where
695 R: Send + Sync + std::fmt::Debug + 'static,
696{
697 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_partition::BatchGetPartitionError, R>) -> Self {
698 match err {
699 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
700 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
701 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
702 source: err.into(),
703 }),
704 }
705 }
706}
707impl From<crate::operation::batch_get_partition::BatchGetPartitionError> for Error {
708 fn from(err: crate::operation::batch_get_partition::BatchGetPartitionError) -> Self {
709 match err {
710 crate::operation::batch_get_partition::BatchGetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
711 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceException(inner) => {
712 Error::FederationSourceException(inner)
713 }
714 crate::operation::batch_get_partition::BatchGetPartitionError::FederationSourceRetryableException(inner) => {
715 Error::FederationSourceRetryableException(inner)
716 }
717 crate::operation::batch_get_partition::BatchGetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
718 crate::operation::batch_get_partition::BatchGetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
719 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
720 crate::operation::batch_get_partition::BatchGetPartitionError::InvalidStateException(inner) => Error::InvalidStateException(inner),
721 crate::operation::batch_get_partition::BatchGetPartitionError::OperationTimeoutException(inner) => {
722 Error::OperationTimeoutException(inner)
723 }
724 crate::operation::batch_get_partition::BatchGetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
725 }
726 }
727}
728impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>>
729 for Error
730where
731 R: Send + Sync + std::fmt::Debug + 'static,
732{
733 fn from(
734 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError, R>,
735 ) -> Self {
736 match err {
737 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
738 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
739 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
740 source: err.into(),
741 }),
742 }
743 }
744}
745impl From<crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError> for Error {
746 fn from(err: crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError) -> Self {
747 match err {
748 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::AccessDeniedException(inner) => {
749 Error::AccessDeniedException(inner)
750 }
751 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::EntityNotFoundException(inner) => {
752 Error::EntityNotFoundException(inner)
753 }
754 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InternalServiceException(inner) => {
755 Error::InternalServiceException(inner)
756 }
757 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::InvalidInputException(inner) => {
758 Error::InvalidInputException(inner)
759 }
760 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
761 crate::operation::batch_get_table_optimizer::BatchGetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
762 }
763 }
764}
765impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>> for Error
766where
767 R: Send + Sync + std::fmt::Debug + 'static,
768{
769 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_triggers::BatchGetTriggersError, R>) -> Self {
770 match err {
771 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
772 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
773 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
774 source: err.into(),
775 }),
776 }
777 }
778}
779impl From<crate::operation::batch_get_triggers::BatchGetTriggersError> for Error {
780 fn from(err: crate::operation::batch_get_triggers::BatchGetTriggersError) -> Self {
781 match err {
782 crate::operation::batch_get_triggers::BatchGetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
783 crate::operation::batch_get_triggers::BatchGetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
784 crate::operation::batch_get_triggers::BatchGetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
785 crate::operation::batch_get_triggers::BatchGetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
786 }
787 }
788}
789impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>> for Error
790where
791 R: Send + Sync + std::fmt::Debug + 'static,
792{
793 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_workflows::BatchGetWorkflowsError, R>) -> Self {
794 match err {
795 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
796 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
797 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
798 source: err.into(),
799 }),
800 }
801 }
802}
803impl From<crate::operation::batch_get_workflows::BatchGetWorkflowsError> for Error {
804 fn from(err: crate::operation::batch_get_workflows::BatchGetWorkflowsError) -> Self {
805 match err {
806 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
807 crate::operation::batch_get_workflows::BatchGetWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
808 crate::operation::batch_get_workflows::BatchGetWorkflowsError::OperationTimeoutException(inner) => {
809 Error::OperationTimeoutException(inner)
810 }
811 crate::operation::batch_get_workflows::BatchGetWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
812 }
813 }
814}
815impl<R>
816 From<
817 ::aws_smithy_runtime_api::client::result::SdkError<
818 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
819 R,
820 >,
821 > for Error
822where
823 R: Send + Sync + std::fmt::Debug + 'static,
824{
825 fn from(
826 err: ::aws_smithy_runtime_api::client::result::SdkError<
827 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError,
828 R,
829 >,
830 ) -> Self {
831 match err {
832 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
833 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
834 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
835 source: err.into(),
836 }),
837 }
838 }
839}
840impl From<crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError> for Error {
841 fn from(err: crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError) -> Self {
842 match err {
843 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
844 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
845 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
846 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
847 crate::operation::batch_put_data_quality_statistic_annotation::BatchPutDataQualityStatisticAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
848 }
849 }
850}
851impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>> for Error
852where
853 R: Send + Sync + std::fmt::Debug + 'static,
854{
855 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_stop_job_run::BatchStopJobRunError, R>) -> Self {
856 match err {
857 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
858 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
859 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
860 source: err.into(),
861 }),
862 }
863 }
864}
865impl From<crate::operation::batch_stop_job_run::BatchStopJobRunError> for Error {
866 fn from(err: crate::operation::batch_stop_job_run::BatchStopJobRunError) -> Self {
867 match err {
868 crate::operation::batch_stop_job_run::BatchStopJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
869 crate::operation::batch_stop_job_run::BatchStopJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
870 crate::operation::batch_stop_job_run::BatchStopJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
871 crate::operation::batch_stop_job_run::BatchStopJobRunError::Unhandled(inner) => Error::Unhandled(inner),
872 }
873 }
874}
875impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>> for Error
876where
877 R: Send + Sync + std::fmt::Debug + 'static,
878{
879 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_update_partition::BatchUpdatePartitionError, R>) -> Self {
880 match err {
881 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
882 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
883 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
884 source: err.into(),
885 }),
886 }
887 }
888}
889impl From<crate::operation::batch_update_partition::BatchUpdatePartitionError> for Error {
890 fn from(err: crate::operation::batch_update_partition::BatchUpdatePartitionError) -> Self {
891 match err {
892 crate::operation::batch_update_partition::BatchUpdatePartitionError::ConcurrentModificationException(inner) => {
893 Error::ConcurrentModificationException(inner)
894 }
895 crate::operation::batch_update_partition::BatchUpdatePartitionError::EntityNotFoundException(inner) => {
896 Error::EntityNotFoundException(inner)
897 }
898 crate::operation::batch_update_partition::BatchUpdatePartitionError::GlueEncryptionException(inner) => {
899 Error::GlueEncryptionException(inner)
900 }
901 crate::operation::batch_update_partition::BatchUpdatePartitionError::InternalServiceException(inner) => {
902 Error::InternalServiceException(inner)
903 }
904 crate::operation::batch_update_partition::BatchUpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
905 crate::operation::batch_update_partition::BatchUpdatePartitionError::OperationTimeoutException(inner) => {
906 Error::OperationTimeoutException(inner)
907 }
908 crate::operation::batch_update_partition::BatchUpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
909 }
910 }
911}
912impl<R>
913 From<
914 ::aws_smithy_runtime_api::client::result::SdkError<
915 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
916 R,
917 >,
918 > for Error
919where
920 R: Send + Sync + std::fmt::Debug + 'static,
921{
922 fn from(
923 err: ::aws_smithy_runtime_api::client::result::SdkError<
924 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError,
925 R,
926 >,
927 ) -> Self {
928 match err {
929 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
930 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
931 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
932 source: err.into(),
933 }),
934 }
935 }
936}
937impl From<crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError> for Error {
938 fn from(err: crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError) -> Self {
939 match err {
940 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::EntityNotFoundException(
941 inner,
942 ) => Error::EntityNotFoundException(inner),
943 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InternalServiceException(
944 inner,
945 ) => Error::InternalServiceException(inner),
946 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::InvalidInputException(
947 inner,
948 ) => Error::InvalidInputException(inner),
949 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::OperationTimeoutException(
950 inner,
951 ) => Error::OperationTimeoutException(inner),
952 crate::operation::cancel_data_quality_rule_recommendation_run::CancelDataQualityRuleRecommendationRunError::Unhandled(inner) => {
953 Error::Unhandled(inner)
954 }
955 }
956 }
957}
958impl<R>
959 From<
960 ::aws_smithy_runtime_api::client::result::SdkError<
961 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
962 R,
963 >,
964 > for Error
965where
966 R: Send + Sync + std::fmt::Debug + 'static,
967{
968 fn from(
969 err: ::aws_smithy_runtime_api::client::result::SdkError<
970 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError,
971 R,
972 >,
973 ) -> Self {
974 match err {
975 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
976 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
977 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
978 source: err.into(),
979 }),
980 }
981 }
982}
983impl From<crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError> for Error {
984 fn from(err: crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError) -> Self {
985 match err {
986 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::EntityNotFoundException(
987 inner,
988 ) => Error::EntityNotFoundException(inner),
989 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InternalServiceException(
990 inner,
991 ) => Error::InternalServiceException(inner),
992 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::InvalidInputException(
993 inner,
994 ) => Error::InvalidInputException(inner),
995 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::OperationTimeoutException(
996 inner,
997 ) => Error::OperationTimeoutException(inner),
998 crate::operation::cancel_data_quality_ruleset_evaluation_run::CancelDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
999 Error::Unhandled(inner)
1000 }
1001 }
1002 }
1003}
1004impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>> for Error
1005where
1006 R: Send + Sync + std::fmt::Debug + 'static,
1007{
1008 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_ml_task_run::CancelMLTaskRunError, R>) -> Self {
1009 match err {
1010 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1011 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1012 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1013 source: err.into(),
1014 }),
1015 }
1016 }
1017}
1018impl From<crate::operation::cancel_ml_task_run::CancelMLTaskRunError> for Error {
1019 fn from(err: crate::operation::cancel_ml_task_run::CancelMLTaskRunError) -> Self {
1020 match err {
1021 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1022 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1023 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1024 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1025 crate::operation::cancel_ml_task_run::CancelMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
1026 }
1027 }
1028}
1029impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>> for Error
1030where
1031 R: Send + Sync + std::fmt::Debug + 'static,
1032{
1033 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::cancel_statement::CancelStatementError, R>) -> Self {
1034 match err {
1035 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1036 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1037 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1038 source: err.into(),
1039 }),
1040 }
1041 }
1042}
1043impl From<crate::operation::cancel_statement::CancelStatementError> for Error {
1044 fn from(err: crate::operation::cancel_statement::CancelStatementError) -> Self {
1045 match err {
1046 crate::operation::cancel_statement::CancelStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1047 crate::operation::cancel_statement::CancelStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1048 crate::operation::cancel_statement::CancelStatementError::IllegalSessionStateException(inner) => {
1049 Error::IllegalSessionStateException(inner)
1050 }
1051 crate::operation::cancel_statement::CancelStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1052 crate::operation::cancel_statement::CancelStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1053 crate::operation::cancel_statement::CancelStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1054 crate::operation::cancel_statement::CancelStatementError::Unhandled(inner) => Error::Unhandled(inner),
1055 }
1056 }
1057}
1058impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>>
1059 for Error
1060where
1061 R: Send + Sync + std::fmt::Debug + 'static,
1062{
1063 fn from(
1064 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError, R>,
1065 ) -> Self {
1066 match err {
1067 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1068 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1069 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1070 source: err.into(),
1071 }),
1072 }
1073 }
1074}
1075impl From<crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError> for Error {
1076 fn from(err: crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError) -> Self {
1077 match err {
1078 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::AccessDeniedException(inner) => {
1079 Error::AccessDeniedException(inner)
1080 }
1081 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InternalServiceException(inner) => {
1082 Error::InternalServiceException(inner)
1083 }
1084 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::InvalidInputException(inner) => {
1085 Error::InvalidInputException(inner)
1086 }
1087 crate::operation::check_schema_version_validity::CheckSchemaVersionValidityError::Unhandled(inner) => Error::Unhandled(inner),
1088 }
1089 }
1090}
1091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>> for Error
1092where
1093 R: Send + Sync + std::fmt::Debug + 'static,
1094{
1095 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_blueprint::CreateBlueprintError, R>) -> Self {
1096 match err {
1097 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1098 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1099 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1100 source: err.into(),
1101 }),
1102 }
1103 }
1104}
1105impl From<crate::operation::create_blueprint::CreateBlueprintError> for Error {
1106 fn from(err: crate::operation::create_blueprint::CreateBlueprintError) -> Self {
1107 match err {
1108 crate::operation::create_blueprint::CreateBlueprintError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1109 crate::operation::create_blueprint::CreateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1110 crate::operation::create_blueprint::CreateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1111 crate::operation::create_blueprint::CreateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1112 crate::operation::create_blueprint::CreateBlueprintError::ResourceNumberLimitExceededException(inner) => {
1113 Error::ResourceNumberLimitExceededException(inner)
1114 }
1115 crate::operation::create_blueprint::CreateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
1116 }
1117 }
1118}
1119impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>> for Error
1120where
1121 R: Send + Sync + std::fmt::Debug + 'static,
1122{
1123 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_catalog::CreateCatalogError, R>) -> Self {
1124 match err {
1125 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1126 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1127 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1128 source: err.into(),
1129 }),
1130 }
1131 }
1132}
1133impl From<crate::operation::create_catalog::CreateCatalogError> for Error {
1134 fn from(err: crate::operation::create_catalog::CreateCatalogError) -> Self {
1135 match err {
1136 crate::operation::create_catalog::CreateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1137 crate::operation::create_catalog::CreateCatalogError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1138 crate::operation::create_catalog::CreateCatalogError::ConcurrentModificationException(inner) => {
1139 Error::ConcurrentModificationException(inner)
1140 }
1141 crate::operation::create_catalog::CreateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1142 crate::operation::create_catalog::CreateCatalogError::FederatedResourceAlreadyExistsException(inner) => {
1143 Error::FederatedResourceAlreadyExistsException(inner)
1144 }
1145 crate::operation::create_catalog::CreateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1146 crate::operation::create_catalog::CreateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1147 crate::operation::create_catalog::CreateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1148 crate::operation::create_catalog::CreateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1149 crate::operation::create_catalog::CreateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1150 crate::operation::create_catalog::CreateCatalogError::ResourceNumberLimitExceededException(inner) => {
1151 Error::ResourceNumberLimitExceededException(inner)
1152 }
1153 crate::operation::create_catalog::CreateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
1154 }
1155 }
1156}
1157impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>> for Error
1158where
1159 R: Send + Sync + std::fmt::Debug + 'static,
1160{
1161 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_classifier::CreateClassifierError, R>) -> Self {
1162 match err {
1163 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1164 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1165 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1166 source: err.into(),
1167 }),
1168 }
1169 }
1170}
1171impl From<crate::operation::create_classifier::CreateClassifierError> for Error {
1172 fn from(err: crate::operation::create_classifier::CreateClassifierError) -> Self {
1173 match err {
1174 crate::operation::create_classifier::CreateClassifierError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1175 crate::operation::create_classifier::CreateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1176 crate::operation::create_classifier::CreateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1177 crate::operation::create_classifier::CreateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
1178 }
1179 }
1180}
1181impl<R>
1182 From<
1183 ::aws_smithy_runtime_api::client::result::SdkError<
1184 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1185 R,
1186 >,
1187 > for Error
1188where
1189 R: Send + Sync + std::fmt::Debug + 'static,
1190{
1191 fn from(
1192 err: ::aws_smithy_runtime_api::client::result::SdkError<
1193 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError,
1194 R,
1195 >,
1196 ) -> Self {
1197 match err {
1198 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1199 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1200 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1201 source: err.into(),
1202 }),
1203 }
1204 }
1205}
1206impl From<crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError> for Error {
1207 fn from(err: crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError) -> Self {
1208 match err {
1209 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1210 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1211 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ColumnStatisticsTaskRunningException(inner) => Error::ColumnStatisticsTaskRunningException(inner),
1212 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1213 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1214 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1215 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
1216 crate::operation::create_column_statistics_task_settings::CreateColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
1217 }
1218 }
1219}
1220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>> for Error
1221where
1222 R: Send + Sync + std::fmt::Debug + 'static,
1223{
1224 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_connection::CreateConnectionError, R>) -> Self {
1225 match err {
1226 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1227 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1228 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1229 source: err.into(),
1230 }),
1231 }
1232 }
1233}
1234impl From<crate::operation::create_connection::CreateConnectionError> for Error {
1235 fn from(err: crate::operation::create_connection::CreateConnectionError) -> Self {
1236 match err {
1237 crate::operation::create_connection::CreateConnectionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1238 crate::operation::create_connection::CreateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1239 crate::operation::create_connection::CreateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1240 crate::operation::create_connection::CreateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1241 crate::operation::create_connection::CreateConnectionError::ResourceNumberLimitExceededException(inner) => {
1242 Error::ResourceNumberLimitExceededException(inner)
1243 }
1244 crate::operation::create_connection::CreateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
1245 }
1246 }
1247}
1248impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>> for Error
1249where
1250 R: Send + Sync + std::fmt::Debug + 'static,
1251{
1252 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_crawler::CreateCrawlerError, R>) -> Self {
1253 match err {
1254 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1255 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1256 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1257 source: err.into(),
1258 }),
1259 }
1260 }
1261}
1262impl From<crate::operation::create_crawler::CreateCrawlerError> for Error {
1263 fn from(err: crate::operation::create_crawler::CreateCrawlerError) -> Self {
1264 match err {
1265 crate::operation::create_crawler::CreateCrawlerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1266 crate::operation::create_crawler::CreateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1267 crate::operation::create_crawler::CreateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1268 crate::operation::create_crawler::CreateCrawlerError::ResourceNumberLimitExceededException(inner) => {
1269 Error::ResourceNumberLimitExceededException(inner)
1270 }
1271 crate::operation::create_crawler::CreateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
1272 }
1273 }
1274}
1275impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>>
1276 for Error
1277where
1278 R: Send + Sync + std::fmt::Debug + 'static,
1279{
1280 fn from(
1281 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError, R>,
1282 ) -> Self {
1283 match err {
1284 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1285 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1286 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1287 source: err.into(),
1288 }),
1289 }
1290 }
1291}
1292impl From<crate::operation::create_custom_entity_type::CreateCustomEntityTypeError> for Error {
1293 fn from(err: crate::operation::create_custom_entity_type::CreateCustomEntityTypeError) -> Self {
1294 match err {
1295 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AccessDeniedException(inner) => {
1296 Error::AccessDeniedException(inner)
1297 }
1298 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::AlreadyExistsException(inner) => {
1299 Error::AlreadyExistsException(inner)
1300 }
1301 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::IdempotentParameterMismatchException(inner) => {
1302 Error::IdempotentParameterMismatchException(inner)
1303 }
1304 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InternalServiceException(inner) => {
1305 Error::InternalServiceException(inner)
1306 }
1307 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::InvalidInputException(inner) => {
1308 Error::InvalidInputException(inner)
1309 }
1310 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::OperationTimeoutException(inner) => {
1311 Error::OperationTimeoutException(inner)
1312 }
1313 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::ResourceNumberLimitExceededException(inner) => {
1314 Error::ResourceNumberLimitExceededException(inner)
1315 }
1316 crate::operation::create_custom_entity_type::CreateCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
1317 }
1318 }
1319}
1320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>> for Error
1321where
1322 R: Send + Sync + std::fmt::Debug + 'static,
1323{
1324 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_database::CreateDatabaseError, R>) -> Self {
1325 match err {
1326 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1327 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1328 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1329 source: err.into(),
1330 }),
1331 }
1332 }
1333}
1334impl From<crate::operation::create_database::CreateDatabaseError> for Error {
1335 fn from(err: crate::operation::create_database::CreateDatabaseError) -> Self {
1336 match err {
1337 crate::operation::create_database::CreateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1338 crate::operation::create_database::CreateDatabaseError::ConcurrentModificationException(inner) => {
1339 Error::ConcurrentModificationException(inner)
1340 }
1341 crate::operation::create_database::CreateDatabaseError::FederatedResourceAlreadyExistsException(inner) => {
1342 Error::FederatedResourceAlreadyExistsException(inner)
1343 }
1344 crate::operation::create_database::CreateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
1345 crate::operation::create_database::CreateDatabaseError::FederationSourceRetryableException(inner) => {
1346 Error::FederationSourceRetryableException(inner)
1347 }
1348 crate::operation::create_database::CreateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1349 crate::operation::create_database::CreateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1350 crate::operation::create_database::CreateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1351 crate::operation::create_database::CreateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1352 crate::operation::create_database::CreateDatabaseError::ResourceNumberLimitExceededException(inner) => {
1353 Error::ResourceNumberLimitExceededException(inner)
1354 }
1355 crate::operation::create_database::CreateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
1356 }
1357 }
1358}
1359impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>>
1360 for Error
1361where
1362 R: Send + Sync + std::fmt::Debug + 'static,
1363{
1364 fn from(
1365 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError, R>,
1366 ) -> Self {
1367 match err {
1368 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1369 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1370 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1371 source: err.into(),
1372 }),
1373 }
1374 }
1375}
1376impl From<crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError> for Error {
1377 fn from(err: crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError) -> Self {
1378 match err {
1379 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::AlreadyExistsException(inner) => {
1380 Error::AlreadyExistsException(inner)
1381 }
1382 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InternalServiceException(inner) => {
1383 Error::InternalServiceException(inner)
1384 }
1385 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::InvalidInputException(inner) => {
1386 Error::InvalidInputException(inner)
1387 }
1388 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::OperationTimeoutException(inner) => {
1389 Error::OperationTimeoutException(inner)
1390 }
1391 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
1392 Error::ResourceNumberLimitExceededException(inner)
1393 }
1394 crate::operation::create_data_quality_ruleset::CreateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
1395 }
1396 }
1397}
1398impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>> for Error
1399where
1400 R: Send + Sync + std::fmt::Debug + 'static,
1401{
1402 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_dev_endpoint::CreateDevEndpointError, R>) -> Self {
1403 match err {
1404 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1405 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1406 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1407 source: err.into(),
1408 }),
1409 }
1410 }
1411}
1412impl From<crate::operation::create_dev_endpoint::CreateDevEndpointError> for Error {
1413 fn from(err: crate::operation::create_dev_endpoint::CreateDevEndpointError) -> Self {
1414 match err {
1415 crate::operation::create_dev_endpoint::CreateDevEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1416 crate::operation::create_dev_endpoint::CreateDevEndpointError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1417 crate::operation::create_dev_endpoint::CreateDevEndpointError::IdempotentParameterMismatchException(inner) => {
1418 Error::IdempotentParameterMismatchException(inner)
1419 }
1420 crate::operation::create_dev_endpoint::CreateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1421 crate::operation::create_dev_endpoint::CreateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1422 crate::operation::create_dev_endpoint::CreateDevEndpointError::OperationTimeoutException(inner) => {
1423 Error::OperationTimeoutException(inner)
1424 }
1425 crate::operation::create_dev_endpoint::CreateDevEndpointError::ResourceNumberLimitExceededException(inner) => {
1426 Error::ResourceNumberLimitExceededException(inner)
1427 }
1428 crate::operation::create_dev_endpoint::CreateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
1429 crate::operation::create_dev_endpoint::CreateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
1430 }
1431 }
1432}
1433impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>> for Error
1434where
1435 R: Send + Sync + std::fmt::Debug + 'static,
1436{
1437 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary::CreateGlossaryError, R>) -> Self {
1438 match err {
1439 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1440 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1441 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1442 source: err.into(),
1443 }),
1444 }
1445 }
1446}
1447impl From<crate::operation::create_glossary::CreateGlossaryError> for Error {
1448 fn from(err: crate::operation::create_glossary::CreateGlossaryError) -> Self {
1449 match err {
1450 crate::operation::create_glossary::CreateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1451 crate::operation::create_glossary::CreateGlossaryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1452 crate::operation::create_glossary::CreateGlossaryError::ConcurrentModificationException(inner) => {
1453 Error::ConcurrentModificationException(inner)
1454 }
1455 crate::operation::create_glossary::CreateGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1456 crate::operation::create_glossary::CreateGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1457 crate::operation::create_glossary::CreateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1458 crate::operation::create_glossary::CreateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
1459 }
1460 }
1461}
1462impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>> for Error
1463where
1464 R: Send + Sync + std::fmt::Debug + 'static,
1465{
1466 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_glossary_term::CreateGlossaryTermError, R>) -> Self {
1467 match err {
1468 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1469 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1470 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1471 source: err.into(),
1472 }),
1473 }
1474 }
1475}
1476impl From<crate::operation::create_glossary_term::CreateGlossaryTermError> for Error {
1477 fn from(err: crate::operation::create_glossary_term::CreateGlossaryTermError) -> Self {
1478 match err {
1479 crate::operation::create_glossary_term::CreateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1480 crate::operation::create_glossary_term::CreateGlossaryTermError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1481 crate::operation::create_glossary_term::CreateGlossaryTermError::ConcurrentModificationException(inner) => {
1482 Error::ConcurrentModificationException(inner)
1483 }
1484 crate::operation::create_glossary_term::CreateGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1485 crate::operation::create_glossary_term::CreateGlossaryTermError::InternalServiceException(inner) => {
1486 Error::InternalServiceException(inner)
1487 }
1488 crate::operation::create_glossary_term::CreateGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1489 crate::operation::create_glossary_term::CreateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
1490 crate::operation::create_glossary_term::CreateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
1491 }
1492 }
1493}
1494impl<R>
1495 From<
1496 ::aws_smithy_runtime_api::client::result::SdkError<
1497 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1498 R,
1499 >,
1500 > for Error
1501where
1502 R: Send + Sync + std::fmt::Debug + 'static,
1503{
1504 fn from(
1505 err: ::aws_smithy_runtime_api::client::result::SdkError<
1506 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError,
1507 R,
1508 >,
1509 ) -> Self {
1510 match err {
1511 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1512 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1513 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1514 source: err.into(),
1515 }),
1516 }
1517 }
1518}
1519impl From<crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError> for Error {
1520 fn from(err: crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError) -> Self {
1521 match err {
1522 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1523 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1524 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1525 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1526 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1527 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1528 crate::operation::create_glue_identity_center_configuration::CreateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1529 }
1530 }
1531}
1532impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>> for Error
1533where
1534 R: Send + Sync + std::fmt::Debug + 'static,
1535{
1536 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_integration::CreateIntegrationError, R>) -> Self {
1537 match err {
1538 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1539 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1540 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1541 source: err.into(),
1542 }),
1543 }
1544 }
1545}
1546impl From<crate::operation::create_integration::CreateIntegrationError> for Error {
1547 fn from(err: crate::operation::create_integration::CreateIntegrationError) -> Self {
1548 match err {
1549 crate::operation::create_integration::CreateIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1550 crate::operation::create_integration::CreateIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
1551 crate::operation::create_integration::CreateIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1552 crate::operation::create_integration::CreateIntegrationError::IntegrationConflictOperationFault(inner) => {
1553 Error::IntegrationConflictOperationFault(inner)
1554 }
1555 crate::operation::create_integration::CreateIntegrationError::IntegrationQuotaExceededFault(inner) => {
1556 Error::IntegrationQuotaExceededFault(inner)
1557 }
1558 crate::operation::create_integration::CreateIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
1559 crate::operation::create_integration::CreateIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1560 crate::operation::create_integration::CreateIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1561 crate::operation::create_integration::CreateIntegrationError::KmsKeyNotAccessibleFault(inner) => Error::KmsKeyNotAccessibleFault(inner),
1562 crate::operation::create_integration::CreateIntegrationError::ResourceNotFoundException(inner) => Error::ResourceNotFoundException(inner),
1563 crate::operation::create_integration::CreateIntegrationError::ResourceNumberLimitExceededException(inner) => {
1564 Error::ResourceNumberLimitExceededException(inner)
1565 }
1566 crate::operation::create_integration::CreateIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
1567 crate::operation::create_integration::CreateIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
1568 }
1569 }
1570}
1571impl<R>
1572 From<
1573 ::aws_smithy_runtime_api::client::result::SdkError<
1574 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1575 R,
1576 >,
1577 > for Error
1578where
1579 R: Send + Sync + std::fmt::Debug + 'static,
1580{
1581 fn from(
1582 err: ::aws_smithy_runtime_api::client::result::SdkError<
1583 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError,
1584 R,
1585 >,
1586 ) -> Self {
1587 match err {
1588 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1589 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1590 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1591 source: err.into(),
1592 }),
1593 }
1594 }
1595}
1596impl From<crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError> for Error {
1597 fn from(err: crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError) -> Self {
1598 match err {
1599 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
1600 Error::AccessDeniedException(inner)
1601 }
1602 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ConflictException(inner) => {
1603 Error::ConflictException(inner)
1604 }
1605 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
1606 Error::EntityNotFoundException(inner)
1607 }
1608 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServerException(inner) => {
1609 Error::InternalServerException(inner)
1610 }
1611 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InternalServiceException(inner) => {
1612 Error::InternalServiceException(inner)
1613 }
1614 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::InvalidInputException(inner) => {
1615 Error::InvalidInputException(inner)
1616 }
1617 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
1618 Error::ResourceNotFoundException(inner)
1619 }
1620 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::ValidationException(inner) => {
1621 Error::ValidationException(inner)
1622 }
1623 crate::operation::create_integration_resource_property::CreateIntegrationResourcePropertyError::Unhandled(inner) => {
1624 Error::Unhandled(inner)
1625 }
1626 }
1627 }
1628}
1629impl<R>
1630 From<
1631 ::aws_smithy_runtime_api::client::result::SdkError<
1632 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1633 R,
1634 >,
1635 > for Error
1636where
1637 R: Send + Sync + std::fmt::Debug + 'static,
1638{
1639 fn from(
1640 err: ::aws_smithy_runtime_api::client::result::SdkError<
1641 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError,
1642 R,
1643 >,
1644 ) -> Self {
1645 match err {
1646 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1647 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1648 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1649 source: err.into(),
1650 }),
1651 }
1652 }
1653}
1654impl From<crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError> for Error {
1655 fn from(err: crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError) -> Self {
1656 match err {
1657 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
1658 Error::AccessDeniedException(inner)
1659 }
1660 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
1661 Error::EntityNotFoundException(inner)
1662 }
1663 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServerException(inner) => {
1664 Error::InternalServerException(inner)
1665 }
1666 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InternalServiceException(inner) => {
1667 Error::InternalServiceException(inner)
1668 }
1669 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::InvalidInputException(inner) => {
1670 Error::InvalidInputException(inner)
1671 }
1672 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
1673 Error::ResourceNotFoundException(inner)
1674 }
1675 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::ValidationException(inner) => {
1676 Error::ValidationException(inner)
1677 }
1678 crate::operation::create_integration_table_properties::CreateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
1679 }
1680 }
1681}
1682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>> for Error
1683where
1684 R: Send + Sync + std::fmt::Debug + 'static,
1685{
1686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_job::CreateJobError, R>) -> Self {
1687 match err {
1688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1691 source: err.into(),
1692 }),
1693 }
1694 }
1695}
1696impl From<crate::operation::create_job::CreateJobError> for Error {
1697 fn from(err: crate::operation::create_job::CreateJobError) -> Self {
1698 match err {
1699 crate::operation::create_job::CreateJobError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1700 crate::operation::create_job::CreateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1701 crate::operation::create_job::CreateJobError::IdempotentParameterMismatchException(inner) => {
1702 Error::IdempotentParameterMismatchException(inner)
1703 }
1704 crate::operation::create_job::CreateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1705 crate::operation::create_job::CreateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1706 crate::operation::create_job::CreateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1707 crate::operation::create_job::CreateJobError::ResourceNumberLimitExceededException(inner) => {
1708 Error::ResourceNumberLimitExceededException(inner)
1709 }
1710 crate::operation::create_job::CreateJobError::Unhandled(inner) => Error::Unhandled(inner),
1711 }
1712 }
1713}
1714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>> for Error
1715where
1716 R: Send + Sync + std::fmt::Debug + 'static,
1717{
1718 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_ml_transform::CreateMLTransformError, R>) -> Self {
1719 match err {
1720 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1721 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1722 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1723 source: err.into(),
1724 }),
1725 }
1726 }
1727}
1728impl From<crate::operation::create_ml_transform::CreateMLTransformError> for Error {
1729 fn from(err: crate::operation::create_ml_transform::CreateMLTransformError) -> Self {
1730 match err {
1731 crate::operation::create_ml_transform::CreateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1732 crate::operation::create_ml_transform::CreateMLTransformError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1733 crate::operation::create_ml_transform::CreateMLTransformError::IdempotentParameterMismatchException(inner) => {
1734 Error::IdempotentParameterMismatchException(inner)
1735 }
1736 crate::operation::create_ml_transform::CreateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1737 crate::operation::create_ml_transform::CreateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1738 crate::operation::create_ml_transform::CreateMLTransformError::OperationTimeoutException(inner) => {
1739 Error::OperationTimeoutException(inner)
1740 }
1741 crate::operation::create_ml_transform::CreateMLTransformError::ResourceNumberLimitExceededException(inner) => {
1742 Error::ResourceNumberLimitExceededException(inner)
1743 }
1744 crate::operation::create_ml_transform::CreateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
1745 }
1746 }
1747}
1748impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>> for Error
1749where
1750 R: Send + Sync + std::fmt::Debug + 'static,
1751{
1752 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition::CreatePartitionError, R>) -> Self {
1753 match err {
1754 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1755 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1756 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1757 source: err.into(),
1758 }),
1759 }
1760 }
1761}
1762impl From<crate::operation::create_partition::CreatePartitionError> for Error {
1763 fn from(err: crate::operation::create_partition::CreatePartitionError) -> Self {
1764 match err {
1765 crate::operation::create_partition::CreatePartitionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1766 crate::operation::create_partition::CreatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1767 crate::operation::create_partition::CreatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
1768 crate::operation::create_partition::CreatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1769 crate::operation::create_partition::CreatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1770 crate::operation::create_partition::CreatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1771 crate::operation::create_partition::CreatePartitionError::ResourceNumberLimitExceededException(inner) => {
1772 Error::ResourceNumberLimitExceededException(inner)
1773 }
1774 crate::operation::create_partition::CreatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
1775 }
1776 }
1777}
1778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>> for Error
1779where
1780 R: Send + Sync + std::fmt::Debug + 'static,
1781{
1782 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_partition_index::CreatePartitionIndexError, R>) -> Self {
1783 match err {
1784 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1785 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1786 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1787 source: err.into(),
1788 }),
1789 }
1790 }
1791}
1792impl From<crate::operation::create_partition_index::CreatePartitionIndexError> for Error {
1793 fn from(err: crate::operation::create_partition_index::CreatePartitionIndexError) -> Self {
1794 match err {
1795 crate::operation::create_partition_index::CreatePartitionIndexError::AlreadyExistsException(inner) => {
1796 Error::AlreadyExistsException(inner)
1797 }
1798 crate::operation::create_partition_index::CreatePartitionIndexError::EntityNotFoundException(inner) => {
1799 Error::EntityNotFoundException(inner)
1800 }
1801 crate::operation::create_partition_index::CreatePartitionIndexError::GlueEncryptionException(inner) => {
1802 Error::GlueEncryptionException(inner)
1803 }
1804 crate::operation::create_partition_index::CreatePartitionIndexError::InternalServiceException(inner) => {
1805 Error::InternalServiceException(inner)
1806 }
1807 crate::operation::create_partition_index::CreatePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1808 crate::operation::create_partition_index::CreatePartitionIndexError::OperationTimeoutException(inner) => {
1809 Error::OperationTimeoutException(inner)
1810 }
1811 crate::operation::create_partition_index::CreatePartitionIndexError::ResourceNumberLimitExceededException(inner) => {
1812 Error::ResourceNumberLimitExceededException(inner)
1813 }
1814 crate::operation::create_partition_index::CreatePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
1815 }
1816 }
1817}
1818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>> for Error
1819where
1820 R: Send + Sync + std::fmt::Debug + 'static,
1821{
1822 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_registry::CreateRegistryError, R>) -> Self {
1823 match err {
1824 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1825 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1826 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1827 source: err.into(),
1828 }),
1829 }
1830 }
1831}
1832impl From<crate::operation::create_registry::CreateRegistryError> for Error {
1833 fn from(err: crate::operation::create_registry::CreateRegistryError) -> Self {
1834 match err {
1835 crate::operation::create_registry::CreateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1836 crate::operation::create_registry::CreateRegistryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1837 crate::operation::create_registry::CreateRegistryError::ConcurrentModificationException(inner) => {
1838 Error::ConcurrentModificationException(inner)
1839 }
1840 crate::operation::create_registry::CreateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1841 crate::operation::create_registry::CreateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1842 crate::operation::create_registry::CreateRegistryError::ResourceNumberLimitExceededException(inner) => {
1843 Error::ResourceNumberLimitExceededException(inner)
1844 }
1845 crate::operation::create_registry::CreateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
1846 }
1847 }
1848}
1849impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>> for Error
1850where
1851 R: Send + Sync + std::fmt::Debug + 'static,
1852{
1853 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_schema::CreateSchemaError, R>) -> Self {
1854 match err {
1855 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1856 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1857 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1858 source: err.into(),
1859 }),
1860 }
1861 }
1862}
1863impl From<crate::operation::create_schema::CreateSchemaError> for Error {
1864 fn from(err: crate::operation::create_schema::CreateSchemaError) -> Self {
1865 match err {
1866 crate::operation::create_schema::CreateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1867 crate::operation::create_schema::CreateSchemaError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1868 crate::operation::create_schema::CreateSchemaError::ConcurrentModificationException(inner) => {
1869 Error::ConcurrentModificationException(inner)
1870 }
1871 crate::operation::create_schema::CreateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
1872 crate::operation::create_schema::CreateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1873 crate::operation::create_schema::CreateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1874 crate::operation::create_schema::CreateSchemaError::ResourceNumberLimitExceededException(inner) => {
1875 Error::ResourceNumberLimitExceededException(inner)
1876 }
1877 crate::operation::create_schema::CreateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
1878 }
1879 }
1880}
1881impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>> for Error
1882where
1883 R: Send + Sync + std::fmt::Debug + 'static,
1884{
1885 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_script::CreateScriptError, R>) -> Self {
1886 match err {
1887 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1888 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1889 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1890 source: err.into(),
1891 }),
1892 }
1893 }
1894}
1895impl From<crate::operation::create_script::CreateScriptError> for Error {
1896 fn from(err: crate::operation::create_script::CreateScriptError) -> Self {
1897 match err {
1898 crate::operation::create_script::CreateScriptError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1899 crate::operation::create_script::CreateScriptError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1900 crate::operation::create_script::CreateScriptError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1901 crate::operation::create_script::CreateScriptError::Unhandled(inner) => Error::Unhandled(inner),
1902 }
1903 }
1904}
1905impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>>
1906 for Error
1907where
1908 R: Send + Sync + std::fmt::Debug + 'static,
1909{
1910 fn from(
1911 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_security_configuration::CreateSecurityConfigurationError, R>,
1912 ) -> Self {
1913 match err {
1914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1917 source: err.into(),
1918 }),
1919 }
1920 }
1921}
1922impl From<crate::operation::create_security_configuration::CreateSecurityConfigurationError> for Error {
1923 fn from(err: crate::operation::create_security_configuration::CreateSecurityConfigurationError) -> Self {
1924 match err {
1925 crate::operation::create_security_configuration::CreateSecurityConfigurationError::AlreadyExistsException(inner) => {
1926 Error::AlreadyExistsException(inner)
1927 }
1928 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InternalServiceException(inner) => {
1929 Error::InternalServiceException(inner)
1930 }
1931 crate::operation::create_security_configuration::CreateSecurityConfigurationError::InvalidInputException(inner) => {
1932 Error::InvalidInputException(inner)
1933 }
1934 crate::operation::create_security_configuration::CreateSecurityConfigurationError::OperationTimeoutException(inner) => {
1935 Error::OperationTimeoutException(inner)
1936 }
1937 crate::operation::create_security_configuration::CreateSecurityConfigurationError::ResourceNumberLimitExceededException(inner) => {
1938 Error::ResourceNumberLimitExceededException(inner)
1939 }
1940 crate::operation::create_security_configuration::CreateSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
1941 }
1942 }
1943}
1944impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>> for Error
1945where
1946 R: Send + Sync + std::fmt::Debug + 'static,
1947{
1948 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_session::CreateSessionError, R>) -> Self {
1949 match err {
1950 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1951 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1952 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1953 source: err.into(),
1954 }),
1955 }
1956 }
1957}
1958impl From<crate::operation::create_session::CreateSessionError> for Error {
1959 fn from(err: crate::operation::create_session::CreateSessionError) -> Self {
1960 match err {
1961 crate::operation::create_session::CreateSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
1962 crate::operation::create_session::CreateSessionError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1963 crate::operation::create_session::CreateSessionError::IdempotentParameterMismatchException(inner) => {
1964 Error::IdempotentParameterMismatchException(inner)
1965 }
1966 crate::operation::create_session::CreateSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
1967 crate::operation::create_session::CreateSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
1968 crate::operation::create_session::CreateSessionError::OperationNotSupportedException(inner) => {
1969 Error::OperationNotSupportedException(inner)
1970 }
1971 crate::operation::create_session::CreateSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
1972 crate::operation::create_session::CreateSessionError::ResourceNumberLimitExceededException(inner) => {
1973 Error::ResourceNumberLimitExceededException(inner)
1974 }
1975 crate::operation::create_session::CreateSessionError::ValidationException(inner) => Error::ValidationException(inner),
1976 crate::operation::create_session::CreateSessionError::Unhandled(inner) => Error::Unhandled(inner),
1977 }
1978 }
1979}
1980impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
1981where
1982 R: Send + Sync + std::fmt::Debug + 'static,
1983{
1984 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
1985 match err {
1986 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
1987 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
1988 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
1989 source: err.into(),
1990 }),
1991 }
1992 }
1993}
1994impl From<crate::operation::create_table::CreateTableError> for Error {
1995 fn from(err: crate::operation::create_table::CreateTableError) -> Self {
1996 match err {
1997 crate::operation::create_table::CreateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
1998 crate::operation::create_table::CreateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
1999 crate::operation::create_table::CreateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2000 crate::operation::create_table::CreateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2001 crate::operation::create_table::CreateTableError::FederationSourceRetryableException(inner) => {
2002 Error::FederationSourceRetryableException(inner)
2003 }
2004 crate::operation::create_table::CreateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2005 crate::operation::create_table::CreateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2006 crate::operation::create_table::CreateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2007 crate::operation::create_table::CreateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2008 crate::operation::create_table::CreateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
2009 crate::operation::create_table::CreateTableError::ResourceNumberLimitExceededException(inner) => {
2010 Error::ResourceNumberLimitExceededException(inner)
2011 }
2012 crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
2013 }
2014 }
2015}
2016impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>> for Error
2017where
2018 R: Send + Sync + std::fmt::Debug + 'static,
2019{
2020 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table_optimizer::CreateTableOptimizerError, R>) -> Self {
2021 match err {
2022 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2023 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2024 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2025 source: err.into(),
2026 }),
2027 }
2028 }
2029}
2030impl From<crate::operation::create_table_optimizer::CreateTableOptimizerError> for Error {
2031 fn from(err: crate::operation::create_table_optimizer::CreateTableOptimizerError) -> Self {
2032 match err {
2033 crate::operation::create_table_optimizer::CreateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2034 crate::operation::create_table_optimizer::CreateTableOptimizerError::AlreadyExistsException(inner) => {
2035 Error::AlreadyExistsException(inner)
2036 }
2037 crate::operation::create_table_optimizer::CreateTableOptimizerError::EntityNotFoundException(inner) => {
2038 Error::EntityNotFoundException(inner)
2039 }
2040 crate::operation::create_table_optimizer::CreateTableOptimizerError::InternalServiceException(inner) => {
2041 Error::InternalServiceException(inner)
2042 }
2043 crate::operation::create_table_optimizer::CreateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2044 crate::operation::create_table_optimizer::CreateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2045 crate::operation::create_table_optimizer::CreateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
2046 crate::operation::create_table_optimizer::CreateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
2047 }
2048 }
2049}
2050impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>> for Error
2051where
2052 R: Send + Sync + std::fmt::Debug + 'static,
2053{
2054 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_trigger::CreateTriggerError, R>) -> Self {
2055 match err {
2056 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2057 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2058 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2059 source: err.into(),
2060 }),
2061 }
2062 }
2063}
2064impl From<crate::operation::create_trigger::CreateTriggerError> for Error {
2065 fn from(err: crate::operation::create_trigger::CreateTriggerError) -> Self {
2066 match err {
2067 crate::operation::create_trigger::CreateTriggerError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2068 crate::operation::create_trigger::CreateTriggerError::ConcurrentModificationException(inner) => {
2069 Error::ConcurrentModificationException(inner)
2070 }
2071 crate::operation::create_trigger::CreateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2072 crate::operation::create_trigger::CreateTriggerError::IdempotentParameterMismatchException(inner) => {
2073 Error::IdempotentParameterMismatchException(inner)
2074 }
2075 crate::operation::create_trigger::CreateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2076 crate::operation::create_trigger::CreateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2077 crate::operation::create_trigger::CreateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2078 crate::operation::create_trigger::CreateTriggerError::ResourceNumberLimitExceededException(inner) => {
2079 Error::ResourceNumberLimitExceededException(inner)
2080 }
2081 crate::operation::create_trigger::CreateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
2082 }
2083 }
2084}
2085impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>> for Error
2086where
2087 R: Send + Sync + std::fmt::Debug + 'static,
2088{
2089 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_usage_profile::CreateUsageProfileError, R>) -> Self {
2090 match err {
2091 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2092 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2093 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2094 source: err.into(),
2095 }),
2096 }
2097 }
2098}
2099impl From<crate::operation::create_usage_profile::CreateUsageProfileError> for Error {
2100 fn from(err: crate::operation::create_usage_profile::CreateUsageProfileError) -> Self {
2101 match err {
2102 crate::operation::create_usage_profile::CreateUsageProfileError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2103 crate::operation::create_usage_profile::CreateUsageProfileError::InternalServiceException(inner) => {
2104 Error::InternalServiceException(inner)
2105 }
2106 crate::operation::create_usage_profile::CreateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2107 crate::operation::create_usage_profile::CreateUsageProfileError::OperationNotSupportedException(inner) => {
2108 Error::OperationNotSupportedException(inner)
2109 }
2110 crate::operation::create_usage_profile::CreateUsageProfileError::OperationTimeoutException(inner) => {
2111 Error::OperationTimeoutException(inner)
2112 }
2113 crate::operation::create_usage_profile::CreateUsageProfileError::ResourceNumberLimitExceededException(inner) => {
2114 Error::ResourceNumberLimitExceededException(inner)
2115 }
2116 crate::operation::create_usage_profile::CreateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
2117 }
2118 }
2119}
2120impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>>
2121 for Error
2122where
2123 R: Send + Sync + std::fmt::Debug + 'static,
2124{
2125 fn from(
2126 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError, R>,
2127 ) -> Self {
2128 match err {
2129 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2130 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2131 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2132 source: err.into(),
2133 }),
2134 }
2135 }
2136}
2137impl From<crate::operation::create_user_defined_function::CreateUserDefinedFunctionError> for Error {
2138 fn from(err: crate::operation::create_user_defined_function::CreateUserDefinedFunctionError) -> Self {
2139 match err {
2140 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::AlreadyExistsException(inner) => {
2141 Error::AlreadyExistsException(inner)
2142 }
2143 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::EntityNotFoundException(inner) => {
2144 Error::EntityNotFoundException(inner)
2145 }
2146 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::GlueEncryptionException(inner) => {
2147 Error::GlueEncryptionException(inner)
2148 }
2149 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InternalServiceException(inner) => {
2150 Error::InternalServiceException(inner)
2151 }
2152 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::InvalidInputException(inner) => {
2153 Error::InvalidInputException(inner)
2154 }
2155 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::OperationTimeoutException(inner) => {
2156 Error::OperationTimeoutException(inner)
2157 }
2158 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::ResourceNumberLimitExceededException(inner) => {
2159 Error::ResourceNumberLimitExceededException(inner)
2160 }
2161 crate::operation::create_user_defined_function::CreateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
2162 }
2163 }
2164}
2165impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>> for Error
2166where
2167 R: Send + Sync + std::fmt::Debug + 'static,
2168{
2169 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_workflow::CreateWorkflowError, R>) -> Self {
2170 match err {
2171 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2172 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2173 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2174 source: err.into(),
2175 }),
2176 }
2177 }
2178}
2179impl From<crate::operation::create_workflow::CreateWorkflowError> for Error {
2180 fn from(err: crate::operation::create_workflow::CreateWorkflowError) -> Self {
2181 match err {
2182 crate::operation::create_workflow::CreateWorkflowError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
2183 crate::operation::create_workflow::CreateWorkflowError::ConcurrentModificationException(inner) => {
2184 Error::ConcurrentModificationException(inner)
2185 }
2186 crate::operation::create_workflow::CreateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2187 crate::operation::create_workflow::CreateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2188 crate::operation::create_workflow::CreateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2189 crate::operation::create_workflow::CreateWorkflowError::ResourceNumberLimitExceededException(inner) => {
2190 Error::ResourceNumberLimitExceededException(inner)
2191 }
2192 crate::operation::create_workflow::CreateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
2193 }
2194 }
2195}
2196impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>> for Error
2197where
2198 R: Send + Sync + std::fmt::Debug + 'static,
2199{
2200 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset::DeleteAssetError, R>) -> Self {
2201 match err {
2202 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2203 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2204 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2205 source: err.into(),
2206 }),
2207 }
2208 }
2209}
2210impl From<crate::operation::delete_asset::DeleteAssetError> for Error {
2211 fn from(err: crate::operation::delete_asset::DeleteAssetError) -> Self {
2212 match err {
2213 crate::operation::delete_asset::DeleteAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2214 crate::operation::delete_asset::DeleteAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2215 crate::operation::delete_asset::DeleteAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2216 crate::operation::delete_asset::DeleteAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2217 crate::operation::delete_asset::DeleteAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2218 crate::operation::delete_asset::DeleteAssetError::Unhandled(inner) => Error::Unhandled(inner),
2219 }
2220 }
2221}
2222impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_type::DeleteAssetTypeError, R>> for Error
2223where
2224 R: Send + Sync + std::fmt::Debug + 'static,
2225{
2226 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_asset_type::DeleteAssetTypeError, R>) -> Self {
2227 match err {
2228 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2229 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2230 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2231 source: err.into(),
2232 }),
2233 }
2234 }
2235}
2236impl From<crate::operation::delete_asset_type::DeleteAssetTypeError> for Error {
2237 fn from(err: crate::operation::delete_asset_type::DeleteAssetTypeError) -> Self {
2238 match err {
2239 crate::operation::delete_asset_type::DeleteAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2240 crate::operation::delete_asset_type::DeleteAssetTypeError::ConcurrentModificationException(inner) => {
2241 Error::ConcurrentModificationException(inner)
2242 }
2243 crate::operation::delete_asset_type::DeleteAssetTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2244 crate::operation::delete_asset_type::DeleteAssetTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2245 crate::operation::delete_asset_type::DeleteAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2246 crate::operation::delete_asset_type::DeleteAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
2247 }
2248 }
2249}
2250impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_attachment::DeleteAttachmentError, R>> for Error
2251where
2252 R: Send + Sync + std::fmt::Debug + 'static,
2253{
2254 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_attachment::DeleteAttachmentError, R>) -> Self {
2255 match err {
2256 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2257 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2258 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2259 source: err.into(),
2260 }),
2261 }
2262 }
2263}
2264impl From<crate::operation::delete_attachment::DeleteAttachmentError> for Error {
2265 fn from(err: crate::operation::delete_attachment::DeleteAttachmentError) -> Self {
2266 match err {
2267 crate::operation::delete_attachment::DeleteAttachmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2268 crate::operation::delete_attachment::DeleteAttachmentError::ConcurrentModificationException(inner) => {
2269 Error::ConcurrentModificationException(inner)
2270 }
2271 crate::operation::delete_attachment::DeleteAttachmentError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2272 crate::operation::delete_attachment::DeleteAttachmentError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2273 crate::operation::delete_attachment::DeleteAttachmentError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2274 crate::operation::delete_attachment::DeleteAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2275 crate::operation::delete_attachment::DeleteAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
2276 }
2277 }
2278}
2279impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_blueprint::DeleteBlueprintError, 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_blueprint::DeleteBlueprintError, 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_blueprint::DeleteBlueprintError> for Error {
2294 fn from(err: crate::operation::delete_blueprint::DeleteBlueprintError) -> Self {
2295 match err {
2296 crate::operation::delete_blueprint::DeleteBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2297 crate::operation::delete_blueprint::DeleteBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2298 crate::operation::delete_blueprint::DeleteBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2299 crate::operation::delete_blueprint::DeleteBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
2300 }
2301 }
2302}
2303impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>> for Error
2304where
2305 R: Send + Sync + std::fmt::Debug + 'static,
2306{
2307 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_catalog::DeleteCatalogError, R>) -> Self {
2308 match err {
2309 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2310 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2311 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2312 source: err.into(),
2313 }),
2314 }
2315 }
2316}
2317impl From<crate::operation::delete_catalog::DeleteCatalogError> for Error {
2318 fn from(err: crate::operation::delete_catalog::DeleteCatalogError) -> Self {
2319 match err {
2320 crate::operation::delete_catalog::DeleteCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2321 crate::operation::delete_catalog::DeleteCatalogError::ConcurrentModificationException(inner) => {
2322 Error::ConcurrentModificationException(inner)
2323 }
2324 crate::operation::delete_catalog::DeleteCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2325 crate::operation::delete_catalog::DeleteCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2326 crate::operation::delete_catalog::DeleteCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
2327 crate::operation::delete_catalog::DeleteCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2328 crate::operation::delete_catalog::DeleteCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2329 crate::operation::delete_catalog::DeleteCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2330 crate::operation::delete_catalog::DeleteCatalogError::Unhandled(inner) => Error::Unhandled(inner),
2331 }
2332 }
2333}
2334impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>> for Error
2335where
2336 R: Send + Sync + std::fmt::Debug + 'static,
2337{
2338 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_classifier::DeleteClassifierError, R>) -> Self {
2339 match err {
2340 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2341 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2342 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2343 source: err.into(),
2344 }),
2345 }
2346 }
2347}
2348impl From<crate::operation::delete_classifier::DeleteClassifierError> for Error {
2349 fn from(err: crate::operation::delete_classifier::DeleteClassifierError) -> Self {
2350 match err {
2351 crate::operation::delete_classifier::DeleteClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2352 crate::operation::delete_classifier::DeleteClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2353 crate::operation::delete_classifier::DeleteClassifierError::Unhandled(inner) => Error::Unhandled(inner),
2354 }
2355 }
2356}
2357impl<R>
2358 From<
2359 ::aws_smithy_runtime_api::client::result::SdkError<
2360 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2361 R,
2362 >,
2363 > for Error
2364where
2365 R: Send + Sync + std::fmt::Debug + 'static,
2366{
2367 fn from(
2368 err: ::aws_smithy_runtime_api::client::result::SdkError<
2369 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError,
2370 R,
2371 >,
2372 ) -> Self {
2373 match err {
2374 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2375 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2376 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2377 source: err.into(),
2378 }),
2379 }
2380 }
2381}
2382impl From<crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError> for Error {
2383 fn from(err: crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError) -> Self {
2384 match err {
2385 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
2386 Error::EntityNotFoundException(inner)
2387 }
2388 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
2389 Error::GlueEncryptionException(inner)
2390 }
2391 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InternalServiceException(inner) => {
2392 Error::InternalServiceException(inner)
2393 }
2394 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::InvalidInputException(inner) => {
2395 Error::InvalidInputException(inner)
2396 }
2397 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
2398 Error::OperationTimeoutException(inner)
2399 }
2400 crate::operation::delete_column_statistics_for_partition::DeleteColumnStatisticsForPartitionError::Unhandled(inner) => {
2401 Error::Unhandled(inner)
2402 }
2403 }
2404 }
2405}
2406impl<R>
2407 From<
2408 ::aws_smithy_runtime_api::client::result::SdkError<
2409 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2410 R,
2411 >,
2412 > for Error
2413where
2414 R: Send + Sync + std::fmt::Debug + 'static,
2415{
2416 fn from(
2417 err: ::aws_smithy_runtime_api::client::result::SdkError<
2418 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError,
2419 R,
2420 >,
2421 ) -> Self {
2422 match err {
2423 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2424 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2425 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2426 source: err.into(),
2427 }),
2428 }
2429 }
2430}
2431impl From<crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError> for Error {
2432 fn from(err: crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError) -> Self {
2433 match err {
2434 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::EntityNotFoundException(inner) => {
2435 Error::EntityNotFoundException(inner)
2436 }
2437 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::GlueEncryptionException(inner) => {
2438 Error::GlueEncryptionException(inner)
2439 }
2440 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InternalServiceException(inner) => {
2441 Error::InternalServiceException(inner)
2442 }
2443 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::InvalidInputException(inner) => {
2444 Error::InvalidInputException(inner)
2445 }
2446 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::OperationTimeoutException(inner) => {
2447 Error::OperationTimeoutException(inner)
2448 }
2449 crate::operation::delete_column_statistics_for_table::DeleteColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
2450 }
2451 }
2452}
2453impl<R>
2454 From<
2455 ::aws_smithy_runtime_api::client::result::SdkError<
2456 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2457 R,
2458 >,
2459 > for Error
2460where
2461 R: Send + Sync + std::fmt::Debug + 'static,
2462{
2463 fn from(
2464 err: ::aws_smithy_runtime_api::client::result::SdkError<
2465 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError,
2466 R,
2467 >,
2468 ) -> Self {
2469 match err {
2470 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2471 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2472 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2473 source: err.into(),
2474 }),
2475 }
2476 }
2477}
2478impl From<crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError> for Error {
2479 fn from(err: crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError) -> Self {
2480 match err {
2481 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
2482 Error::EntityNotFoundException(inner)
2483 }
2484 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
2485 Error::InvalidInputException(inner)
2486 }
2487 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
2488 Error::OperationTimeoutException(inner)
2489 }
2490 crate::operation::delete_column_statistics_task_settings::DeleteColumnStatisticsTaskSettingsError::Unhandled(inner) => {
2491 Error::Unhandled(inner)
2492 }
2493 }
2494 }
2495}
2496impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>> for Error
2497where
2498 R: Send + Sync + std::fmt::Debug + 'static,
2499{
2500 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection::DeleteConnectionError, R>) -> Self {
2501 match err {
2502 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2503 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2504 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2505 source: err.into(),
2506 }),
2507 }
2508 }
2509}
2510impl From<crate::operation::delete_connection::DeleteConnectionError> for Error {
2511 fn from(err: crate::operation::delete_connection::DeleteConnectionError) -> Self {
2512 match err {
2513 crate::operation::delete_connection::DeleteConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2514 crate::operation::delete_connection::DeleteConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2515 crate::operation::delete_connection::DeleteConnectionError::Unhandled(inner) => Error::Unhandled(inner),
2516 }
2517 }
2518}
2519impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>> for Error
2520where
2521 R: Send + Sync + std::fmt::Debug + 'static,
2522{
2523 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_connection_type::DeleteConnectionTypeError, R>) -> Self {
2524 match err {
2525 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2526 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2527 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2528 source: err.into(),
2529 }),
2530 }
2531 }
2532}
2533impl From<crate::operation::delete_connection_type::DeleteConnectionTypeError> for Error {
2534 fn from(err: crate::operation::delete_connection_type::DeleteConnectionTypeError) -> Self {
2535 match err {
2536 crate::operation::delete_connection_type::DeleteConnectionTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2537 crate::operation::delete_connection_type::DeleteConnectionTypeError::EntityNotFoundException(inner) => {
2538 Error::EntityNotFoundException(inner)
2539 }
2540 crate::operation::delete_connection_type::DeleteConnectionTypeError::InternalServiceException(inner) => {
2541 Error::InternalServiceException(inner)
2542 }
2543 crate::operation::delete_connection_type::DeleteConnectionTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2544 crate::operation::delete_connection_type::DeleteConnectionTypeError::OperationTimeoutException(inner) => {
2545 Error::OperationTimeoutException(inner)
2546 }
2547 crate::operation::delete_connection_type::DeleteConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
2548 crate::operation::delete_connection_type::DeleteConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
2549 }
2550 }
2551}
2552impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>> for Error
2553where
2554 R: Send + Sync + std::fmt::Debug + 'static,
2555{
2556 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_crawler::DeleteCrawlerError, R>) -> Self {
2557 match err {
2558 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2559 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2560 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2561 source: err.into(),
2562 }),
2563 }
2564 }
2565}
2566impl From<crate::operation::delete_crawler::DeleteCrawlerError> for Error {
2567 fn from(err: crate::operation::delete_crawler::DeleteCrawlerError) -> Self {
2568 match err {
2569 crate::operation::delete_crawler::DeleteCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
2570 crate::operation::delete_crawler::DeleteCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2571 crate::operation::delete_crawler::DeleteCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2572 crate::operation::delete_crawler::DeleteCrawlerError::SchedulerTransitioningException(inner) => {
2573 Error::SchedulerTransitioningException(inner)
2574 }
2575 crate::operation::delete_crawler::DeleteCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
2576 }
2577 }
2578}
2579impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>>
2580 for Error
2581where
2582 R: Send + Sync + std::fmt::Debug + 'static,
2583{
2584 fn from(
2585 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError, R>,
2586 ) -> Self {
2587 match err {
2588 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2589 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2590 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2591 source: err.into(),
2592 }),
2593 }
2594 }
2595}
2596impl From<crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError> for Error {
2597 fn from(err: crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError) -> Self {
2598 match err {
2599 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::AccessDeniedException(inner) => {
2600 Error::AccessDeniedException(inner)
2601 }
2602 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::EntityNotFoundException(inner) => {
2603 Error::EntityNotFoundException(inner)
2604 }
2605 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InternalServiceException(inner) => {
2606 Error::InternalServiceException(inner)
2607 }
2608 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::InvalidInputException(inner) => {
2609 Error::InvalidInputException(inner)
2610 }
2611 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::OperationTimeoutException(inner) => {
2612 Error::OperationTimeoutException(inner)
2613 }
2614 crate::operation::delete_custom_entity_type::DeleteCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
2615 }
2616 }
2617}
2618impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>> for Error
2619where
2620 R: Send + Sync + std::fmt::Debug + 'static,
2621{
2622 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_database::DeleteDatabaseError, R>) -> Self {
2623 match err {
2624 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2625 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2626 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2627 source: err.into(),
2628 }),
2629 }
2630 }
2631}
2632impl From<crate::operation::delete_database::DeleteDatabaseError> for Error {
2633 fn from(err: crate::operation::delete_database::DeleteDatabaseError) -> Self {
2634 match err {
2635 crate::operation::delete_database::DeleteDatabaseError::ConcurrentModificationException(inner) => {
2636 Error::ConcurrentModificationException(inner)
2637 }
2638 crate::operation::delete_database::DeleteDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2639 crate::operation::delete_database::DeleteDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
2640 crate::operation::delete_database::DeleteDatabaseError::FederationSourceRetryableException(inner) => {
2641 Error::FederationSourceRetryableException(inner)
2642 }
2643 crate::operation::delete_database::DeleteDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2644 crate::operation::delete_database::DeleteDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2645 crate::operation::delete_database::DeleteDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2646 crate::operation::delete_database::DeleteDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
2647 }
2648 }
2649}
2650impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>>
2651 for Error
2652where
2653 R: Send + Sync + std::fmt::Debug + 'static,
2654{
2655 fn from(
2656 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError, R>,
2657 ) -> Self {
2658 match err {
2659 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2660 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2661 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2662 source: err.into(),
2663 }),
2664 }
2665 }
2666}
2667impl From<crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError> for Error {
2668 fn from(err: crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError) -> Self {
2669 match err {
2670 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::EntityNotFoundException(inner) => {
2671 Error::EntityNotFoundException(inner)
2672 }
2673 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InternalServiceException(inner) => {
2674 Error::InternalServiceException(inner)
2675 }
2676 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::InvalidInputException(inner) => {
2677 Error::InvalidInputException(inner)
2678 }
2679 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::OperationTimeoutException(inner) => {
2680 Error::OperationTimeoutException(inner)
2681 }
2682 crate::operation::delete_data_quality_ruleset::DeleteDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
2683 }
2684 }
2685}
2686impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>> for Error
2687where
2688 R: Send + Sync + std::fmt::Debug + 'static,
2689{
2690 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_dev_endpoint::DeleteDevEndpointError, R>) -> Self {
2691 match err {
2692 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2693 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2694 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2695 source: err.into(),
2696 }),
2697 }
2698 }
2699}
2700impl From<crate::operation::delete_dev_endpoint::DeleteDevEndpointError> for Error {
2701 fn from(err: crate::operation::delete_dev_endpoint::DeleteDevEndpointError) -> Self {
2702 match err {
2703 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2704 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2705 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2706 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::OperationTimeoutException(inner) => {
2707 Error::OperationTimeoutException(inner)
2708 }
2709 crate::operation::delete_dev_endpoint::DeleteDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
2710 }
2711 }
2712}
2713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>> for Error
2714where
2715 R: Send + Sync + std::fmt::Debug + 'static,
2716{
2717 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_form_type::DeleteFormTypeError, R>) -> Self {
2718 match err {
2719 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2720 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2721 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2722 source: err.into(),
2723 }),
2724 }
2725 }
2726}
2727impl From<crate::operation::delete_form_type::DeleteFormTypeError> for Error {
2728 fn from(err: crate::operation::delete_form_type::DeleteFormTypeError) -> Self {
2729 match err {
2730 crate::operation::delete_form_type::DeleteFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2731 crate::operation::delete_form_type::DeleteFormTypeError::ConcurrentModificationException(inner) => {
2732 Error::ConcurrentModificationException(inner)
2733 }
2734 crate::operation::delete_form_type::DeleteFormTypeError::ConflictException(inner) => Error::ConflictException(inner),
2735 crate::operation::delete_form_type::DeleteFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2736 crate::operation::delete_form_type::DeleteFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2737 crate::operation::delete_form_type::DeleteFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2738 crate::operation::delete_form_type::DeleteFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
2739 }
2740 }
2741}
2742impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>> for Error
2743where
2744 R: Send + Sync + std::fmt::Debug + 'static,
2745{
2746 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary::DeleteGlossaryError, R>) -> Self {
2747 match err {
2748 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2749 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2750 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2751 source: err.into(),
2752 }),
2753 }
2754 }
2755}
2756impl From<crate::operation::delete_glossary::DeleteGlossaryError> for Error {
2757 fn from(err: crate::operation::delete_glossary::DeleteGlossaryError) -> Self {
2758 match err {
2759 crate::operation::delete_glossary::DeleteGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2760 crate::operation::delete_glossary::DeleteGlossaryError::ConcurrentModificationException(inner) => {
2761 Error::ConcurrentModificationException(inner)
2762 }
2763 crate::operation::delete_glossary::DeleteGlossaryError::ConflictException(inner) => Error::ConflictException(inner),
2764 crate::operation::delete_glossary::DeleteGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2765 crate::operation::delete_glossary::DeleteGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2766 crate::operation::delete_glossary::DeleteGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2767 crate::operation::delete_glossary::DeleteGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
2768 }
2769 }
2770}
2771impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>> for Error
2772where
2773 R: Send + Sync + std::fmt::Debug + 'static,
2774{
2775 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_glossary_term::DeleteGlossaryTermError, R>) -> Self {
2776 match err {
2777 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2778 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2779 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2780 source: err.into(),
2781 }),
2782 }
2783 }
2784}
2785impl From<crate::operation::delete_glossary_term::DeleteGlossaryTermError> for Error {
2786 fn from(err: crate::operation::delete_glossary_term::DeleteGlossaryTermError) -> Self {
2787 match err {
2788 crate::operation::delete_glossary_term::DeleteGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2789 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ConcurrentModificationException(inner) => {
2790 Error::ConcurrentModificationException(inner)
2791 }
2792 crate::operation::delete_glossary_term::DeleteGlossaryTermError::InternalServiceException(inner) => {
2793 Error::InternalServiceException(inner)
2794 }
2795 crate::operation::delete_glossary_term::DeleteGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2796 crate::operation::delete_glossary_term::DeleteGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
2797 crate::operation::delete_glossary_term::DeleteGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
2798 }
2799 }
2800}
2801impl<R>
2802 From<
2803 ::aws_smithy_runtime_api::client::result::SdkError<
2804 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2805 R,
2806 >,
2807 > for Error
2808where
2809 R: Send + Sync + std::fmt::Debug + 'static,
2810{
2811 fn from(
2812 err: ::aws_smithy_runtime_api::client::result::SdkError<
2813 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError,
2814 R,
2815 >,
2816 ) -> Self {
2817 match err {
2818 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2819 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2820 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2821 source: err.into(),
2822 }),
2823 }
2824 }
2825}
2826impl From<crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError> for Error {
2827 fn from(err: crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError) -> Self {
2828 match err {
2829 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2830 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
2831 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2832 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2833 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2834 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
2835 crate::operation::delete_glue_identity_center_configuration::DeleteGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
2836 }
2837 }
2838}
2839impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>> for Error
2840where
2841 R: Send + Sync + std::fmt::Debug + 'static,
2842{
2843 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_integration::DeleteIntegrationError, R>) -> Self {
2844 match err {
2845 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2846 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2847 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2848 source: err.into(),
2849 }),
2850 }
2851 }
2852}
2853impl From<crate::operation::delete_integration::DeleteIntegrationError> for Error {
2854 fn from(err: crate::operation::delete_integration::DeleteIntegrationError) -> Self {
2855 match err {
2856 crate::operation::delete_integration::DeleteIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
2857 crate::operation::delete_integration::DeleteIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
2858 crate::operation::delete_integration::DeleteIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
2859 crate::operation::delete_integration::DeleteIntegrationError::IntegrationConflictOperationFault(inner) => {
2860 Error::IntegrationConflictOperationFault(inner)
2861 }
2862 crate::operation::delete_integration::DeleteIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
2863 crate::operation::delete_integration::DeleteIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
2864 crate::operation::delete_integration::DeleteIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
2865 crate::operation::delete_integration::DeleteIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
2866 crate::operation::delete_integration::DeleteIntegrationError::InvalidIntegrationStateFault(inner) => {
2867 Error::InvalidIntegrationStateFault(inner)
2868 }
2869 crate::operation::delete_integration::DeleteIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
2870 crate::operation::delete_integration::DeleteIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
2871 crate::operation::delete_integration::DeleteIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
2872 }
2873 }
2874}
2875impl<R>
2876 From<
2877 ::aws_smithy_runtime_api::client::result::SdkError<
2878 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2879 R,
2880 >,
2881 > for Error
2882where
2883 R: Send + Sync + std::fmt::Debug + 'static,
2884{
2885 fn from(
2886 err: ::aws_smithy_runtime_api::client::result::SdkError<
2887 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError,
2888 R,
2889 >,
2890 ) -> 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_integration_resource_property::DeleteIntegrationResourcePropertyError> for Error {
2901 fn from(err: crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError) -> Self {
2902 match err {
2903 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::AccessDeniedException(inner) => {
2904 Error::AccessDeniedException(inner)
2905 }
2906 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
2907 Error::EntityNotFoundException(inner)
2908 }
2909 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServerException(inner) => {
2910 Error::InternalServerException(inner)
2911 }
2912 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InternalServiceException(inner) => {
2913 Error::InternalServiceException(inner)
2914 }
2915 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::InvalidInputException(inner) => {
2916 Error::InvalidInputException(inner)
2917 }
2918 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
2919 Error::ResourceNotFoundException(inner)
2920 }
2921 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::ValidationException(inner) => {
2922 Error::ValidationException(inner)
2923 }
2924 crate::operation::delete_integration_resource_property::DeleteIntegrationResourcePropertyError::Unhandled(inner) => {
2925 Error::Unhandled(inner)
2926 }
2927 }
2928 }
2929}
2930impl<R>
2931 From<
2932 ::aws_smithy_runtime_api::client::result::SdkError<
2933 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2934 R,
2935 >,
2936 > for Error
2937where
2938 R: Send + Sync + std::fmt::Debug + 'static,
2939{
2940 fn from(
2941 err: ::aws_smithy_runtime_api::client::result::SdkError<
2942 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError,
2943 R,
2944 >,
2945 ) -> Self {
2946 match err {
2947 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2948 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2949 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2950 source: err.into(),
2951 }),
2952 }
2953 }
2954}
2955impl From<crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError> for Error {
2956 fn from(err: crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError) -> Self {
2957 match err {
2958 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::AccessDeniedException(inner) => {
2959 Error::AccessDeniedException(inner)
2960 }
2961 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
2962 Error::EntityNotFoundException(inner)
2963 }
2964 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServerException(inner) => {
2965 Error::InternalServerException(inner)
2966 }
2967 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InternalServiceException(inner) => {
2968 Error::InternalServiceException(inner)
2969 }
2970 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::InvalidInputException(inner) => {
2971 Error::InvalidInputException(inner)
2972 }
2973 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
2974 Error::ResourceNotFoundException(inner)
2975 }
2976 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::ValidationException(inner) => {
2977 Error::ValidationException(inner)
2978 }
2979 crate::operation::delete_integration_table_properties::DeleteIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
2980 }
2981 }
2982}
2983impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>> for Error
2984where
2985 R: Send + Sync + std::fmt::Debug + 'static,
2986{
2987 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_job::DeleteJobError, R>) -> Self {
2988 match err {
2989 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
2990 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
2991 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
2992 source: err.into(),
2993 }),
2994 }
2995 }
2996}
2997impl From<crate::operation::delete_job::DeleteJobError> for Error {
2998 fn from(err: crate::operation::delete_job::DeleteJobError) -> Self {
2999 match err {
3000 crate::operation::delete_job::DeleteJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3001 crate::operation::delete_job::DeleteJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3002 crate::operation::delete_job::DeleteJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3003 crate::operation::delete_job::DeleteJobError::Unhandled(inner) => Error::Unhandled(inner),
3004 }
3005 }
3006}
3007impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>> for Error
3008where
3009 R: Send + Sync + std::fmt::Debug + 'static,
3010{
3011 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_ml_transform::DeleteMLTransformError, R>) -> Self {
3012 match err {
3013 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3014 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3015 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3016 source: err.into(),
3017 }),
3018 }
3019 }
3020}
3021impl From<crate::operation::delete_ml_transform::DeleteMLTransformError> for Error {
3022 fn from(err: crate::operation::delete_ml_transform::DeleteMLTransformError) -> Self {
3023 match err {
3024 crate::operation::delete_ml_transform::DeleteMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3025 crate::operation::delete_ml_transform::DeleteMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3026 crate::operation::delete_ml_transform::DeleteMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3027 crate::operation::delete_ml_transform::DeleteMLTransformError::OperationTimeoutException(inner) => {
3028 Error::OperationTimeoutException(inner)
3029 }
3030 crate::operation::delete_ml_transform::DeleteMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
3031 }
3032 }
3033}
3034impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>> for Error
3035where
3036 R: Send + Sync + std::fmt::Debug + 'static,
3037{
3038 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition::DeletePartitionError, R>) -> Self {
3039 match err {
3040 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3041 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3042 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3043 source: err.into(),
3044 }),
3045 }
3046 }
3047}
3048impl From<crate::operation::delete_partition::DeletePartitionError> for Error {
3049 fn from(err: crate::operation::delete_partition::DeletePartitionError) -> Self {
3050 match err {
3051 crate::operation::delete_partition::DeletePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3052 crate::operation::delete_partition::DeletePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3053 crate::operation::delete_partition::DeletePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3054 crate::operation::delete_partition::DeletePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3055 crate::operation::delete_partition::DeletePartitionError::Unhandled(inner) => Error::Unhandled(inner),
3056 }
3057 }
3058}
3059impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>> for Error
3060where
3061 R: Send + Sync + std::fmt::Debug + 'static,
3062{
3063 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_partition_index::DeletePartitionIndexError, R>) -> Self {
3064 match err {
3065 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3066 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3067 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3068 source: err.into(),
3069 }),
3070 }
3071 }
3072}
3073impl From<crate::operation::delete_partition_index::DeletePartitionIndexError> for Error {
3074 fn from(err: crate::operation::delete_partition_index::DeletePartitionIndexError) -> Self {
3075 match err {
3076 crate::operation::delete_partition_index::DeletePartitionIndexError::ConflictException(inner) => Error::ConflictException(inner),
3077 crate::operation::delete_partition_index::DeletePartitionIndexError::EntityNotFoundException(inner) => {
3078 Error::EntityNotFoundException(inner)
3079 }
3080 crate::operation::delete_partition_index::DeletePartitionIndexError::GlueEncryptionException(inner) => {
3081 Error::GlueEncryptionException(inner)
3082 }
3083 crate::operation::delete_partition_index::DeletePartitionIndexError::InternalServiceException(inner) => {
3084 Error::InternalServiceException(inner)
3085 }
3086 crate::operation::delete_partition_index::DeletePartitionIndexError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3087 crate::operation::delete_partition_index::DeletePartitionIndexError::OperationTimeoutException(inner) => {
3088 Error::OperationTimeoutException(inner)
3089 }
3090 crate::operation::delete_partition_index::DeletePartitionIndexError::Unhandled(inner) => Error::Unhandled(inner),
3091 }
3092 }
3093}
3094impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>> for Error
3095where
3096 R: Send + Sync + std::fmt::Debug + 'static,
3097{
3098 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_registry::DeleteRegistryError, R>) -> Self {
3099 match err {
3100 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3101 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3102 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3103 source: err.into(),
3104 }),
3105 }
3106 }
3107}
3108impl From<crate::operation::delete_registry::DeleteRegistryError> for Error {
3109 fn from(err: crate::operation::delete_registry::DeleteRegistryError) -> Self {
3110 match err {
3111 crate::operation::delete_registry::DeleteRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3112 crate::operation::delete_registry::DeleteRegistryError::ConcurrentModificationException(inner) => {
3113 Error::ConcurrentModificationException(inner)
3114 }
3115 crate::operation::delete_registry::DeleteRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3116 crate::operation::delete_registry::DeleteRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3117 crate::operation::delete_registry::DeleteRegistryError::Unhandled(inner) => Error::Unhandled(inner),
3118 }
3119 }
3120}
3121impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>> for Error
3122where
3123 R: Send + Sync + std::fmt::Debug + 'static,
3124{
3125 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_resource_policy::DeleteResourcePolicyError, R>) -> Self {
3126 match err {
3127 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3128 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3129 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3130 source: err.into(),
3131 }),
3132 }
3133 }
3134}
3135impl From<crate::operation::delete_resource_policy::DeleteResourcePolicyError> for Error {
3136 fn from(err: crate::operation::delete_resource_policy::DeleteResourcePolicyError) -> Self {
3137 match err {
3138 crate::operation::delete_resource_policy::DeleteResourcePolicyError::ConditionCheckFailureException(inner) => {
3139 Error::ConditionCheckFailureException(inner)
3140 }
3141 crate::operation::delete_resource_policy::DeleteResourcePolicyError::EntityNotFoundException(inner) => {
3142 Error::EntityNotFoundException(inner)
3143 }
3144 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InternalServiceException(inner) => {
3145 Error::InternalServiceException(inner)
3146 }
3147 crate::operation::delete_resource_policy::DeleteResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3148 crate::operation::delete_resource_policy::DeleteResourcePolicyError::OperationTimeoutException(inner) => {
3149 Error::OperationTimeoutException(inner)
3150 }
3151 crate::operation::delete_resource_policy::DeleteResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
3152 }
3153 }
3154}
3155impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>> for Error
3156where
3157 R: Send + Sync + std::fmt::Debug + 'static,
3158{
3159 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema::DeleteSchemaError, R>) -> Self {
3160 match err {
3161 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3162 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3163 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3164 source: err.into(),
3165 }),
3166 }
3167 }
3168}
3169impl From<crate::operation::delete_schema::DeleteSchemaError> for Error {
3170 fn from(err: crate::operation::delete_schema::DeleteSchemaError) -> Self {
3171 match err {
3172 crate::operation::delete_schema::DeleteSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3173 crate::operation::delete_schema::DeleteSchemaError::ConcurrentModificationException(inner) => {
3174 Error::ConcurrentModificationException(inner)
3175 }
3176 crate::operation::delete_schema::DeleteSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3177 crate::operation::delete_schema::DeleteSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3178 crate::operation::delete_schema::DeleteSchemaError::Unhandled(inner) => Error::Unhandled(inner),
3179 }
3180 }
3181}
3182impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>> for Error
3183where
3184 R: Send + Sync + std::fmt::Debug + 'static,
3185{
3186 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_schema_versions::DeleteSchemaVersionsError, R>) -> Self {
3187 match err {
3188 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3189 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3190 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3191 source: err.into(),
3192 }),
3193 }
3194 }
3195}
3196impl From<crate::operation::delete_schema_versions::DeleteSchemaVersionsError> for Error {
3197 fn from(err: crate::operation::delete_schema_versions::DeleteSchemaVersionsError) -> Self {
3198 match err {
3199 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3200 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::ConcurrentModificationException(inner) => {
3201 Error::ConcurrentModificationException(inner)
3202 }
3203 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::EntityNotFoundException(inner) => {
3204 Error::EntityNotFoundException(inner)
3205 }
3206 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3207 crate::operation::delete_schema_versions::DeleteSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
3208 }
3209 }
3210}
3211impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>>
3212 for Error
3213where
3214 R: Send + Sync + std::fmt::Debug + 'static,
3215{
3216 fn from(
3217 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError, R>,
3218 ) -> Self {
3219 match err {
3220 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3221 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3222 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3223 source: err.into(),
3224 }),
3225 }
3226 }
3227}
3228impl From<crate::operation::delete_security_configuration::DeleteSecurityConfigurationError> for Error {
3229 fn from(err: crate::operation::delete_security_configuration::DeleteSecurityConfigurationError) -> Self {
3230 match err {
3231 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::EntityNotFoundException(inner) => {
3232 Error::EntityNotFoundException(inner)
3233 }
3234 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InternalServiceException(inner) => {
3235 Error::InternalServiceException(inner)
3236 }
3237 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::InvalidInputException(inner) => {
3238 Error::InvalidInputException(inner)
3239 }
3240 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::OperationTimeoutException(inner) => {
3241 Error::OperationTimeoutException(inner)
3242 }
3243 crate::operation::delete_security_configuration::DeleteSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
3244 }
3245 }
3246}
3247impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>> for Error
3248where
3249 R: Send + Sync + std::fmt::Debug + 'static,
3250{
3251 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_session::DeleteSessionError, R>) -> Self {
3252 match err {
3253 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3254 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3255 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3256 source: err.into(),
3257 }),
3258 }
3259 }
3260}
3261impl From<crate::operation::delete_session::DeleteSessionError> for Error {
3262 fn from(err: crate::operation::delete_session::DeleteSessionError) -> Self {
3263 match err {
3264 crate::operation::delete_session::DeleteSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3265 crate::operation::delete_session::DeleteSessionError::ConcurrentModificationException(inner) => {
3266 Error::ConcurrentModificationException(inner)
3267 }
3268 crate::operation::delete_session::DeleteSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
3269 crate::operation::delete_session::DeleteSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3270 crate::operation::delete_session::DeleteSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3271 crate::operation::delete_session::DeleteSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3272 crate::operation::delete_session::DeleteSessionError::Unhandled(inner) => Error::Unhandled(inner),
3273 }
3274 }
3275}
3276impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
3277where
3278 R: Send + Sync + std::fmt::Debug + 'static,
3279{
3280 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
3281 match err {
3282 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3283 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3284 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3285 source: err.into(),
3286 }),
3287 }
3288 }
3289}
3290impl From<crate::operation::delete_table::DeleteTableError> for Error {
3291 fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
3292 match err {
3293 crate::operation::delete_table::DeleteTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
3294 crate::operation::delete_table::DeleteTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3295 crate::operation::delete_table::DeleteTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3296 crate::operation::delete_table::DeleteTableError::FederationSourceRetryableException(inner) => {
3297 Error::FederationSourceRetryableException(inner)
3298 }
3299 crate::operation::delete_table::DeleteTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3300 crate::operation::delete_table::DeleteTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3301 crate::operation::delete_table::DeleteTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3302 crate::operation::delete_table::DeleteTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
3303 crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
3304 }
3305 }
3306}
3307impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>> for Error
3308where
3309 R: Send + Sync + std::fmt::Debug + 'static,
3310{
3311 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_optimizer::DeleteTableOptimizerError, R>) -> Self {
3312 match err {
3313 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3314 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3315 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3316 source: err.into(),
3317 }),
3318 }
3319 }
3320}
3321impl From<crate::operation::delete_table_optimizer::DeleteTableOptimizerError> for Error {
3322 fn from(err: crate::operation::delete_table_optimizer::DeleteTableOptimizerError) -> Self {
3323 match err {
3324 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3325 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::EntityNotFoundException(inner) => {
3326 Error::EntityNotFoundException(inner)
3327 }
3328 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InternalServiceException(inner) => {
3329 Error::InternalServiceException(inner)
3330 }
3331 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3332 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3333 crate::operation::delete_table_optimizer::DeleteTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
3334 }
3335 }
3336}
3337impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>> for Error
3338where
3339 R: Send + Sync + std::fmt::Debug + 'static,
3340{
3341 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table_version::DeleteTableVersionError, R>) -> Self {
3342 match err {
3343 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3344 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3345 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3346 source: err.into(),
3347 }),
3348 }
3349 }
3350}
3351impl From<crate::operation::delete_table_version::DeleteTableVersionError> for Error {
3352 fn from(err: crate::operation::delete_table_version::DeleteTableVersionError) -> Self {
3353 match err {
3354 crate::operation::delete_table_version::DeleteTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3355 crate::operation::delete_table_version::DeleteTableVersionError::InternalServiceException(inner) => {
3356 Error::InternalServiceException(inner)
3357 }
3358 crate::operation::delete_table_version::DeleteTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3359 crate::operation::delete_table_version::DeleteTableVersionError::OperationTimeoutException(inner) => {
3360 Error::OperationTimeoutException(inner)
3361 }
3362 crate::operation::delete_table_version::DeleteTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
3363 }
3364 }
3365}
3366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>> for Error
3367where
3368 R: Send + Sync + std::fmt::Debug + 'static,
3369{
3370 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_trigger::DeleteTriggerError, R>) -> Self {
3371 match err {
3372 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3373 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3374 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3375 source: err.into(),
3376 }),
3377 }
3378 }
3379}
3380impl From<crate::operation::delete_trigger::DeleteTriggerError> for Error {
3381 fn from(err: crate::operation::delete_trigger::DeleteTriggerError) -> Self {
3382 match err {
3383 crate::operation::delete_trigger::DeleteTriggerError::ConcurrentModificationException(inner) => {
3384 Error::ConcurrentModificationException(inner)
3385 }
3386 crate::operation::delete_trigger::DeleteTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3387 crate::operation::delete_trigger::DeleteTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3388 crate::operation::delete_trigger::DeleteTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3389 crate::operation::delete_trigger::DeleteTriggerError::Unhandled(inner) => Error::Unhandled(inner),
3390 }
3391 }
3392}
3393impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>> for Error
3394where
3395 R: Send + Sync + std::fmt::Debug + 'static,
3396{
3397 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_usage_profile::DeleteUsageProfileError, R>) -> Self {
3398 match err {
3399 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3400 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3401 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3402 source: err.into(),
3403 }),
3404 }
3405 }
3406}
3407impl From<crate::operation::delete_usage_profile::DeleteUsageProfileError> for Error {
3408 fn from(err: crate::operation::delete_usage_profile::DeleteUsageProfileError) -> Self {
3409 match err {
3410 crate::operation::delete_usage_profile::DeleteUsageProfileError::InternalServiceException(inner) => {
3411 Error::InternalServiceException(inner)
3412 }
3413 crate::operation::delete_usage_profile::DeleteUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3414 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationNotSupportedException(inner) => {
3415 Error::OperationNotSupportedException(inner)
3416 }
3417 crate::operation::delete_usage_profile::DeleteUsageProfileError::OperationTimeoutException(inner) => {
3418 Error::OperationTimeoutException(inner)
3419 }
3420 crate::operation::delete_usage_profile::DeleteUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
3421 }
3422 }
3423}
3424impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>>
3425 for Error
3426where
3427 R: Send + Sync + std::fmt::Debug + 'static,
3428{
3429 fn from(
3430 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError, R>,
3431 ) -> Self {
3432 match err {
3433 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3434 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3435 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3436 source: err.into(),
3437 }),
3438 }
3439 }
3440}
3441impl From<crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError> for Error {
3442 fn from(err: crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError) -> Self {
3443 match err {
3444 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::EntityNotFoundException(inner) => {
3445 Error::EntityNotFoundException(inner)
3446 }
3447 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InternalServiceException(inner) => {
3448 Error::InternalServiceException(inner)
3449 }
3450 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::InvalidInputException(inner) => {
3451 Error::InvalidInputException(inner)
3452 }
3453 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::OperationTimeoutException(inner) => {
3454 Error::OperationTimeoutException(inner)
3455 }
3456 crate::operation::delete_user_defined_function::DeleteUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
3457 }
3458 }
3459}
3460impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>> for Error
3461where
3462 R: Send + Sync + std::fmt::Debug + 'static,
3463{
3464 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_workflow::DeleteWorkflowError, R>) -> Self {
3465 match err {
3466 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3467 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3468 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3469 source: err.into(),
3470 }),
3471 }
3472 }
3473}
3474impl From<crate::operation::delete_workflow::DeleteWorkflowError> for Error {
3475 fn from(err: crate::operation::delete_workflow::DeleteWorkflowError) -> Self {
3476 match err {
3477 crate::operation::delete_workflow::DeleteWorkflowError::ConcurrentModificationException(inner) => {
3478 Error::ConcurrentModificationException(inner)
3479 }
3480 crate::operation::delete_workflow::DeleteWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3481 crate::operation::delete_workflow::DeleteWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3482 crate::operation::delete_workflow::DeleteWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3483 crate::operation::delete_workflow::DeleteWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
3484 }
3485 }
3486}
3487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>> for Error
3488where
3489 R: Send + Sync + std::fmt::Debug + 'static,
3490{
3491 fn from(
3492 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_connection_type::DescribeConnectionTypeError, R>,
3493 ) -> Self {
3494 match err {
3495 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3496 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3497 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3498 source: err.into(),
3499 }),
3500 }
3501 }
3502}
3503impl From<crate::operation::describe_connection_type::DescribeConnectionTypeError> for Error {
3504 fn from(err: crate::operation::describe_connection_type::DescribeConnectionTypeError) -> Self {
3505 match err {
3506 crate::operation::describe_connection_type::DescribeConnectionTypeError::AccessDeniedException(inner) => {
3507 Error::AccessDeniedException(inner)
3508 }
3509 crate::operation::describe_connection_type::DescribeConnectionTypeError::InternalServiceException(inner) => {
3510 Error::InternalServiceException(inner)
3511 }
3512 crate::operation::describe_connection_type::DescribeConnectionTypeError::InvalidInputException(inner) => {
3513 Error::InvalidInputException(inner)
3514 }
3515 crate::operation::describe_connection_type::DescribeConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
3516 crate::operation::describe_connection_type::DescribeConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
3517 }
3518 }
3519}
3520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>> for Error
3521where
3522 R: Send + Sync + std::fmt::Debug + 'static,
3523{
3524 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_entity::DescribeEntityError, R>) -> Self {
3525 match err {
3526 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3527 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3528 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3529 source: err.into(),
3530 }),
3531 }
3532 }
3533}
3534impl From<crate::operation::describe_entity::DescribeEntityError> for Error {
3535 fn from(err: crate::operation::describe_entity::DescribeEntityError) -> Self {
3536 match err {
3537 crate::operation::describe_entity::DescribeEntityError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3538 crate::operation::describe_entity::DescribeEntityError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3539 crate::operation::describe_entity::DescribeEntityError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3540 crate::operation::describe_entity::DescribeEntityError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3541 crate::operation::describe_entity::DescribeEntityError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3542 crate::operation::describe_entity::DescribeEntityError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3543 crate::operation::describe_entity::DescribeEntityError::ValidationException(inner) => Error::ValidationException(inner),
3544 crate::operation::describe_entity::DescribeEntityError::Unhandled(inner) => Error::Unhandled(inner),
3545 }
3546 }
3547}
3548impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>>
3549 for Error
3550where
3551 R: Send + Sync + std::fmt::Debug + 'static,
3552{
3553 fn from(
3554 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError, R>,
3555 ) -> Self {
3556 match err {
3557 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3558 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3559 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3560 source: err.into(),
3561 }),
3562 }
3563 }
3564}
3565impl From<crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError> for Error {
3566 fn from(err: crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError) -> Self {
3567 match err {
3568 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::AccessDeniedException(inner) => {
3569 Error::AccessDeniedException(inner)
3570 }
3571 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::EntityNotFoundException(inner) => {
3572 Error::EntityNotFoundException(inner)
3573 }
3574 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::IntegrationNotFoundFault(inner) => {
3575 Error::IntegrationNotFoundFault(inner)
3576 }
3577 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServerException(inner) => {
3578 Error::InternalServerException(inner)
3579 }
3580 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InternalServiceException(inner) => {
3581 Error::InternalServiceException(inner)
3582 }
3583 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::InvalidInputException(inner) => {
3584 Error::InvalidInputException(inner)
3585 }
3586 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::OperationNotSupportedException(inner) => {
3587 Error::OperationNotSupportedException(inner)
3588 }
3589 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::TargetResourceNotFound(inner) => {
3590 Error::TargetResourceNotFound(inner)
3591 }
3592 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::ValidationException(inner) => {
3593 Error::ValidationException(inner)
3594 }
3595 crate::operation::describe_inbound_integrations::DescribeInboundIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3596 }
3597 }
3598}
3599impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>> for Error
3600where
3601 R: Send + Sync + std::fmt::Debug + 'static,
3602{
3603 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_integrations::DescribeIntegrationsError, R>) -> Self {
3604 match err {
3605 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3606 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3607 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3608 source: err.into(),
3609 }),
3610 }
3611 }
3612}
3613impl From<crate::operation::describe_integrations::DescribeIntegrationsError> for Error {
3614 fn from(err: crate::operation::describe_integrations::DescribeIntegrationsError) -> Self {
3615 match err {
3616 crate::operation::describe_integrations::DescribeIntegrationsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3617 crate::operation::describe_integrations::DescribeIntegrationsError::EntityNotFoundException(inner) => {
3618 Error::EntityNotFoundException(inner)
3619 }
3620 crate::operation::describe_integrations::DescribeIntegrationsError::IntegrationNotFoundFault(inner) => {
3621 Error::IntegrationNotFoundFault(inner)
3622 }
3623 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServerException(inner) => {
3624 Error::InternalServerException(inner)
3625 }
3626 crate::operation::describe_integrations::DescribeIntegrationsError::InternalServiceException(inner) => {
3627 Error::InternalServiceException(inner)
3628 }
3629 crate::operation::describe_integrations::DescribeIntegrationsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3630 crate::operation::describe_integrations::DescribeIntegrationsError::ValidationException(inner) => Error::ValidationException(inner),
3631 crate::operation::describe_integrations::DescribeIntegrationsError::Unhandled(inner) => Error::Unhandled(inner),
3632 }
3633 }
3634}
3635impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError, R>>
3636 for Error
3637where
3638 R: Send + Sync + std::fmt::Debug + 'static,
3639{
3640 fn from(
3641 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError, R>,
3642 ) -> Self {
3643 match err {
3644 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3645 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3646 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3647 source: err.into(),
3648 }),
3649 }
3650 }
3651}
3652impl From<crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError> for Error {
3653 fn from(err: crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError) -> Self {
3654 match err {
3655 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::AccessDeniedException(inner) => {
3656 Error::AccessDeniedException(inner)
3657 }
3658 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::ConcurrentModificationException(inner) => {
3659 Error::ConcurrentModificationException(inner)
3660 }
3661 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::EntityNotFoundException(inner) => {
3662 Error::EntityNotFoundException(inner)
3663 }
3664 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::InternalServiceException(inner) => {
3665 Error::InternalServiceException(inner)
3666 }
3667 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::InvalidInputException(inner) => {
3668 Error::InvalidInputException(inner)
3669 }
3670 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::ThrottlingException(inner) => {
3671 Error::ThrottlingException(inner)
3672 }
3673 crate::operation::disassociate_glossary_terms::DisassociateGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
3674 }
3675 }
3676}
3677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>> for Error
3678where
3679 R: Send + Sync + std::fmt::Debug + 'static,
3680{
3681 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset::GetAssetError, R>) -> Self {
3682 match err {
3683 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3684 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3685 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3686 source: err.into(),
3687 }),
3688 }
3689 }
3690}
3691impl From<crate::operation::get_asset::GetAssetError> for Error {
3692 fn from(err: crate::operation::get_asset::GetAssetError) -> Self {
3693 match err {
3694 crate::operation::get_asset::GetAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3695 crate::operation::get_asset::GetAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3696 crate::operation::get_asset::GetAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3697 crate::operation::get_asset::GetAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3698 crate::operation::get_asset::GetAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3699 crate::operation::get_asset::GetAssetError::Unhandled(inner) => Error::Unhandled(inner),
3700 }
3701 }
3702}
3703impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>> for Error
3704where
3705 R: Send + Sync + std::fmt::Debug + 'static,
3706{
3707 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_asset_type::GetAssetTypeError, R>) -> Self {
3708 match err {
3709 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3710 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3711 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3712 source: err.into(),
3713 }),
3714 }
3715 }
3716}
3717impl From<crate::operation::get_asset_type::GetAssetTypeError> for Error {
3718 fn from(err: crate::operation::get_asset_type::GetAssetTypeError) -> Self {
3719 match err {
3720 crate::operation::get_asset_type::GetAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3721 crate::operation::get_asset_type::GetAssetTypeError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3722 crate::operation::get_asset_type::GetAssetTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3723 crate::operation::get_asset_type::GetAssetTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3724 crate::operation::get_asset_type::GetAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
3725 crate::operation::get_asset_type::GetAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
3726 }
3727 }
3728}
3729impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>> for Error
3730where
3731 R: Send + Sync + std::fmt::Debug + 'static,
3732{
3733 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint::GetBlueprintError, R>) -> Self {
3734 match err {
3735 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3736 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3737 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3738 source: err.into(),
3739 }),
3740 }
3741 }
3742}
3743impl From<crate::operation::get_blueprint::GetBlueprintError> for Error {
3744 fn from(err: crate::operation::get_blueprint::GetBlueprintError) -> Self {
3745 match err {
3746 crate::operation::get_blueprint::GetBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3747 crate::operation::get_blueprint::GetBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3748 crate::operation::get_blueprint::GetBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3749 crate::operation::get_blueprint::GetBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3750 crate::operation::get_blueprint::GetBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
3751 }
3752 }
3753}
3754impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>> for Error
3755where
3756 R: Send + Sync + std::fmt::Debug + 'static,
3757{
3758 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_run::GetBlueprintRunError, R>) -> Self {
3759 match err {
3760 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3761 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3762 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3763 source: err.into(),
3764 }),
3765 }
3766 }
3767}
3768impl From<crate::operation::get_blueprint_run::GetBlueprintRunError> for Error {
3769 fn from(err: crate::operation::get_blueprint_run::GetBlueprintRunError) -> Self {
3770 match err {
3771 crate::operation::get_blueprint_run::GetBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3772 crate::operation::get_blueprint_run::GetBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3773 crate::operation::get_blueprint_run::GetBlueprintRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3774 crate::operation::get_blueprint_run::GetBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
3775 }
3776 }
3777}
3778impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>> for Error
3779where
3780 R: Send + Sync + std::fmt::Debug + 'static,
3781{
3782 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_blueprint_runs::GetBlueprintRunsError, R>) -> Self {
3783 match err {
3784 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3785 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3786 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3787 source: err.into(),
3788 }),
3789 }
3790 }
3791}
3792impl From<crate::operation::get_blueprint_runs::GetBlueprintRunsError> for Error {
3793 fn from(err: crate::operation::get_blueprint_runs::GetBlueprintRunsError) -> Self {
3794 match err {
3795 crate::operation::get_blueprint_runs::GetBlueprintRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3796 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3797 crate::operation::get_blueprint_runs::GetBlueprintRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3798 crate::operation::get_blueprint_runs::GetBlueprintRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3799 crate::operation::get_blueprint_runs::GetBlueprintRunsError::Unhandled(inner) => Error::Unhandled(inner),
3800 }
3801 }
3802}
3803impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>> for Error
3804where
3805 R: Send + Sync + std::fmt::Debug + 'static,
3806{
3807 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog::GetCatalogError, R>) -> Self {
3808 match err {
3809 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3810 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3811 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3812 source: err.into(),
3813 }),
3814 }
3815 }
3816}
3817impl From<crate::operation::get_catalog::GetCatalogError> for Error {
3818 fn from(err: crate::operation::get_catalog::GetCatalogError) -> Self {
3819 match err {
3820 crate::operation::get_catalog::GetCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3821 crate::operation::get_catalog::GetCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3822 crate::operation::get_catalog::GetCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3823 crate::operation::get_catalog::GetCatalogError::FederationSourceRetryableException(inner) => {
3824 Error::FederationSourceRetryableException(inner)
3825 }
3826 crate::operation::get_catalog::GetCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3827 crate::operation::get_catalog::GetCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3828 crate::operation::get_catalog::GetCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3829 crate::operation::get_catalog::GetCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3830 crate::operation::get_catalog::GetCatalogError::Unhandled(inner) => Error::Unhandled(inner),
3831 }
3832 }
3833}
3834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>>
3835 for Error
3836where
3837 R: Send + Sync + std::fmt::Debug + 'static,
3838{
3839 fn from(
3840 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalog_import_status::GetCatalogImportStatusError, R>,
3841 ) -> Self {
3842 match err {
3843 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3844 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3845 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3846 source: err.into(),
3847 }),
3848 }
3849 }
3850}
3851impl From<crate::operation::get_catalog_import_status::GetCatalogImportStatusError> for Error {
3852 fn from(err: crate::operation::get_catalog_import_status::GetCatalogImportStatusError) -> Self {
3853 match err {
3854 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::InternalServiceException(inner) => {
3855 Error::InternalServiceException(inner)
3856 }
3857 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::OperationTimeoutException(inner) => {
3858 Error::OperationTimeoutException(inner)
3859 }
3860 crate::operation::get_catalog_import_status::GetCatalogImportStatusError::Unhandled(inner) => Error::Unhandled(inner),
3861 }
3862 }
3863}
3864impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>> for Error
3865where
3866 R: Send + Sync + std::fmt::Debug + 'static,
3867{
3868 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_catalogs::GetCatalogsError, R>) -> Self {
3869 match err {
3870 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3871 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3872 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3873 source: err.into(),
3874 }),
3875 }
3876 }
3877}
3878impl From<crate::operation::get_catalogs::GetCatalogsError> for Error {
3879 fn from(err: crate::operation::get_catalogs::GetCatalogsError) -> Self {
3880 match err {
3881 crate::operation::get_catalogs::GetCatalogsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
3882 crate::operation::get_catalogs::GetCatalogsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3883 crate::operation::get_catalogs::GetCatalogsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
3884 crate::operation::get_catalogs::GetCatalogsError::FederationSourceRetryableException(inner) => {
3885 Error::FederationSourceRetryableException(inner)
3886 }
3887 crate::operation::get_catalogs::GetCatalogsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
3888 crate::operation::get_catalogs::GetCatalogsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
3889 crate::operation::get_catalogs::GetCatalogsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
3890 crate::operation::get_catalogs::GetCatalogsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3891 crate::operation::get_catalogs::GetCatalogsError::Unhandled(inner) => Error::Unhandled(inner),
3892 }
3893 }
3894}
3895impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>> for Error
3896where
3897 R: Send + Sync + std::fmt::Debug + 'static,
3898{
3899 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifier::GetClassifierError, R>) -> Self {
3900 match err {
3901 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3902 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3903 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3904 source: err.into(),
3905 }),
3906 }
3907 }
3908}
3909impl From<crate::operation::get_classifier::GetClassifierError> for Error {
3910 fn from(err: crate::operation::get_classifier::GetClassifierError) -> Self {
3911 match err {
3912 crate::operation::get_classifier::GetClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
3913 crate::operation::get_classifier::GetClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3914 crate::operation::get_classifier::GetClassifierError::Unhandled(inner) => Error::Unhandled(inner),
3915 }
3916 }
3917}
3918impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>> for Error
3919where
3920 R: Send + Sync + std::fmt::Debug + 'static,
3921{
3922 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_classifiers::GetClassifiersError, R>) -> Self {
3923 match err {
3924 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3925 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3926 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3927 source: err.into(),
3928 }),
3929 }
3930 }
3931}
3932impl From<crate::operation::get_classifiers::GetClassifiersError> for Error {
3933 fn from(err: crate::operation::get_classifiers::GetClassifiersError) -> Self {
3934 match err {
3935 crate::operation::get_classifiers::GetClassifiersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
3936 crate::operation::get_classifiers::GetClassifiersError::Unhandled(inner) => Error::Unhandled(inner),
3937 }
3938 }
3939}
3940impl<R>
3941 From<
3942 ::aws_smithy_runtime_api::client::result::SdkError<
3943 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3944 R,
3945 >,
3946 > for Error
3947where
3948 R: Send + Sync + std::fmt::Debug + 'static,
3949{
3950 fn from(
3951 err: ::aws_smithy_runtime_api::client::result::SdkError<
3952 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError,
3953 R,
3954 >,
3955 ) -> Self {
3956 match err {
3957 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
3958 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
3959 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
3960 source: err.into(),
3961 }),
3962 }
3963 }
3964}
3965impl From<crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError> for Error {
3966 fn from(err: crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError) -> Self {
3967 match err {
3968 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
3969 Error::EntityNotFoundException(inner)
3970 }
3971 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
3972 Error::GlueEncryptionException(inner)
3973 }
3974 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InternalServiceException(inner) => {
3975 Error::InternalServiceException(inner)
3976 }
3977 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::InvalidInputException(inner) => {
3978 Error::InvalidInputException(inner)
3979 }
3980 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
3981 Error::OperationTimeoutException(inner)
3982 }
3983 crate::operation::get_column_statistics_for_partition::GetColumnStatisticsForPartitionError::Unhandled(inner) => Error::Unhandled(inner),
3984 }
3985 }
3986}
3987impl<R>
3988 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError, R>>
3989 for Error
3990where
3991 R: Send + Sync + std::fmt::Debug + 'static,
3992{
3993 fn from(
3994 err: ::aws_smithy_runtime_api::client::result::SdkError<
3995 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError,
3996 R,
3997 >,
3998 ) -> Self {
3999 match err {
4000 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4001 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4002 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4003 source: err.into(),
4004 }),
4005 }
4006 }
4007}
4008impl From<crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError> for Error {
4009 fn from(err: crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError) -> Self {
4010 match err {
4011 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::EntityNotFoundException(inner) => {
4012 Error::EntityNotFoundException(inner)
4013 }
4014 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::GlueEncryptionException(inner) => {
4015 Error::GlueEncryptionException(inner)
4016 }
4017 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InternalServiceException(inner) => {
4018 Error::InternalServiceException(inner)
4019 }
4020 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::InvalidInputException(inner) => {
4021 Error::InvalidInputException(inner)
4022 }
4023 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::OperationTimeoutException(inner) => {
4024 Error::OperationTimeoutException(inner)
4025 }
4026 crate::operation::get_column_statistics_for_table::GetColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
4027 }
4028 }
4029}
4030impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>>
4031 for Error
4032where
4033 R: Send + Sync + std::fmt::Debug + 'static,
4034{
4035 fn from(
4036 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError, R>,
4037 ) -> Self {
4038 match err {
4039 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4040 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4041 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4042 source: err.into(),
4043 }),
4044 }
4045 }
4046}
4047impl From<crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError> for Error {
4048 fn from(err: crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError) -> Self {
4049 match err {
4050 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
4051 Error::EntityNotFoundException(inner)
4052 }
4053 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::InvalidInputException(inner) => {
4054 Error::InvalidInputException(inner)
4055 }
4056 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
4057 Error::OperationTimeoutException(inner)
4058 }
4059 crate::operation::get_column_statistics_task_run::GetColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
4060 }
4061 }
4062}
4063impl<R>
4064 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError, R>>
4065 for Error
4066where
4067 R: Send + Sync + std::fmt::Debug + 'static,
4068{
4069 fn from(
4070 err: ::aws_smithy_runtime_api::client::result::SdkError<
4071 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError,
4072 R,
4073 >,
4074 ) -> Self {
4075 match err {
4076 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4077 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4078 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4079 source: err.into(),
4080 }),
4081 }
4082 }
4083}
4084impl From<crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError> for Error {
4085 fn from(err: crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError) -> Self {
4086 match err {
4087 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
4088 Error::OperationTimeoutException(inner)
4089 }
4090 crate::operation::get_column_statistics_task_runs::GetColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
4091 }
4092 }
4093}
4094impl<R>
4095 From<
4096 ::aws_smithy_runtime_api::client::result::SdkError<
4097 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
4098 R,
4099 >,
4100 > for Error
4101where
4102 R: Send + Sync + std::fmt::Debug + 'static,
4103{
4104 fn from(
4105 err: ::aws_smithy_runtime_api::client::result::SdkError<
4106 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError,
4107 R,
4108 >,
4109 ) -> Self {
4110 match err {
4111 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4112 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4113 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4114 source: err.into(),
4115 }),
4116 }
4117 }
4118}
4119impl From<crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError> for Error {
4120 fn from(err: crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError) -> Self {
4121 match err {
4122 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
4123 Error::EntityNotFoundException(inner)
4124 }
4125 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
4126 Error::InvalidInputException(inner)
4127 }
4128 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
4129 Error::OperationTimeoutException(inner)
4130 }
4131 crate::operation::get_column_statistics_task_settings::GetColumnStatisticsTaskSettingsError::Unhandled(inner) => Error::Unhandled(inner),
4132 }
4133 }
4134}
4135impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>> for Error
4136where
4137 R: Send + Sync + std::fmt::Debug + 'static,
4138{
4139 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connection::GetConnectionError, R>) -> Self {
4140 match err {
4141 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4142 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4143 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4144 source: err.into(),
4145 }),
4146 }
4147 }
4148}
4149impl From<crate::operation::get_connection::GetConnectionError> for Error {
4150 fn from(err: crate::operation::get_connection::GetConnectionError) -> Self {
4151 match err {
4152 crate::operation::get_connection::GetConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4153 crate::operation::get_connection::GetConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4154 crate::operation::get_connection::GetConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4155 crate::operation::get_connection::GetConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4156 crate::operation::get_connection::GetConnectionError::Unhandled(inner) => Error::Unhandled(inner),
4157 }
4158 }
4159}
4160impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>> for Error
4161where
4162 R: Send + Sync + std::fmt::Debug + 'static,
4163{
4164 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_connections::GetConnectionsError, R>) -> Self {
4165 match err {
4166 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4167 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4168 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4169 source: err.into(),
4170 }),
4171 }
4172 }
4173}
4174impl From<crate::operation::get_connections::GetConnectionsError> for Error {
4175 fn from(err: crate::operation::get_connections::GetConnectionsError) -> Self {
4176 match err {
4177 crate::operation::get_connections::GetConnectionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4178 crate::operation::get_connections::GetConnectionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4179 crate::operation::get_connections::GetConnectionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4180 crate::operation::get_connections::GetConnectionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4181 crate::operation::get_connections::GetConnectionsError::Unhandled(inner) => Error::Unhandled(inner),
4182 }
4183 }
4184}
4185impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler::GetCrawlerError, 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_crawler::GetCrawlerError, 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_crawler::GetCrawlerError> for Error {
4200 fn from(err: crate::operation::get_crawler::GetCrawlerError) -> Self {
4201 match err {
4202 crate::operation::get_crawler::GetCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4203 crate::operation::get_crawler::GetCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4204 crate::operation::get_crawler::GetCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
4205 }
4206 }
4207}
4208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>> for Error
4209where
4210 R: Send + Sync + std::fmt::Debug + 'static,
4211{
4212 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawler_metrics::GetCrawlerMetricsError, R>) -> Self {
4213 match err {
4214 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4215 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4216 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4217 source: err.into(),
4218 }),
4219 }
4220 }
4221}
4222impl From<crate::operation::get_crawler_metrics::GetCrawlerMetricsError> for Error {
4223 fn from(err: crate::operation::get_crawler_metrics::GetCrawlerMetricsError) -> Self {
4224 match err {
4225 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::OperationTimeoutException(inner) => {
4226 Error::OperationTimeoutException(inner)
4227 }
4228 crate::operation::get_crawler_metrics::GetCrawlerMetricsError::Unhandled(inner) => Error::Unhandled(inner),
4229 }
4230 }
4231}
4232impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>> for Error
4233where
4234 R: Send + Sync + std::fmt::Debug + 'static,
4235{
4236 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_crawlers::GetCrawlersError, R>) -> Self {
4237 match err {
4238 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4239 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4240 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4241 source: err.into(),
4242 }),
4243 }
4244 }
4245}
4246impl From<crate::operation::get_crawlers::GetCrawlersError> for Error {
4247 fn from(err: crate::operation::get_crawlers::GetCrawlersError) -> Self {
4248 match err {
4249 crate::operation::get_crawlers::GetCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4250 crate::operation::get_crawlers::GetCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
4251 }
4252 }
4253}
4254impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>> for Error
4255where
4256 R: Send + Sync + std::fmt::Debug + 'static,
4257{
4258 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_custom_entity_type::GetCustomEntityTypeError, R>) -> Self {
4259 match err {
4260 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4261 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4262 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4263 source: err.into(),
4264 }),
4265 }
4266 }
4267}
4268impl From<crate::operation::get_custom_entity_type::GetCustomEntityTypeError> for Error {
4269 fn from(err: crate::operation::get_custom_entity_type::GetCustomEntityTypeError) -> Self {
4270 match err {
4271 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4272 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::EntityNotFoundException(inner) => {
4273 Error::EntityNotFoundException(inner)
4274 }
4275 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InternalServiceException(inner) => {
4276 Error::InternalServiceException(inner)
4277 }
4278 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4279 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::OperationTimeoutException(inner) => {
4280 Error::OperationTimeoutException(inner)
4281 }
4282 crate::operation::get_custom_entity_type::GetCustomEntityTypeError::Unhandled(inner) => Error::Unhandled(inner),
4283 }
4284 }
4285}
4286impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dashboard_url::GetDashboardUrlError, R>> for Error
4287where
4288 R: Send + Sync + std::fmt::Debug + 'static,
4289{
4290 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dashboard_url::GetDashboardUrlError, R>) -> Self {
4291 match err {
4292 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4293 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4294 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4295 source: err.into(),
4296 }),
4297 }
4298 }
4299}
4300impl From<crate::operation::get_dashboard_url::GetDashboardUrlError> for Error {
4301 fn from(err: crate::operation::get_dashboard_url::GetDashboardUrlError) -> Self {
4302 match err {
4303 crate::operation::get_dashboard_url::GetDashboardUrlError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4304 crate::operation::get_dashboard_url::GetDashboardUrlError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4305 crate::operation::get_dashboard_url::GetDashboardUrlError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4306 crate::operation::get_dashboard_url::GetDashboardUrlError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4307 crate::operation::get_dashboard_url::GetDashboardUrlError::OperationNotSupportedException(inner) => {
4308 Error::OperationNotSupportedException(inner)
4309 }
4310 crate::operation::get_dashboard_url::GetDashboardUrlError::Unhandled(inner) => Error::Unhandled(inner),
4311 }
4312 }
4313}
4314impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>> for Error
4315where
4316 R: Send + Sync + std::fmt::Debug + 'static,
4317{
4318 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_database::GetDatabaseError, R>) -> Self {
4319 match err {
4320 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4321 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4322 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4323 source: err.into(),
4324 }),
4325 }
4326 }
4327}
4328impl From<crate::operation::get_database::GetDatabaseError> for Error {
4329 fn from(err: crate::operation::get_database::GetDatabaseError) -> Self {
4330 match err {
4331 crate::operation::get_database::GetDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4332 crate::operation::get_database::GetDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4333 crate::operation::get_database::GetDatabaseError::FederationSourceRetryableException(inner) => {
4334 Error::FederationSourceRetryableException(inner)
4335 }
4336 crate::operation::get_database::GetDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4337 crate::operation::get_database::GetDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4338 crate::operation::get_database::GetDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4339 crate::operation::get_database::GetDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4340 crate::operation::get_database::GetDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
4341 }
4342 }
4343}
4344impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>> for Error
4345where
4346 R: Send + Sync + std::fmt::Debug + 'static,
4347{
4348 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_databases::GetDatabasesError, R>) -> Self {
4349 match err {
4350 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4351 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4352 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4353 source: err.into(),
4354 }),
4355 }
4356 }
4357}
4358impl From<crate::operation::get_databases::GetDatabasesError> for Error {
4359 fn from(err: crate::operation::get_databases::GetDatabasesError) -> Self {
4360 match err {
4361 crate::operation::get_databases::GetDatabasesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4362 crate::operation::get_databases::GetDatabasesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4363 crate::operation::get_databases::GetDatabasesError::FederationSourceRetryableException(inner) => {
4364 Error::FederationSourceRetryableException(inner)
4365 }
4366 crate::operation::get_databases::GetDatabasesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4367 crate::operation::get_databases::GetDatabasesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4368 crate::operation::get_databases::GetDatabasesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4369 crate::operation::get_databases::GetDatabasesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4370 crate::operation::get_databases::GetDatabasesError::Unhandled(inner) => Error::Unhandled(inner),
4371 }
4372 }
4373}
4374impl<R>
4375 From<
4376 ::aws_smithy_runtime_api::client::result::SdkError<
4377 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
4378 R,
4379 >,
4380 > for Error
4381where
4382 R: Send + Sync + std::fmt::Debug + 'static,
4383{
4384 fn from(
4385 err: ::aws_smithy_runtime_api::client::result::SdkError<
4386 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError,
4387 R,
4388 >,
4389 ) -> Self {
4390 match err {
4391 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4392 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4393 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4394 source: err.into(),
4395 }),
4396 }
4397 }
4398}
4399impl From<crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError> for Error {
4400 fn from(err: crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError) -> Self {
4401 match err {
4402 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
4403 Error::InternalServiceException(inner)
4404 }
4405 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
4406 Error::InvalidInputException(inner)
4407 }
4408 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
4409 Error::OperationTimeoutException(inner)
4410 }
4411 crate::operation::get_data_catalog_encryption_settings::GetDataCatalogEncryptionSettingsError::Unhandled(inner) => {
4412 Error::Unhandled(inner)
4413 }
4414 }
4415 }
4416}
4417impl<R>
4418 From<
4419 ::aws_smithy_runtime_api::client::result::SdkError<
4420 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError,
4421 R,
4422 >,
4423 > for Error
4424where
4425 R: Send + Sync + std::fmt::Debug + 'static,
4426{
4427 fn from(
4428 err: ::aws_smithy_runtime_api::client::result::SdkError<
4429 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError,
4430 R,
4431 >,
4432 ) -> Self {
4433 match err {
4434 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4435 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4436 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4437 source: err.into(),
4438 }),
4439 }
4440 }
4441}
4442impl From<crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError> for Error {
4443 fn from(err: crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError) -> Self {
4444 match err {
4445 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::EntityNotFoundException(inner) => {
4446 Error::EntityNotFoundException(inner)
4447 }
4448 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::InternalServiceException(inner) => {
4449 Error::InternalServiceException(inner)
4450 }
4451 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::InvalidInputException(inner) => {
4452 Error::InvalidInputException(inner)
4453 }
4454 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::ThrottlingException(inner) => {
4455 Error::ThrottlingException(inner)
4456 }
4457 crate::operation::get_data_catalog_export_configuration::GetDataCatalogExportConfigurationError::Unhandled(inner) => {
4458 Error::Unhandled(inner)
4459 }
4460 }
4461 }
4462}
4463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>> for Error
4464where
4465 R: Send + Sync + std::fmt::Debug + 'static,
4466{
4467 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dataflow_graph::GetDataflowGraphError, R>) -> Self {
4468 match err {
4469 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4470 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4471 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4472 source: err.into(),
4473 }),
4474 }
4475 }
4476}
4477impl From<crate::operation::get_dataflow_graph::GetDataflowGraphError> for Error {
4478 fn from(err: crate::operation::get_dataflow_graph::GetDataflowGraphError) -> Self {
4479 match err {
4480 crate::operation::get_dataflow_graph::GetDataflowGraphError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4481 crate::operation::get_dataflow_graph::GetDataflowGraphError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4482 crate::operation::get_dataflow_graph::GetDataflowGraphError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4483 crate::operation::get_dataflow_graph::GetDataflowGraphError::Unhandled(inner) => Error::Unhandled(inner),
4484 }
4485 }
4486}
4487impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>> for Error
4488where
4489 R: Send + Sync + std::fmt::Debug + 'static,
4490{
4491 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model::GetDataQualityModelError, R>) -> Self {
4492 match err {
4493 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4494 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4495 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4496 source: err.into(),
4497 }),
4498 }
4499 }
4500}
4501impl From<crate::operation::get_data_quality_model::GetDataQualityModelError> for Error {
4502 fn from(err: crate::operation::get_data_quality_model::GetDataQualityModelError) -> Self {
4503 match err {
4504 crate::operation::get_data_quality_model::GetDataQualityModelError::EntityNotFoundException(inner) => {
4505 Error::EntityNotFoundException(inner)
4506 }
4507 crate::operation::get_data_quality_model::GetDataQualityModelError::InternalServiceException(inner) => {
4508 Error::InternalServiceException(inner)
4509 }
4510 crate::operation::get_data_quality_model::GetDataQualityModelError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4511 crate::operation::get_data_quality_model::GetDataQualityModelError::OperationTimeoutException(inner) => {
4512 Error::OperationTimeoutException(inner)
4513 }
4514 crate::operation::get_data_quality_model::GetDataQualityModelError::Unhandled(inner) => Error::Unhandled(inner),
4515 }
4516 }
4517}
4518impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>>
4519 for Error
4520where
4521 R: Send + Sync + std::fmt::Debug + 'static,
4522{
4523 fn from(
4524 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError, R>,
4525 ) -> Self {
4526 match err {
4527 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4528 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4529 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4530 source: err.into(),
4531 }),
4532 }
4533 }
4534}
4535impl From<crate::operation::get_data_quality_model_result::GetDataQualityModelResultError> for Error {
4536 fn from(err: crate::operation::get_data_quality_model_result::GetDataQualityModelResultError) -> Self {
4537 match err {
4538 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::EntityNotFoundException(inner) => {
4539 Error::EntityNotFoundException(inner)
4540 }
4541 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InternalServiceException(inner) => {
4542 Error::InternalServiceException(inner)
4543 }
4544 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::InvalidInputException(inner) => {
4545 Error::InvalidInputException(inner)
4546 }
4547 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::OperationTimeoutException(inner) => {
4548 Error::OperationTimeoutException(inner)
4549 }
4550 crate::operation::get_data_quality_model_result::GetDataQualityModelResultError::Unhandled(inner) => Error::Unhandled(inner),
4551 }
4552 }
4553}
4554impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>> for Error
4555where
4556 R: Send + Sync + std::fmt::Debug + 'static,
4557{
4558 fn from(
4559 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_result::GetDataQualityResultError, R>,
4560 ) -> Self {
4561 match err {
4562 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4563 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4564 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4565 source: err.into(),
4566 }),
4567 }
4568 }
4569}
4570impl From<crate::operation::get_data_quality_result::GetDataQualityResultError> for Error {
4571 fn from(err: crate::operation::get_data_quality_result::GetDataQualityResultError) -> Self {
4572 match err {
4573 crate::operation::get_data_quality_result::GetDataQualityResultError::EntityNotFoundException(inner) => {
4574 Error::EntityNotFoundException(inner)
4575 }
4576 crate::operation::get_data_quality_result::GetDataQualityResultError::InternalServiceException(inner) => {
4577 Error::InternalServiceException(inner)
4578 }
4579 crate::operation::get_data_quality_result::GetDataQualityResultError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4580 crate::operation::get_data_quality_result::GetDataQualityResultError::OperationTimeoutException(inner) => {
4581 Error::OperationTimeoutException(inner)
4582 }
4583 crate::operation::get_data_quality_result::GetDataQualityResultError::Unhandled(inner) => Error::Unhandled(inner),
4584 }
4585 }
4586}
4587impl<R>
4588 From<
4589 ::aws_smithy_runtime_api::client::result::SdkError<
4590 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4591 R,
4592 >,
4593 > for Error
4594where
4595 R: Send + Sync + std::fmt::Debug + 'static,
4596{
4597 fn from(
4598 err: ::aws_smithy_runtime_api::client::result::SdkError<
4599 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError,
4600 R,
4601 >,
4602 ) -> Self {
4603 match err {
4604 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4605 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4606 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4607 source: err.into(),
4608 }),
4609 }
4610 }
4611}
4612impl From<crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError> for Error {
4613 fn from(err: crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError) -> Self {
4614 match err {
4615 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::EntityNotFoundException(inner) => {
4616 Error::EntityNotFoundException(inner)
4617 }
4618 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InternalServiceException(inner) => {
4619 Error::InternalServiceException(inner)
4620 }
4621 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::InvalidInputException(inner) => {
4622 Error::InvalidInputException(inner)
4623 }
4624 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::OperationTimeoutException(
4625 inner,
4626 ) => Error::OperationTimeoutException(inner),
4627 crate::operation::get_data_quality_rule_recommendation_run::GetDataQualityRuleRecommendationRunError::Unhandled(inner) => {
4628 Error::Unhandled(inner)
4629 }
4630 }
4631 }
4632}
4633impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>> for Error
4634where
4635 R: Send + Sync + std::fmt::Debug + 'static,
4636{
4637 fn from(
4638 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError, R>,
4639 ) -> Self {
4640 match err {
4641 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4642 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4643 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4644 source: err.into(),
4645 }),
4646 }
4647 }
4648}
4649impl From<crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError> for Error {
4650 fn from(err: crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError) -> Self {
4651 match err {
4652 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::EntityNotFoundException(inner) => {
4653 Error::EntityNotFoundException(inner)
4654 }
4655 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InternalServiceException(inner) => {
4656 Error::InternalServiceException(inner)
4657 }
4658 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::InvalidInputException(inner) => {
4659 Error::InvalidInputException(inner)
4660 }
4661 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::OperationTimeoutException(inner) => {
4662 Error::OperationTimeoutException(inner)
4663 }
4664 crate::operation::get_data_quality_ruleset::GetDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
4665 }
4666 }
4667}
4668impl<R>
4669 From<
4670 ::aws_smithy_runtime_api::client::result::SdkError<
4671 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4672 R,
4673 >,
4674 > for Error
4675where
4676 R: Send + Sync + std::fmt::Debug + 'static,
4677{
4678 fn from(
4679 err: ::aws_smithy_runtime_api::client::result::SdkError<
4680 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError,
4681 R,
4682 >,
4683 ) -> Self {
4684 match err {
4685 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4686 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4687 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4688 source: err.into(),
4689 }),
4690 }
4691 }
4692}
4693impl From<crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError> for Error {
4694 fn from(err: crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError) -> Self {
4695 match err {
4696 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::EntityNotFoundException(inner) => {
4697 Error::EntityNotFoundException(inner)
4698 }
4699 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InternalServiceException(inner) => {
4700 Error::InternalServiceException(inner)
4701 }
4702 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
4703 Error::InvalidInputException(inner)
4704 }
4705 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::OperationTimeoutException(inner) => {
4706 Error::OperationTimeoutException(inner)
4707 }
4708 crate::operation::get_data_quality_ruleset_evaluation_run::GetDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
4709 Error::Unhandled(inner)
4710 }
4711 }
4712 }
4713}
4714impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>> for Error
4715where
4716 R: Send + Sync + std::fmt::Debug + 'static,
4717{
4718 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoint::GetDevEndpointError, R>) -> Self {
4719 match err {
4720 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4721 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4722 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4723 source: err.into(),
4724 }),
4725 }
4726 }
4727}
4728impl From<crate::operation::get_dev_endpoint::GetDevEndpointError> for Error {
4729 fn from(err: crate::operation::get_dev_endpoint::GetDevEndpointError) -> Self {
4730 match err {
4731 crate::operation::get_dev_endpoint::GetDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4732 crate::operation::get_dev_endpoint::GetDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4733 crate::operation::get_dev_endpoint::GetDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4734 crate::operation::get_dev_endpoint::GetDevEndpointError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4735 crate::operation::get_dev_endpoint::GetDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
4736 }
4737 }
4738}
4739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>> for Error
4740where
4741 R: Send + Sync + std::fmt::Debug + 'static,
4742{
4743 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_dev_endpoints::GetDevEndpointsError, R>) -> Self {
4744 match err {
4745 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4746 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4747 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4748 source: err.into(),
4749 }),
4750 }
4751 }
4752}
4753impl From<crate::operation::get_dev_endpoints::GetDevEndpointsError> for Error {
4754 fn from(err: crate::operation::get_dev_endpoints::GetDevEndpointsError) -> Self {
4755 match err {
4756 crate::operation::get_dev_endpoints::GetDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4757 crate::operation::get_dev_endpoints::GetDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4758 crate::operation::get_dev_endpoints::GetDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4759 crate::operation::get_dev_endpoints::GetDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4760 crate::operation::get_dev_endpoints::GetDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
4761 }
4762 }
4763}
4764impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>> for Error
4765where
4766 R: Send + Sync + std::fmt::Debug + 'static,
4767{
4768 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_entity_records::GetEntityRecordsError, R>) -> Self {
4769 match err {
4770 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4771 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4772 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4773 source: err.into(),
4774 }),
4775 }
4776 }
4777}
4778impl From<crate::operation::get_entity_records::GetEntityRecordsError> for Error {
4779 fn from(err: crate::operation::get_entity_records::GetEntityRecordsError) -> Self {
4780 match err {
4781 crate::operation::get_entity_records::GetEntityRecordsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4782 crate::operation::get_entity_records::GetEntityRecordsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4783 crate::operation::get_entity_records::GetEntityRecordsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
4784 crate::operation::get_entity_records::GetEntityRecordsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
4785 crate::operation::get_entity_records::GetEntityRecordsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4786 crate::operation::get_entity_records::GetEntityRecordsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
4787 crate::operation::get_entity_records::GetEntityRecordsError::ValidationException(inner) => Error::ValidationException(inner),
4788 crate::operation::get_entity_records::GetEntityRecordsError::Unhandled(inner) => Error::Unhandled(inner),
4789 }
4790 }
4791}
4792impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>> for Error
4793where
4794 R: Send + Sync + std::fmt::Debug + 'static,
4795{
4796 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_form_type::GetFormTypeError, R>) -> Self {
4797 match err {
4798 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4799 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4800 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4801 source: err.into(),
4802 }),
4803 }
4804 }
4805}
4806impl From<crate::operation::get_form_type::GetFormTypeError> for Error {
4807 fn from(err: crate::operation::get_form_type::GetFormTypeError) -> Self {
4808 match err {
4809 crate::operation::get_form_type::GetFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4810 crate::operation::get_form_type::GetFormTypeError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4811 crate::operation::get_form_type::GetFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4812 crate::operation::get_form_type::GetFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
4813 crate::operation::get_form_type::GetFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4814 crate::operation::get_form_type::GetFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
4815 }
4816 }
4817}
4818impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>> for Error
4819where
4820 R: Send + Sync + std::fmt::Debug + 'static,
4821{
4822 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary::GetGlossaryError, R>) -> Self {
4823 match err {
4824 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4825 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4826 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4827 source: err.into(),
4828 }),
4829 }
4830 }
4831}
4832impl From<crate::operation::get_glossary::GetGlossaryError> for Error {
4833 fn from(err: crate::operation::get_glossary::GetGlossaryError) -> Self {
4834 match err {
4835 crate::operation::get_glossary::GetGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4836 crate::operation::get_glossary::GetGlossaryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4837 crate::operation::get_glossary::GetGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4838 crate::operation::get_glossary::GetGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4839 crate::operation::get_glossary::GetGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
4840 }
4841 }
4842}
4843impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>> for Error
4844where
4845 R: Send + Sync + std::fmt::Debug + 'static,
4846{
4847 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_glossary_term::GetGlossaryTermError, R>) -> Self {
4848 match err {
4849 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4850 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4851 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4852 source: err.into(),
4853 }),
4854 }
4855 }
4856}
4857impl From<crate::operation::get_glossary_term::GetGlossaryTermError> for Error {
4858 fn from(err: crate::operation::get_glossary_term::GetGlossaryTermError) -> Self {
4859 match err {
4860 crate::operation::get_glossary_term::GetGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
4861 crate::operation::get_glossary_term::GetGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
4862 crate::operation::get_glossary_term::GetGlossaryTermError::InternalServiceException(inner) => Error::InternalServiceException(inner),
4863 crate::operation::get_glossary_term::GetGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
4864 crate::operation::get_glossary_term::GetGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
4865 }
4866 }
4867}
4868impl<R>
4869 From<
4870 ::aws_smithy_runtime_api::client::result::SdkError<
4871 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4872 R,
4873 >,
4874 > for Error
4875where
4876 R: Send + Sync + std::fmt::Debug + 'static,
4877{
4878 fn from(
4879 err: ::aws_smithy_runtime_api::client::result::SdkError<
4880 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError,
4881 R,
4882 >,
4883 ) -> Self {
4884 match err {
4885 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4886 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4887 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4888 source: err.into(),
4889 }),
4890 }
4891 }
4892}
4893impl From<crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError> for Error {
4894 fn from(err: crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError) -> Self {
4895 match err {
4896 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => {
4897 Error::AccessDeniedException(inner)
4898 }
4899 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::ConcurrentModificationException(
4900 inner,
4901 ) => Error::ConcurrentModificationException(inner),
4902 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => {
4903 Error::EntityNotFoundException(inner)
4904 }
4905 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InternalServiceException(inner) => {
4906 Error::InternalServiceException(inner)
4907 }
4908 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::InvalidInputException(inner) => {
4909 Error::InvalidInputException(inner)
4910 }
4911 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => {
4912 Error::OperationTimeoutException(inner)
4913 }
4914 crate::operation::get_glue_identity_center_configuration::GetGlueIdentityCenterConfigurationError::Unhandled(inner) => {
4915 Error::Unhandled(inner)
4916 }
4917 }
4918 }
4919}
4920impl<R>
4921 From<
4922 ::aws_smithy_runtime_api::client::result::SdkError<
4923 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4924 R,
4925 >,
4926 > for Error
4927where
4928 R: Send + Sync + std::fmt::Debug + 'static,
4929{
4930 fn from(
4931 err: ::aws_smithy_runtime_api::client::result::SdkError<
4932 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError,
4933 R,
4934 >,
4935 ) -> Self {
4936 match err {
4937 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4938 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4939 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4940 source: err.into(),
4941 }),
4942 }
4943 }
4944}
4945impl From<crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError> for Error {
4946 fn from(err: crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError) -> Self {
4947 match err {
4948 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::AccessDeniedException(inner) => {
4949 Error::AccessDeniedException(inner)
4950 }
4951 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
4952 Error::EntityNotFoundException(inner)
4953 }
4954 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServerException(inner) => {
4955 Error::InternalServerException(inner)
4956 }
4957 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InternalServiceException(inner) => {
4958 Error::InternalServiceException(inner)
4959 }
4960 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::InvalidInputException(inner) => {
4961 Error::InvalidInputException(inner)
4962 }
4963 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
4964 Error::ResourceNotFoundException(inner)
4965 }
4966 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::ValidationException(inner) => {
4967 Error::ValidationException(inner)
4968 }
4969 crate::operation::get_integration_resource_property::GetIntegrationResourcePropertyError::Unhandled(inner) => Error::Unhandled(inner),
4970 }
4971 }
4972}
4973impl<R>
4974 From<
4975 ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError, R>,
4976 > for Error
4977where
4978 R: Send + Sync + std::fmt::Debug + 'static,
4979{
4980 fn from(
4981 err: ::aws_smithy_runtime_api::client::result::SdkError<
4982 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError,
4983 R,
4984 >,
4985 ) -> Self {
4986 match err {
4987 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
4988 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
4989 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
4990 source: err.into(),
4991 }),
4992 }
4993 }
4994}
4995impl From<crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError> for Error {
4996 fn from(err: crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError) -> Self {
4997 match err {
4998 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::AccessDeniedException(inner) => {
4999 Error::AccessDeniedException(inner)
5000 }
5001 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
5002 Error::EntityNotFoundException(inner)
5003 }
5004 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServerException(inner) => {
5005 Error::InternalServerException(inner)
5006 }
5007 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InternalServiceException(inner) => {
5008 Error::InternalServiceException(inner)
5009 }
5010 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::InvalidInputException(inner) => {
5011 Error::InvalidInputException(inner)
5012 }
5013 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
5014 Error::ResourceNotFoundException(inner)
5015 }
5016 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::ValidationException(inner) => {
5017 Error::ValidationException(inner)
5018 }
5019 crate::operation::get_integration_table_properties::GetIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
5020 }
5021 }
5022}
5023impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>> for Error
5024where
5025 R: Send + Sync + std::fmt::Debug + 'static,
5026{
5027 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job::GetJobError, R>) -> Self {
5028 match err {
5029 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5030 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5031 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5032 source: err.into(),
5033 }),
5034 }
5035 }
5036}
5037impl From<crate::operation::get_job::GetJobError> for Error {
5038 fn from(err: crate::operation::get_job::GetJobError) -> Self {
5039 match err {
5040 crate::operation::get_job::GetJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5041 crate::operation::get_job::GetJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5042 crate::operation::get_job::GetJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5043 crate::operation::get_job::GetJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5044 crate::operation::get_job::GetJobError::Unhandled(inner) => Error::Unhandled(inner),
5045 }
5046 }
5047}
5048impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>> for Error
5049where
5050 R: Send + Sync + std::fmt::Debug + 'static,
5051{
5052 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_bookmark::GetJobBookmarkError, R>) -> Self {
5053 match err {
5054 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5055 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5056 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5057 source: err.into(),
5058 }),
5059 }
5060 }
5061}
5062impl From<crate::operation::get_job_bookmark::GetJobBookmarkError> for Error {
5063 fn from(err: crate::operation::get_job_bookmark::GetJobBookmarkError) -> Self {
5064 match err {
5065 crate::operation::get_job_bookmark::GetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5066 crate::operation::get_job_bookmark::GetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5067 crate::operation::get_job_bookmark::GetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5068 crate::operation::get_job_bookmark::GetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5069 crate::operation::get_job_bookmark::GetJobBookmarkError::ValidationException(inner) => Error::ValidationException(inner),
5070 crate::operation::get_job_bookmark::GetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
5071 }
5072 }
5073}
5074impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>> for Error
5075where
5076 R: Send + Sync + std::fmt::Debug + 'static,
5077{
5078 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_run::GetJobRunError, R>) -> Self {
5079 match err {
5080 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5081 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5082 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5083 source: err.into(),
5084 }),
5085 }
5086 }
5087}
5088impl From<crate::operation::get_job_run::GetJobRunError> for Error {
5089 fn from(err: crate::operation::get_job_run::GetJobRunError) -> Self {
5090 match err {
5091 crate::operation::get_job_run::GetJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5092 crate::operation::get_job_run::GetJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5093 crate::operation::get_job_run::GetJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5094 crate::operation::get_job_run::GetJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5095 crate::operation::get_job_run::GetJobRunError::Unhandled(inner) => Error::Unhandled(inner),
5096 }
5097 }
5098}
5099impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>> for Error
5100where
5101 R: Send + Sync + std::fmt::Debug + 'static,
5102{
5103 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_job_runs::GetJobRunsError, R>) -> Self {
5104 match err {
5105 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5106 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5107 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5108 source: err.into(),
5109 }),
5110 }
5111 }
5112}
5113impl From<crate::operation::get_job_runs::GetJobRunsError> for Error {
5114 fn from(err: crate::operation::get_job_runs::GetJobRunsError) -> Self {
5115 match err {
5116 crate::operation::get_job_runs::GetJobRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5117 crate::operation::get_job_runs::GetJobRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5118 crate::operation::get_job_runs::GetJobRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5119 crate::operation::get_job_runs::GetJobRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5120 crate::operation::get_job_runs::GetJobRunsError::Unhandled(inner) => Error::Unhandled(inner),
5121 }
5122 }
5123}
5124impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>> for Error
5125where
5126 R: Send + Sync + std::fmt::Debug + 'static,
5127{
5128 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_jobs::GetJobsError, R>) -> Self {
5129 match err {
5130 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5131 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5132 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5133 source: err.into(),
5134 }),
5135 }
5136 }
5137}
5138impl From<crate::operation::get_jobs::GetJobsError> for Error {
5139 fn from(err: crate::operation::get_jobs::GetJobsError) -> Self {
5140 match err {
5141 crate::operation::get_jobs::GetJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5142 crate::operation::get_jobs::GetJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5143 crate::operation::get_jobs::GetJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5144 crate::operation::get_jobs::GetJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5145 crate::operation::get_jobs::GetJobsError::Unhandled(inner) => Error::Unhandled(inner),
5146 }
5147 }
5148}
5149impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>> for Error
5150where
5151 R: Send + Sync + std::fmt::Debug + 'static,
5152{
5153 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_mapping::GetMappingError, R>) -> Self {
5154 match err {
5155 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5156 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5157 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5158 source: err.into(),
5159 }),
5160 }
5161 }
5162}
5163impl From<crate::operation::get_mapping::GetMappingError> for Error {
5164 fn from(err: crate::operation::get_mapping::GetMappingError) -> Self {
5165 match err {
5166 crate::operation::get_mapping::GetMappingError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5167 crate::operation::get_mapping::GetMappingError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5168 crate::operation::get_mapping::GetMappingError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5169 crate::operation::get_mapping::GetMappingError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5170 crate::operation::get_mapping::GetMappingError::Unhandled(inner) => Error::Unhandled(inner),
5171 }
5172 }
5173}
5174impl<R>
5175 From<
5176 ::aws_smithy_runtime_api::client::result::SdkError<
5177 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
5178 R,
5179 >,
5180 > for Error
5181where
5182 R: Send + Sync + std::fmt::Debug + 'static,
5183{
5184 fn from(
5185 err: ::aws_smithy_runtime_api::client::result::SdkError<
5186 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError,
5187 R,
5188 >,
5189 ) -> Self {
5190 match err {
5191 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5192 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5193 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5194 source: err.into(),
5195 }),
5196 }
5197 }
5198}
5199impl From<crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError> for Error {
5200 fn from(err: crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError) -> Self {
5201 match err {
5202 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => {
5203 Error::AccessDeniedException(inner)
5204 }
5205 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => {
5206 Error::EntityNotFoundException(inner)
5207 }
5208 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => {
5209 Error::InvalidInputException(inner)
5210 }
5211 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => {
5212 Error::OperationTimeoutException(inner)
5213 }
5214 crate::operation::get_materialized_view_refresh_task_run::GetMaterializedViewRefreshTaskRunError::Unhandled(inner) => {
5215 Error::Unhandled(inner)
5216 }
5217 }
5218 }
5219}
5220impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>> for Error
5221where
5222 R: Send + Sync + std::fmt::Debug + 'static,
5223{
5224 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_run::GetMLTaskRunError, R>) -> Self {
5225 match err {
5226 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5227 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5228 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5229 source: err.into(),
5230 }),
5231 }
5232 }
5233}
5234impl From<crate::operation::get_ml_task_run::GetMLTaskRunError> for Error {
5235 fn from(err: crate::operation::get_ml_task_run::GetMLTaskRunError) -> Self {
5236 match err {
5237 crate::operation::get_ml_task_run::GetMLTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5238 crate::operation::get_ml_task_run::GetMLTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5239 crate::operation::get_ml_task_run::GetMLTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5240 crate::operation::get_ml_task_run::GetMLTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5241 crate::operation::get_ml_task_run::GetMLTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
5242 }
5243 }
5244}
5245impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>> for Error
5246where
5247 R: Send + Sync + std::fmt::Debug + 'static,
5248{
5249 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_task_runs::GetMLTaskRunsError, R>) -> Self {
5250 match err {
5251 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5252 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5253 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5254 source: err.into(),
5255 }),
5256 }
5257 }
5258}
5259impl From<crate::operation::get_ml_task_runs::GetMLTaskRunsError> for Error {
5260 fn from(err: crate::operation::get_ml_task_runs::GetMLTaskRunsError) -> Self {
5261 match err {
5262 crate::operation::get_ml_task_runs::GetMLTaskRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5263 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5264 crate::operation::get_ml_task_runs::GetMLTaskRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5265 crate::operation::get_ml_task_runs::GetMLTaskRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5266 crate::operation::get_ml_task_runs::GetMLTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
5267 }
5268 }
5269}
5270impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>> for Error
5271where
5272 R: Send + Sync + std::fmt::Debug + 'static,
5273{
5274 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transform::GetMLTransformError, R>) -> Self {
5275 match err {
5276 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5277 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5278 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5279 source: err.into(),
5280 }),
5281 }
5282 }
5283}
5284impl From<crate::operation::get_ml_transform::GetMLTransformError> for Error {
5285 fn from(err: crate::operation::get_ml_transform::GetMLTransformError) -> Self {
5286 match err {
5287 crate::operation::get_ml_transform::GetMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5288 crate::operation::get_ml_transform::GetMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5289 crate::operation::get_ml_transform::GetMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5290 crate::operation::get_ml_transform::GetMLTransformError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5291 crate::operation::get_ml_transform::GetMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
5292 }
5293 }
5294}
5295impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>> for Error
5296where
5297 R: Send + Sync + std::fmt::Debug + 'static,
5298{
5299 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_ml_transforms::GetMLTransformsError, R>) -> Self {
5300 match err {
5301 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5302 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5303 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5304 source: err.into(),
5305 }),
5306 }
5307 }
5308}
5309impl From<crate::operation::get_ml_transforms::GetMLTransformsError> for Error {
5310 fn from(err: crate::operation::get_ml_transforms::GetMLTransformsError) -> Self {
5311 match err {
5312 crate::operation::get_ml_transforms::GetMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5313 crate::operation::get_ml_transforms::GetMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5314 crate::operation::get_ml_transforms::GetMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5315 crate::operation::get_ml_transforms::GetMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5316 crate::operation::get_ml_transforms::GetMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
5317 }
5318 }
5319}
5320impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>> for Error
5321where
5322 R: Send + Sync + std::fmt::Debug + 'static,
5323{
5324 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition::GetPartitionError, R>) -> Self {
5325 match err {
5326 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5327 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5328 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5329 source: err.into(),
5330 }),
5331 }
5332 }
5333}
5334impl From<crate::operation::get_partition::GetPartitionError> for Error {
5335 fn from(err: crate::operation::get_partition::GetPartitionError) -> Self {
5336 match err {
5337 crate::operation::get_partition::GetPartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5338 crate::operation::get_partition::GetPartitionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5339 crate::operation::get_partition::GetPartitionError::FederationSourceRetryableException(inner) => {
5340 Error::FederationSourceRetryableException(inner)
5341 }
5342 crate::operation::get_partition::GetPartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5343 crate::operation::get_partition::GetPartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5344 crate::operation::get_partition::GetPartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5345 crate::operation::get_partition::GetPartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5346 crate::operation::get_partition::GetPartitionError::Unhandled(inner) => Error::Unhandled(inner),
5347 }
5348 }
5349}
5350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>> for Error
5351where
5352 R: Send + Sync + std::fmt::Debug + 'static,
5353{
5354 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partition_indexes::GetPartitionIndexesError, R>) -> Self {
5355 match err {
5356 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5357 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5358 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5359 source: err.into(),
5360 }),
5361 }
5362 }
5363}
5364impl From<crate::operation::get_partition_indexes::GetPartitionIndexesError> for Error {
5365 fn from(err: crate::operation::get_partition_indexes::GetPartitionIndexesError) -> Self {
5366 match err {
5367 crate::operation::get_partition_indexes::GetPartitionIndexesError::ConflictException(inner) => Error::ConflictException(inner),
5368 crate::operation::get_partition_indexes::GetPartitionIndexesError::EntityNotFoundException(inner) => {
5369 Error::EntityNotFoundException(inner)
5370 }
5371 crate::operation::get_partition_indexes::GetPartitionIndexesError::InternalServiceException(inner) => {
5372 Error::InternalServiceException(inner)
5373 }
5374 crate::operation::get_partition_indexes::GetPartitionIndexesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5375 crate::operation::get_partition_indexes::GetPartitionIndexesError::OperationTimeoutException(inner) => {
5376 Error::OperationTimeoutException(inner)
5377 }
5378 crate::operation::get_partition_indexes::GetPartitionIndexesError::Unhandled(inner) => Error::Unhandled(inner),
5379 }
5380 }
5381}
5382impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>> for Error
5383where
5384 R: Send + Sync + std::fmt::Debug + 'static,
5385{
5386 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_partitions::GetPartitionsError, R>) -> Self {
5387 match err {
5388 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5389 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5390 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5391 source: err.into(),
5392 }),
5393 }
5394 }
5395}
5396impl From<crate::operation::get_partitions::GetPartitionsError> for Error {
5397 fn from(err: crate::operation::get_partitions::GetPartitionsError) -> Self {
5398 match err {
5399 crate::operation::get_partitions::GetPartitionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5400 crate::operation::get_partitions::GetPartitionsError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5401 crate::operation::get_partitions::GetPartitionsError::FederationSourceRetryableException(inner) => {
5402 Error::FederationSourceRetryableException(inner)
5403 }
5404 crate::operation::get_partitions::GetPartitionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5405 crate::operation::get_partitions::GetPartitionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5406 crate::operation::get_partitions::GetPartitionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5407 crate::operation::get_partitions::GetPartitionsError::InvalidStateException(inner) => Error::InvalidStateException(inner),
5408 crate::operation::get_partitions::GetPartitionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5409 crate::operation::get_partitions::GetPartitionsError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5410 crate::operation::get_partitions::GetPartitionsError::Unhandled(inner) => Error::Unhandled(inner),
5411 }
5412 }
5413}
5414impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>> for Error
5415where
5416 R: Send + Sync + std::fmt::Debug + 'static,
5417{
5418 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_plan::GetPlanError, R>) -> Self {
5419 match err {
5420 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5421 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5422 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5423 source: err.into(),
5424 }),
5425 }
5426 }
5427}
5428impl From<crate::operation::get_plan::GetPlanError> for Error {
5429 fn from(err: crate::operation::get_plan::GetPlanError) -> Self {
5430 match err {
5431 crate::operation::get_plan::GetPlanError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5432 crate::operation::get_plan::GetPlanError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5433 crate::operation::get_plan::GetPlanError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5434 crate::operation::get_plan::GetPlanError::Unhandled(inner) => Error::Unhandled(inner),
5435 }
5436 }
5437}
5438impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>> for Error
5439where
5440 R: Send + Sync + std::fmt::Debug + 'static,
5441{
5442 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_registry::GetRegistryError, R>) -> Self {
5443 match err {
5444 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5445 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5446 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5447 source: err.into(),
5448 }),
5449 }
5450 }
5451}
5452impl From<crate::operation::get_registry::GetRegistryError> for Error {
5453 fn from(err: crate::operation::get_registry::GetRegistryError) -> Self {
5454 match err {
5455 crate::operation::get_registry::GetRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5456 crate::operation::get_registry::GetRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5457 crate::operation::get_registry::GetRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5458 crate::operation::get_registry::GetRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5459 crate::operation::get_registry::GetRegistryError::Unhandled(inner) => Error::Unhandled(inner),
5460 }
5461 }
5462}
5463impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>> for Error
5464where
5465 R: Send + Sync + std::fmt::Debug + 'static,
5466{
5467 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policies::GetResourcePoliciesError, R>) -> Self {
5468 match err {
5469 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5470 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5471 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5472 source: err.into(),
5473 }),
5474 }
5475 }
5476}
5477impl From<crate::operation::get_resource_policies::GetResourcePoliciesError> for Error {
5478 fn from(err: crate::operation::get_resource_policies::GetResourcePoliciesError) -> Self {
5479 match err {
5480 crate::operation::get_resource_policies::GetResourcePoliciesError::GlueEncryptionException(inner) => {
5481 Error::GlueEncryptionException(inner)
5482 }
5483 crate::operation::get_resource_policies::GetResourcePoliciesError::InternalServiceException(inner) => {
5484 Error::InternalServiceException(inner)
5485 }
5486 crate::operation::get_resource_policies::GetResourcePoliciesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5487 crate::operation::get_resource_policies::GetResourcePoliciesError::OperationTimeoutException(inner) => {
5488 Error::OperationTimeoutException(inner)
5489 }
5490 crate::operation::get_resource_policies::GetResourcePoliciesError::Unhandled(inner) => Error::Unhandled(inner),
5491 }
5492 }
5493}
5494impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>> for Error
5495where
5496 R: Send + Sync + std::fmt::Debug + 'static,
5497{
5498 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_resource_policy::GetResourcePolicyError, R>) -> Self {
5499 match err {
5500 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5501 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5502 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5503 source: err.into(),
5504 }),
5505 }
5506 }
5507}
5508impl From<crate::operation::get_resource_policy::GetResourcePolicyError> for Error {
5509 fn from(err: crate::operation::get_resource_policy::GetResourcePolicyError) -> Self {
5510 match err {
5511 crate::operation::get_resource_policy::GetResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5512 crate::operation::get_resource_policy::GetResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5513 crate::operation::get_resource_policy::GetResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5514 crate::operation::get_resource_policy::GetResourcePolicyError::OperationTimeoutException(inner) => {
5515 Error::OperationTimeoutException(inner)
5516 }
5517 crate::operation::get_resource_policy::GetResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
5518 }
5519 }
5520}
5521impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>> for Error
5522where
5523 R: Send + Sync + std::fmt::Debug + 'static,
5524{
5525 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema::GetSchemaError, R>) -> Self {
5526 match err {
5527 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5528 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5529 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5530 source: err.into(),
5531 }),
5532 }
5533 }
5534}
5535impl From<crate::operation::get_schema::GetSchemaError> for Error {
5536 fn from(err: crate::operation::get_schema::GetSchemaError) -> Self {
5537 match err {
5538 crate::operation::get_schema::GetSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5539 crate::operation::get_schema::GetSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5540 crate::operation::get_schema::GetSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5541 crate::operation::get_schema::GetSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5542 crate::operation::get_schema::GetSchemaError::Unhandled(inner) => Error::Unhandled(inner),
5543 }
5544 }
5545}
5546impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>> for Error
5547where
5548 R: Send + Sync + std::fmt::Debug + 'static,
5549{
5550 fn from(
5551 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError, R>,
5552 ) -> Self {
5553 match err {
5554 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5555 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5556 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5557 source: err.into(),
5558 }),
5559 }
5560 }
5561}
5562impl From<crate::operation::get_schema_by_definition::GetSchemaByDefinitionError> for Error {
5563 fn from(err: crate::operation::get_schema_by_definition::GetSchemaByDefinitionError) -> Self {
5564 match err {
5565 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::AccessDeniedException(inner) => {
5566 Error::AccessDeniedException(inner)
5567 }
5568 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::EntityNotFoundException(inner) => {
5569 Error::EntityNotFoundException(inner)
5570 }
5571 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InternalServiceException(inner) => {
5572 Error::InternalServiceException(inner)
5573 }
5574 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::InvalidInputException(inner) => {
5575 Error::InvalidInputException(inner)
5576 }
5577 crate::operation::get_schema_by_definition::GetSchemaByDefinitionError::Unhandled(inner) => Error::Unhandled(inner),
5578 }
5579 }
5580}
5581impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>> for Error
5582where
5583 R: Send + Sync + std::fmt::Debug + 'static,
5584{
5585 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_version::GetSchemaVersionError, R>) -> Self {
5586 match err {
5587 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5588 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5589 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5590 source: err.into(),
5591 }),
5592 }
5593 }
5594}
5595impl From<crate::operation::get_schema_version::GetSchemaVersionError> for Error {
5596 fn from(err: crate::operation::get_schema_version::GetSchemaVersionError) -> Self {
5597 match err {
5598 crate::operation::get_schema_version::GetSchemaVersionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5599 crate::operation::get_schema_version::GetSchemaVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5600 crate::operation::get_schema_version::GetSchemaVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5601 crate::operation::get_schema_version::GetSchemaVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5602 crate::operation::get_schema_version::GetSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
5603 }
5604 }
5605}
5606impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>> for Error
5607where
5608 R: Send + Sync + std::fmt::Debug + 'static,
5609{
5610 fn from(
5611 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError, R>,
5612 ) -> Self {
5613 match err {
5614 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5615 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5616 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5617 source: err.into(),
5618 }),
5619 }
5620 }
5621}
5622impl From<crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError> for Error {
5623 fn from(err: crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError) -> Self {
5624 match err {
5625 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::AccessDeniedException(inner) => {
5626 Error::AccessDeniedException(inner)
5627 }
5628 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::EntityNotFoundException(inner) => {
5629 Error::EntityNotFoundException(inner)
5630 }
5631 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InternalServiceException(inner) => {
5632 Error::InternalServiceException(inner)
5633 }
5634 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::InvalidInputException(inner) => {
5635 Error::InvalidInputException(inner)
5636 }
5637 crate::operation::get_schema_versions_diff::GetSchemaVersionsDiffError::Unhandled(inner) => Error::Unhandled(inner),
5638 }
5639 }
5640}
5641impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>>
5642 for Error
5643where
5644 R: Send + Sync + std::fmt::Debug + 'static,
5645{
5646 fn from(
5647 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configuration::GetSecurityConfigurationError, R>,
5648 ) -> Self {
5649 match err {
5650 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5651 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5652 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5653 source: err.into(),
5654 }),
5655 }
5656 }
5657}
5658impl From<crate::operation::get_security_configuration::GetSecurityConfigurationError> for Error {
5659 fn from(err: crate::operation::get_security_configuration::GetSecurityConfigurationError) -> Self {
5660 match err {
5661 crate::operation::get_security_configuration::GetSecurityConfigurationError::EntityNotFoundException(inner) => {
5662 Error::EntityNotFoundException(inner)
5663 }
5664 crate::operation::get_security_configuration::GetSecurityConfigurationError::InternalServiceException(inner) => {
5665 Error::InternalServiceException(inner)
5666 }
5667 crate::operation::get_security_configuration::GetSecurityConfigurationError::InvalidInputException(inner) => {
5668 Error::InvalidInputException(inner)
5669 }
5670 crate::operation::get_security_configuration::GetSecurityConfigurationError::OperationTimeoutException(inner) => {
5671 Error::OperationTimeoutException(inner)
5672 }
5673 crate::operation::get_security_configuration::GetSecurityConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
5674 }
5675 }
5676}
5677impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>>
5678 for Error
5679where
5680 R: Send + Sync + std::fmt::Debug + 'static,
5681{
5682 fn from(
5683 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_security_configurations::GetSecurityConfigurationsError, R>,
5684 ) -> Self {
5685 match err {
5686 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5687 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5688 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5689 source: err.into(),
5690 }),
5691 }
5692 }
5693}
5694impl From<crate::operation::get_security_configurations::GetSecurityConfigurationsError> for Error {
5695 fn from(err: crate::operation::get_security_configurations::GetSecurityConfigurationsError) -> Self {
5696 match err {
5697 crate::operation::get_security_configurations::GetSecurityConfigurationsError::EntityNotFoundException(inner) => {
5698 Error::EntityNotFoundException(inner)
5699 }
5700 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InternalServiceException(inner) => {
5701 Error::InternalServiceException(inner)
5702 }
5703 crate::operation::get_security_configurations::GetSecurityConfigurationsError::InvalidInputException(inner) => {
5704 Error::InvalidInputException(inner)
5705 }
5706 crate::operation::get_security_configurations::GetSecurityConfigurationsError::OperationTimeoutException(inner) => {
5707 Error::OperationTimeoutException(inner)
5708 }
5709 crate::operation::get_security_configurations::GetSecurityConfigurationsError::Unhandled(inner) => Error::Unhandled(inner),
5710 }
5711 }
5712}
5713impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>> for Error
5714where
5715 R: Send + Sync + std::fmt::Debug + 'static,
5716{
5717 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session::GetSessionError, R>) -> Self {
5718 match err {
5719 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5720 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5721 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5722 source: err.into(),
5723 }),
5724 }
5725 }
5726}
5727impl From<crate::operation::get_session::GetSessionError> for Error {
5728 fn from(err: crate::operation::get_session::GetSessionError) -> Self {
5729 match err {
5730 crate::operation::get_session::GetSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5731 crate::operation::get_session::GetSessionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5732 crate::operation::get_session::GetSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5733 crate::operation::get_session::GetSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5734 crate::operation::get_session::GetSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5735 crate::operation::get_session::GetSessionError::Unhandled(inner) => Error::Unhandled(inner),
5736 }
5737 }
5738}
5739impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_endpoint::GetSessionEndpointError, R>> for Error
5740where
5741 R: Send + Sync + std::fmt::Debug + 'static,
5742{
5743 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_session_endpoint::GetSessionEndpointError, R>) -> Self {
5744 match err {
5745 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5746 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5747 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5748 source: err.into(),
5749 }),
5750 }
5751 }
5752}
5753impl From<crate::operation::get_session_endpoint::GetSessionEndpointError> for Error {
5754 fn from(err: crate::operation::get_session_endpoint::GetSessionEndpointError) -> Self {
5755 match err {
5756 crate::operation::get_session_endpoint::GetSessionEndpointError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5757 crate::operation::get_session_endpoint::GetSessionEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5758 crate::operation::get_session_endpoint::GetSessionEndpointError::IllegalSessionStateException(inner) => {
5759 Error::IllegalSessionStateException(inner)
5760 }
5761 crate::operation::get_session_endpoint::GetSessionEndpointError::InternalServiceException(inner) => {
5762 Error::InternalServiceException(inner)
5763 }
5764 crate::operation::get_session_endpoint::GetSessionEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5765 crate::operation::get_session_endpoint::GetSessionEndpointError::OperationNotSupportedException(inner) => {
5766 Error::OperationNotSupportedException(inner)
5767 }
5768 crate::operation::get_session_endpoint::GetSessionEndpointError::OperationTimeoutException(inner) => {
5769 Error::OperationTimeoutException(inner)
5770 }
5771 crate::operation::get_session_endpoint::GetSessionEndpointError::Unhandled(inner) => Error::Unhandled(inner),
5772 }
5773 }
5774}
5775impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>> for Error
5776where
5777 R: Send + Sync + std::fmt::Debug + 'static,
5778{
5779 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_statement::GetStatementError, R>) -> Self {
5780 match err {
5781 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5782 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5783 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5784 source: err.into(),
5785 }),
5786 }
5787 }
5788}
5789impl From<crate::operation::get_statement::GetStatementError> for Error {
5790 fn from(err: crate::operation::get_statement::GetStatementError) -> Self {
5791 match err {
5792 crate::operation::get_statement::GetStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5793 crate::operation::get_statement::GetStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5794 crate::operation::get_statement::GetStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
5795 crate::operation::get_statement::GetStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5796 crate::operation::get_statement::GetStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5797 crate::operation::get_statement::GetStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5798 crate::operation::get_statement::GetStatementError::Unhandled(inner) => Error::Unhandled(inner),
5799 }
5800 }
5801}
5802impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>> for Error
5803where
5804 R: Send + Sync + std::fmt::Debug + 'static,
5805{
5806 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table::GetTableError, R>) -> Self {
5807 match err {
5808 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5809 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5810 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5811 source: err.into(),
5812 }),
5813 }
5814 }
5815}
5816impl From<crate::operation::get_table::GetTableError> for Error {
5817 fn from(err: crate::operation::get_table::GetTableError) -> Self {
5818 match err {
5819 crate::operation::get_table::GetTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5820 crate::operation::get_table::GetTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5821 crate::operation::get_table::GetTableError::FederationSourceRetryableException(inner) => Error::FederationSourceRetryableException(inner),
5822 crate::operation::get_table::GetTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5823 crate::operation::get_table::GetTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5824 crate::operation::get_table::GetTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5825 crate::operation::get_table::GetTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5826 crate::operation::get_table::GetTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
5827 crate::operation::get_table::GetTableError::Unhandled(inner) => Error::Unhandled(inner),
5828 }
5829 }
5830}
5831impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>> for Error
5832where
5833 R: Send + Sync + std::fmt::Debug + 'static,
5834{
5835 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_optimizer::GetTableOptimizerError, R>) -> Self {
5836 match err {
5837 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5838 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5839 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5840 source: err.into(),
5841 }),
5842 }
5843 }
5844}
5845impl From<crate::operation::get_table_optimizer::GetTableOptimizerError> for Error {
5846 fn from(err: crate::operation::get_table_optimizer::GetTableOptimizerError) -> Self {
5847 match err {
5848 crate::operation::get_table_optimizer::GetTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
5849 crate::operation::get_table_optimizer::GetTableOptimizerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5850 crate::operation::get_table_optimizer::GetTableOptimizerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5851 crate::operation::get_table_optimizer::GetTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5852 crate::operation::get_table_optimizer::GetTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
5853 crate::operation::get_table_optimizer::GetTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
5854 }
5855 }
5856}
5857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tables::GetTablesError, 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::get_tables::GetTablesError, 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::get_tables::GetTablesError> for Error {
5872 fn from(err: crate::operation::get_tables::GetTablesError) -> Self {
5873 match err {
5874 crate::operation::get_tables::GetTablesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5875 crate::operation::get_tables::GetTablesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
5876 crate::operation::get_tables::GetTablesError::FederationSourceRetryableException(inner) => {
5877 Error::FederationSourceRetryableException(inner)
5878 }
5879 crate::operation::get_tables::GetTablesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5880 crate::operation::get_tables::GetTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5881 crate::operation::get_tables::GetTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5882 crate::operation::get_tables::GetTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5883 crate::operation::get_tables::GetTablesError::Unhandled(inner) => Error::Unhandled(inner),
5884 }
5885 }
5886}
5887impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>> for Error
5888where
5889 R: Send + Sync + std::fmt::Debug + 'static,
5890{
5891 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_version::GetTableVersionError, R>) -> Self {
5892 match err {
5893 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5894 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5895 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5896 source: err.into(),
5897 }),
5898 }
5899 }
5900}
5901impl From<crate::operation::get_table_version::GetTableVersionError> for Error {
5902 fn from(err: crate::operation::get_table_version::GetTableVersionError) -> Self {
5903 match err {
5904 crate::operation::get_table_version::GetTableVersionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5905 crate::operation::get_table_version::GetTableVersionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5906 crate::operation::get_table_version::GetTableVersionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5907 crate::operation::get_table_version::GetTableVersionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5908 crate::operation::get_table_version::GetTableVersionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5909 crate::operation::get_table_version::GetTableVersionError::Unhandled(inner) => Error::Unhandled(inner),
5910 }
5911 }
5912}
5913impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>> for Error
5914where
5915 R: Send + Sync + std::fmt::Debug + 'static,
5916{
5917 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_table_versions::GetTableVersionsError, R>) -> Self {
5918 match err {
5919 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5920 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5921 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5922 source: err.into(),
5923 }),
5924 }
5925 }
5926}
5927impl From<crate::operation::get_table_versions::GetTableVersionsError> for Error {
5928 fn from(err: crate::operation::get_table_versions::GetTableVersionsError) -> Self {
5929 match err {
5930 crate::operation::get_table_versions::GetTableVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5931 crate::operation::get_table_versions::GetTableVersionsError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
5932 crate::operation::get_table_versions::GetTableVersionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5933 crate::operation::get_table_versions::GetTableVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5934 crate::operation::get_table_versions::GetTableVersionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5935 crate::operation::get_table_versions::GetTableVersionsError::Unhandled(inner) => Error::Unhandled(inner),
5936 }
5937 }
5938}
5939impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>> for Error
5940where
5941 R: Send + Sync + std::fmt::Debug + 'static,
5942{
5943 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_tags::GetTagsError, R>) -> Self {
5944 match err {
5945 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5946 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5947 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5948 source: err.into(),
5949 }),
5950 }
5951 }
5952}
5953impl From<crate::operation::get_tags::GetTagsError> for Error {
5954 fn from(err: crate::operation::get_tags::GetTagsError) -> Self {
5955 match err {
5956 crate::operation::get_tags::GetTagsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5957 crate::operation::get_tags::GetTagsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5958 crate::operation::get_tags::GetTagsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5959 crate::operation::get_tags::GetTagsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5960 crate::operation::get_tags::GetTagsError::Unhandled(inner) => Error::Unhandled(inner),
5961 }
5962 }
5963}
5964impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>> for Error
5965where
5966 R: Send + Sync + std::fmt::Debug + 'static,
5967{
5968 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_trigger::GetTriggerError, R>) -> Self {
5969 match err {
5970 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5971 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5972 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5973 source: err.into(),
5974 }),
5975 }
5976 }
5977}
5978impl From<crate::operation::get_trigger::GetTriggerError> for Error {
5979 fn from(err: crate::operation::get_trigger::GetTriggerError) -> Self {
5980 match err {
5981 crate::operation::get_trigger::GetTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
5982 crate::operation::get_trigger::GetTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
5983 crate::operation::get_trigger::GetTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
5984 crate::operation::get_trigger::GetTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
5985 crate::operation::get_trigger::GetTriggerError::Unhandled(inner) => Error::Unhandled(inner),
5986 }
5987 }
5988}
5989impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>> for Error
5990where
5991 R: Send + Sync + std::fmt::Debug + 'static,
5992{
5993 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_triggers::GetTriggersError, R>) -> Self {
5994 match err {
5995 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
5996 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
5997 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
5998 source: err.into(),
5999 }),
6000 }
6001 }
6002}
6003impl From<crate::operation::get_triggers::GetTriggersError> for Error {
6004 fn from(err: crate::operation::get_triggers::GetTriggersError) -> Self {
6005 match err {
6006 crate::operation::get_triggers::GetTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6007 crate::operation::get_triggers::GetTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6008 crate::operation::get_triggers::GetTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6009 crate::operation::get_triggers::GetTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6010 crate::operation::get_triggers::GetTriggersError::Unhandled(inner) => Error::Unhandled(inner),
6011 }
6012 }
6013}
6014impl<R>
6015 From<
6016 ::aws_smithy_runtime_api::client::result::SdkError<
6017 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
6018 R,
6019 >,
6020 > for Error
6021where
6022 R: Send + Sync + std::fmt::Debug + 'static,
6023{
6024 fn from(
6025 err: ::aws_smithy_runtime_api::client::result::SdkError<
6026 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError,
6027 R,
6028 >,
6029 ) -> Self {
6030 match err {
6031 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6032 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6033 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6034 source: err.into(),
6035 }),
6036 }
6037 }
6038}
6039impl From<crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError> for Error {
6040 fn from(err: crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError) -> Self {
6041 match err {
6042 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::EntityNotFoundException(inner) => {
6043 Error::EntityNotFoundException(inner)
6044 }
6045 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceException(inner) => {
6046 Error::FederationSourceException(inner)
6047 }
6048 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::FederationSourceRetryableException(inner) => {
6049 Error::FederationSourceRetryableException(inner)
6050 }
6051 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::GlueEncryptionException(inner) => {
6052 Error::GlueEncryptionException(inner)
6053 }
6054 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InternalServiceException(inner) => {
6055 Error::InternalServiceException(inner)
6056 }
6057 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::InvalidInputException(inner) => {
6058 Error::InvalidInputException(inner)
6059 }
6060 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::OperationTimeoutException(inner) => {
6061 Error::OperationTimeoutException(inner)
6062 }
6063 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::PermissionTypeMismatchException(inner) => {
6064 Error::PermissionTypeMismatchException(inner)
6065 }
6066 crate::operation::get_unfiltered_partition_metadata::GetUnfilteredPartitionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6067 }
6068 }
6069}
6070impl<R>
6071 From<
6072 ::aws_smithy_runtime_api::client::result::SdkError<
6073 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
6074 R,
6075 >,
6076 > for Error
6077where
6078 R: Send + Sync + std::fmt::Debug + 'static,
6079{
6080 fn from(
6081 err: ::aws_smithy_runtime_api::client::result::SdkError<
6082 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError,
6083 R,
6084 >,
6085 ) -> Self {
6086 match err {
6087 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6088 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6089 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6090 source: err.into(),
6091 }),
6092 }
6093 }
6094}
6095impl From<crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError> for Error {
6096 fn from(err: crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError) -> Self {
6097 match err {
6098 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::EntityNotFoundException(inner) => {
6099 Error::EntityNotFoundException(inner)
6100 }
6101 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceException(inner) => {
6102 Error::FederationSourceException(inner)
6103 }
6104 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::FederationSourceRetryableException(inner) => {
6105 Error::FederationSourceRetryableException(inner)
6106 }
6107 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::GlueEncryptionException(inner) => {
6108 Error::GlueEncryptionException(inner)
6109 }
6110 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InternalServiceException(inner) => {
6111 Error::InternalServiceException(inner)
6112 }
6113 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::InvalidInputException(inner) => {
6114 Error::InvalidInputException(inner)
6115 }
6116 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::OperationTimeoutException(inner) => {
6117 Error::OperationTimeoutException(inner)
6118 }
6119 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::PermissionTypeMismatchException(inner) => {
6120 Error::PermissionTypeMismatchException(inner)
6121 }
6122 crate::operation::get_unfiltered_partitions_metadata::GetUnfilteredPartitionsMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6123 }
6124 }
6125}
6126impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>>
6127 for Error
6128where
6129 R: Send + Sync + std::fmt::Debug + 'static,
6130{
6131 fn from(
6132 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError, R>,
6133 ) -> Self {
6134 match err {
6135 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6136 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6137 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6138 source: err.into(),
6139 }),
6140 }
6141 }
6142}
6143impl From<crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError> for Error {
6144 fn from(err: crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError) -> Self {
6145 match err {
6146 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::EntityNotFoundException(inner) => {
6147 Error::EntityNotFoundException(inner)
6148 }
6149 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceException(inner) => {
6150 Error::FederationSourceException(inner)
6151 }
6152 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::FederationSourceRetryableException(inner) => {
6153 Error::FederationSourceRetryableException(inner)
6154 }
6155 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::GlueEncryptionException(inner) => {
6156 Error::GlueEncryptionException(inner)
6157 }
6158 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InternalServiceException(inner) => {
6159 Error::InternalServiceException(inner)
6160 }
6161 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::InvalidInputException(inner) => {
6162 Error::InvalidInputException(inner)
6163 }
6164 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::OperationTimeoutException(inner) => {
6165 Error::OperationTimeoutException(inner)
6166 }
6167 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::PermissionTypeMismatchException(inner) => {
6168 Error::PermissionTypeMismatchException(inner)
6169 }
6170 crate::operation::get_unfiltered_table_metadata::GetUnfilteredTableMetadataError::Unhandled(inner) => Error::Unhandled(inner),
6171 }
6172 }
6173}
6174impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>> for Error
6175where
6176 R: Send + Sync + std::fmt::Debug + 'static,
6177{
6178 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_usage_profile::GetUsageProfileError, R>) -> Self {
6179 match err {
6180 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6181 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6182 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6183 source: err.into(),
6184 }),
6185 }
6186 }
6187}
6188impl From<crate::operation::get_usage_profile::GetUsageProfileError> for Error {
6189 fn from(err: crate::operation::get_usage_profile::GetUsageProfileError) -> Self {
6190 match err {
6191 crate::operation::get_usage_profile::GetUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6192 crate::operation::get_usage_profile::GetUsageProfileError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6193 crate::operation::get_usage_profile::GetUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6194 crate::operation::get_usage_profile::GetUsageProfileError::OperationNotSupportedException(inner) => {
6195 Error::OperationNotSupportedException(inner)
6196 }
6197 crate::operation::get_usage_profile::GetUsageProfileError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6198 crate::operation::get_usage_profile::GetUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
6199 }
6200 }
6201}
6202impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>>
6203 for Error
6204where
6205 R: Send + Sync + std::fmt::Debug + 'static,
6206{
6207 fn from(
6208 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_function::GetUserDefinedFunctionError, R>,
6209 ) -> Self {
6210 match err {
6211 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6212 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6213 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6214 source: err.into(),
6215 }),
6216 }
6217 }
6218}
6219impl From<crate::operation::get_user_defined_function::GetUserDefinedFunctionError> for Error {
6220 fn from(err: crate::operation::get_user_defined_function::GetUserDefinedFunctionError) -> Self {
6221 match err {
6222 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::EntityNotFoundException(inner) => {
6223 Error::EntityNotFoundException(inner)
6224 }
6225 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::GlueEncryptionException(inner) => {
6226 Error::GlueEncryptionException(inner)
6227 }
6228 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InternalServiceException(inner) => {
6229 Error::InternalServiceException(inner)
6230 }
6231 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::InvalidInputException(inner) => {
6232 Error::InvalidInputException(inner)
6233 }
6234 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::OperationTimeoutException(inner) => {
6235 Error::OperationTimeoutException(inner)
6236 }
6237 crate::operation::get_user_defined_function::GetUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
6238 }
6239 }
6240}
6241impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>>
6242 for Error
6243where
6244 R: Send + Sync + std::fmt::Debug + 'static,
6245{
6246 fn from(
6247 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError, R>,
6248 ) -> Self {
6249 match err {
6250 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6251 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6252 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6253 source: err.into(),
6254 }),
6255 }
6256 }
6257}
6258impl From<crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError> for Error {
6259 fn from(err: crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError) -> Self {
6260 match err {
6261 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::EntityNotFoundException(inner) => {
6262 Error::EntityNotFoundException(inner)
6263 }
6264 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::GlueEncryptionException(inner) => {
6265 Error::GlueEncryptionException(inner)
6266 }
6267 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InternalServiceException(inner) => {
6268 Error::InternalServiceException(inner)
6269 }
6270 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::InvalidInputException(inner) => {
6271 Error::InvalidInputException(inner)
6272 }
6273 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::OperationTimeoutException(inner) => {
6274 Error::OperationTimeoutException(inner)
6275 }
6276 crate::operation::get_user_defined_functions::GetUserDefinedFunctionsError::Unhandled(inner) => Error::Unhandled(inner),
6277 }
6278 }
6279}
6280impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>> for Error
6281where
6282 R: Send + Sync + std::fmt::Debug + 'static,
6283{
6284 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow::GetWorkflowError, R>) -> Self {
6285 match err {
6286 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6287 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6288 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6289 source: err.into(),
6290 }),
6291 }
6292 }
6293}
6294impl From<crate::operation::get_workflow::GetWorkflowError> for Error {
6295 fn from(err: crate::operation::get_workflow::GetWorkflowError) -> Self {
6296 match err {
6297 crate::operation::get_workflow::GetWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6298 crate::operation::get_workflow::GetWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6299 crate::operation::get_workflow::GetWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6300 crate::operation::get_workflow::GetWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6301 crate::operation::get_workflow::GetWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
6302 }
6303 }
6304}
6305impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>> for Error
6306where
6307 R: Send + Sync + std::fmt::Debug + 'static,
6308{
6309 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run::GetWorkflowRunError, R>) -> Self {
6310 match err {
6311 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6312 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6313 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6314 source: err.into(),
6315 }),
6316 }
6317 }
6318}
6319impl From<crate::operation::get_workflow_run::GetWorkflowRunError> for Error {
6320 fn from(err: crate::operation::get_workflow_run::GetWorkflowRunError) -> Self {
6321 match err {
6322 crate::operation::get_workflow_run::GetWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6323 crate::operation::get_workflow_run::GetWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6324 crate::operation::get_workflow_run::GetWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6325 crate::operation::get_workflow_run::GetWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6326 crate::operation::get_workflow_run::GetWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
6327 }
6328 }
6329}
6330impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>>
6331 for Error
6332where
6333 R: Send + Sync + std::fmt::Debug + 'static,
6334{
6335 fn from(
6336 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError, R>,
6337 ) -> Self {
6338 match err {
6339 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6340 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6341 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6342 source: err.into(),
6343 }),
6344 }
6345 }
6346}
6347impl From<crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError> for Error {
6348 fn from(err: crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError) -> Self {
6349 match err {
6350 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
6351 Error::EntityNotFoundException(inner)
6352 }
6353 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InternalServiceException(inner) => {
6354 Error::InternalServiceException(inner)
6355 }
6356 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::InvalidInputException(inner) => {
6357 Error::InvalidInputException(inner)
6358 }
6359 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
6360 Error::OperationTimeoutException(inner)
6361 }
6362 crate::operation::get_workflow_run_properties::GetWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
6363 }
6364 }
6365}
6366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>> for Error
6367where
6368 R: Send + Sync + std::fmt::Debug + 'static,
6369{
6370 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_workflow_runs::GetWorkflowRunsError, R>) -> Self {
6371 match err {
6372 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6373 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6374 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6375 source: err.into(),
6376 }),
6377 }
6378 }
6379}
6380impl From<crate::operation::get_workflow_runs::GetWorkflowRunsError> for Error {
6381 fn from(err: crate::operation::get_workflow_runs::GetWorkflowRunsError) -> Self {
6382 match err {
6383 crate::operation::get_workflow_runs::GetWorkflowRunsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6384 crate::operation::get_workflow_runs::GetWorkflowRunsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6385 crate::operation::get_workflow_runs::GetWorkflowRunsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6386 crate::operation::get_workflow_runs::GetWorkflowRunsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6387 crate::operation::get_workflow_runs::GetWorkflowRunsError::Unhandled(inner) => Error::Unhandled(inner),
6388 }
6389 }
6390}
6391impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>> for Error
6392where
6393 R: Send + Sync + std::fmt::Debug + 'static,
6394{
6395 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError, R>) -> Self {
6396 match err {
6397 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6398 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6399 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6400 source: err.into(),
6401 }),
6402 }
6403 }
6404}
6405impl From<crate::operation::import_catalog_to_glue::ImportCatalogToGlueError> for Error {
6406 fn from(err: crate::operation::import_catalog_to_glue::ImportCatalogToGlueError) -> Self {
6407 match err {
6408 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::InternalServiceException(inner) => {
6409 Error::InternalServiceException(inner)
6410 }
6411 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::OperationTimeoutException(inner) => {
6412 Error::OperationTimeoutException(inner)
6413 }
6414 crate::operation::import_catalog_to_glue::ImportCatalogToGlueError::Unhandled(inner) => Error::Unhandled(inner),
6415 }
6416 }
6417}
6418impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_types::ListAssetTypesError, R>> for Error
6419where
6420 R: Send + Sync + std::fmt::Debug + 'static,
6421{
6422 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_asset_types::ListAssetTypesError, R>) -> Self {
6423 match err {
6424 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6425 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6426 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6427 source: err.into(),
6428 }),
6429 }
6430 }
6431}
6432impl From<crate::operation::list_asset_types::ListAssetTypesError> for Error {
6433 fn from(err: crate::operation::list_asset_types::ListAssetTypesError) -> Self {
6434 match err {
6435 crate::operation::list_asset_types::ListAssetTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6436 crate::operation::list_asset_types::ListAssetTypesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6437 crate::operation::list_asset_types::ListAssetTypesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6438 crate::operation::list_asset_types::ListAssetTypesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6439 crate::operation::list_asset_types::ListAssetTypesError::Unhandled(inner) => Error::Unhandled(inner),
6440 }
6441 }
6442}
6443impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>> for Error
6444where
6445 R: Send + Sync + std::fmt::Debug + 'static,
6446{
6447 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_blueprints::ListBlueprintsError, R>) -> Self {
6448 match err {
6449 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6450 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6451 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6452 source: err.into(),
6453 }),
6454 }
6455 }
6456}
6457impl From<crate::operation::list_blueprints::ListBlueprintsError> for Error {
6458 fn from(err: crate::operation::list_blueprints::ListBlueprintsError) -> Self {
6459 match err {
6460 crate::operation::list_blueprints::ListBlueprintsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6461 crate::operation::list_blueprints::ListBlueprintsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6462 crate::operation::list_blueprints::ListBlueprintsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6463 crate::operation::list_blueprints::ListBlueprintsError::Unhandled(inner) => Error::Unhandled(inner),
6464 }
6465 }
6466}
6467impl<R>
6468 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError, R>>
6469 for Error
6470where
6471 R: Send + Sync + std::fmt::Debug + 'static,
6472{
6473 fn from(
6474 err: ::aws_smithy_runtime_api::client::result::SdkError<
6475 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError,
6476 R,
6477 >,
6478 ) -> Self {
6479 match err {
6480 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6481 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6482 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6483 source: err.into(),
6484 }),
6485 }
6486 }
6487}
6488impl From<crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError> for Error {
6489 fn from(err: crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError) -> Self {
6490 match err {
6491 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::OperationTimeoutException(inner) => {
6492 Error::OperationTimeoutException(inner)
6493 }
6494 crate::operation::list_column_statistics_task_runs::ListColumnStatisticsTaskRunsError::Unhandled(inner) => Error::Unhandled(inner),
6495 }
6496 }
6497}
6498impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>> for Error
6499where
6500 R: Send + Sync + std::fmt::Debug + 'static,
6501{
6502 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_connection_types::ListConnectionTypesError, R>) -> Self {
6503 match err {
6504 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6505 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6506 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6507 source: err.into(),
6508 }),
6509 }
6510 }
6511}
6512impl From<crate::operation::list_connection_types::ListConnectionTypesError> for Error {
6513 fn from(err: crate::operation::list_connection_types::ListConnectionTypesError) -> Self {
6514 match err {
6515 crate::operation::list_connection_types::ListConnectionTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6516 crate::operation::list_connection_types::ListConnectionTypesError::InternalServiceException(inner) => {
6517 Error::InternalServiceException(inner)
6518 }
6519 crate::operation::list_connection_types::ListConnectionTypesError::Unhandled(inner) => Error::Unhandled(inner),
6520 }
6521 }
6522}
6523impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>> for Error
6524where
6525 R: Send + Sync + std::fmt::Debug + 'static,
6526{
6527 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawlers::ListCrawlersError, R>) -> Self {
6528 match err {
6529 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6530 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6531 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6532 source: err.into(),
6533 }),
6534 }
6535 }
6536}
6537impl From<crate::operation::list_crawlers::ListCrawlersError> for Error {
6538 fn from(err: crate::operation::list_crawlers::ListCrawlersError) -> Self {
6539 match err {
6540 crate::operation::list_crawlers::ListCrawlersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6541 crate::operation::list_crawlers::ListCrawlersError::Unhandled(inner) => Error::Unhandled(inner),
6542 }
6543 }
6544}
6545impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>> for Error
6546where
6547 R: Send + Sync + std::fmt::Debug + 'static,
6548{
6549 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_crawls::ListCrawlsError, R>) -> Self {
6550 match err {
6551 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6552 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6553 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6554 source: err.into(),
6555 }),
6556 }
6557 }
6558}
6559impl From<crate::operation::list_crawls::ListCrawlsError> for Error {
6560 fn from(err: crate::operation::list_crawls::ListCrawlsError) -> Self {
6561 match err {
6562 crate::operation::list_crawls::ListCrawlsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6563 crate::operation::list_crawls::ListCrawlsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6564 crate::operation::list_crawls::ListCrawlsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6565 crate::operation::list_crawls::ListCrawlsError::Unhandled(inner) => Error::Unhandled(inner),
6566 }
6567 }
6568}
6569impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>> for Error
6570where
6571 R: Send + Sync + std::fmt::Debug + 'static,
6572{
6573 fn from(
6574 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_custom_entity_types::ListCustomEntityTypesError, R>,
6575 ) -> Self {
6576 match err {
6577 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6578 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6579 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6580 source: err.into(),
6581 }),
6582 }
6583 }
6584}
6585impl From<crate::operation::list_custom_entity_types::ListCustomEntityTypesError> for Error {
6586 fn from(err: crate::operation::list_custom_entity_types::ListCustomEntityTypesError) -> Self {
6587 match err {
6588 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InternalServiceException(inner) => {
6589 Error::InternalServiceException(inner)
6590 }
6591 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::InvalidInputException(inner) => {
6592 Error::InvalidInputException(inner)
6593 }
6594 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::OperationTimeoutException(inner) => {
6595 Error::OperationTimeoutException(inner)
6596 }
6597 crate::operation::list_custom_entity_types::ListCustomEntityTypesError::Unhandled(inner) => Error::Unhandled(inner),
6598 }
6599 }
6600}
6601impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>>
6602 for Error
6603where
6604 R: Send + Sync + std::fmt::Debug + 'static,
6605{
6606 fn from(
6607 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_results::ListDataQualityResultsError, R>,
6608 ) -> Self {
6609 match err {
6610 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6611 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6612 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6613 source: err.into(),
6614 }),
6615 }
6616 }
6617}
6618impl From<crate::operation::list_data_quality_results::ListDataQualityResultsError> for Error {
6619 fn from(err: crate::operation::list_data_quality_results::ListDataQualityResultsError) -> Self {
6620 match err {
6621 crate::operation::list_data_quality_results::ListDataQualityResultsError::InternalServiceException(inner) => {
6622 Error::InternalServiceException(inner)
6623 }
6624 crate::operation::list_data_quality_results::ListDataQualityResultsError::InvalidInputException(inner) => {
6625 Error::InvalidInputException(inner)
6626 }
6627 crate::operation::list_data_quality_results::ListDataQualityResultsError::OperationTimeoutException(inner) => {
6628 Error::OperationTimeoutException(inner)
6629 }
6630 crate::operation::list_data_quality_results::ListDataQualityResultsError::Unhandled(inner) => Error::Unhandled(inner),
6631 }
6632 }
6633}
6634impl<R>
6635 From<
6636 ::aws_smithy_runtime_api::client::result::SdkError<
6637 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
6638 R,
6639 >,
6640 > for Error
6641where
6642 R: Send + Sync + std::fmt::Debug + 'static,
6643{
6644 fn from(
6645 err: ::aws_smithy_runtime_api::client::result::SdkError<
6646 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError,
6647 R,
6648 >,
6649 ) -> Self {
6650 match err {
6651 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6652 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6653 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6654 source: err.into(),
6655 }),
6656 }
6657 }
6658}
6659impl From<crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError> for Error {
6660 fn from(err: crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError) -> Self {
6661 match err {
6662 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InternalServiceException(
6663 inner,
6664 ) => Error::InternalServiceException(inner),
6665 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::InvalidInputException(
6666 inner,
6667 ) => Error::InvalidInputException(inner),
6668 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::OperationTimeoutException(
6669 inner,
6670 ) => Error::OperationTimeoutException(inner),
6671 crate::operation::list_data_quality_rule_recommendation_runs::ListDataQualityRuleRecommendationRunsError::Unhandled(inner) => {
6672 Error::Unhandled(inner)
6673 }
6674 }
6675 }
6676}
6677impl<R>
6678 From<
6679 ::aws_smithy_runtime_api::client::result::SdkError<
6680 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
6681 R,
6682 >,
6683 > for Error
6684where
6685 R: Send + Sync + std::fmt::Debug + 'static,
6686{
6687 fn from(
6688 err: ::aws_smithy_runtime_api::client::result::SdkError<
6689 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError,
6690 R,
6691 >,
6692 ) -> Self {
6693 match err {
6694 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6695 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6696 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6697 source: err.into(),
6698 }),
6699 }
6700 }
6701}
6702impl From<crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError> for Error {
6703 fn from(err: crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError) -> Self {
6704 match err {
6705 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InternalServiceException(
6706 inner,
6707 ) => Error::InternalServiceException(inner),
6708 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::InvalidInputException(inner) => {
6709 Error::InvalidInputException(inner)
6710 }
6711 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::OperationTimeoutException(
6712 inner,
6713 ) => Error::OperationTimeoutException(inner),
6714 crate::operation::list_data_quality_ruleset_evaluation_runs::ListDataQualityRulesetEvaluationRunsError::Unhandled(inner) => {
6715 Error::Unhandled(inner)
6716 }
6717 }
6718 }
6719}
6720impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>>
6721 for Error
6722where
6723 R: Send + Sync + std::fmt::Debug + 'static,
6724{
6725 fn from(
6726 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError, R>,
6727 ) -> Self {
6728 match err {
6729 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6730 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6731 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6732 source: err.into(),
6733 }),
6734 }
6735 }
6736}
6737impl From<crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError> for Error {
6738 fn from(err: crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError) -> Self {
6739 match err {
6740 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::EntityNotFoundException(inner) => {
6741 Error::EntityNotFoundException(inner)
6742 }
6743 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InternalServiceException(inner) => {
6744 Error::InternalServiceException(inner)
6745 }
6746 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::InvalidInputException(inner) => {
6747 Error::InvalidInputException(inner)
6748 }
6749 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::OperationTimeoutException(inner) => {
6750 Error::OperationTimeoutException(inner)
6751 }
6752 crate::operation::list_data_quality_rulesets::ListDataQualityRulesetsError::Unhandled(inner) => Error::Unhandled(inner),
6753 }
6754 }
6755}
6756impl<R>
6757 From<
6758 ::aws_smithy_runtime_api::client::result::SdkError<
6759 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6760 R,
6761 >,
6762 > for Error
6763where
6764 R: Send + Sync + std::fmt::Debug + 'static,
6765{
6766 fn from(
6767 err: ::aws_smithy_runtime_api::client::result::SdkError<
6768 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError,
6769 R,
6770 >,
6771 ) -> Self {
6772 match err {
6773 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6774 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6775 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6776 source: err.into(),
6777 }),
6778 }
6779 }
6780}
6781impl From<crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError> for Error {
6782 fn from(err: crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError) -> Self {
6783 match err {
6784 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InternalServiceException(inner) => {
6785 Error::InternalServiceException(inner)
6786 }
6787 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::InvalidInputException(inner) => {
6788 Error::InvalidInputException(inner)
6789 }
6790 crate::operation::list_data_quality_statistic_annotations::ListDataQualityStatisticAnnotationsError::Unhandled(inner) => {
6791 Error::Unhandled(inner)
6792 }
6793 }
6794 }
6795}
6796impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>>
6797 for Error
6798where
6799 R: Send + Sync + std::fmt::Debug + 'static,
6800{
6801 fn from(
6802 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError, R>,
6803 ) -> Self {
6804 match err {
6805 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6806 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6807 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6808 source: err.into(),
6809 }),
6810 }
6811 }
6812}
6813impl From<crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError> for Error {
6814 fn from(err: crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError) -> Self {
6815 match err {
6816 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::EntityNotFoundException(inner) => {
6817 Error::EntityNotFoundException(inner)
6818 }
6819 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InternalServiceException(inner) => {
6820 Error::InternalServiceException(inner)
6821 }
6822 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::InvalidInputException(inner) => {
6823 Error::InvalidInputException(inner)
6824 }
6825 crate::operation::list_data_quality_statistics::ListDataQualityStatisticsError::Unhandled(inner) => Error::Unhandled(inner),
6826 }
6827 }
6828}
6829impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>> for Error
6830where
6831 R: Send + Sync + std::fmt::Debug + 'static,
6832{
6833 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_dev_endpoints::ListDevEndpointsError, R>) -> Self {
6834 match err {
6835 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6836 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6837 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6838 source: err.into(),
6839 }),
6840 }
6841 }
6842}
6843impl From<crate::operation::list_dev_endpoints::ListDevEndpointsError> for Error {
6844 fn from(err: crate::operation::list_dev_endpoints::ListDevEndpointsError) -> Self {
6845 match err {
6846 crate::operation::list_dev_endpoints::ListDevEndpointsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6847 crate::operation::list_dev_endpoints::ListDevEndpointsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6848 crate::operation::list_dev_endpoints::ListDevEndpointsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6849 crate::operation::list_dev_endpoints::ListDevEndpointsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6850 crate::operation::list_dev_endpoints::ListDevEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
6851 }
6852 }
6853}
6854impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>> for Error
6855where
6856 R: Send + Sync + std::fmt::Debug + 'static,
6857{
6858 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_entities::ListEntitiesError, R>) -> Self {
6859 match err {
6860 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6861 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6862 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6863 source: err.into(),
6864 }),
6865 }
6866 }
6867}
6868impl From<crate::operation::list_entities::ListEntitiesError> for Error {
6869 fn from(err: crate::operation::list_entities::ListEntitiesError) -> Self {
6870 match err {
6871 crate::operation::list_entities::ListEntitiesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6872 crate::operation::list_entities::ListEntitiesError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
6873 crate::operation::list_entities::ListEntitiesError::FederationSourceException(inner) => Error::FederationSourceException(inner),
6874 crate::operation::list_entities::ListEntitiesError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
6875 crate::operation::list_entities::ListEntitiesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6876 crate::operation::list_entities::ListEntitiesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
6877 crate::operation::list_entities::ListEntitiesError::ValidationException(inner) => Error::ValidationException(inner),
6878 crate::operation::list_entities::ListEntitiesError::Unhandled(inner) => Error::Unhandled(inner),
6879 }
6880 }
6881}
6882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_form_types::ListFormTypesError, R>> for Error
6883where
6884 R: Send + Sync + std::fmt::Debug + 'static,
6885{
6886 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_form_types::ListFormTypesError, R>) -> Self {
6887 match err {
6888 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6889 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6890 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6891 source: err.into(),
6892 }),
6893 }
6894 }
6895}
6896impl From<crate::operation::list_form_types::ListFormTypesError> for Error {
6897 fn from(err: crate::operation::list_form_types::ListFormTypesError) -> Self {
6898 match err {
6899 crate::operation::list_form_types::ListFormTypesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6900 crate::operation::list_form_types::ListFormTypesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6901 crate::operation::list_form_types::ListFormTypesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6902 crate::operation::list_form_types::ListFormTypesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6903 crate::operation::list_form_types::ListFormTypesError::Unhandled(inner) => Error::Unhandled(inner),
6904 }
6905 }
6906}
6907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossaries::ListGlossariesError, R>> for Error
6908where
6909 R: Send + Sync + std::fmt::Debug + 'static,
6910{
6911 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossaries::ListGlossariesError, R>) -> Self {
6912 match err {
6913 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6914 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6915 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6916 source: err.into(),
6917 }),
6918 }
6919 }
6920}
6921impl From<crate::operation::list_glossaries::ListGlossariesError> for Error {
6922 fn from(err: crate::operation::list_glossaries::ListGlossariesError) -> Self {
6923 match err {
6924 crate::operation::list_glossaries::ListGlossariesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6925 crate::operation::list_glossaries::ListGlossariesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6926 crate::operation::list_glossaries::ListGlossariesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6927 crate::operation::list_glossaries::ListGlossariesError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6928 crate::operation::list_glossaries::ListGlossariesError::Unhandled(inner) => Error::Unhandled(inner),
6929 }
6930 }
6931}
6932impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossary_terms::ListGlossaryTermsError, R>> for Error
6933where
6934 R: Send + Sync + std::fmt::Debug + 'static,
6935{
6936 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_glossary_terms::ListGlossaryTermsError, R>) -> Self {
6937 match err {
6938 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6939 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6940 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6941 source: err.into(),
6942 }),
6943 }
6944 }
6945}
6946impl From<crate::operation::list_glossary_terms::ListGlossaryTermsError> for Error {
6947 fn from(err: crate::operation::list_glossary_terms::ListGlossaryTermsError) -> Self {
6948 match err {
6949 crate::operation::list_glossary_terms::ListGlossaryTermsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
6950 crate::operation::list_glossary_terms::ListGlossaryTermsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
6951 crate::operation::list_glossary_terms::ListGlossaryTermsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
6952 crate::operation::list_glossary_terms::ListGlossaryTermsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
6953 crate::operation::list_glossary_terms::ListGlossaryTermsError::Unhandled(inner) => Error::Unhandled(inner),
6954 }
6955 }
6956}
6957impl<R>
6958 From<
6959 ::aws_smithy_runtime_api::client::result::SdkError<
6960 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6961 R,
6962 >,
6963 > for Error
6964where
6965 R: Send + Sync + std::fmt::Debug + 'static,
6966{
6967 fn from(
6968 err: ::aws_smithy_runtime_api::client::result::SdkError<
6969 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError,
6970 R,
6971 >,
6972 ) -> Self {
6973 match err {
6974 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
6975 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
6976 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
6977 source: err.into(),
6978 }),
6979 }
6980 }
6981}
6982impl From<crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError> for Error {
6983 fn from(err: crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError) -> Self {
6984 match err {
6985 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::AccessDeniedException(inner) => {
6986 Error::AccessDeniedException(inner)
6987 }
6988 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::EntityNotFoundException(inner) => {
6989 Error::EntityNotFoundException(inner)
6990 }
6991 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServerException(inner) => {
6992 Error::InternalServerException(inner)
6993 }
6994 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InternalServiceException(inner) => {
6995 Error::InternalServiceException(inner)
6996 }
6997 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::InvalidInputException(inner) => {
6998 Error::InvalidInputException(inner)
6999 }
7000 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ResourceNotFoundException(inner) => {
7001 Error::ResourceNotFoundException(inner)
7002 }
7003 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::ValidationException(inner) => {
7004 Error::ValidationException(inner)
7005 }
7006 crate::operation::list_integration_resource_properties::ListIntegrationResourcePropertiesError::Unhandled(inner) => {
7007 Error::Unhandled(inner)
7008 }
7009 }
7010 }
7011}
7012impl<R>
7013 From<
7014 ::aws_smithy_runtime_api::client::result::SdkError<
7015 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError,
7016 R,
7017 >,
7018 > for Error
7019where
7020 R: Send + Sync + std::fmt::Debug + 'static,
7021{
7022 fn from(
7023 err: ::aws_smithy_runtime_api::client::result::SdkError<
7024 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError,
7025 R,
7026 >,
7027 ) -> Self {
7028 match err {
7029 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7030 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7031 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7032 source: err.into(),
7033 }),
7034 }
7035 }
7036}
7037impl From<crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError> for Error {
7038 fn from(err: crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError) -> Self {
7039 match err {
7040 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::AccessDeniedException(inner) => {
7041 Error::AccessDeniedException(inner)
7042 }
7043 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
7044 Error::EntityNotFoundException(inner)
7045 }
7046 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InternalServerException(inner) => {
7047 Error::InternalServerException(inner)
7048 }
7049 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InternalServiceException(inner) => {
7050 Error::InternalServiceException(inner)
7051 }
7052 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::InvalidInputException(inner) => {
7053 Error::InvalidInputException(inner)
7054 }
7055 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
7056 Error::ResourceNotFoundException(inner)
7057 }
7058 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::ValidationException(inner) => {
7059 Error::ValidationException(inner)
7060 }
7061 crate::operation::list_integration_table_properties::ListIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
7062 }
7063 }
7064}
7065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_iterable_forms::ListIterableFormsError, R>> for Error
7066where
7067 R: Send + Sync + std::fmt::Debug + 'static,
7068{
7069 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_iterable_forms::ListIterableFormsError, R>) -> Self {
7070 match err {
7071 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7072 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7073 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7074 source: err.into(),
7075 }),
7076 }
7077 }
7078}
7079impl From<crate::operation::list_iterable_forms::ListIterableFormsError> for Error {
7080 fn from(err: crate::operation::list_iterable_forms::ListIterableFormsError) -> Self {
7081 match err {
7082 crate::operation::list_iterable_forms::ListIterableFormsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7083 crate::operation::list_iterable_forms::ListIterableFormsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7084 crate::operation::list_iterable_forms::ListIterableFormsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7085 crate::operation::list_iterable_forms::ListIterableFormsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7086 crate::operation::list_iterable_forms::ListIterableFormsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7087 crate::operation::list_iterable_forms::ListIterableFormsError::Unhandled(inner) => Error::Unhandled(inner),
7088 }
7089 }
7090}
7091impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>> for Error
7092where
7093 R: Send + Sync + std::fmt::Debug + 'static,
7094{
7095 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_jobs::ListJobsError, R>) -> Self {
7096 match err {
7097 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7098 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7099 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7100 source: err.into(),
7101 }),
7102 }
7103 }
7104}
7105impl From<crate::operation::list_jobs::ListJobsError> for Error {
7106 fn from(err: crate::operation::list_jobs::ListJobsError) -> Self {
7107 match err {
7108 crate::operation::list_jobs::ListJobsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7109 crate::operation::list_jobs::ListJobsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7110 crate::operation::list_jobs::ListJobsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7111 crate::operation::list_jobs::ListJobsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7112 crate::operation::list_jobs::ListJobsError::Unhandled(inner) => Error::Unhandled(inner),
7113 }
7114 }
7115}
7116impl<R>
7117 From<
7118 ::aws_smithy_runtime_api::client::result::SdkError<
7119 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
7120 R,
7121 >,
7122 > for Error
7123where
7124 R: Send + Sync + std::fmt::Debug + 'static,
7125{
7126 fn from(
7127 err: ::aws_smithy_runtime_api::client::result::SdkError<
7128 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError,
7129 R,
7130 >,
7131 ) -> Self {
7132 match err {
7133 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7134 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7135 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7136 source: err.into(),
7137 }),
7138 }
7139 }
7140}
7141impl From<crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError> for Error {
7142 fn from(err: crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError) -> Self {
7143 match err {
7144 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::AccessDeniedException(inner) => {
7145 Error::AccessDeniedException(inner)
7146 }
7147 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::InvalidInputException(inner) => {
7148 Error::InvalidInputException(inner)
7149 }
7150 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::OperationTimeoutException(
7151 inner,
7152 ) => Error::OperationTimeoutException(inner),
7153 crate::operation::list_materialized_view_refresh_task_runs::ListMaterializedViewRefreshTaskRunsError::Unhandled(inner) => {
7154 Error::Unhandled(inner)
7155 }
7156 }
7157 }
7158}
7159impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>> for Error
7160where
7161 R: Send + Sync + std::fmt::Debug + 'static,
7162{
7163 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_ml_transforms::ListMLTransformsError, R>) -> Self {
7164 match err {
7165 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7166 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7167 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7168 source: err.into(),
7169 }),
7170 }
7171 }
7172}
7173impl From<crate::operation::list_ml_transforms::ListMLTransformsError> for Error {
7174 fn from(err: crate::operation::list_ml_transforms::ListMLTransformsError) -> Self {
7175 match err {
7176 crate::operation::list_ml_transforms::ListMLTransformsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7177 crate::operation::list_ml_transforms::ListMLTransformsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7178 crate::operation::list_ml_transforms::ListMLTransformsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7179 crate::operation::list_ml_transforms::ListMLTransformsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7180 crate::operation::list_ml_transforms::ListMLTransformsError::Unhandled(inner) => Error::Unhandled(inner),
7181 }
7182 }
7183}
7184impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>> for Error
7185where
7186 R: Send + Sync + std::fmt::Debug + 'static,
7187{
7188 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_registries::ListRegistriesError, R>) -> Self {
7189 match err {
7190 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7191 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7192 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7193 source: err.into(),
7194 }),
7195 }
7196 }
7197}
7198impl From<crate::operation::list_registries::ListRegistriesError> for Error {
7199 fn from(err: crate::operation::list_registries::ListRegistriesError) -> Self {
7200 match err {
7201 crate::operation::list_registries::ListRegistriesError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7202 crate::operation::list_registries::ListRegistriesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7203 crate::operation::list_registries::ListRegistriesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7204 crate::operation::list_registries::ListRegistriesError::Unhandled(inner) => Error::Unhandled(inner),
7205 }
7206 }
7207}
7208impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>> for Error
7209where
7210 R: Send + Sync + std::fmt::Debug + 'static,
7211{
7212 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schemas::ListSchemasError, R>) -> Self {
7213 match err {
7214 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7215 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7216 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7217 source: err.into(),
7218 }),
7219 }
7220 }
7221}
7222impl From<crate::operation::list_schemas::ListSchemasError> for Error {
7223 fn from(err: crate::operation::list_schemas::ListSchemasError) -> Self {
7224 match err {
7225 crate::operation::list_schemas::ListSchemasError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7226 crate::operation::list_schemas::ListSchemasError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7227 crate::operation::list_schemas::ListSchemasError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7228 crate::operation::list_schemas::ListSchemasError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7229 crate::operation::list_schemas::ListSchemasError::Unhandled(inner) => Error::Unhandled(inner),
7230 }
7231 }
7232}
7233impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>> for Error
7234where
7235 R: Send + Sync + std::fmt::Debug + 'static,
7236{
7237 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_schema_versions::ListSchemaVersionsError, R>) -> Self {
7238 match err {
7239 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7240 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7241 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7242 source: err.into(),
7243 }),
7244 }
7245 }
7246}
7247impl From<crate::operation::list_schema_versions::ListSchemaVersionsError> for Error {
7248 fn from(err: crate::operation::list_schema_versions::ListSchemaVersionsError) -> Self {
7249 match err {
7250 crate::operation::list_schema_versions::ListSchemaVersionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7251 crate::operation::list_schema_versions::ListSchemaVersionsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7252 crate::operation::list_schema_versions::ListSchemaVersionsError::InternalServiceException(inner) => {
7253 Error::InternalServiceException(inner)
7254 }
7255 crate::operation::list_schema_versions::ListSchemaVersionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7256 crate::operation::list_schema_versions::ListSchemaVersionsError::Unhandled(inner) => Error::Unhandled(inner),
7257 }
7258 }
7259}
7260impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>> for Error
7261where
7262 R: Send + Sync + std::fmt::Debug + 'static,
7263{
7264 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_sessions::ListSessionsError, R>) -> Self {
7265 match err {
7266 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7267 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7268 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7269 source: err.into(),
7270 }),
7271 }
7272 }
7273}
7274impl From<crate::operation::list_sessions::ListSessionsError> for Error {
7275 fn from(err: crate::operation::list_sessions::ListSessionsError) -> Self {
7276 match err {
7277 crate::operation::list_sessions::ListSessionsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7278 crate::operation::list_sessions::ListSessionsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7279 crate::operation::list_sessions::ListSessionsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7280 crate::operation::list_sessions::ListSessionsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7281 crate::operation::list_sessions::ListSessionsError::Unhandled(inner) => Error::Unhandled(inner),
7282 }
7283 }
7284}
7285impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>> for Error
7286where
7287 R: Send + Sync + std::fmt::Debug + 'static,
7288{
7289 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_statements::ListStatementsError, R>) -> Self {
7290 match err {
7291 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7292 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7293 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7294 source: err.into(),
7295 }),
7296 }
7297 }
7298}
7299impl From<crate::operation::list_statements::ListStatementsError> for Error {
7300 fn from(err: crate::operation::list_statements::ListStatementsError) -> Self {
7301 match err {
7302 crate::operation::list_statements::ListStatementsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7303 crate::operation::list_statements::ListStatementsError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7304 crate::operation::list_statements::ListStatementsError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
7305 crate::operation::list_statements::ListStatementsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7306 crate::operation::list_statements::ListStatementsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7307 crate::operation::list_statements::ListStatementsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7308 crate::operation::list_statements::ListStatementsError::Unhandled(inner) => Error::Unhandled(inner),
7309 }
7310 }
7311}
7312impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>>
7313 for Error
7314where
7315 R: Send + Sync + std::fmt::Debug + 'static,
7316{
7317 fn from(
7318 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError, R>,
7319 ) -> Self {
7320 match err {
7321 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7322 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7323 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7324 source: err.into(),
7325 }),
7326 }
7327 }
7328}
7329impl From<crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError> for Error {
7330 fn from(err: crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError) -> Self {
7331 match err {
7332 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::AccessDeniedException(inner) => {
7333 Error::AccessDeniedException(inner)
7334 }
7335 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::EntityNotFoundException(inner) => {
7336 Error::EntityNotFoundException(inner)
7337 }
7338 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InternalServiceException(inner) => {
7339 Error::InternalServiceException(inner)
7340 }
7341 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::InvalidInputException(inner) => {
7342 Error::InvalidInputException(inner)
7343 }
7344 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7345 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::ValidationException(inner) => Error::ValidationException(inner),
7346 crate::operation::list_table_optimizer_runs::ListTableOptimizerRunsError::Unhandled(inner) => Error::Unhandled(inner),
7347 }
7348 }
7349}
7350impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>> for Error
7351where
7352 R: Send + Sync + std::fmt::Debug + 'static,
7353{
7354 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_triggers::ListTriggersError, R>) -> Self {
7355 match err {
7356 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7357 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7358 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7359 source: err.into(),
7360 }),
7361 }
7362 }
7363}
7364impl From<crate::operation::list_triggers::ListTriggersError> for Error {
7365 fn from(err: crate::operation::list_triggers::ListTriggersError) -> Self {
7366 match err {
7367 crate::operation::list_triggers::ListTriggersError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7368 crate::operation::list_triggers::ListTriggersError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7369 crate::operation::list_triggers::ListTriggersError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7370 crate::operation::list_triggers::ListTriggersError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7371 crate::operation::list_triggers::ListTriggersError::Unhandled(inner) => Error::Unhandled(inner),
7372 }
7373 }
7374}
7375impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>> for Error
7376where
7377 R: Send + Sync + std::fmt::Debug + 'static,
7378{
7379 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_usage_profiles::ListUsageProfilesError, R>) -> Self {
7380 match err {
7381 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7382 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7383 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7384 source: err.into(),
7385 }),
7386 }
7387 }
7388}
7389impl From<crate::operation::list_usage_profiles::ListUsageProfilesError> for Error {
7390 fn from(err: crate::operation::list_usage_profiles::ListUsageProfilesError) -> Self {
7391 match err {
7392 crate::operation::list_usage_profiles::ListUsageProfilesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7393 crate::operation::list_usage_profiles::ListUsageProfilesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7394 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationNotSupportedException(inner) => {
7395 Error::OperationNotSupportedException(inner)
7396 }
7397 crate::operation::list_usage_profiles::ListUsageProfilesError::OperationTimeoutException(inner) => {
7398 Error::OperationTimeoutException(inner)
7399 }
7400 crate::operation::list_usage_profiles::ListUsageProfilesError::Unhandled(inner) => Error::Unhandled(inner),
7401 }
7402 }
7403}
7404impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>> for Error
7405where
7406 R: Send + Sync + std::fmt::Debug + 'static,
7407{
7408 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_workflows::ListWorkflowsError, R>) -> Self {
7409 match err {
7410 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7411 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7412 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7413 source: err.into(),
7414 }),
7415 }
7416 }
7417}
7418impl From<crate::operation::list_workflows::ListWorkflowsError> for Error {
7419 fn from(err: crate::operation::list_workflows::ListWorkflowsError) -> Self {
7420 match err {
7421 crate::operation::list_workflows::ListWorkflowsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7422 crate::operation::list_workflows::ListWorkflowsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7423 crate::operation::list_workflows::ListWorkflowsError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7424 crate::operation::list_workflows::ListWorkflowsError::Unhandled(inner) => Error::Unhandled(inner),
7425 }
7426 }
7427}
7428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>> for Error
7429where
7430 R: Send + Sync + std::fmt::Debug + 'static,
7431{
7432 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::modify_integration::ModifyIntegrationError, R>) -> Self {
7433 match err {
7434 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7435 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7436 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7437 source: err.into(),
7438 }),
7439 }
7440 }
7441}
7442impl From<crate::operation::modify_integration::ModifyIntegrationError> for Error {
7443 fn from(err: crate::operation::modify_integration::ModifyIntegrationError) -> Self {
7444 match err {
7445 crate::operation::modify_integration::ModifyIntegrationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7446 crate::operation::modify_integration::ModifyIntegrationError::ConflictException(inner) => Error::ConflictException(inner),
7447 crate::operation::modify_integration::ModifyIntegrationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7448 crate::operation::modify_integration::ModifyIntegrationError::IntegrationConflictOperationFault(inner) => {
7449 Error::IntegrationConflictOperationFault(inner)
7450 }
7451 crate::operation::modify_integration::ModifyIntegrationError::IntegrationNotFoundFault(inner) => Error::IntegrationNotFoundFault(inner),
7452 crate::operation::modify_integration::ModifyIntegrationError::InternalServerException(inner) => Error::InternalServerException(inner),
7453 crate::operation::modify_integration::ModifyIntegrationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7454 crate::operation::modify_integration::ModifyIntegrationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7455 crate::operation::modify_integration::ModifyIntegrationError::InvalidIntegrationStateFault(inner) => {
7456 Error::InvalidIntegrationStateFault(inner)
7457 }
7458 crate::operation::modify_integration::ModifyIntegrationError::InvalidStateException(inner) => Error::InvalidStateException(inner),
7459 crate::operation::modify_integration::ModifyIntegrationError::ValidationException(inner) => Error::ValidationException(inner),
7460 crate::operation::modify_integration::ModifyIntegrationError::Unhandled(inner) => Error::Unhandled(inner),
7461 }
7462 }
7463}
7464impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset::PutAssetError, R>> for Error
7465where
7466 R: Send + Sync + std::fmt::Debug + 'static,
7467{
7468 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset::PutAssetError, R>) -> Self {
7469 match err {
7470 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7471 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7472 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7473 source: err.into(),
7474 }),
7475 }
7476 }
7477}
7478impl From<crate::operation::put_asset::PutAssetError> for Error {
7479 fn from(err: crate::operation::put_asset::PutAssetError) -> Self {
7480 match err {
7481 crate::operation::put_asset::PutAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7482 crate::operation::put_asset::PutAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
7483 crate::operation::put_asset::PutAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7484 crate::operation::put_asset::PutAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7485 crate::operation::put_asset::PutAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7486 crate::operation::put_asset::PutAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7487 crate::operation::put_asset::PutAssetError::Unhandled(inner) => Error::Unhandled(inner),
7488 }
7489 }
7490}
7491impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset_type::PutAssetTypeError, R>> for Error
7492where
7493 R: Send + Sync + std::fmt::Debug + 'static,
7494{
7495 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_asset_type::PutAssetTypeError, R>) -> Self {
7496 match err {
7497 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7498 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7499 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7500 source: err.into(),
7501 }),
7502 }
7503 }
7504}
7505impl From<crate::operation::put_asset_type::PutAssetTypeError> for Error {
7506 fn from(err: crate::operation::put_asset_type::PutAssetTypeError) -> Self {
7507 match err {
7508 crate::operation::put_asset_type::PutAssetTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7509 crate::operation::put_asset_type::PutAssetTypeError::ConcurrentModificationException(inner) => {
7510 Error::ConcurrentModificationException(inner)
7511 }
7512 crate::operation::put_asset_type::PutAssetTypeError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7513 crate::operation::put_asset_type::PutAssetTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7514 crate::operation::put_asset_type::PutAssetTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7515 crate::operation::put_asset_type::PutAssetTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7516 crate::operation::put_asset_type::PutAssetTypeError::Unhandled(inner) => Error::Unhandled(inner),
7517 }
7518 }
7519}
7520impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_attachment::PutAttachmentError, R>> for Error
7521where
7522 R: Send + Sync + std::fmt::Debug + 'static,
7523{
7524 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_attachment::PutAttachmentError, R>) -> Self {
7525 match err {
7526 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7527 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7528 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7529 source: err.into(),
7530 }),
7531 }
7532 }
7533}
7534impl From<crate::operation::put_attachment::PutAttachmentError> for Error {
7535 fn from(err: crate::operation::put_attachment::PutAttachmentError) -> Self {
7536 match err {
7537 crate::operation::put_attachment::PutAttachmentError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7538 crate::operation::put_attachment::PutAttachmentError::ConcurrentModificationException(inner) => {
7539 Error::ConcurrentModificationException(inner)
7540 }
7541 crate::operation::put_attachment::PutAttachmentError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7542 crate::operation::put_attachment::PutAttachmentError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7543 crate::operation::put_attachment::PutAttachmentError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7544 crate::operation::put_attachment::PutAttachmentError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7545 crate::operation::put_attachment::PutAttachmentError::Unhandled(inner) => Error::Unhandled(inner),
7546 }
7547 }
7548}
7549impl<R>
7550 From<
7551 ::aws_smithy_runtime_api::client::result::SdkError<
7552 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
7553 R,
7554 >,
7555 > for Error
7556where
7557 R: Send + Sync + std::fmt::Debug + 'static,
7558{
7559 fn from(
7560 err: ::aws_smithy_runtime_api::client::result::SdkError<
7561 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError,
7562 R,
7563 >,
7564 ) -> Self {
7565 match err {
7566 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7567 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7568 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7569 source: err.into(),
7570 }),
7571 }
7572 }
7573}
7574impl From<crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError> for Error {
7575 fn from(err: crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError) -> Self {
7576 match err {
7577 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InternalServiceException(inner) => {
7578 Error::InternalServiceException(inner)
7579 }
7580 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::InvalidInputException(inner) => {
7581 Error::InvalidInputException(inner)
7582 }
7583 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::OperationTimeoutException(inner) => {
7584 Error::OperationTimeoutException(inner)
7585 }
7586 crate::operation::put_data_catalog_encryption_settings::PutDataCatalogEncryptionSettingsError::Unhandled(inner) => {
7587 Error::Unhandled(inner)
7588 }
7589 }
7590 }
7591}
7592impl<R>
7593 From<
7594 ::aws_smithy_runtime_api::client::result::SdkError<
7595 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError,
7596 R,
7597 >,
7598 > for Error
7599where
7600 R: Send + Sync + std::fmt::Debug + 'static,
7601{
7602 fn from(
7603 err: ::aws_smithy_runtime_api::client::result::SdkError<
7604 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError,
7605 R,
7606 >,
7607 ) -> Self {
7608 match err {
7609 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7610 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7611 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7612 source: err.into(),
7613 }),
7614 }
7615 }
7616}
7617impl From<crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError> for Error {
7618 fn from(err: crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError) -> Self {
7619 match err {
7620 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::AccessDeniedException(inner) => {
7621 Error::AccessDeniedException(inner)
7622 }
7623 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::ConflictException(inner) => {
7624 Error::ConflictException(inner)
7625 }
7626 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::InternalServiceException(inner) => {
7627 Error::InternalServiceException(inner)
7628 }
7629 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::InvalidInputException(inner) => {
7630 Error::InvalidInputException(inner)
7631 }
7632 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::ThrottlingException(inner) => {
7633 Error::ThrottlingException(inner)
7634 }
7635 crate::operation::put_data_catalog_export_configuration::PutDataCatalogExportConfigurationError::Unhandled(inner) => {
7636 Error::Unhandled(inner)
7637 }
7638 }
7639 }
7640}
7641impl<R>
7642 From<
7643 ::aws_smithy_runtime_api::client::result::SdkError<
7644 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
7645 R,
7646 >,
7647 > for Error
7648where
7649 R: Send + Sync + std::fmt::Debug + 'static,
7650{
7651 fn from(
7652 err: ::aws_smithy_runtime_api::client::result::SdkError<
7653 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError,
7654 R,
7655 >,
7656 ) -> Self {
7657 match err {
7658 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7659 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7660 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7661 source: err.into(),
7662 }),
7663 }
7664 }
7665}
7666impl From<crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError> for Error {
7667 fn from(err: crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError) -> Self {
7668 match err {
7669 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::EntityNotFoundException(inner) => {
7670 Error::EntityNotFoundException(inner)
7671 }
7672 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InternalServiceException(inner) => {
7673 Error::InternalServiceException(inner)
7674 }
7675 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::InvalidInputException(inner) => {
7676 Error::InvalidInputException(inner)
7677 }
7678 crate::operation::put_data_quality_profile_annotation::PutDataQualityProfileAnnotationError::Unhandled(inner) => Error::Unhandled(inner),
7679 }
7680 }
7681}
7682impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_form_type::PutFormTypeError, R>> for Error
7683where
7684 R: Send + Sync + std::fmt::Debug + 'static,
7685{
7686 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_form_type::PutFormTypeError, R>) -> Self {
7687 match err {
7688 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7689 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7690 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7691 source: err.into(),
7692 }),
7693 }
7694 }
7695}
7696impl From<crate::operation::put_form_type::PutFormTypeError> for Error {
7697 fn from(err: crate::operation::put_form_type::PutFormTypeError) -> Self {
7698 match err {
7699 crate::operation::put_form_type::PutFormTypeError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
7700 crate::operation::put_form_type::PutFormTypeError::ConcurrentModificationException(inner) => {
7701 Error::ConcurrentModificationException(inner)
7702 }
7703 crate::operation::put_form_type::PutFormTypeError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7704 crate::operation::put_form_type::PutFormTypeError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7705 crate::operation::put_form_type::PutFormTypeError::ThrottlingException(inner) => Error::ThrottlingException(inner),
7706 crate::operation::put_form_type::PutFormTypeError::Unhandled(inner) => Error::Unhandled(inner),
7707 }
7708 }
7709}
7710impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>> for Error
7711where
7712 R: Send + Sync + std::fmt::Debug + 'static,
7713{
7714 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_resource_policy::PutResourcePolicyError, R>) -> Self {
7715 match err {
7716 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7717 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7718 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7719 source: err.into(),
7720 }),
7721 }
7722 }
7723}
7724impl From<crate::operation::put_resource_policy::PutResourcePolicyError> for Error {
7725 fn from(err: crate::operation::put_resource_policy::PutResourcePolicyError) -> Self {
7726 match err {
7727 crate::operation::put_resource_policy::PutResourcePolicyError::ConditionCheckFailureException(inner) => {
7728 Error::ConditionCheckFailureException(inner)
7729 }
7730 crate::operation::put_resource_policy::PutResourcePolicyError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7731 crate::operation::put_resource_policy::PutResourcePolicyError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7732 crate::operation::put_resource_policy::PutResourcePolicyError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7733 crate::operation::put_resource_policy::PutResourcePolicyError::OperationTimeoutException(inner) => {
7734 Error::OperationTimeoutException(inner)
7735 }
7736 crate::operation::put_resource_policy::PutResourcePolicyError::Unhandled(inner) => Error::Unhandled(inner),
7737 }
7738 }
7739}
7740impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>>
7741 for Error
7742where
7743 R: Send + Sync + std::fmt::Debug + 'static,
7744{
7745 fn from(
7746 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError, R>,
7747 ) -> Self {
7748 match err {
7749 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7750 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7751 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7752 source: err.into(),
7753 }),
7754 }
7755 }
7756}
7757impl From<crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError> for Error {
7758 fn from(err: crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError) -> Self {
7759 match err {
7760 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AccessDeniedException(inner) => {
7761 Error::AccessDeniedException(inner)
7762 }
7763 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::AlreadyExistsException(inner) => {
7764 Error::AlreadyExistsException(inner)
7765 }
7766 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::EntityNotFoundException(inner) => {
7767 Error::EntityNotFoundException(inner)
7768 }
7769 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::InvalidInputException(inner) => {
7770 Error::InvalidInputException(inner)
7771 }
7772 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::ResourceNumberLimitExceededException(inner) => {
7773 Error::ResourceNumberLimitExceededException(inner)
7774 }
7775 crate::operation::put_schema_version_metadata::PutSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7776 }
7777 }
7778}
7779impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>>
7780 for Error
7781where
7782 R: Send + Sync + std::fmt::Debug + 'static,
7783{
7784 fn from(
7785 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError, R>,
7786 ) -> Self {
7787 match err {
7788 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7789 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7790 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7791 source: err.into(),
7792 }),
7793 }
7794 }
7795}
7796impl From<crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError> for Error {
7797 fn from(err: crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError) -> Self {
7798 match err {
7799 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::AlreadyExistsException(inner) => {
7800 Error::AlreadyExistsException(inner)
7801 }
7802 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ConcurrentModificationException(inner) => {
7803 Error::ConcurrentModificationException(inner)
7804 }
7805 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::EntityNotFoundException(inner) => {
7806 Error::EntityNotFoundException(inner)
7807 }
7808 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InternalServiceException(inner) => {
7809 Error::InternalServiceException(inner)
7810 }
7811 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::InvalidInputException(inner) => {
7812 Error::InvalidInputException(inner)
7813 }
7814 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::OperationTimeoutException(inner) => {
7815 Error::OperationTimeoutException(inner)
7816 }
7817 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::ResourceNumberLimitExceededException(inner) => {
7818 Error::ResourceNumberLimitExceededException(inner)
7819 }
7820 crate::operation::put_workflow_run_properties::PutWorkflowRunPropertiesError::Unhandled(inner) => Error::Unhandled(inner),
7821 }
7822 }
7823}
7824impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>>
7825 for Error
7826where
7827 R: Send + Sync + std::fmt::Debug + 'static,
7828{
7829 fn from(
7830 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError, R>,
7831 ) -> Self {
7832 match err {
7833 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7834 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7835 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7836 source: err.into(),
7837 }),
7838 }
7839 }
7840}
7841impl From<crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError> for Error {
7842 fn from(err: crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError) -> Self {
7843 match err {
7844 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::AccessDeniedException(inner) => {
7845 Error::AccessDeniedException(inner)
7846 }
7847 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::EntityNotFoundException(inner) => {
7848 Error::EntityNotFoundException(inner)
7849 }
7850 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::InvalidInputException(inner) => {
7851 Error::InvalidInputException(inner)
7852 }
7853 crate::operation::query_schema_version_metadata::QuerySchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7854 }
7855 }
7856}
7857impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>> for Error
7858where
7859 R: Send + Sync + std::fmt::Debug + 'static,
7860{
7861 fn from(
7862 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_connection_type::RegisterConnectionTypeError, R>,
7863 ) -> Self {
7864 match err {
7865 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7866 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7867 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7868 source: err.into(),
7869 }),
7870 }
7871 }
7872}
7873impl From<crate::operation::register_connection_type::RegisterConnectionTypeError> for Error {
7874 fn from(err: crate::operation::register_connection_type::RegisterConnectionTypeError) -> Self {
7875 match err {
7876 crate::operation::register_connection_type::RegisterConnectionTypeError::AccessDeniedException(inner) => {
7877 Error::AccessDeniedException(inner)
7878 }
7879 crate::operation::register_connection_type::RegisterConnectionTypeError::InternalServiceException(inner) => {
7880 Error::InternalServiceException(inner)
7881 }
7882 crate::operation::register_connection_type::RegisterConnectionTypeError::InvalidInputException(inner) => {
7883 Error::InvalidInputException(inner)
7884 }
7885 crate::operation::register_connection_type::RegisterConnectionTypeError::OperationTimeoutException(inner) => {
7886 Error::OperationTimeoutException(inner)
7887 }
7888 crate::operation::register_connection_type::RegisterConnectionTypeError::ResourceNumberLimitExceededException(inner) => {
7889 Error::ResourceNumberLimitExceededException(inner)
7890 }
7891 crate::operation::register_connection_type::RegisterConnectionTypeError::ValidationException(inner) => Error::ValidationException(inner),
7892 crate::operation::register_connection_type::RegisterConnectionTypeError::Unhandled(inner) => Error::Unhandled(inner),
7893 }
7894 }
7895}
7896impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>> for Error
7897where
7898 R: Send + Sync + std::fmt::Debug + 'static,
7899{
7900 fn from(
7901 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::register_schema_version::RegisterSchemaVersionError, R>,
7902 ) -> Self {
7903 match err {
7904 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7905 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7906 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7907 source: err.into(),
7908 }),
7909 }
7910 }
7911}
7912impl From<crate::operation::register_schema_version::RegisterSchemaVersionError> for Error {
7913 fn from(err: crate::operation::register_schema_version::RegisterSchemaVersionError) -> Self {
7914 match err {
7915 crate::operation::register_schema_version::RegisterSchemaVersionError::AccessDeniedException(inner) => {
7916 Error::AccessDeniedException(inner)
7917 }
7918 crate::operation::register_schema_version::RegisterSchemaVersionError::ConcurrentModificationException(inner) => {
7919 Error::ConcurrentModificationException(inner)
7920 }
7921 crate::operation::register_schema_version::RegisterSchemaVersionError::EntityNotFoundException(inner) => {
7922 Error::EntityNotFoundException(inner)
7923 }
7924 crate::operation::register_schema_version::RegisterSchemaVersionError::InternalServiceException(inner) => {
7925 Error::InternalServiceException(inner)
7926 }
7927 crate::operation::register_schema_version::RegisterSchemaVersionError::InvalidInputException(inner) => {
7928 Error::InvalidInputException(inner)
7929 }
7930 crate::operation::register_schema_version::RegisterSchemaVersionError::ResourceNumberLimitExceededException(inner) => {
7931 Error::ResourceNumberLimitExceededException(inner)
7932 }
7933 crate::operation::register_schema_version::RegisterSchemaVersionError::Unhandled(inner) => Error::Unhandled(inner),
7934 }
7935 }
7936}
7937impl<R>
7938 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError, R>>
7939 for Error
7940where
7941 R: Send + Sync + std::fmt::Debug + 'static,
7942{
7943 fn from(
7944 err: ::aws_smithy_runtime_api::client::result::SdkError<
7945 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError,
7946 R,
7947 >,
7948 ) -> Self {
7949 match err {
7950 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7951 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7952 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7953 source: err.into(),
7954 }),
7955 }
7956 }
7957}
7958impl From<crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError> for Error {
7959 fn from(err: crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError) -> Self {
7960 match err {
7961 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::AccessDeniedException(inner) => {
7962 Error::AccessDeniedException(inner)
7963 }
7964 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::EntityNotFoundException(inner) => {
7965 Error::EntityNotFoundException(inner)
7966 }
7967 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::InvalidInputException(inner) => {
7968 Error::InvalidInputException(inner)
7969 }
7970 crate::operation::remove_schema_version_metadata::RemoveSchemaVersionMetadataError::Unhandled(inner) => Error::Unhandled(inner),
7971 }
7972 }
7973}
7974impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>> for Error
7975where
7976 R: Send + Sync + std::fmt::Debug + 'static,
7977{
7978 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::reset_job_bookmark::ResetJobBookmarkError, R>) -> Self {
7979 match err {
7980 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
7981 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
7982 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
7983 source: err.into(),
7984 }),
7985 }
7986 }
7987}
7988impl From<crate::operation::reset_job_bookmark::ResetJobBookmarkError> for Error {
7989 fn from(err: crate::operation::reset_job_bookmark::ResetJobBookmarkError) -> Self {
7990 match err {
7991 crate::operation::reset_job_bookmark::ResetJobBookmarkError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
7992 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InternalServiceException(inner) => Error::InternalServiceException(inner),
7993 crate::operation::reset_job_bookmark::ResetJobBookmarkError::InvalidInputException(inner) => Error::InvalidInputException(inner),
7994 crate::operation::reset_job_bookmark::ResetJobBookmarkError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
7995 crate::operation::reset_job_bookmark::ResetJobBookmarkError::Unhandled(inner) => Error::Unhandled(inner),
7996 }
7997 }
7998}
7999impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>> for Error
8000where
8001 R: Send + Sync + std::fmt::Debug + 'static,
8002{
8003 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::resume_workflow_run::ResumeWorkflowRunError, R>) -> Self {
8004 match err {
8005 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8006 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8007 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8008 source: err.into(),
8009 }),
8010 }
8011 }
8012}
8013impl From<crate::operation::resume_workflow_run::ResumeWorkflowRunError> for Error {
8014 fn from(err: crate::operation::resume_workflow_run::ResumeWorkflowRunError) -> Self {
8015 match err {
8016 crate::operation::resume_workflow_run::ResumeWorkflowRunError::ConcurrentRunsExceededException(inner) => {
8017 Error::ConcurrentRunsExceededException(inner)
8018 }
8019 crate::operation::resume_workflow_run::ResumeWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8020 crate::operation::resume_workflow_run::ResumeWorkflowRunError::IllegalWorkflowStateException(inner) => {
8021 Error::IllegalWorkflowStateException(inner)
8022 }
8023 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8024 crate::operation::resume_workflow_run::ResumeWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8025 crate::operation::resume_workflow_run::ResumeWorkflowRunError::OperationTimeoutException(inner) => {
8026 Error::OperationTimeoutException(inner)
8027 }
8028 crate::operation::resume_workflow_run::ResumeWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
8029 }
8030 }
8031}
8032impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>> for Error
8033where
8034 R: Send + Sync + std::fmt::Debug + 'static,
8035{
8036 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::run_statement::RunStatementError, R>) -> Self {
8037 match err {
8038 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8039 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8040 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8041 source: err.into(),
8042 }),
8043 }
8044 }
8045}
8046impl From<crate::operation::run_statement::RunStatementError> for Error {
8047 fn from(err: crate::operation::run_statement::RunStatementError) -> Self {
8048 match err {
8049 crate::operation::run_statement::RunStatementError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8050 crate::operation::run_statement::RunStatementError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8051 crate::operation::run_statement::RunStatementError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
8052 crate::operation::run_statement::RunStatementError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8053 crate::operation::run_statement::RunStatementError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8054 crate::operation::run_statement::RunStatementError::OperationNotSupportedException(inner) => Error::OperationNotSupportedException(inner),
8055 crate::operation::run_statement::RunStatementError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8056 crate::operation::run_statement::RunStatementError::ResourceNumberLimitExceededException(inner) => {
8057 Error::ResourceNumberLimitExceededException(inner)
8058 }
8059 crate::operation::run_statement::RunStatementError::SessionBusyException(inner) => Error::SessionBusyException(inner),
8060 crate::operation::run_statement::RunStatementError::ValidationException(inner) => Error::ValidationException(inner),
8061 crate::operation::run_statement::RunStatementError::Unhandled(inner) => Error::Unhandled(inner),
8062 }
8063 }
8064}
8065impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_assets::SearchAssetsError, R>> for Error
8066where
8067 R: Send + Sync + std::fmt::Debug + 'static,
8068{
8069 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_assets::SearchAssetsError, R>) -> Self {
8070 match err {
8071 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8072 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8073 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8074 source: err.into(),
8075 }),
8076 }
8077 }
8078}
8079impl From<crate::operation::search_assets::SearchAssetsError> for Error {
8080 fn from(err: crate::operation::search_assets::SearchAssetsError) -> Self {
8081 match err {
8082 crate::operation::search_assets::SearchAssetsError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8083 crate::operation::search_assets::SearchAssetsError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8084 crate::operation::search_assets::SearchAssetsError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8085 crate::operation::search_assets::SearchAssetsError::ThrottlingException(inner) => Error::ThrottlingException(inner),
8086 crate::operation::search_assets::SearchAssetsError::Unhandled(inner) => Error::Unhandled(inner),
8087 }
8088 }
8089}
8090impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>> for Error
8091where
8092 R: Send + Sync + std::fmt::Debug + 'static,
8093{
8094 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::search_tables::SearchTablesError, R>) -> Self {
8095 match err {
8096 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8097 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8098 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8099 source: err.into(),
8100 }),
8101 }
8102 }
8103}
8104impl From<crate::operation::search_tables::SearchTablesError> for Error {
8105 fn from(err: crate::operation::search_tables::SearchTablesError) -> Self {
8106 match err {
8107 crate::operation::search_tables::SearchTablesError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8108 crate::operation::search_tables::SearchTablesError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8109 crate::operation::search_tables::SearchTablesError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8110 crate::operation::search_tables::SearchTablesError::Unhandled(inner) => Error::Unhandled(inner),
8111 }
8112 }
8113}
8114impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>> for Error
8115where
8116 R: Send + Sync + std::fmt::Debug + 'static,
8117{
8118 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_blueprint_run::StartBlueprintRunError, R>) -> Self {
8119 match err {
8120 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8121 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8122 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8123 source: err.into(),
8124 }),
8125 }
8126 }
8127}
8128impl From<crate::operation::start_blueprint_run::StartBlueprintRunError> for Error {
8129 fn from(err: crate::operation::start_blueprint_run::StartBlueprintRunError) -> Self {
8130 match err {
8131 crate::operation::start_blueprint_run::StartBlueprintRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8132 crate::operation::start_blueprint_run::StartBlueprintRunError::IllegalBlueprintStateException(inner) => {
8133 Error::IllegalBlueprintStateException(inner)
8134 }
8135 crate::operation::start_blueprint_run::StartBlueprintRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8136 crate::operation::start_blueprint_run::StartBlueprintRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8137 crate::operation::start_blueprint_run::StartBlueprintRunError::OperationTimeoutException(inner) => {
8138 Error::OperationTimeoutException(inner)
8139 }
8140 crate::operation::start_blueprint_run::StartBlueprintRunError::ResourceNumberLimitExceededException(inner) => {
8141 Error::ResourceNumberLimitExceededException(inner)
8142 }
8143 crate::operation::start_blueprint_run::StartBlueprintRunError::Unhandled(inner) => Error::Unhandled(inner),
8144 }
8145 }
8146}
8147impl<R>
8148 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError, R>>
8149 for Error
8150where
8151 R: Send + Sync + std::fmt::Debug + 'static,
8152{
8153 fn from(
8154 err: ::aws_smithy_runtime_api::client::result::SdkError<
8155 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError,
8156 R,
8157 >,
8158 ) -> Self {
8159 match err {
8160 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8161 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8162 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8163 source: err.into(),
8164 }),
8165 }
8166 }
8167}
8168impl From<crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError> for Error {
8169 fn from(err: crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError) -> Self {
8170 match err {
8171 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::AccessDeniedException(inner) => {
8172 Error::AccessDeniedException(inner)
8173 }
8174 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ColumnStatisticsTaskRunningException(inner) => {
8175 Error::ColumnStatisticsTaskRunningException(inner)
8176 }
8177 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
8178 Error::EntityNotFoundException(inner)
8179 }
8180 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::InvalidInputException(inner) => {
8181 Error::InvalidInputException(inner)
8182 }
8183 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
8184 Error::OperationTimeoutException(inner)
8185 }
8186 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::ResourceNumberLimitExceededException(inner) => {
8187 Error::ResourceNumberLimitExceededException(inner)
8188 }
8189 crate::operation::start_column_statistics_task_run::StartColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8190 }
8191 }
8192}
8193impl<R>
8194 From<
8195 ::aws_smithy_runtime_api::client::result::SdkError<
8196 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
8197 R,
8198 >,
8199 > for Error
8200where
8201 R: Send + Sync + std::fmt::Debug + 'static,
8202{
8203 fn from(
8204 err: ::aws_smithy_runtime_api::client::result::SdkError<
8205 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError,
8206 R,
8207 >,
8208 ) -> Self {
8209 match err {
8210 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8211 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8212 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8213 source: err.into(),
8214 }),
8215 }
8216 }
8217}
8218impl From<crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError> for Error {
8219 fn from(err: crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError) -> Self {
8220 match err {
8221 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::AccessDeniedException(inner) => {
8222 Error::AccessDeniedException(inner)
8223 }
8224 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::EntityNotFoundException(
8225 inner,
8226 ) => Error::EntityNotFoundException(inner),
8227 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
8228 Error::InvalidInputException(inner)
8229 }
8230 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
8231 inner,
8232 ) => Error::OperationTimeoutException(inner),
8233 crate::operation::start_column_statistics_task_run_schedule::StartColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
8234 Error::Unhandled(inner)
8235 }
8236 }
8237 }
8238}
8239impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>> for Error
8240where
8241 R: Send + Sync + std::fmt::Debug + 'static,
8242{
8243 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler::StartCrawlerError, R>) -> Self {
8244 match err {
8245 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8246 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8247 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8248 source: err.into(),
8249 }),
8250 }
8251 }
8252}
8253impl From<crate::operation::start_crawler::StartCrawlerError> for Error {
8254 fn from(err: crate::operation::start_crawler::StartCrawlerError) -> Self {
8255 match err {
8256 crate::operation::start_crawler::StartCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
8257 crate::operation::start_crawler::StartCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8258 crate::operation::start_crawler::StartCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8259 crate::operation::start_crawler::StartCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
8260 }
8261 }
8262}
8263impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>> for Error
8264where
8265 R: Send + Sync + std::fmt::Debug + 'static,
8266{
8267 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_crawler_schedule::StartCrawlerScheduleError, R>) -> Self {
8268 match err {
8269 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8270 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8271 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8272 source: err.into(),
8273 }),
8274 }
8275 }
8276}
8277impl From<crate::operation::start_crawler_schedule::StartCrawlerScheduleError> for Error {
8278 fn from(err: crate::operation::start_crawler_schedule::StartCrawlerScheduleError) -> Self {
8279 match err {
8280 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::EntityNotFoundException(inner) => {
8281 Error::EntityNotFoundException(inner)
8282 }
8283 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::NoScheduleException(inner) => Error::NoScheduleException(inner),
8284 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::OperationTimeoutException(inner) => {
8285 Error::OperationTimeoutException(inner)
8286 }
8287 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerRunningException(inner) => {
8288 Error::SchedulerRunningException(inner)
8289 }
8290 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::SchedulerTransitioningException(inner) => {
8291 Error::SchedulerTransitioningException(inner)
8292 }
8293 crate::operation::start_crawler_schedule::StartCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8294 }
8295 }
8296}
8297impl<R>
8298 From<
8299 ::aws_smithy_runtime_api::client::result::SdkError<
8300 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
8301 R,
8302 >,
8303 > for Error
8304where
8305 R: Send + Sync + std::fmt::Debug + 'static,
8306{
8307 fn from(
8308 err: ::aws_smithy_runtime_api::client::result::SdkError<
8309 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError,
8310 R,
8311 >,
8312 ) -> Self {
8313 match err {
8314 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8315 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8316 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8317 source: err.into(),
8318 }),
8319 }
8320 }
8321}
8322impl From<crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError> for Error {
8323 fn from(err: crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError) -> Self {
8324 match err {
8325 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::ConflictException(inner) => {
8326 Error::ConflictException(inner)
8327 }
8328 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InternalServiceException(
8329 inner,
8330 ) => Error::InternalServiceException(inner),
8331 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::InvalidInputException(
8332 inner,
8333 ) => Error::InvalidInputException(inner),
8334 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::OperationTimeoutException(
8335 inner,
8336 ) => Error::OperationTimeoutException(inner),
8337 crate::operation::start_data_quality_rule_recommendation_run::StartDataQualityRuleRecommendationRunError::Unhandled(inner) => {
8338 Error::Unhandled(inner)
8339 }
8340 }
8341 }
8342}
8343impl<R>
8344 From<
8345 ::aws_smithy_runtime_api::client::result::SdkError<
8346 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
8347 R,
8348 >,
8349 > for Error
8350where
8351 R: Send + Sync + std::fmt::Debug + 'static,
8352{
8353 fn from(
8354 err: ::aws_smithy_runtime_api::client::result::SdkError<
8355 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError,
8356 R,
8357 >,
8358 ) -> Self {
8359 match err {
8360 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8361 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8362 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8363 source: err.into(),
8364 }),
8365 }
8366 }
8367}
8368impl From<crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError> for Error {
8369 fn from(err: crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError) -> Self {
8370 match err {
8371 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::ConflictException(inner) => {
8372 Error::ConflictException(inner)
8373 }
8374 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::EntityNotFoundException(
8375 inner,
8376 ) => Error::EntityNotFoundException(inner),
8377 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InternalServiceException(
8378 inner,
8379 ) => Error::InternalServiceException(inner),
8380 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::InvalidInputException(inner) => {
8381 Error::InvalidInputException(inner)
8382 }
8383 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::OperationTimeoutException(
8384 inner,
8385 ) => Error::OperationTimeoutException(inner),
8386 crate::operation::start_data_quality_ruleset_evaluation_run::StartDataQualityRulesetEvaluationRunError::Unhandled(inner) => {
8387 Error::Unhandled(inner)
8388 }
8389 }
8390 }
8391}
8392impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>>
8393 for Error
8394where
8395 R: Send + Sync + std::fmt::Debug + 'static,
8396{
8397 fn from(
8398 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError, R>,
8399 ) -> Self {
8400 match err {
8401 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8402 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8403 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8404 source: err.into(),
8405 }),
8406 }
8407 }
8408}
8409impl From<crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError> for Error {
8410 fn from(err: crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError) -> Self {
8411 match err {
8412 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::EntityNotFoundException(inner) => {
8413 Error::EntityNotFoundException(inner)
8414 }
8415 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InternalServiceException(inner) => {
8416 Error::InternalServiceException(inner)
8417 }
8418 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::InvalidInputException(inner) => {
8419 Error::InvalidInputException(inner)
8420 }
8421 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::OperationTimeoutException(inner) => {
8422 Error::OperationTimeoutException(inner)
8423 }
8424 crate::operation::start_export_labels_task_run::StartExportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8425 }
8426 }
8427}
8428impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>>
8429 for Error
8430where
8431 R: Send + Sync + std::fmt::Debug + 'static,
8432{
8433 fn from(
8434 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError, R>,
8435 ) -> Self {
8436 match err {
8437 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8438 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8439 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8440 source: err.into(),
8441 }),
8442 }
8443 }
8444}
8445impl From<crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError> for Error {
8446 fn from(err: crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError) -> Self {
8447 match err {
8448 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::EntityNotFoundException(inner) => {
8449 Error::EntityNotFoundException(inner)
8450 }
8451 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InternalServiceException(inner) => {
8452 Error::InternalServiceException(inner)
8453 }
8454 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::InvalidInputException(inner) => {
8455 Error::InvalidInputException(inner)
8456 }
8457 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::OperationTimeoutException(inner) => {
8458 Error::OperationTimeoutException(inner)
8459 }
8460 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::ResourceNumberLimitExceededException(inner) => {
8461 Error::ResourceNumberLimitExceededException(inner)
8462 }
8463 crate::operation::start_import_labels_task_run::StartImportLabelsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8464 }
8465 }
8466}
8467impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>> for Error
8468where
8469 R: Send + Sync + std::fmt::Debug + 'static,
8470{
8471 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_job_run::StartJobRunError, R>) -> Self {
8472 match err {
8473 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8474 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8475 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8476 source: err.into(),
8477 }),
8478 }
8479 }
8480}
8481impl From<crate::operation::start_job_run::StartJobRunError> for Error {
8482 fn from(err: crate::operation::start_job_run::StartJobRunError) -> Self {
8483 match err {
8484 crate::operation::start_job_run::StartJobRunError::ConcurrentRunsExceededException(inner) => {
8485 Error::ConcurrentRunsExceededException(inner)
8486 }
8487 crate::operation::start_job_run::StartJobRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8488 crate::operation::start_job_run::StartJobRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8489 crate::operation::start_job_run::StartJobRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8490 crate::operation::start_job_run::StartJobRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8491 crate::operation::start_job_run::StartJobRunError::ResourceNumberLimitExceededException(inner) => {
8492 Error::ResourceNumberLimitExceededException(inner)
8493 }
8494 crate::operation::start_job_run::StartJobRunError::Unhandled(inner) => Error::Unhandled(inner),
8495 }
8496 }
8497}
8498impl<R>
8499 From<
8500 ::aws_smithy_runtime_api::client::result::SdkError<
8501 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
8502 R,
8503 >,
8504 > for Error
8505where
8506 R: Send + Sync + std::fmt::Debug + 'static,
8507{
8508 fn from(
8509 err: ::aws_smithy_runtime_api::client::result::SdkError<
8510 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError,
8511 R,
8512 >,
8513 ) -> Self {
8514 match err {
8515 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8516 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8517 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8518 source: err.into(),
8519 }),
8520 }
8521 }
8522}
8523impl From<crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError> for Error {
8524 fn from(err: crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError) -> Self {
8525 match err {
8526 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8527 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8528 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8529 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskRunningException(inner) => Error::MaterializedViewRefreshTaskRunningException(inner),
8530 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8531 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::ResourceNumberLimitExceededException(inner) => Error::ResourceNumberLimitExceededException(inner),
8532 crate::operation::start_materialized_view_refresh_task_run::StartMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8533 }
8534 }
8535}
8536impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>>
8537 for Error
8538where
8539 R: Send + Sync + std::fmt::Debug + 'static,
8540{
8541 fn from(
8542 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError, R>,
8543 ) -> Self {
8544 match err {
8545 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8546 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8547 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8548 source: err.into(),
8549 }),
8550 }
8551 }
8552}
8553impl From<crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError> for Error {
8554 fn from(err: crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError) -> Self {
8555 match err {
8556 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::ConcurrentRunsExceededException(inner) => {
8557 Error::ConcurrentRunsExceededException(inner)
8558 }
8559 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::EntityNotFoundException(inner) => {
8560 Error::EntityNotFoundException(inner)
8561 }
8562 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InternalServiceException(inner) => {
8563 Error::InternalServiceException(inner)
8564 }
8565 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::InvalidInputException(inner) => {
8566 Error::InvalidInputException(inner)
8567 }
8568 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::MlTransformNotReadyException(inner) => {
8569 Error::MlTransformNotReadyException(inner)
8570 }
8571 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::OperationTimeoutException(inner) => {
8572 Error::OperationTimeoutException(inner)
8573 }
8574 crate::operation::start_ml_evaluation_task_run::StartMLEvaluationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8575 }
8576 }
8577}
8578impl<R>
8579 From<
8580 ::aws_smithy_runtime_api::client::result::SdkError<
8581 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
8582 R,
8583 >,
8584 > for Error
8585where
8586 R: Send + Sync + std::fmt::Debug + 'static,
8587{
8588 fn from(
8589 err: ::aws_smithy_runtime_api::client::result::SdkError<
8590 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError,
8591 R,
8592 >,
8593 ) -> Self {
8594 match err {
8595 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8596 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8597 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8598 source: err.into(),
8599 }),
8600 }
8601 }
8602}
8603impl From<crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError> for Error {
8604 fn from(err: crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError) -> Self {
8605 match err {
8606 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::ConcurrentRunsExceededException(inner) => Error::ConcurrentRunsExceededException(inner),
8607 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8608 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8609 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8610 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8611 crate::operation::start_ml_labeling_set_generation_task_run::StartMLLabelingSetGenerationTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8612 }
8613 }
8614}
8615impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>> for Error
8616where
8617 R: Send + Sync + std::fmt::Debug + 'static,
8618{
8619 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_trigger::StartTriggerError, R>) -> Self {
8620 match err {
8621 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8622 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8623 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8624 source: err.into(),
8625 }),
8626 }
8627 }
8628}
8629impl From<crate::operation::start_trigger::StartTriggerError> for Error {
8630 fn from(err: crate::operation::start_trigger::StartTriggerError) -> Self {
8631 match err {
8632 crate::operation::start_trigger::StartTriggerError::ConcurrentRunsExceededException(inner) => {
8633 Error::ConcurrentRunsExceededException(inner)
8634 }
8635 crate::operation::start_trigger::StartTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8636 crate::operation::start_trigger::StartTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8637 crate::operation::start_trigger::StartTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8638 crate::operation::start_trigger::StartTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8639 crate::operation::start_trigger::StartTriggerError::ResourceNumberLimitExceededException(inner) => {
8640 Error::ResourceNumberLimitExceededException(inner)
8641 }
8642 crate::operation::start_trigger::StartTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8643 }
8644 }
8645}
8646impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>> for Error
8647where
8648 R: Send + Sync + std::fmt::Debug + 'static,
8649{
8650 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::start_workflow_run::StartWorkflowRunError, R>) -> Self {
8651 match err {
8652 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8653 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8654 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8655 source: err.into(),
8656 }),
8657 }
8658 }
8659}
8660impl From<crate::operation::start_workflow_run::StartWorkflowRunError> for Error {
8661 fn from(err: crate::operation::start_workflow_run::StartWorkflowRunError) -> Self {
8662 match err {
8663 crate::operation::start_workflow_run::StartWorkflowRunError::ConcurrentRunsExceededException(inner) => {
8664 Error::ConcurrentRunsExceededException(inner)
8665 }
8666 crate::operation::start_workflow_run::StartWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8667 crate::operation::start_workflow_run::StartWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8668 crate::operation::start_workflow_run::StartWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8669 crate::operation::start_workflow_run::StartWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8670 crate::operation::start_workflow_run::StartWorkflowRunError::ResourceNumberLimitExceededException(inner) => {
8671 Error::ResourceNumberLimitExceededException(inner)
8672 }
8673 crate::operation::start_workflow_run::StartWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
8674 }
8675 }
8676}
8677impl<R>
8678 From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError, R>>
8679 for Error
8680where
8681 R: Send + Sync + std::fmt::Debug + 'static,
8682{
8683 fn from(
8684 err: ::aws_smithy_runtime_api::client::result::SdkError<
8685 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError,
8686 R,
8687 >,
8688 ) -> Self {
8689 match err {
8690 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8691 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8692 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8693 source: err.into(),
8694 }),
8695 }
8696 }
8697}
8698impl From<crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError> for Error {
8699 fn from(err: crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError) -> Self {
8700 match err {
8701 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskNotRunningException(inner) => {
8702 Error::ColumnStatisticsTaskNotRunningException(inner)
8703 }
8704 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::ColumnStatisticsTaskStoppingException(inner) => {
8705 Error::ColumnStatisticsTaskStoppingException(inner)
8706 }
8707 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::EntityNotFoundException(inner) => {
8708 Error::EntityNotFoundException(inner)
8709 }
8710 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::OperationTimeoutException(inner) => {
8711 Error::OperationTimeoutException(inner)
8712 }
8713 crate::operation::stop_column_statistics_task_run::StopColumnStatisticsTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8714 }
8715 }
8716}
8717impl<R>
8718 From<
8719 ::aws_smithy_runtime_api::client::result::SdkError<
8720 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
8721 R,
8722 >,
8723 > for Error
8724where
8725 R: Send + Sync + std::fmt::Debug + 'static,
8726{
8727 fn from(
8728 err: ::aws_smithy_runtime_api::client::result::SdkError<
8729 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError,
8730 R,
8731 >,
8732 ) -> Self {
8733 match err {
8734 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8735 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8736 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8737 source: err.into(),
8738 }),
8739 }
8740 }
8741}
8742impl From<crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError> for Error {
8743 fn from(err: crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError) -> Self {
8744 match err {
8745 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::EntityNotFoundException(inner) => {
8746 Error::EntityNotFoundException(inner)
8747 }
8748 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::InvalidInputException(inner) => {
8749 Error::InvalidInputException(inner)
8750 }
8751 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::OperationTimeoutException(
8752 inner,
8753 ) => Error::OperationTimeoutException(inner),
8754 crate::operation::stop_column_statistics_task_run_schedule::StopColumnStatisticsTaskRunScheduleError::Unhandled(inner) => {
8755 Error::Unhandled(inner)
8756 }
8757 }
8758 }
8759}
8760impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>> for Error
8761where
8762 R: Send + Sync + std::fmt::Debug + 'static,
8763{
8764 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler::StopCrawlerError, R>) -> Self {
8765 match err {
8766 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8767 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8768 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8769 source: err.into(),
8770 }),
8771 }
8772 }
8773}
8774impl From<crate::operation::stop_crawler::StopCrawlerError> for Error {
8775 fn from(err: crate::operation::stop_crawler::StopCrawlerError) -> Self {
8776 match err {
8777 crate::operation::stop_crawler::StopCrawlerError::CrawlerNotRunningException(inner) => Error::CrawlerNotRunningException(inner),
8778 crate::operation::stop_crawler::StopCrawlerError::CrawlerStoppingException(inner) => Error::CrawlerStoppingException(inner),
8779 crate::operation::stop_crawler::StopCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8780 crate::operation::stop_crawler::StopCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8781 crate::operation::stop_crawler::StopCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
8782 }
8783 }
8784}
8785impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>> for Error
8786where
8787 R: Send + Sync + std::fmt::Debug + 'static,
8788{
8789 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError, R>) -> Self {
8790 match err {
8791 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8792 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8793 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8794 source: err.into(),
8795 }),
8796 }
8797 }
8798}
8799impl From<crate::operation::stop_crawler_schedule::StopCrawlerScheduleError> for Error {
8800 fn from(err: crate::operation::stop_crawler_schedule::StopCrawlerScheduleError) -> Self {
8801 match err {
8802 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::EntityNotFoundException(inner) => {
8803 Error::EntityNotFoundException(inner)
8804 }
8805 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::OperationTimeoutException(inner) => {
8806 Error::OperationTimeoutException(inner)
8807 }
8808 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerNotRunningException(inner) => {
8809 Error::SchedulerNotRunningException(inner)
8810 }
8811 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::SchedulerTransitioningException(inner) => {
8812 Error::SchedulerTransitioningException(inner)
8813 }
8814 crate::operation::stop_crawler_schedule::StopCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
8815 }
8816 }
8817}
8818impl<R>
8819 From<
8820 ::aws_smithy_runtime_api::client::result::SdkError<
8821 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
8822 R,
8823 >,
8824 > for Error
8825where
8826 R: Send + Sync + std::fmt::Debug + 'static,
8827{
8828 fn from(
8829 err: ::aws_smithy_runtime_api::client::result::SdkError<
8830 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError,
8831 R,
8832 >,
8833 ) -> Self {
8834 match err {
8835 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8836 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8837 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8838 source: err.into(),
8839 }),
8840 }
8841 }
8842}
8843impl From<crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError> for Error {
8844 fn from(err: crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError) -> Self {
8845 match err {
8846 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8847 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8848 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskNotRunningException(inner) => Error::MaterializedViewRefreshTaskNotRunningException(inner),
8849 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::MaterializedViewRefreshTaskStoppingException(inner) => Error::MaterializedViewRefreshTaskStoppingException(inner),
8850 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8851 crate::operation::stop_materialized_view_refresh_task_run::StopMaterializedViewRefreshTaskRunError::Unhandled(inner) => Error::Unhandled(inner),
8852 }
8853 }
8854}
8855impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>> for Error
8856where
8857 R: Send + Sync + std::fmt::Debug + 'static,
8858{
8859 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_session::StopSessionError, R>) -> Self {
8860 match err {
8861 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8862 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8863 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8864 source: err.into(),
8865 }),
8866 }
8867 }
8868}
8869impl From<crate::operation::stop_session::StopSessionError> for Error {
8870 fn from(err: crate::operation::stop_session::StopSessionError) -> Self {
8871 match err {
8872 crate::operation::stop_session::StopSessionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8873 crate::operation::stop_session::StopSessionError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8874 crate::operation::stop_session::StopSessionError::IllegalSessionStateException(inner) => Error::IllegalSessionStateException(inner),
8875 crate::operation::stop_session::StopSessionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8876 crate::operation::stop_session::StopSessionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8877 crate::operation::stop_session::StopSessionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8878 crate::operation::stop_session::StopSessionError::Unhandled(inner) => Error::Unhandled(inner),
8879 }
8880 }
8881}
8882impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>> for Error
8883where
8884 R: Send + Sync + std::fmt::Debug + 'static,
8885{
8886 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_trigger::StopTriggerError, R>) -> Self {
8887 match err {
8888 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8889 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8890 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8891 source: err.into(),
8892 }),
8893 }
8894 }
8895}
8896impl From<crate::operation::stop_trigger::StopTriggerError> for Error {
8897 fn from(err: crate::operation::stop_trigger::StopTriggerError) -> Self {
8898 match err {
8899 crate::operation::stop_trigger::StopTriggerError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
8900 crate::operation::stop_trigger::StopTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8901 crate::operation::stop_trigger::StopTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8902 crate::operation::stop_trigger::StopTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8903 crate::operation::stop_trigger::StopTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8904 crate::operation::stop_trigger::StopTriggerError::Unhandled(inner) => Error::Unhandled(inner),
8905 }
8906 }
8907}
8908impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>> for Error
8909where
8910 R: Send + Sync + std::fmt::Debug + 'static,
8911{
8912 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::stop_workflow_run::StopWorkflowRunError, R>) -> Self {
8913 match err {
8914 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8915 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8916 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8917 source: err.into(),
8918 }),
8919 }
8920 }
8921}
8922impl From<crate::operation::stop_workflow_run::StopWorkflowRunError> for Error {
8923 fn from(err: crate::operation::stop_workflow_run::StopWorkflowRunError) -> Self {
8924 match err {
8925 crate::operation::stop_workflow_run::StopWorkflowRunError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8926 crate::operation::stop_workflow_run::StopWorkflowRunError::IllegalWorkflowStateException(inner) => {
8927 Error::IllegalWorkflowStateException(inner)
8928 }
8929 crate::operation::stop_workflow_run::StopWorkflowRunError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8930 crate::operation::stop_workflow_run::StopWorkflowRunError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8931 crate::operation::stop_workflow_run::StopWorkflowRunError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8932 crate::operation::stop_workflow_run::StopWorkflowRunError::Unhandled(inner) => Error::Unhandled(inner),
8933 }
8934 }
8935}
8936impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
8937where
8938 R: Send + Sync + std::fmt::Debug + 'static,
8939{
8940 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
8941 match err {
8942 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8943 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8944 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8945 source: err.into(),
8946 }),
8947 }
8948 }
8949}
8950impl From<crate::operation::tag_resource::TagResourceError> for Error {
8951 fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
8952 match err {
8953 crate::operation::tag_resource::TagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8954 crate::operation::tag_resource::TagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8955 crate::operation::tag_resource::TagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8956 crate::operation::tag_resource::TagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8957 crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
8958 }
8959 }
8960}
8961impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>> for Error
8962where
8963 R: Send + Sync + std::fmt::Debug + 'static,
8964{
8965 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::test_connection::TestConnectionError, R>) -> Self {
8966 match err {
8967 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
8968 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
8969 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
8970 source: err.into(),
8971 }),
8972 }
8973 }
8974}
8975impl From<crate::operation::test_connection::TestConnectionError> for Error {
8976 fn from(err: crate::operation::test_connection::TestConnectionError) -> Self {
8977 match err {
8978 crate::operation::test_connection::TestConnectionError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
8979 crate::operation::test_connection::TestConnectionError::ConflictException(inner) => Error::ConflictException(inner),
8980 crate::operation::test_connection::TestConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
8981 crate::operation::test_connection::TestConnectionError::FederationSourceException(inner) => Error::FederationSourceException(inner),
8982 crate::operation::test_connection::TestConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
8983 crate::operation::test_connection::TestConnectionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
8984 crate::operation::test_connection::TestConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
8985 crate::operation::test_connection::TestConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
8986 crate::operation::test_connection::TestConnectionError::ResourceNumberLimitExceededException(inner) => {
8987 Error::ResourceNumberLimitExceededException(inner)
8988 }
8989 crate::operation::test_connection::TestConnectionError::Unhandled(inner) => Error::Unhandled(inner),
8990 }
8991 }
8992}
8993impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
8994where
8995 R: Send + Sync + std::fmt::Debug + 'static,
8996{
8997 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
8998 match err {
8999 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9000 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9001 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9002 source: err.into(),
9003 }),
9004 }
9005 }
9006}
9007impl From<crate::operation::untag_resource::UntagResourceError> for Error {
9008 fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
9009 match err {
9010 crate::operation::untag_resource::UntagResourceError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9011 crate::operation::untag_resource::UntagResourceError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9012 crate::operation::untag_resource::UntagResourceError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9013 crate::operation::untag_resource::UntagResourceError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9014 crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
9015 }
9016 }
9017}
9018impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset::UpdateAssetError, R>> for Error
9019where
9020 R: Send + Sync + std::fmt::Debug + 'static,
9021{
9022 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_asset::UpdateAssetError, R>) -> Self {
9023 match err {
9024 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9025 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9026 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9027 source: err.into(),
9028 }),
9029 }
9030 }
9031}
9032impl From<crate::operation::update_asset::UpdateAssetError> for Error {
9033 fn from(err: crate::operation::update_asset::UpdateAssetError) -> Self {
9034 match err {
9035 crate::operation::update_asset::UpdateAssetError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9036 crate::operation::update_asset::UpdateAssetError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9037 crate::operation::update_asset::UpdateAssetError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9038 crate::operation::update_asset::UpdateAssetError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9039 crate::operation::update_asset::UpdateAssetError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9040 crate::operation::update_asset::UpdateAssetError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9041 crate::operation::update_asset::UpdateAssetError::Unhandled(inner) => Error::Unhandled(inner),
9042 }
9043 }
9044}
9045impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>> for Error
9046where
9047 R: Send + Sync + std::fmt::Debug + 'static,
9048{
9049 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_blueprint::UpdateBlueprintError, R>) -> Self {
9050 match err {
9051 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9052 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9053 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9054 source: err.into(),
9055 }),
9056 }
9057 }
9058}
9059impl From<crate::operation::update_blueprint::UpdateBlueprintError> for Error {
9060 fn from(err: crate::operation::update_blueprint::UpdateBlueprintError) -> Self {
9061 match err {
9062 crate::operation::update_blueprint::UpdateBlueprintError::ConcurrentModificationException(inner) => {
9063 Error::ConcurrentModificationException(inner)
9064 }
9065 crate::operation::update_blueprint::UpdateBlueprintError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9066 crate::operation::update_blueprint::UpdateBlueprintError::IllegalBlueprintStateException(inner) => {
9067 Error::IllegalBlueprintStateException(inner)
9068 }
9069 crate::operation::update_blueprint::UpdateBlueprintError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9070 crate::operation::update_blueprint::UpdateBlueprintError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9071 crate::operation::update_blueprint::UpdateBlueprintError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9072 crate::operation::update_blueprint::UpdateBlueprintError::Unhandled(inner) => Error::Unhandled(inner),
9073 }
9074 }
9075}
9076impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>> for Error
9077where
9078 R: Send + Sync + std::fmt::Debug + 'static,
9079{
9080 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_catalog::UpdateCatalogError, R>) -> Self {
9081 match err {
9082 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9083 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9084 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9085 source: err.into(),
9086 }),
9087 }
9088 }
9089}
9090impl From<crate::operation::update_catalog::UpdateCatalogError> for Error {
9091 fn from(err: crate::operation::update_catalog::UpdateCatalogError) -> Self {
9092 match err {
9093 crate::operation::update_catalog::UpdateCatalogError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9094 crate::operation::update_catalog::UpdateCatalogError::ConcurrentModificationException(inner) => {
9095 Error::ConcurrentModificationException(inner)
9096 }
9097 crate::operation::update_catalog::UpdateCatalogError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9098 crate::operation::update_catalog::UpdateCatalogError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9099 crate::operation::update_catalog::UpdateCatalogError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9100 crate::operation::update_catalog::UpdateCatalogError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9101 crate::operation::update_catalog::UpdateCatalogError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9102 crate::operation::update_catalog::UpdateCatalogError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9103 crate::operation::update_catalog::UpdateCatalogError::Unhandled(inner) => Error::Unhandled(inner),
9104 }
9105 }
9106}
9107impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>> for Error
9108where
9109 R: Send + Sync + std::fmt::Debug + 'static,
9110{
9111 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_classifier::UpdateClassifierError, R>) -> Self {
9112 match err {
9113 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9114 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9115 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9116 source: err.into(),
9117 }),
9118 }
9119 }
9120}
9121impl From<crate::operation::update_classifier::UpdateClassifierError> for Error {
9122 fn from(err: crate::operation::update_classifier::UpdateClassifierError) -> Self {
9123 match err {
9124 crate::operation::update_classifier::UpdateClassifierError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9125 crate::operation::update_classifier::UpdateClassifierError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9126 crate::operation::update_classifier::UpdateClassifierError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9127 crate::operation::update_classifier::UpdateClassifierError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
9128 crate::operation::update_classifier::UpdateClassifierError::Unhandled(inner) => Error::Unhandled(inner),
9129 }
9130 }
9131}
9132impl<R>
9133 From<
9134 ::aws_smithy_runtime_api::client::result::SdkError<
9135 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
9136 R,
9137 >,
9138 > for Error
9139where
9140 R: Send + Sync + std::fmt::Debug + 'static,
9141{
9142 fn from(
9143 err: ::aws_smithy_runtime_api::client::result::SdkError<
9144 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError,
9145 R,
9146 >,
9147 ) -> Self {
9148 match err {
9149 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9150 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9151 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9152 source: err.into(),
9153 }),
9154 }
9155 }
9156}
9157impl From<crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError> for Error {
9158 fn from(err: crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError) -> Self {
9159 match err {
9160 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::EntityNotFoundException(inner) => {
9161 Error::EntityNotFoundException(inner)
9162 }
9163 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::GlueEncryptionException(inner) => {
9164 Error::GlueEncryptionException(inner)
9165 }
9166 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InternalServiceException(inner) => {
9167 Error::InternalServiceException(inner)
9168 }
9169 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::InvalidInputException(inner) => {
9170 Error::InvalidInputException(inner)
9171 }
9172 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::OperationTimeoutException(inner) => {
9173 Error::OperationTimeoutException(inner)
9174 }
9175 crate::operation::update_column_statistics_for_partition::UpdateColumnStatisticsForPartitionError::Unhandled(inner) => {
9176 Error::Unhandled(inner)
9177 }
9178 }
9179 }
9180}
9181impl<R>
9182 From<
9183 ::aws_smithy_runtime_api::client::result::SdkError<
9184 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
9185 R,
9186 >,
9187 > for Error
9188where
9189 R: Send + Sync + std::fmt::Debug + 'static,
9190{
9191 fn from(
9192 err: ::aws_smithy_runtime_api::client::result::SdkError<
9193 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError,
9194 R,
9195 >,
9196 ) -> Self {
9197 match err {
9198 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9199 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9200 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9201 source: err.into(),
9202 }),
9203 }
9204 }
9205}
9206impl From<crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError> for Error {
9207 fn from(err: crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError) -> Self {
9208 match err {
9209 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::EntityNotFoundException(inner) => {
9210 Error::EntityNotFoundException(inner)
9211 }
9212 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::GlueEncryptionException(inner) => {
9213 Error::GlueEncryptionException(inner)
9214 }
9215 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InternalServiceException(inner) => {
9216 Error::InternalServiceException(inner)
9217 }
9218 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::InvalidInputException(inner) => {
9219 Error::InvalidInputException(inner)
9220 }
9221 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::OperationTimeoutException(inner) => {
9222 Error::OperationTimeoutException(inner)
9223 }
9224 crate::operation::update_column_statistics_for_table::UpdateColumnStatisticsForTableError::Unhandled(inner) => Error::Unhandled(inner),
9225 }
9226 }
9227}
9228impl<R>
9229 From<
9230 ::aws_smithy_runtime_api::client::result::SdkError<
9231 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
9232 R,
9233 >,
9234 > for Error
9235where
9236 R: Send + Sync + std::fmt::Debug + 'static,
9237{
9238 fn from(
9239 err: ::aws_smithy_runtime_api::client::result::SdkError<
9240 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError,
9241 R,
9242 >,
9243 ) -> Self {
9244 match err {
9245 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9246 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9247 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9248 source: err.into(),
9249 }),
9250 }
9251 }
9252}
9253impl From<crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError> for Error {
9254 fn from(err: crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError) -> Self {
9255 match err {
9256 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::AccessDeniedException(inner) => {
9257 Error::AccessDeniedException(inner)
9258 }
9259 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::EntityNotFoundException(inner) => {
9260 Error::EntityNotFoundException(inner)
9261 }
9262 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::InvalidInputException(inner) => {
9263 Error::InvalidInputException(inner)
9264 }
9265 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::OperationTimeoutException(inner) => {
9266 Error::OperationTimeoutException(inner)
9267 }
9268 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::VersionMismatchException(inner) => {
9269 Error::VersionMismatchException(inner)
9270 }
9271 crate::operation::update_column_statistics_task_settings::UpdateColumnStatisticsTaskSettingsError::Unhandled(inner) => {
9272 Error::Unhandled(inner)
9273 }
9274 }
9275 }
9276}
9277impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>> for Error
9278where
9279 R: Send + Sync + std::fmt::Debug + 'static,
9280{
9281 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_connection::UpdateConnectionError, R>) -> Self {
9282 match err {
9283 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9284 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9285 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9286 source: err.into(),
9287 }),
9288 }
9289 }
9290}
9291impl From<crate::operation::update_connection::UpdateConnectionError> for Error {
9292 fn from(err: crate::operation::update_connection::UpdateConnectionError) -> Self {
9293 match err {
9294 crate::operation::update_connection::UpdateConnectionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9295 crate::operation::update_connection::UpdateConnectionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9296 crate::operation::update_connection::UpdateConnectionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9297 crate::operation::update_connection::UpdateConnectionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9298 crate::operation::update_connection::UpdateConnectionError::Unhandled(inner) => Error::Unhandled(inner),
9299 }
9300 }
9301}
9302impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>> for Error
9303where
9304 R: Send + Sync + std::fmt::Debug + 'static,
9305{
9306 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler::UpdateCrawlerError, R>) -> Self {
9307 match err {
9308 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9309 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9310 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9311 source: err.into(),
9312 }),
9313 }
9314 }
9315}
9316impl From<crate::operation::update_crawler::UpdateCrawlerError> for Error {
9317 fn from(err: crate::operation::update_crawler::UpdateCrawlerError) -> Self {
9318 match err {
9319 crate::operation::update_crawler::UpdateCrawlerError::CrawlerRunningException(inner) => Error::CrawlerRunningException(inner),
9320 crate::operation::update_crawler::UpdateCrawlerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9321 crate::operation::update_crawler::UpdateCrawlerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9322 crate::operation::update_crawler::UpdateCrawlerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9323 crate::operation::update_crawler::UpdateCrawlerError::VersionMismatchException(inner) => Error::VersionMismatchException(inner),
9324 crate::operation::update_crawler::UpdateCrawlerError::Unhandled(inner) => Error::Unhandled(inner),
9325 }
9326 }
9327}
9328impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>> for Error
9329where
9330 R: Send + Sync + std::fmt::Debug + 'static,
9331{
9332 fn from(
9333 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError, R>,
9334 ) -> Self {
9335 match err {
9336 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9337 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9338 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9339 source: err.into(),
9340 }),
9341 }
9342 }
9343}
9344impl From<crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError> for Error {
9345 fn from(err: crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError) -> Self {
9346 match err {
9347 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::EntityNotFoundException(inner) => {
9348 Error::EntityNotFoundException(inner)
9349 }
9350 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::InvalidInputException(inner) => {
9351 Error::InvalidInputException(inner)
9352 }
9353 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::OperationTimeoutException(inner) => {
9354 Error::OperationTimeoutException(inner)
9355 }
9356 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::SchedulerTransitioningException(inner) => {
9357 Error::SchedulerTransitioningException(inner)
9358 }
9359 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::VersionMismatchException(inner) => {
9360 Error::VersionMismatchException(inner)
9361 }
9362 crate::operation::update_crawler_schedule::UpdateCrawlerScheduleError::Unhandled(inner) => Error::Unhandled(inner),
9363 }
9364 }
9365}
9366impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>> for Error
9367where
9368 R: Send + Sync + std::fmt::Debug + 'static,
9369{
9370 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_database::UpdateDatabaseError, R>) -> Self {
9371 match err {
9372 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9373 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9374 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9375 source: err.into(),
9376 }),
9377 }
9378 }
9379}
9380impl From<crate::operation::update_database::UpdateDatabaseError> for Error {
9381 fn from(err: crate::operation::update_database::UpdateDatabaseError) -> Self {
9382 match err {
9383 crate::operation::update_database::UpdateDatabaseError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
9384 crate::operation::update_database::UpdateDatabaseError::ConcurrentModificationException(inner) => {
9385 Error::ConcurrentModificationException(inner)
9386 }
9387 crate::operation::update_database::UpdateDatabaseError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9388 crate::operation::update_database::UpdateDatabaseError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9389 crate::operation::update_database::UpdateDatabaseError::FederationSourceRetryableException(inner) => {
9390 Error::FederationSourceRetryableException(inner)
9391 }
9392 crate::operation::update_database::UpdateDatabaseError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9393 crate::operation::update_database::UpdateDatabaseError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9394 crate::operation::update_database::UpdateDatabaseError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9395 crate::operation::update_database::UpdateDatabaseError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9396 crate::operation::update_database::UpdateDatabaseError::Unhandled(inner) => Error::Unhandled(inner),
9397 }
9398 }
9399}
9400impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>>
9401 for Error
9402where
9403 R: Send + Sync + std::fmt::Debug + 'static,
9404{
9405 fn from(
9406 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError, R>,
9407 ) -> Self {
9408 match err {
9409 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9410 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9411 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9412 source: err.into(),
9413 }),
9414 }
9415 }
9416}
9417impl From<crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError> for Error {
9418 fn from(err: crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError) -> Self {
9419 match err {
9420 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::AlreadyExistsException(inner) => {
9421 Error::AlreadyExistsException(inner)
9422 }
9423 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::EntityNotFoundException(inner) => {
9424 Error::EntityNotFoundException(inner)
9425 }
9426 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::IdempotentParameterMismatchException(inner) => {
9427 Error::IdempotentParameterMismatchException(inner)
9428 }
9429 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InternalServiceException(inner) => {
9430 Error::InternalServiceException(inner)
9431 }
9432 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::InvalidInputException(inner) => {
9433 Error::InvalidInputException(inner)
9434 }
9435 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::OperationTimeoutException(inner) => {
9436 Error::OperationTimeoutException(inner)
9437 }
9438 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::ResourceNumberLimitExceededException(inner) => {
9439 Error::ResourceNumberLimitExceededException(inner)
9440 }
9441 crate::operation::update_data_quality_ruleset::UpdateDataQualityRulesetError::Unhandled(inner) => Error::Unhandled(inner),
9442 }
9443 }
9444}
9445impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>> for Error
9446where
9447 R: Send + Sync + std::fmt::Debug + 'static,
9448{
9449 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_dev_endpoint::UpdateDevEndpointError, R>) -> Self {
9450 match err {
9451 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9452 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9453 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9454 source: err.into(),
9455 }),
9456 }
9457 }
9458}
9459impl From<crate::operation::update_dev_endpoint::UpdateDevEndpointError> for Error {
9460 fn from(err: crate::operation::update_dev_endpoint::UpdateDevEndpointError) -> Self {
9461 match err {
9462 crate::operation::update_dev_endpoint::UpdateDevEndpointError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9463 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9464 crate::operation::update_dev_endpoint::UpdateDevEndpointError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9465 crate::operation::update_dev_endpoint::UpdateDevEndpointError::OperationTimeoutException(inner) => {
9466 Error::OperationTimeoutException(inner)
9467 }
9468 crate::operation::update_dev_endpoint::UpdateDevEndpointError::ValidationException(inner) => Error::ValidationException(inner),
9469 crate::operation::update_dev_endpoint::UpdateDevEndpointError::Unhandled(inner) => Error::Unhandled(inner),
9470 }
9471 }
9472}
9473impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>> for Error
9474where
9475 R: Send + Sync + std::fmt::Debug + 'static,
9476{
9477 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary::UpdateGlossaryError, R>) -> Self {
9478 match err {
9479 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9480 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9481 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9482 source: err.into(),
9483 }),
9484 }
9485 }
9486}
9487impl From<crate::operation::update_glossary::UpdateGlossaryError> for Error {
9488 fn from(err: crate::operation::update_glossary::UpdateGlossaryError) -> Self {
9489 match err {
9490 crate::operation::update_glossary::UpdateGlossaryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9491 crate::operation::update_glossary::UpdateGlossaryError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
9492 crate::operation::update_glossary::UpdateGlossaryError::ConcurrentModificationException(inner) => {
9493 Error::ConcurrentModificationException(inner)
9494 }
9495 crate::operation::update_glossary::UpdateGlossaryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9496 crate::operation::update_glossary::UpdateGlossaryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9497 crate::operation::update_glossary::UpdateGlossaryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9498 crate::operation::update_glossary::UpdateGlossaryError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9499 crate::operation::update_glossary::UpdateGlossaryError::Unhandled(inner) => Error::Unhandled(inner),
9500 }
9501 }
9502}
9503impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>> for Error
9504where
9505 R: Send + Sync + std::fmt::Debug + 'static,
9506{
9507 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_glossary_term::UpdateGlossaryTermError, R>) -> Self {
9508 match err {
9509 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9510 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9511 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9512 source: err.into(),
9513 }),
9514 }
9515 }
9516}
9517impl From<crate::operation::update_glossary_term::UpdateGlossaryTermError> for Error {
9518 fn from(err: crate::operation::update_glossary_term::UpdateGlossaryTermError) -> Self {
9519 match err {
9520 crate::operation::update_glossary_term::UpdateGlossaryTermError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9521 crate::operation::update_glossary_term::UpdateGlossaryTermError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
9522 crate::operation::update_glossary_term::UpdateGlossaryTermError::ConcurrentModificationException(inner) => {
9523 Error::ConcurrentModificationException(inner)
9524 }
9525 crate::operation::update_glossary_term::UpdateGlossaryTermError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9526 crate::operation::update_glossary_term::UpdateGlossaryTermError::InternalServiceException(inner) => {
9527 Error::InternalServiceException(inner)
9528 }
9529 crate::operation::update_glossary_term::UpdateGlossaryTermError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9530 crate::operation::update_glossary_term::UpdateGlossaryTermError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9531 crate::operation::update_glossary_term::UpdateGlossaryTermError::Unhandled(inner) => Error::Unhandled(inner),
9532 }
9533 }
9534}
9535impl<R>
9536 From<
9537 ::aws_smithy_runtime_api::client::result::SdkError<
9538 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
9539 R,
9540 >,
9541 > for Error
9542where
9543 R: Send + Sync + std::fmt::Debug + 'static,
9544{
9545 fn from(
9546 err: ::aws_smithy_runtime_api::client::result::SdkError<
9547 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError,
9548 R,
9549 >,
9550 ) -> Self {
9551 match err {
9552 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9553 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9554 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9555 source: err.into(),
9556 }),
9557 }
9558 }
9559}
9560impl From<crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError> for Error {
9561 fn from(err: crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError) -> Self {
9562 match err {
9563 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9564 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9565 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9566 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9567 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9568 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9569 crate::operation::update_glue_identity_center_configuration::UpdateGlueIdentityCenterConfigurationError::Unhandled(inner) => Error::Unhandled(inner),
9570 }
9571 }
9572}
9573impl<R>
9574 From<
9575 ::aws_smithy_runtime_api::client::result::SdkError<
9576 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
9577 R,
9578 >,
9579 > for Error
9580where
9581 R: Send + Sync + std::fmt::Debug + 'static,
9582{
9583 fn from(
9584 err: ::aws_smithy_runtime_api::client::result::SdkError<
9585 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError,
9586 R,
9587 >,
9588 ) -> Self {
9589 match err {
9590 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9591 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9592 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9593 source: err.into(),
9594 }),
9595 }
9596 }
9597}
9598impl From<crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError> for Error {
9599 fn from(err: crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError) -> Self {
9600 match err {
9601 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::AccessDeniedException(inner) => {
9602 Error::AccessDeniedException(inner)
9603 }
9604 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::EntityNotFoundException(inner) => {
9605 Error::EntityNotFoundException(inner)
9606 }
9607 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServerException(inner) => {
9608 Error::InternalServerException(inner)
9609 }
9610 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InternalServiceException(inner) => {
9611 Error::InternalServiceException(inner)
9612 }
9613 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::InvalidInputException(inner) => {
9614 Error::InvalidInputException(inner)
9615 }
9616 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ResourceNotFoundException(inner) => {
9617 Error::ResourceNotFoundException(inner)
9618 }
9619 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::ValidationException(inner) => {
9620 Error::ValidationException(inner)
9621 }
9622 crate::operation::update_integration_resource_property::UpdateIntegrationResourcePropertyError::Unhandled(inner) => {
9623 Error::Unhandled(inner)
9624 }
9625 }
9626 }
9627}
9628impl<R>
9629 From<
9630 ::aws_smithy_runtime_api::client::result::SdkError<
9631 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
9632 R,
9633 >,
9634 > for Error
9635where
9636 R: Send + Sync + std::fmt::Debug + 'static,
9637{
9638 fn from(
9639 err: ::aws_smithy_runtime_api::client::result::SdkError<
9640 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError,
9641 R,
9642 >,
9643 ) -> Self {
9644 match err {
9645 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9646 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9647 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9648 source: err.into(),
9649 }),
9650 }
9651 }
9652}
9653impl From<crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError> for Error {
9654 fn from(err: crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError) -> Self {
9655 match err {
9656 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::AccessDeniedException(inner) => {
9657 Error::AccessDeniedException(inner)
9658 }
9659 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::EntityNotFoundException(inner) => {
9660 Error::EntityNotFoundException(inner)
9661 }
9662 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServerException(inner) => {
9663 Error::InternalServerException(inner)
9664 }
9665 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InternalServiceException(inner) => {
9666 Error::InternalServiceException(inner)
9667 }
9668 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::InvalidInputException(inner) => {
9669 Error::InvalidInputException(inner)
9670 }
9671 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ResourceNotFoundException(inner) => {
9672 Error::ResourceNotFoundException(inner)
9673 }
9674 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::ValidationException(inner) => {
9675 Error::ValidationException(inner)
9676 }
9677 crate::operation::update_integration_table_properties::UpdateIntegrationTablePropertiesError::Unhandled(inner) => Error::Unhandled(inner),
9678 }
9679 }
9680}
9681impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>> for Error
9682where
9683 R: Send + Sync + std::fmt::Debug + 'static,
9684{
9685 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job::UpdateJobError, R>) -> Self {
9686 match err {
9687 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9688 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9689 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9690 source: err.into(),
9691 }),
9692 }
9693 }
9694}
9695impl From<crate::operation::update_job::UpdateJobError> for Error {
9696 fn from(err: crate::operation::update_job::UpdateJobError) -> Self {
9697 match err {
9698 crate::operation::update_job::UpdateJobError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9699 crate::operation::update_job::UpdateJobError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9700 crate::operation::update_job::UpdateJobError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9701 crate::operation::update_job::UpdateJobError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9702 crate::operation::update_job::UpdateJobError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9703 crate::operation::update_job::UpdateJobError::Unhandled(inner) => Error::Unhandled(inner),
9704 }
9705 }
9706}
9707impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>>
9708 for Error
9709where
9710 R: Send + Sync + std::fmt::Debug + 'static,
9711{
9712 fn from(
9713 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError, R>,
9714 ) -> Self {
9715 match err {
9716 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9717 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9718 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9719 source: err.into(),
9720 }),
9721 }
9722 }
9723}
9724impl From<crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError> for Error {
9725 fn from(err: crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError) -> Self {
9726 match err {
9727 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AccessDeniedException(inner) => {
9728 Error::AccessDeniedException(inner)
9729 }
9730 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::AlreadyExistsException(inner) => {
9731 Error::AlreadyExistsException(inner)
9732 }
9733 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::EntityNotFoundException(inner) => {
9734 Error::EntityNotFoundException(inner)
9735 }
9736 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InternalServiceException(inner) => {
9737 Error::InternalServiceException(inner)
9738 }
9739 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::InvalidInputException(inner) => {
9740 Error::InvalidInputException(inner)
9741 }
9742 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::OperationTimeoutException(inner) => {
9743 Error::OperationTimeoutException(inner)
9744 }
9745 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::ValidationException(inner) => {
9746 Error::ValidationException(inner)
9747 }
9748 crate::operation::update_job_from_source_control::UpdateJobFromSourceControlError::Unhandled(inner) => Error::Unhandled(inner),
9749 }
9750 }
9751}
9752impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>> for Error
9753where
9754 R: Send + Sync + std::fmt::Debug + 'static,
9755{
9756 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_ml_transform::UpdateMLTransformError, R>) -> Self {
9757 match err {
9758 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9759 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9760 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9761 source: err.into(),
9762 }),
9763 }
9764 }
9765}
9766impl From<crate::operation::update_ml_transform::UpdateMLTransformError> for Error {
9767 fn from(err: crate::operation::update_ml_transform::UpdateMLTransformError) -> Self {
9768 match err {
9769 crate::operation::update_ml_transform::UpdateMLTransformError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9770 crate::operation::update_ml_transform::UpdateMLTransformError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9771 crate::operation::update_ml_transform::UpdateMLTransformError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9772 crate::operation::update_ml_transform::UpdateMLTransformError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9773 crate::operation::update_ml_transform::UpdateMLTransformError::OperationTimeoutException(inner) => {
9774 Error::OperationTimeoutException(inner)
9775 }
9776 crate::operation::update_ml_transform::UpdateMLTransformError::Unhandled(inner) => Error::Unhandled(inner),
9777 }
9778 }
9779}
9780impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>> for Error
9781where
9782 R: Send + Sync + std::fmt::Debug + 'static,
9783{
9784 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_partition::UpdatePartitionError, R>) -> Self {
9785 match err {
9786 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9787 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9788 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9789 source: err.into(),
9790 }),
9791 }
9792 }
9793}
9794impl From<crate::operation::update_partition::UpdatePartitionError> for Error {
9795 fn from(err: crate::operation::update_partition::UpdatePartitionError) -> Self {
9796 match err {
9797 crate::operation::update_partition::UpdatePartitionError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9798 crate::operation::update_partition::UpdatePartitionError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9799 crate::operation::update_partition::UpdatePartitionError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9800 crate::operation::update_partition::UpdatePartitionError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9801 crate::operation::update_partition::UpdatePartitionError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9802 crate::operation::update_partition::UpdatePartitionError::Unhandled(inner) => Error::Unhandled(inner),
9803 }
9804 }
9805}
9806impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>> for Error
9807where
9808 R: Send + Sync + std::fmt::Debug + 'static,
9809{
9810 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_registry::UpdateRegistryError, R>) -> Self {
9811 match err {
9812 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9813 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9814 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9815 source: err.into(),
9816 }),
9817 }
9818 }
9819}
9820impl From<crate::operation::update_registry::UpdateRegistryError> for Error {
9821 fn from(err: crate::operation::update_registry::UpdateRegistryError) -> Self {
9822 match err {
9823 crate::operation::update_registry::UpdateRegistryError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9824 crate::operation::update_registry::UpdateRegistryError::ConcurrentModificationException(inner) => {
9825 Error::ConcurrentModificationException(inner)
9826 }
9827 crate::operation::update_registry::UpdateRegistryError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9828 crate::operation::update_registry::UpdateRegistryError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9829 crate::operation::update_registry::UpdateRegistryError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9830 crate::operation::update_registry::UpdateRegistryError::Unhandled(inner) => Error::Unhandled(inner),
9831 }
9832 }
9833}
9834impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>> for Error
9835where
9836 R: Send + Sync + std::fmt::Debug + 'static,
9837{
9838 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_schema::UpdateSchemaError, R>) -> Self {
9839 match err {
9840 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9841 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9842 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9843 source: err.into(),
9844 }),
9845 }
9846 }
9847}
9848impl From<crate::operation::update_schema::UpdateSchemaError> for Error {
9849 fn from(err: crate::operation::update_schema::UpdateSchemaError) -> Self {
9850 match err {
9851 crate::operation::update_schema::UpdateSchemaError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9852 crate::operation::update_schema::UpdateSchemaError::ConcurrentModificationException(inner) => {
9853 Error::ConcurrentModificationException(inner)
9854 }
9855 crate::operation::update_schema::UpdateSchemaError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9856 crate::operation::update_schema::UpdateSchemaError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9857 crate::operation::update_schema::UpdateSchemaError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9858 crate::operation::update_schema::UpdateSchemaError::Unhandled(inner) => Error::Unhandled(inner),
9859 }
9860 }
9861}
9862impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>>
9863 for Error
9864where
9865 R: Send + Sync + std::fmt::Debug + 'static,
9866{
9867 fn from(
9868 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError, R>,
9869 ) -> Self {
9870 match err {
9871 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9872 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9873 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9874 source: err.into(),
9875 }),
9876 }
9877 }
9878}
9879impl From<crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError> for Error {
9880 fn from(err: crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError) -> Self {
9881 match err {
9882 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AccessDeniedException(inner) => {
9883 Error::AccessDeniedException(inner)
9884 }
9885 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::AlreadyExistsException(inner) => {
9886 Error::AlreadyExistsException(inner)
9887 }
9888 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::EntityNotFoundException(inner) => {
9889 Error::EntityNotFoundException(inner)
9890 }
9891 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InternalServiceException(inner) => {
9892 Error::InternalServiceException(inner)
9893 }
9894 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::InvalidInputException(inner) => {
9895 Error::InvalidInputException(inner)
9896 }
9897 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::OperationTimeoutException(inner) => {
9898 Error::OperationTimeoutException(inner)
9899 }
9900 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::ValidationException(inner) => {
9901 Error::ValidationException(inner)
9902 }
9903 crate::operation::update_source_control_from_job::UpdateSourceControlFromJobError::Unhandled(inner) => Error::Unhandled(inner),
9904 }
9905 }
9906}
9907impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
9908where
9909 R: Send + Sync + std::fmt::Debug + 'static,
9910{
9911 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
9912 match err {
9913 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9914 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9915 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9916 source: err.into(),
9917 }),
9918 }
9919 }
9920}
9921impl From<crate::operation::update_table::UpdateTableError> for Error {
9922 fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
9923 match err {
9924 crate::operation::update_table::UpdateTableError::AlreadyExistsException(inner) => Error::AlreadyExistsException(inner),
9925 crate::operation::update_table::UpdateTableError::ConcurrentModificationException(inner) => Error::ConcurrentModificationException(inner),
9926 crate::operation::update_table::UpdateTableError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9927 crate::operation::update_table::UpdateTableError::FederationSourceException(inner) => Error::FederationSourceException(inner),
9928 crate::operation::update_table::UpdateTableError::FederationSourceRetryableException(inner) => {
9929 Error::FederationSourceRetryableException(inner)
9930 }
9931 crate::operation::update_table::UpdateTableError::GlueEncryptionException(inner) => Error::GlueEncryptionException(inner),
9932 crate::operation::update_table::UpdateTableError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9933 crate::operation::update_table::UpdateTableError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9934 crate::operation::update_table::UpdateTableError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
9935 crate::operation::update_table::UpdateTableError::ResourceNotReadyException(inner) => Error::ResourceNotReadyException(inner),
9936 crate::operation::update_table::UpdateTableError::ResourceNumberLimitExceededException(inner) => {
9937 Error::ResourceNumberLimitExceededException(inner)
9938 }
9939 crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
9940 }
9941 }
9942}
9943impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>> for Error
9944where
9945 R: Send + Sync + std::fmt::Debug + 'static,
9946{
9947 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table_optimizer::UpdateTableOptimizerError, R>) -> Self {
9948 match err {
9949 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9950 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9951 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9952 source: err.into(),
9953 }),
9954 }
9955 }
9956}
9957impl From<crate::operation::update_table_optimizer::UpdateTableOptimizerError> for Error {
9958 fn from(err: crate::operation::update_table_optimizer::UpdateTableOptimizerError) -> Self {
9959 match err {
9960 crate::operation::update_table_optimizer::UpdateTableOptimizerError::AccessDeniedException(inner) => Error::AccessDeniedException(inner),
9961 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ConcurrentModificationException(inner) => {
9962 Error::ConcurrentModificationException(inner)
9963 }
9964 crate::operation::update_table_optimizer::UpdateTableOptimizerError::EntityNotFoundException(inner) => {
9965 Error::EntityNotFoundException(inner)
9966 }
9967 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InternalServiceException(inner) => {
9968 Error::InternalServiceException(inner)
9969 }
9970 crate::operation::update_table_optimizer::UpdateTableOptimizerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
9971 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ThrottlingException(inner) => Error::ThrottlingException(inner),
9972 crate::operation::update_table_optimizer::UpdateTableOptimizerError::ValidationException(inner) => Error::ValidationException(inner),
9973 crate::operation::update_table_optimizer::UpdateTableOptimizerError::Unhandled(inner) => Error::Unhandled(inner),
9974 }
9975 }
9976}
9977impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>> for Error
9978where
9979 R: Send + Sync + std::fmt::Debug + 'static,
9980{
9981 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_trigger::UpdateTriggerError, R>) -> Self {
9982 match err {
9983 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
9984 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
9985 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
9986 source: err.into(),
9987 }),
9988 }
9989 }
9990}
9991impl From<crate::operation::update_trigger::UpdateTriggerError> for Error {
9992 fn from(err: crate::operation::update_trigger::UpdateTriggerError) -> Self {
9993 match err {
9994 crate::operation::update_trigger::UpdateTriggerError::ConcurrentModificationException(inner) => {
9995 Error::ConcurrentModificationException(inner)
9996 }
9997 crate::operation::update_trigger::UpdateTriggerError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
9998 crate::operation::update_trigger::UpdateTriggerError::InternalServiceException(inner) => Error::InternalServiceException(inner),
9999 crate::operation::update_trigger::UpdateTriggerError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10000 crate::operation::update_trigger::UpdateTriggerError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10001 crate::operation::update_trigger::UpdateTriggerError::Unhandled(inner) => Error::Unhandled(inner),
10002 }
10003 }
10004}
10005impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>> for Error
10006where
10007 R: Send + Sync + std::fmt::Debug + 'static,
10008{
10009 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_usage_profile::UpdateUsageProfileError, R>) -> Self {
10010 match err {
10011 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10012 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10013 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10014 source: err.into(),
10015 }),
10016 }
10017 }
10018}
10019impl From<crate::operation::update_usage_profile::UpdateUsageProfileError> for Error {
10020 fn from(err: crate::operation::update_usage_profile::UpdateUsageProfileError) -> Self {
10021 match err {
10022 crate::operation::update_usage_profile::UpdateUsageProfileError::ConcurrentModificationException(inner) => {
10023 Error::ConcurrentModificationException(inner)
10024 }
10025 crate::operation::update_usage_profile::UpdateUsageProfileError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10026 crate::operation::update_usage_profile::UpdateUsageProfileError::InternalServiceException(inner) => {
10027 Error::InternalServiceException(inner)
10028 }
10029 crate::operation::update_usage_profile::UpdateUsageProfileError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10030 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationNotSupportedException(inner) => {
10031 Error::OperationNotSupportedException(inner)
10032 }
10033 crate::operation::update_usage_profile::UpdateUsageProfileError::OperationTimeoutException(inner) => {
10034 Error::OperationTimeoutException(inner)
10035 }
10036 crate::operation::update_usage_profile::UpdateUsageProfileError::Unhandled(inner) => Error::Unhandled(inner),
10037 }
10038 }
10039}
10040impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>>
10041 for Error
10042where
10043 R: Send + Sync + std::fmt::Debug + 'static,
10044{
10045 fn from(
10046 err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError, R>,
10047 ) -> Self {
10048 match err {
10049 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10050 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10051 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10052 source: err.into(),
10053 }),
10054 }
10055 }
10056}
10057impl From<crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError> for Error {
10058 fn from(err: crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError) -> Self {
10059 match err {
10060 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::EntityNotFoundException(inner) => {
10061 Error::EntityNotFoundException(inner)
10062 }
10063 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::GlueEncryptionException(inner) => {
10064 Error::GlueEncryptionException(inner)
10065 }
10066 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InternalServiceException(inner) => {
10067 Error::InternalServiceException(inner)
10068 }
10069 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::InvalidInputException(inner) => {
10070 Error::InvalidInputException(inner)
10071 }
10072 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::OperationTimeoutException(inner) => {
10073 Error::OperationTimeoutException(inner)
10074 }
10075 crate::operation::update_user_defined_function::UpdateUserDefinedFunctionError::Unhandled(inner) => Error::Unhandled(inner),
10076 }
10077 }
10078}
10079impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>> for Error
10080where
10081 R: Send + Sync + std::fmt::Debug + 'static,
10082{
10083 fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_workflow::UpdateWorkflowError, R>) -> Self {
10084 match err {
10085 ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
10086 _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
10087 meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
10088 source: err.into(),
10089 }),
10090 }
10091 }
10092}
10093impl From<crate::operation::update_workflow::UpdateWorkflowError> for Error {
10094 fn from(err: crate::operation::update_workflow::UpdateWorkflowError) -> Self {
10095 match err {
10096 crate::operation::update_workflow::UpdateWorkflowError::ConcurrentModificationException(inner) => {
10097 Error::ConcurrentModificationException(inner)
10098 }
10099 crate::operation::update_workflow::UpdateWorkflowError::EntityNotFoundException(inner) => Error::EntityNotFoundException(inner),
10100 crate::operation::update_workflow::UpdateWorkflowError::InternalServiceException(inner) => Error::InternalServiceException(inner),
10101 crate::operation::update_workflow::UpdateWorkflowError::InvalidInputException(inner) => Error::InvalidInputException(inner),
10102 crate::operation::update_workflow::UpdateWorkflowError::OperationTimeoutException(inner) => Error::OperationTimeoutException(inner),
10103 crate::operation::update_workflow::UpdateWorkflowError::Unhandled(inner) => Error::Unhandled(inner),
10104 }
10105 }
10106}
10107impl ::std::error::Error for Error {
10108 fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
10109 match self {
10110 Error::AccessDeniedException(inner) => inner.source(),
10111 Error::AlreadyExistsException(inner) => inner.source(),
10112 Error::ColumnStatisticsTaskNotRunningException(inner) => inner.source(),
10113 Error::ColumnStatisticsTaskRunningException(inner) => inner.source(),
10114 Error::ColumnStatisticsTaskStoppingException(inner) => inner.source(),
10115 Error::ConcurrentModificationException(inner) => inner.source(),
10116 Error::ConcurrentRunsExceededException(inner) => inner.source(),
10117 Error::ConditionCheckFailureException(inner) => inner.source(),
10118 Error::ConflictException(inner) => inner.source(),
10119 Error::CrawlerNotRunningException(inner) => inner.source(),
10120 Error::CrawlerRunningException(inner) => inner.source(),
10121 Error::CrawlerStoppingException(inner) => inner.source(),
10122 Error::EntityNotFoundException(inner) => inner.source(),
10123 Error::FederatedResourceAlreadyExistsException(inner) => inner.source(),
10124 Error::FederationSourceException(inner) => inner.source(),
10125 Error::FederationSourceRetryableException(inner) => inner.source(),
10126 Error::GlueEncryptionException(inner) => inner.source(),
10127 Error::IdempotentParameterMismatchException(inner) => inner.source(),
10128 Error::IllegalBlueprintStateException(inner) => inner.source(),
10129 Error::IllegalSessionStateException(inner) => inner.source(),
10130 Error::IllegalWorkflowStateException(inner) => inner.source(),
10131 Error::IntegrationConflictOperationFault(inner) => inner.source(),
10132 Error::IntegrationNotFoundFault(inner) => inner.source(),
10133 Error::IntegrationQuotaExceededFault(inner) => inner.source(),
10134 Error::InternalServerException(inner) => inner.source(),
10135 Error::InternalServiceException(inner) => inner.source(),
10136 Error::InvalidInputException(inner) => inner.source(),
10137 Error::InvalidIntegrationStateFault(inner) => inner.source(),
10138 Error::InvalidStateException(inner) => inner.source(),
10139 Error::KmsKeyNotAccessibleFault(inner) => inner.source(),
10140 Error::MlTransformNotReadyException(inner) => inner.source(),
10141 Error::MaterializedViewRefreshTaskNotRunningException(inner) => inner.source(),
10142 Error::MaterializedViewRefreshTaskRunningException(inner) => inner.source(),
10143 Error::MaterializedViewRefreshTaskStoppingException(inner) => inner.source(),
10144 Error::NoScheduleException(inner) => inner.source(),
10145 Error::OperationNotSupportedException(inner) => inner.source(),
10146 Error::OperationTimeoutException(inner) => inner.source(),
10147 Error::PermissionTypeMismatchException(inner) => inner.source(),
10148 Error::ResourceNotFoundException(inner) => inner.source(),
10149 Error::ResourceNotReadyException(inner) => inner.source(),
10150 Error::ResourceNumberLimitExceededException(inner) => inner.source(),
10151 Error::SchedulerNotRunningException(inner) => inner.source(),
10152 Error::SchedulerRunningException(inner) => inner.source(),
10153 Error::SchedulerTransitioningException(inner) => inner.source(),
10154 Error::SessionBusyException(inner) => inner.source(),
10155 Error::TargetResourceNotFound(inner) => inner.source(),
10156 Error::ThrottlingException(inner) => inner.source(),
10157 Error::ValidationException(inner) => inner.source(),
10158 Error::VersionMismatchException(inner) => inner.source(),
10159 Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
10160 }
10161 }
10162}
10163impl ::aws_types::request_id::RequestId for Error {
10164 fn request_id(&self) -> Option<&str> {
10165 match self {
10166 Self::AccessDeniedException(e) => e.request_id(),
10167 Self::AlreadyExistsException(e) => e.request_id(),
10168 Self::ColumnStatisticsTaskNotRunningException(e) => e.request_id(),
10169 Self::ColumnStatisticsTaskRunningException(e) => e.request_id(),
10170 Self::ColumnStatisticsTaskStoppingException(e) => e.request_id(),
10171 Self::ConcurrentModificationException(e) => e.request_id(),
10172 Self::ConcurrentRunsExceededException(e) => e.request_id(),
10173 Self::ConditionCheckFailureException(e) => e.request_id(),
10174 Self::ConflictException(e) => e.request_id(),
10175 Self::CrawlerNotRunningException(e) => e.request_id(),
10176 Self::CrawlerRunningException(e) => e.request_id(),
10177 Self::CrawlerStoppingException(e) => e.request_id(),
10178 Self::EntityNotFoundException(e) => e.request_id(),
10179 Self::FederatedResourceAlreadyExistsException(e) => e.request_id(),
10180 Self::FederationSourceException(e) => e.request_id(),
10181 Self::FederationSourceRetryableException(e) => e.request_id(),
10182 Self::GlueEncryptionException(e) => e.request_id(),
10183 Self::IdempotentParameterMismatchException(e) => e.request_id(),
10184 Self::IllegalBlueprintStateException(e) => e.request_id(),
10185 Self::IllegalSessionStateException(e) => e.request_id(),
10186 Self::IllegalWorkflowStateException(e) => e.request_id(),
10187 Self::IntegrationConflictOperationFault(e) => e.request_id(),
10188 Self::IntegrationNotFoundFault(e) => e.request_id(),
10189 Self::IntegrationQuotaExceededFault(e) => e.request_id(),
10190 Self::InternalServerException(e) => e.request_id(),
10191 Self::InternalServiceException(e) => e.request_id(),
10192 Self::InvalidInputException(e) => e.request_id(),
10193 Self::InvalidIntegrationStateFault(e) => e.request_id(),
10194 Self::InvalidStateException(e) => e.request_id(),
10195 Self::KmsKeyNotAccessibleFault(e) => e.request_id(),
10196 Self::MlTransformNotReadyException(e) => e.request_id(),
10197 Self::MaterializedViewRefreshTaskNotRunningException(e) => e.request_id(),
10198 Self::MaterializedViewRefreshTaskRunningException(e) => e.request_id(),
10199 Self::MaterializedViewRefreshTaskStoppingException(e) => e.request_id(),
10200 Self::NoScheduleException(e) => e.request_id(),
10201 Self::OperationNotSupportedException(e) => e.request_id(),
10202 Self::OperationTimeoutException(e) => e.request_id(),
10203 Self::PermissionTypeMismatchException(e) => e.request_id(),
10204 Self::ResourceNotFoundException(e) => e.request_id(),
10205 Self::ResourceNotReadyException(e) => e.request_id(),
10206 Self::ResourceNumberLimitExceededException(e) => e.request_id(),
10207 Self::SchedulerNotRunningException(e) => e.request_id(),
10208 Self::SchedulerRunningException(e) => e.request_id(),
10209 Self::SchedulerTransitioningException(e) => e.request_id(),
10210 Self::SessionBusyException(e) => e.request_id(),
10211 Self::TargetResourceNotFound(e) => e.request_id(),
10212 Self::ThrottlingException(e) => e.request_id(),
10213 Self::ValidationException(e) => e.request_id(),
10214 Self::VersionMismatchException(e) => e.request_id(),
10215 Self::Unhandled(e) => e.meta.request_id(),
10216 }
10217 }
10218}