183 214 | /// <p>Type mismatch for attribute to update.</p></li>
|
184 215 | /// <li>
|
185 216 | /// <p>Nesting Levels have exceeded supported limits.</p></li>
|
186 217 | /// <li>
|
187 218 | /// <p>The document path provided in the update expression is invalid for update.</p></li>
|
188 219 | /// <li>
|
189 220 | /// <p>The provided expression refers to an attribute that does not exist in the item.</p></li>
|
190 221 | /// </ul></li>
|
191 222 | /// </ul></li>
|
192 223 | /// </ul>
|
224 + | /* ServiceErrorGenerator.kt:262 */
|
193 225 | TransactionCanceledError(crate::types::error::TransactionCanceledError),
|
194 - | /// <p>Operation was rejected because there is an ongoing transaction for the item.</p>
|
226 + | /// /* ServiceErrorGenerator.kt:259 */<p>Operation was rejected because there is an ongoing transaction for the item.</p>
|
227 + | /* ServiceErrorGenerator.kt:262 */
|
195 228 | TransactionConflictError(crate::types::error::TransactionConflictError),
|
196 - | /// <p>The transaction with the given request token is already in progress.</p>
|
229 + | /// /* ServiceErrorGenerator.kt:259 */<p>The transaction with the given request token is already in progress.</p>
|
230 + | /* ServiceErrorGenerator.kt:262 */
|
197 231 | TransactionInProgressError(crate::types::error::TransactionInProgressError),
|
198 - | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
232 + | /// /* ServiceErrorGenerator.kt:264 */An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
233 + | /* ServiceErrorGenerator.kt:320 */
|
199 234 | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
200 235 | variable wildcard pattern and check `.code()`:
|
201 236 | \
|
202 237 | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
203 238 | \
|
204 239 | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-Error) for what information is available for the error.")]
|
205 - | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
240 + | /* ServiceErrorGenerator.kt:266 */
|
241 + | Unhandled(crate::error::sealed_unhandled::Unhandled), /* ServiceErrorGenerator.kt:257 */
|
206 242 | }
|
243 + | /* ServiceErrorGenerator.kt:131 */
|
207 244 | impl ::std::fmt::Display for Error {
|
245 + | /* ServiceErrorGenerator.kt:132 */
|
208 246 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
247 + | /* ServiceErrorGenerator.kt:133 */
|
209 248 | match self {
|
210 - | Error::BackupInUseError(inner) => inner.fmt(f),
|
211 - | Error::BackupNotFoundError(inner) => inner.fmt(f),
|
212 - | Error::ConditionalCheckFailedError(inner) => inner.fmt(f),
|
213 - | Error::ContinuousBackupsUnavailableError(inner) => inner.fmt(f),
|
214 - | Error::DuplicateItemError(inner) => inner.fmt(f),
|
215 - | Error::ExportConflictError(inner) => inner.fmt(f),
|
216 - | Error::ExportNotFoundError(inner) => inner.fmt(f),
|
217 - | Error::GlobalTableAlreadyExistsError(inner) => inner.fmt(f),
|
218 - | Error::GlobalTableNotFoundError(inner) => inner.fmt(f),
|
219 - | Error::IdempotentParameterMismatchError(inner) => inner.fmt(f),
|
220 - | Error::IndexNotFoundError(inner) => inner.fmt(f),
|
221 - | Error::InternalServerError(inner) => inner.fmt(f),
|
222 - | Error::InvalidEndpointError(inner) => inner.fmt(f),
|
223 - | Error::InvalidExportTimeError(inner) => inner.fmt(f),
|
224 - | Error::InvalidRestoreTimeError(inner) => inner.fmt(f),
|
225 - | Error::ItemCollectionSizeLimitExceededError(inner) => inner.fmt(f),
|
226 - | Error::LimitExceededError(inner) => inner.fmt(f),
|
227 - | Error::PointInTimeRecoveryUnavailableError(inner) => inner.fmt(f),
|
228 - | Error::ProvisionedThroughputExceededError(inner) => inner.fmt(f),
|
229 - | Error::ReplicaAlreadyExistsError(inner) => inner.fmt(f),
|
230 - | Error::ReplicaNotFoundError(inner) => inner.fmt(f),
|
231 - | Error::RequestLimitExceeded(inner) => inner.fmt(f),
|
232 - | Error::ResourceInUseError(inner) => inner.fmt(f),
|
233 - | Error::ResourceNotFoundError(inner) => inner.fmt(f),
|
234 - | Error::TableAlreadyExistsError(inner) => inner.fmt(f),
|
235 - | Error::TableInUseError(inner) => inner.fmt(f),
|
236 - | Error::TableNotFoundError(inner) => inner.fmt(f),
|
237 - | Error::TransactionCanceledError(inner) => inner.fmt(f),
|
238 - | Error::TransactionConflictError(inner) => inner.fmt(f),
|
239 - | Error::TransactionInProgressError(inner) => inner.fmt(f),
|
249 + | /* ServiceErrorGenerator.kt:135 */ Error::BackupInUseError(inner) => inner.fmt(f),
|
250 + | /* ServiceErrorGenerator.kt:135 */ Error::BackupNotFoundError(inner) => inner.fmt(f),
|
251 + | /* ServiceErrorGenerator.kt:135 */ Error::ConditionalCheckFailedError(inner) => inner.fmt(f),
|
252 + | /* ServiceErrorGenerator.kt:135 */ Error::ContinuousBackupsUnavailableError(inner) => inner.fmt(f),
|
253 + | /* ServiceErrorGenerator.kt:135 */ Error::DuplicateItemError(inner) => inner.fmt(f),
|
254 + | /* ServiceErrorGenerator.kt:135 */ Error::ExportConflictError(inner) => inner.fmt(f),
|
255 + | /* ServiceErrorGenerator.kt:135 */ Error::ExportNotFoundError(inner) => inner.fmt(f),
|
256 + | /* ServiceErrorGenerator.kt:135 */ Error::GlobalTableAlreadyExistsError(inner) => inner.fmt(f),
|
257 + | /* ServiceErrorGenerator.kt:135 */ Error::GlobalTableNotFoundError(inner) => inner.fmt(f),
|
258 + | /* ServiceErrorGenerator.kt:135 */ Error::IdempotentParameterMismatchError(inner) => inner.fmt(f),
|
259 + | /* ServiceErrorGenerator.kt:135 */ Error::IndexNotFoundError(inner) => inner.fmt(f),
|
260 + | /* ServiceErrorGenerator.kt:135 */ Error::InternalServerError(inner) => inner.fmt(f),
|
261 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidEndpointError(inner) => inner.fmt(f),
|
262 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidExportTimeError(inner) => inner.fmt(f),
|
263 + | /* ServiceErrorGenerator.kt:135 */ Error::InvalidRestoreTimeError(inner) => inner.fmt(f),
|
264 + | /* ServiceErrorGenerator.kt:135 */ Error::ItemCollectionSizeLimitExceededError(inner) => inner.fmt(f),
|
265 + | /* ServiceErrorGenerator.kt:135 */ Error::LimitExceededError(inner) => inner.fmt(f),
|
266 + | /* ServiceErrorGenerator.kt:135 */ Error::PointInTimeRecoveryUnavailableError(inner) => inner.fmt(f),
|
267 + | /* ServiceErrorGenerator.kt:135 */ Error::ProvisionedThroughputExceededError(inner) => inner.fmt(f),
|
268 + | /* ServiceErrorGenerator.kt:135 */ Error::ReplicaAlreadyExistsError(inner) => inner.fmt(f),
|
269 + | /* ServiceErrorGenerator.kt:135 */ Error::ReplicaNotFoundError(inner) => inner.fmt(f),
|
270 + | /* ServiceErrorGenerator.kt:135 */ Error::RequestLimitExceeded(inner) => inner.fmt(f),
|
271 + | /* ServiceErrorGenerator.kt:135 */ Error::ResourceInUseError(inner) => inner.fmt(f),
|
272 + | /* ServiceErrorGenerator.kt:135 */ Error::ResourceNotFoundError(inner) => inner.fmt(f),
|
273 + | /* ServiceErrorGenerator.kt:135 */ Error::TableAlreadyExistsError(inner) => inner.fmt(f),
|
274 + | /* ServiceErrorGenerator.kt:135 */ Error::TableInUseError(inner) => inner.fmt(f),
|
275 + | /* ServiceErrorGenerator.kt:135 */ Error::TableNotFoundError(inner) => inner.fmt(f),
|
276 + | /* ServiceErrorGenerator.kt:135 */ Error::TransactionCanceledError(inner) => inner.fmt(f),
|
277 + | /* ServiceErrorGenerator.kt:135 */ Error::TransactionConflictError(inner) => inner.fmt(f),
|
278 + | /* ServiceErrorGenerator.kt:135 */ Error::TransactionInProgressError(inner) => inner.fmt(f),
|
279 + | /* ServiceErrorGenerator.kt:137 */
|
240 280 | Error::Unhandled(_) => {
|
241 281 | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
242 282 | write!(f, "unhandled error ({code})")
|
243 283 | } else {
|
244 284 | f.write_str("unhandled error")
|
245 285 | }
|
286 + | } /* ServiceErrorGenerator.kt:133 */
|
246 287 | }
|
288 + | /* ServiceErrorGenerator.kt:132 */
|
247 289 | }
|
248 - | }
|
290 + | /* ServiceErrorGenerator.kt:131 */
|
249 291 | }
|
292 + | /* ServiceErrorGenerator.kt:154 */
|
250 293 | impl From<::aws_smithy_types::error::operation::BuildError> for Error {
|
251 294 | fn from(value: ::aws_smithy_types::error::operation::BuildError) -> Self {
|
252 295 | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
253 296 | source: value.into(),
|
254 297 | meta: ::std::default::Default::default(),
|
255 298 | })
|
256 299 | }
|
257 300 | }
|
301 + | /* ServiceErrorGenerator.kt:223 */
|
258 302 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for Error {
|
259 303 | fn meta(&self) -> &::aws_smithy_types::error::metadata::ErrorMetadata {
|
260 304 | match self {
|
261 305 | Self::BackupInUseError(inner) => inner.meta(),
|
262 306 | Self::BackupNotFoundError(inner) => inner.meta(),
|
263 307 | Self::ConditionalCheckFailedError(inner) => inner.meta(),
|
264 308 | Self::ContinuousBackupsUnavailableError(inner) => inner.meta(),
|
265 309 | Self::DuplicateItemError(inner) => inner.meta(),
|
266 310 | Self::ExportConflictError(inner) => inner.meta(),
|
267 311 | Self::ExportNotFoundError(inner) => inner.meta(),
|
268 312 | Self::GlobalTableAlreadyExistsError(inner) => inner.meta(),
|
269 313 | Self::GlobalTableNotFoundError(inner) => inner.meta(),
|
270 314 | Self::IdempotentParameterMismatchError(inner) => inner.meta(),
|
271 315 | Self::IndexNotFoundError(inner) => inner.meta(),
|
272 316 | Self::InternalServerError(inner) => inner.meta(),
|
273 317 | Self::InvalidEndpointError(inner) => inner.meta(),
|
274 318 | Self::InvalidExportTimeError(inner) => inner.meta(),
|
275 319 | Self::InvalidRestoreTimeError(inner) => inner.meta(),
|
276 320 | Self::ItemCollectionSizeLimitExceededError(inner) => inner.meta(),
|
277 321 | Self::LimitExceededError(inner) => inner.meta(),
|
278 322 | Self::PointInTimeRecoveryUnavailableError(inner) => inner.meta(),
|
279 323 | Self::ProvisionedThroughputExceededError(inner) => inner.meta(),
|
280 324 | Self::ReplicaAlreadyExistsError(inner) => inner.meta(),
|
281 325 | Self::ReplicaNotFoundError(inner) => inner.meta(),
|
282 326 | Self::RequestLimitExceeded(inner) => inner.meta(),
|
283 327 | Self::ResourceInUseError(inner) => inner.meta(),
|
284 328 | Self::ResourceNotFoundError(inner) => inner.meta(),
|
285 329 | Self::TableAlreadyExistsError(inner) => inner.meta(),
|
286 330 | Self::TableInUseError(inner) => inner.meta(),
|
287 331 | Self::TableNotFoundError(inner) => inner.meta(),
|
288 332 | Self::TransactionCanceledError(inner) => inner.meta(),
|
289 333 | Self::TransactionConflictError(inner) => inner.meta(),
|
290 334 | Self::TransactionInProgressError(inner) => inner.meta(),
|
291 335 | Self::Unhandled(inner) => &inner.meta,
|
292 336 | }
|
293 337 | }
|
294 338 | }
|
339 + | /* ServiceErrorGenerator.kt:174 */
|
295 340 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_execute_statement::BatchExecuteStatementError, R>> for Error
|
296 341 | where
|
297 342 | R: Send + Sync + std::fmt::Debug + 'static,
|
298 343 | {
|
344 + | /* ServiceErrorGenerator.kt:179 */
|
299 345 | fn from(
|
300 346 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_execute_statement::BatchExecuteStatementError, R>,
|
301 347 | ) -> Self {
|
348 + | /* ServiceErrorGenerator.kt:184 */
|
302 349 | match err {
|
350 + | /* ServiceErrorGenerator.kt:185 */
|
303 351 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
352 + | /* ServiceErrorGenerator.kt:186 */
|
304 353 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
305 354 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
306 355 | source: err.into(),
|
307 356 | }),
|
357 + | /* ServiceErrorGenerator.kt:184 */
|
308 358 | }
|
359 + | /* ServiceErrorGenerator.kt:179 */
|
309 360 | }
|
361 + | /* ServiceErrorGenerator.kt:174 */
|
310 362 | }
|
363 + | /* ServiceErrorGenerator.kt:202 */
|
311 364 | impl From<crate::operation::batch_execute_statement::BatchExecuteStatementError> for Error {
|
365 + | /* ServiceErrorGenerator.kt:203 */
|
312 366 | fn from(err: crate::operation::batch_execute_statement::BatchExecuteStatementError) -> Self {
|
367 + | /* ServiceErrorGenerator.kt:204 */
|
313 368 | match err {
|
369 + | /* ServiceErrorGenerator.kt:207 */
|
314 370 | crate::operation::batch_execute_statement::BatchExecuteStatementError::InternalServerError(inner) => Error::InternalServerError(inner),
|
371 + | /* ServiceErrorGenerator.kt:207 */
|
315 372 | crate::operation::batch_execute_statement::BatchExecuteStatementError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
373 + | /* ServiceErrorGenerator.kt:212 */
|
316 374 | crate::operation::batch_execute_statement::BatchExecuteStatementError::Unhandled(inner) => Error::Unhandled(inner),
|
375 + | /* ServiceErrorGenerator.kt:204 */
|
317 376 | }
|
377 + | /* ServiceErrorGenerator.kt:203 */
|
318 378 | }
|
379 + | /* ServiceErrorGenerator.kt:202 */
|
319 380 | }
|
381 + | /* ServiceErrorGenerator.kt:174 */
|
320 382 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_item::BatchGetItemError, R>> for Error
|
321 383 | where
|
322 384 | R: Send + Sync + std::fmt::Debug + 'static,
|
323 385 | {
|
386 + | /* ServiceErrorGenerator.kt:179 */
|
324 387 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_get_item::BatchGetItemError, R>) -> Self {
|
388 + | /* ServiceErrorGenerator.kt:184 */
|
325 389 | match err {
|
390 + | /* ServiceErrorGenerator.kt:185 */
|
326 391 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
392 + | /* ServiceErrorGenerator.kt:186 */
|
327 393 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
328 394 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
329 395 | source: err.into(),
|
330 396 | }),
|
397 + | /* ServiceErrorGenerator.kt:184 */
|
331 398 | }
|
399 + | /* ServiceErrorGenerator.kt:179 */
|
332 400 | }
|
401 + | /* ServiceErrorGenerator.kt:174 */
|
333 402 | }
|
403 + | /* ServiceErrorGenerator.kt:202 */
|
334 404 | impl From<crate::operation::batch_get_item::BatchGetItemError> for Error {
|
405 + | /* ServiceErrorGenerator.kt:203 */
|
335 406 | fn from(err: crate::operation::batch_get_item::BatchGetItemError) -> Self {
|
407 + | /* ServiceErrorGenerator.kt:204 */
|
336 408 | match err {
|
409 + | /* ServiceErrorGenerator.kt:207 */
|
337 410 | crate::operation::batch_get_item::BatchGetItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
411 + | /* ServiceErrorGenerator.kt:207 */
|
338 412 | crate::operation::batch_get_item::BatchGetItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
413 + | /* ServiceErrorGenerator.kt:207 */
|
339 414 | crate::operation::batch_get_item::BatchGetItemError::ProvisionedThroughputExceededError(inner) => {
|
340 415 | Error::ProvisionedThroughputExceededError(inner)
|
341 416 | }
|
417 + | /* ServiceErrorGenerator.kt:207 */
|
342 418 | crate::operation::batch_get_item::BatchGetItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
419 + | /* ServiceErrorGenerator.kt:207 */
|
343 420 | crate::operation::batch_get_item::BatchGetItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
421 + | /* ServiceErrorGenerator.kt:212 */
|
344 422 | crate::operation::batch_get_item::BatchGetItemError::Unhandled(inner) => Error::Unhandled(inner),
|
423 + | /* ServiceErrorGenerator.kt:204 */
|
345 424 | }
|
425 + | /* ServiceErrorGenerator.kt:203 */
|
346 426 | }
|
427 + | /* ServiceErrorGenerator.kt:202 */
|
347 428 | }
|
429 + | /* ServiceErrorGenerator.kt:174 */
|
348 430 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_write_item::BatchWriteItemError, R>> for Error
|
349 431 | where
|
350 432 | R: Send + Sync + std::fmt::Debug + 'static,
|
351 433 | {
|
434 + | /* ServiceErrorGenerator.kt:179 */
|
352 435 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::batch_write_item::BatchWriteItemError, R>) -> Self {
|
436 + | /* ServiceErrorGenerator.kt:184 */
|
353 437 | match err {
|
438 + | /* ServiceErrorGenerator.kt:185 */
|
354 439 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
440 + | /* ServiceErrorGenerator.kt:186 */
|
355 441 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
356 442 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
357 443 | source: err.into(),
|
358 444 | }),
|
445 + | /* ServiceErrorGenerator.kt:184 */
|
359 446 | }
|
447 + | /* ServiceErrorGenerator.kt:179 */
|
360 448 | }
|
449 + | /* ServiceErrorGenerator.kt:174 */
|
361 450 | }
|
451 + | /* ServiceErrorGenerator.kt:202 */
|
362 452 | impl From<crate::operation::batch_write_item::BatchWriteItemError> for Error {
|
453 + | /* ServiceErrorGenerator.kt:203 */
|
363 454 | fn from(err: crate::operation::batch_write_item::BatchWriteItemError) -> Self {
|
455 + | /* ServiceErrorGenerator.kt:204 */
|
364 456 | match err {
|
457 + | /* ServiceErrorGenerator.kt:207 */
|
365 458 | crate::operation::batch_write_item::BatchWriteItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
459 + | /* ServiceErrorGenerator.kt:207 */
|
366 460 | crate::operation::batch_write_item::BatchWriteItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
461 + | /* ServiceErrorGenerator.kt:207 */
|
367 462 | crate::operation::batch_write_item::BatchWriteItemError::ItemCollectionSizeLimitExceededError(inner) => {
|
368 463 | Error::ItemCollectionSizeLimitExceededError(inner)
|
369 464 | }
|
465 + | /* ServiceErrorGenerator.kt:207 */
|
370 466 | crate::operation::batch_write_item::BatchWriteItemError::ProvisionedThroughputExceededError(inner) => {
|
371 467 | Error::ProvisionedThroughputExceededError(inner)
|
372 468 | }
|
469 + | /* ServiceErrorGenerator.kt:207 */
|
373 470 | crate::operation::batch_write_item::BatchWriteItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
471 + | /* ServiceErrorGenerator.kt:207 */
|
374 472 | crate::operation::batch_write_item::BatchWriteItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
473 + | /* ServiceErrorGenerator.kt:212 */
|
375 474 | crate::operation::batch_write_item::BatchWriteItemError::Unhandled(inner) => Error::Unhandled(inner),
|
475 + | /* ServiceErrorGenerator.kt:204 */
|
376 476 | }
|
477 + | /* ServiceErrorGenerator.kt:203 */
|
377 478 | }
|
479 + | /* ServiceErrorGenerator.kt:202 */
|
378 480 | }
|
481 + | /* ServiceErrorGenerator.kt:174 */
|
379 482 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_backup::CreateBackupError, R>> for Error
|
380 483 | where
|
381 484 | R: Send + Sync + std::fmt::Debug + 'static,
|
382 485 | {
|
486 + | /* ServiceErrorGenerator.kt:179 */
|
383 487 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_backup::CreateBackupError, R>) -> Self {
|
488 + | /* ServiceErrorGenerator.kt:184 */
|
384 489 | match err {
|
490 + | /* ServiceErrorGenerator.kt:185 */
|
385 491 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
492 + | /* ServiceErrorGenerator.kt:186 */
|
386 493 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
387 494 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
388 495 | source: err.into(),
|
389 496 | }),
|
497 + | /* ServiceErrorGenerator.kt:184 */
|
390 498 | }
|
499 + | /* ServiceErrorGenerator.kt:179 */
|
391 500 | }
|
501 + | /* ServiceErrorGenerator.kt:174 */
|
392 502 | }
|
503 + | /* ServiceErrorGenerator.kt:202 */
|
393 504 | impl From<crate::operation::create_backup::CreateBackupError> for Error {
|
505 + | /* ServiceErrorGenerator.kt:203 */
|
394 506 | fn from(err: crate::operation::create_backup::CreateBackupError) -> Self {
|
507 + | /* ServiceErrorGenerator.kt:204 */
|
395 508 | match err {
|
509 + | /* ServiceErrorGenerator.kt:207 */
|
396 510 | crate::operation::create_backup::CreateBackupError::BackupInUseError(inner) => Error::BackupInUseError(inner),
|
511 + | /* ServiceErrorGenerator.kt:207 */
|
397 512 | crate::operation::create_backup::CreateBackupError::ContinuousBackupsUnavailableError(inner) => {
|
398 513 | Error::ContinuousBackupsUnavailableError(inner)
|
399 514 | }
|
515 + | /* ServiceErrorGenerator.kt:207 */
|
400 516 | crate::operation::create_backup::CreateBackupError::InternalServerError(inner) => Error::InternalServerError(inner),
|
517 + | /* ServiceErrorGenerator.kt:207 */
|
401 518 | crate::operation::create_backup::CreateBackupError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
519 + | /* ServiceErrorGenerator.kt:207 */
|
402 520 | crate::operation::create_backup::CreateBackupError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
521 + | /* ServiceErrorGenerator.kt:207 */
|
403 522 | crate::operation::create_backup::CreateBackupError::TableInUseError(inner) => Error::TableInUseError(inner),
|
523 + | /* ServiceErrorGenerator.kt:207 */
|
404 524 | crate::operation::create_backup::CreateBackupError::TableNotFoundError(inner) => Error::TableNotFoundError(inner),
|
525 + | /* ServiceErrorGenerator.kt:212 */
|
405 526 | crate::operation::create_backup::CreateBackupError::Unhandled(inner) => Error::Unhandled(inner),
|
527 + | /* ServiceErrorGenerator.kt:204 */
|
406 528 | }
|
529 + | /* ServiceErrorGenerator.kt:203 */
|
407 530 | }
|
531 + | /* ServiceErrorGenerator.kt:202 */
|
408 532 | }
|
533 + | /* ServiceErrorGenerator.kt:174 */
|
409 534 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_global_table::CreateGlobalTableError, R>> for Error
|
410 535 | where
|
411 536 | R: Send + Sync + std::fmt::Debug + 'static,
|
412 537 | {
|
538 + | /* ServiceErrorGenerator.kt:179 */
|
413 539 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_global_table::CreateGlobalTableError, R>) -> Self {
|
540 + | /* ServiceErrorGenerator.kt:184 */
|
414 541 | match err {
|
542 + | /* ServiceErrorGenerator.kt:185 */
|
415 543 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
544 + | /* ServiceErrorGenerator.kt:186 */
|
416 545 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
417 546 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
418 547 | source: err.into(),
|
419 548 | }),
|
549 + | /* ServiceErrorGenerator.kt:184 */
|
420 550 | }
|
551 + | /* ServiceErrorGenerator.kt:179 */
|
421 552 | }
|
553 + | /* ServiceErrorGenerator.kt:174 */
|
422 554 | }
|
555 + | /* ServiceErrorGenerator.kt:202 */
|
423 556 | impl From<crate::operation::create_global_table::CreateGlobalTableError> for Error {
|
557 + | /* ServiceErrorGenerator.kt:203 */
|
424 558 | fn from(err: crate::operation::create_global_table::CreateGlobalTableError) -> Self {
|
559 + | /* ServiceErrorGenerator.kt:204 */
|
425 560 | match err {
|
561 + | /* ServiceErrorGenerator.kt:207 */
|
426 562 | crate::operation::create_global_table::CreateGlobalTableError::GlobalTableAlreadyExistsError(inner) => {
|
427 563 | Error::GlobalTableAlreadyExistsError(inner)
|
428 564 | }
|
565 + | /* ServiceErrorGenerator.kt:207 */
|
429 566 | crate::operation::create_global_table::CreateGlobalTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
567 + | /* ServiceErrorGenerator.kt:207 */
|
430 568 | crate::operation::create_global_table::CreateGlobalTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
569 + | /* ServiceErrorGenerator.kt:207 */
|
431 570 | crate::operation::create_global_table::CreateGlobalTableError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
571 + | /* ServiceErrorGenerator.kt:207 */
|
432 572 | crate::operation::create_global_table::CreateGlobalTableError::TableNotFoundError(inner) => Error::TableNotFoundError(inner),
|
573 + | /* ServiceErrorGenerator.kt:212 */
|
433 574 | crate::operation::create_global_table::CreateGlobalTableError::Unhandled(inner) => Error::Unhandled(inner),
|
575 + | /* ServiceErrorGenerator.kt:204 */
|
434 576 | }
|
577 + | /* ServiceErrorGenerator.kt:203 */
|
435 578 | }
|
579 + | /* ServiceErrorGenerator.kt:202 */
|
436 580 | }
|
581 + | /* ServiceErrorGenerator.kt:174 */
|
437 582 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>> for Error
|
438 583 | where
|
439 584 | R: Send + Sync + std::fmt::Debug + 'static,
|
440 585 | {
|
586 + | /* ServiceErrorGenerator.kt:179 */
|
441 587 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::create_table::CreateTableError, R>) -> Self {
|
588 + | /* ServiceErrorGenerator.kt:184 */
|
442 589 | match err {
|
590 + | /* ServiceErrorGenerator.kt:185 */
|
443 591 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
592 + | /* ServiceErrorGenerator.kt:186 */
|
444 593 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
445 594 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
446 595 | source: err.into(),
|
447 596 | }),
|
597 + | /* ServiceErrorGenerator.kt:184 */
|
448 598 | }
|
599 + | /* ServiceErrorGenerator.kt:179 */
|
449 600 | }
|
601 + | /* ServiceErrorGenerator.kt:174 */
|
450 602 | }
|
603 + | /* ServiceErrorGenerator.kt:202 */
|
451 604 | impl From<crate::operation::create_table::CreateTableError> for Error {
|
605 + | /* ServiceErrorGenerator.kt:203 */
|
452 606 | fn from(err: crate::operation::create_table::CreateTableError) -> Self {
|
607 + | /* ServiceErrorGenerator.kt:204 */
|
453 608 | match err {
|
609 + | /* ServiceErrorGenerator.kt:207 */
|
454 610 | crate::operation::create_table::CreateTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
611 + | /* ServiceErrorGenerator.kt:207 */
|
455 612 | crate::operation::create_table::CreateTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
613 + | /* ServiceErrorGenerator.kt:207 */
|
456 614 | crate::operation::create_table::CreateTableError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
615 + | /* ServiceErrorGenerator.kt:207 */
|
457 616 | crate::operation::create_table::CreateTableError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
617 + | /* ServiceErrorGenerator.kt:212 */
|
458 618 | crate::operation::create_table::CreateTableError::Unhandled(inner) => Error::Unhandled(inner),
|
619 + | /* ServiceErrorGenerator.kt:204 */
|
459 620 | }
|
621 + | /* ServiceErrorGenerator.kt:203 */
|
460 622 | }
|
623 + | /* ServiceErrorGenerator.kt:202 */
|
461 624 | }
|
625 + | /* ServiceErrorGenerator.kt:174 */
|
462 626 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup::DeleteBackupError, R>> for Error
|
463 627 | where
|
464 628 | R: Send + Sync + std::fmt::Debug + 'static,
|
465 629 | {
|
630 + | /* ServiceErrorGenerator.kt:179 */
|
466 631 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_backup::DeleteBackupError, R>) -> Self {
|
632 + | /* ServiceErrorGenerator.kt:184 */
|
467 633 | match err {
|
634 + | /* ServiceErrorGenerator.kt:185 */
|
468 635 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
636 + | /* ServiceErrorGenerator.kt:186 */
|
469 637 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
470 638 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
471 639 | source: err.into(),
|
472 640 | }),
|
641 + | /* ServiceErrorGenerator.kt:184 */
|
473 642 | }
|
643 + | /* ServiceErrorGenerator.kt:179 */
|
474 644 | }
|
645 + | /* ServiceErrorGenerator.kt:174 */
|
475 646 | }
|
647 + | /* ServiceErrorGenerator.kt:202 */
|
476 648 | impl From<crate::operation::delete_backup::DeleteBackupError> for Error {
|
649 + | /* ServiceErrorGenerator.kt:203 */
|
477 650 | fn from(err: crate::operation::delete_backup::DeleteBackupError) -> Self {
|
651 + | /* ServiceErrorGenerator.kt:204 */
|
478 652 | match err {
|
653 + | /* ServiceErrorGenerator.kt:207 */
|
479 654 | crate::operation::delete_backup::DeleteBackupError::BackupInUseError(inner) => Error::BackupInUseError(inner),
|
655 + | /* ServiceErrorGenerator.kt:207 */
|
480 656 | crate::operation::delete_backup::DeleteBackupError::BackupNotFoundError(inner) => Error::BackupNotFoundError(inner),
|
657 + | /* ServiceErrorGenerator.kt:207 */
|
481 658 | crate::operation::delete_backup::DeleteBackupError::InternalServerError(inner) => Error::InternalServerError(inner),
|
659 + | /* ServiceErrorGenerator.kt:207 */
|
482 660 | crate::operation::delete_backup::DeleteBackupError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
661 + | /* ServiceErrorGenerator.kt:207 */
|
483 662 | crate::operation::delete_backup::DeleteBackupError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
663 + | /* ServiceErrorGenerator.kt:212 */
|
484 664 | crate::operation::delete_backup::DeleteBackupError::Unhandled(inner) => Error::Unhandled(inner),
|
665 + | /* ServiceErrorGenerator.kt:204 */
|
485 666 | }
|
667 + | /* ServiceErrorGenerator.kt:203 */
|
486 668 | }
|
669 + | /* ServiceErrorGenerator.kt:202 */
|
487 670 | }
|
671 + | /* ServiceErrorGenerator.kt:174 */
|
488 672 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_item::DeleteItemError, R>> for Error
|
489 673 | where
|
490 674 | R: Send + Sync + std::fmt::Debug + 'static,
|
491 675 | {
|
676 + | /* ServiceErrorGenerator.kt:179 */
|
492 677 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_item::DeleteItemError, R>) -> Self {
|
678 + | /* ServiceErrorGenerator.kt:184 */
|
493 679 | match err {
|
680 + | /* ServiceErrorGenerator.kt:185 */
|
494 681 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
682 + | /* ServiceErrorGenerator.kt:186 */
|
495 683 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
496 684 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
497 685 | source: err.into(),
|
498 686 | }),
|
687 + | /* ServiceErrorGenerator.kt:184 */
|
499 688 | }
|
689 + | /* ServiceErrorGenerator.kt:179 */
|
500 690 | }
|
691 + | /* ServiceErrorGenerator.kt:174 */
|
501 692 | }
|
693 + | /* ServiceErrorGenerator.kt:202 */
|
502 694 | impl From<crate::operation::delete_item::DeleteItemError> for Error {
|
695 + | /* ServiceErrorGenerator.kt:203 */
|
503 696 | fn from(err: crate::operation::delete_item::DeleteItemError) -> Self {
|
697 + | /* ServiceErrorGenerator.kt:204 */
|
504 698 | match err {
|
699 + | /* ServiceErrorGenerator.kt:207 */
|
505 700 | crate::operation::delete_item::DeleteItemError::ConditionalCheckFailedError(inner) => Error::ConditionalCheckFailedError(inner),
|
701 + | /* ServiceErrorGenerator.kt:207 */
|
506 702 | crate::operation::delete_item::DeleteItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
703 + | /* ServiceErrorGenerator.kt:207 */
|
507 704 | crate::operation::delete_item::DeleteItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
705 + | /* ServiceErrorGenerator.kt:207 */
|
508 706 | crate::operation::delete_item::DeleteItemError::ItemCollectionSizeLimitExceededError(inner) => {
|
509 707 | Error::ItemCollectionSizeLimitExceededError(inner)
|
510 708 | }
|
709 + | /* ServiceErrorGenerator.kt:207 */
|
511 710 | crate::operation::delete_item::DeleteItemError::ProvisionedThroughputExceededError(inner) => {
|
512 711 | Error::ProvisionedThroughputExceededError(inner)
|
513 712 | }
|
713 + | /* ServiceErrorGenerator.kt:207 */
|
514 714 | crate::operation::delete_item::DeleteItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
715 + | /* ServiceErrorGenerator.kt:207 */
|
515 716 | crate::operation::delete_item::DeleteItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
717 + | /* ServiceErrorGenerator.kt:207 */
|
516 718 | crate::operation::delete_item::DeleteItemError::TransactionConflictError(inner) => Error::TransactionConflictError(inner),
|
719 + | /* ServiceErrorGenerator.kt:212 */
|
517 720 | crate::operation::delete_item::DeleteItemError::Unhandled(inner) => Error::Unhandled(inner),
|
721 + | /* ServiceErrorGenerator.kt:204 */
|
518 722 | }
|
723 + | /* ServiceErrorGenerator.kt:203 */
|
519 724 | }
|
725 + | /* ServiceErrorGenerator.kt:202 */
|
520 726 | }
|
727 + | /* ServiceErrorGenerator.kt:174 */
|
521 728 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>> for Error
|
522 729 | where
|
523 730 | R: Send + Sync + std::fmt::Debug + 'static,
|
524 731 | {
|
732 + | /* ServiceErrorGenerator.kt:179 */
|
525 733 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::delete_table::DeleteTableError, R>) -> Self {
|
734 + | /* ServiceErrorGenerator.kt:184 */
|
526 735 | match err {
|
736 + | /* ServiceErrorGenerator.kt:185 */
|
527 737 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
738 + | /* ServiceErrorGenerator.kt:186 */
|
528 739 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
529 740 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
530 741 | source: err.into(),
|
531 742 | }),
|
743 + | /* ServiceErrorGenerator.kt:184 */
|
532 744 | }
|
745 + | /* ServiceErrorGenerator.kt:179 */
|
533 746 | }
|
747 + | /* ServiceErrorGenerator.kt:174 */
|
534 748 | }
|
749 + | /* ServiceErrorGenerator.kt:202 */
|
535 750 | impl From<crate::operation::delete_table::DeleteTableError> for Error {
|
751 + | /* ServiceErrorGenerator.kt:203 */
|
536 752 | fn from(err: crate::operation::delete_table::DeleteTableError) -> Self {
|
753 + | /* ServiceErrorGenerator.kt:204 */
|
537 754 | match err {
|
755 + | /* ServiceErrorGenerator.kt:207 */
|
538 756 | crate::operation::delete_table::DeleteTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
757 + | /* ServiceErrorGenerator.kt:207 */
|
539 758 | crate::operation::delete_table::DeleteTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
759 + | /* ServiceErrorGenerator.kt:207 */
|
540 760 | crate::operation::delete_table::DeleteTableError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
761 + | /* ServiceErrorGenerator.kt:207 */
|
541 762 | crate::operation::delete_table::DeleteTableError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
763 + | /* ServiceErrorGenerator.kt:207 */
|
542 764 | crate::operation::delete_table::DeleteTableError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
765 + | /* ServiceErrorGenerator.kt:212 */
|
543 766 | crate::operation::delete_table::DeleteTableError::Unhandled(inner) => Error::Unhandled(inner),
|
767 + | /* ServiceErrorGenerator.kt:204 */
|
544 768 | }
|
769 + | /* ServiceErrorGenerator.kt:203 */
|
545 770 | }
|
771 + | /* ServiceErrorGenerator.kt:202 */
|
546 772 | }
|
773 + | /* ServiceErrorGenerator.kt:174 */
|
547 774 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup::DescribeBackupError, R>> for Error
|
548 775 | where
|
549 776 | R: Send + Sync + std::fmt::Debug + 'static,
|
550 777 | {
|
778 + | /* ServiceErrorGenerator.kt:179 */
|
551 779 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_backup::DescribeBackupError, R>) -> Self {
|
780 + | /* ServiceErrorGenerator.kt:184 */
|
552 781 | match err {
|
782 + | /* ServiceErrorGenerator.kt:185 */
|
553 783 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
784 + | /* ServiceErrorGenerator.kt:186 */
|
554 785 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
555 786 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
556 787 | source: err.into(),
|
557 788 | }),
|
789 + | /* ServiceErrorGenerator.kt:184 */
|
558 790 | }
|
791 + | /* ServiceErrorGenerator.kt:179 */
|
559 792 | }
|
793 + | /* ServiceErrorGenerator.kt:174 */
|
560 794 | }
|
795 + | /* ServiceErrorGenerator.kt:202 */
|
561 796 | impl From<crate::operation::describe_backup::DescribeBackupError> for Error {
|
797 + | /* ServiceErrorGenerator.kt:203 */
|
562 798 | fn from(err: crate::operation::describe_backup::DescribeBackupError) -> Self {
|
799 + | /* ServiceErrorGenerator.kt:204 */
|
563 800 | match err {
|
801 + | /* ServiceErrorGenerator.kt:207 */
|
564 802 | crate::operation::describe_backup::DescribeBackupError::BackupNotFoundError(inner) => Error::BackupNotFoundError(inner),
|
803 + | /* ServiceErrorGenerator.kt:207 */
|
565 804 | crate::operation::describe_backup::DescribeBackupError::InternalServerError(inner) => Error::InternalServerError(inner),
|
805 + | /* ServiceErrorGenerator.kt:207 */
|
566 806 | crate::operation::describe_backup::DescribeBackupError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
807 + | /* ServiceErrorGenerator.kt:212 */
|
567 808 | crate::operation::describe_backup::DescribeBackupError::Unhandled(inner) => Error::Unhandled(inner),
|
809 + | /* ServiceErrorGenerator.kt:204 */
|
568 810 | }
|
811 + | /* ServiceErrorGenerator.kt:203 */
|
569 812 | }
|
813 + | /* ServiceErrorGenerator.kt:202 */
|
570 814 | }
|
815 + | /* ServiceErrorGenerator.kt:174 */
|
571 816 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_continuous_backups::DescribeContinuousBackupsError, R>>
|
572 817 | for Error
|
573 818 | where
|
574 819 | R: Send + Sync + std::fmt::Debug + 'static,
|
575 820 | {
|
821 + | /* ServiceErrorGenerator.kt:179 */
|
576 822 | fn from(
|
577 823 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_continuous_backups::DescribeContinuousBackupsError, R>,
|
578 824 | ) -> Self {
|
825 + | /* ServiceErrorGenerator.kt:184 */
|
579 826 | match err {
|
827 + | /* ServiceErrorGenerator.kt:185 */
|
580 828 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
829 + | /* ServiceErrorGenerator.kt:186 */
|
581 830 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
582 831 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
583 832 | source: err.into(),
|
584 833 | }),
|
834 + | /* ServiceErrorGenerator.kt:184 */
|
585 835 | }
|
836 + | /* ServiceErrorGenerator.kt:179 */
|
586 837 | }
|
838 + | /* ServiceErrorGenerator.kt:174 */
|
587 839 | }
|
840 + | /* ServiceErrorGenerator.kt:202 */
|
588 841 | impl From<crate::operation::describe_continuous_backups::DescribeContinuousBackupsError> for Error {
|
842 + | /* ServiceErrorGenerator.kt:203 */
|
589 843 | fn from(err: crate::operation::describe_continuous_backups::DescribeContinuousBackupsError) -> Self {
|
844 + | /* ServiceErrorGenerator.kt:204 */
|
590 845 | match err {
|
846 + | /* ServiceErrorGenerator.kt:207 */
|
591 847 | crate::operation::describe_continuous_backups::DescribeContinuousBackupsError::InternalServerError(inner) => {
|
592 848 | Error::InternalServerError(inner)
|
593 849 | }
|
850 + | /* ServiceErrorGenerator.kt:207 */
|
594 851 | crate::operation::describe_continuous_backups::DescribeContinuousBackupsError::InvalidEndpointError(inner) => {
|
595 852 | Error::InvalidEndpointError(inner)
|
596 853 | }
|
854 + | /* ServiceErrorGenerator.kt:207 */
|
597 855 | crate::operation::describe_continuous_backups::DescribeContinuousBackupsError::TableNotFoundError(inner) => {
|
598 856 | Error::TableNotFoundError(inner)
|
599 857 | }
|
858 + | /* ServiceErrorGenerator.kt:212 */
|
600 859 | crate::operation::describe_continuous_backups::DescribeContinuousBackupsError::Unhandled(inner) => Error::Unhandled(inner),
|
860 + | /* ServiceErrorGenerator.kt:204 */
|
601 861 | }
|
862 + | /* ServiceErrorGenerator.kt:203 */
|
602 863 | }
|
864 + | /* ServiceErrorGenerator.kt:202 */
|
603 865 | }
|
866 + | /* ServiceErrorGenerator.kt:174 */
|
604 867 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_contributor_insights::DescribeContributorInsightsError, R>>
|
605 868 | for Error
|
606 869 | where
|
607 870 | R: Send + Sync + std::fmt::Debug + 'static,
|
608 871 | {
|
872 + | /* ServiceErrorGenerator.kt:179 */
|
609 873 | fn from(
|
610 874 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_contributor_insights::DescribeContributorInsightsError, R>,
|
611 875 | ) -> Self {
|
876 + | /* ServiceErrorGenerator.kt:184 */
|
612 877 | match err {
|
878 + | /* ServiceErrorGenerator.kt:185 */
|
613 879 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
880 + | /* ServiceErrorGenerator.kt:186 */
|
614 881 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
615 882 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
616 883 | source: err.into(),
|
617 884 | }),
|
885 + | /* ServiceErrorGenerator.kt:184 */
|
618 886 | }
|
887 + | /* ServiceErrorGenerator.kt:179 */
|
619 888 | }
|
889 + | /* ServiceErrorGenerator.kt:174 */
|
620 890 | }
|
891 + | /* ServiceErrorGenerator.kt:202 */
|
621 892 | impl From<crate::operation::describe_contributor_insights::DescribeContributorInsightsError> for Error {
|
893 + | /* ServiceErrorGenerator.kt:203 */
|
622 894 | fn from(err: crate::operation::describe_contributor_insights::DescribeContributorInsightsError) -> Self {
|
895 + | /* ServiceErrorGenerator.kt:204 */
|
623 896 | match err {
|
897 + | /* ServiceErrorGenerator.kt:207 */
|
624 898 | crate::operation::describe_contributor_insights::DescribeContributorInsightsError::InternalServerError(inner) => {
|
625 899 | Error::InternalServerError(inner)
|
626 900 | }
|
901 + | /* ServiceErrorGenerator.kt:207 */
|
627 902 | crate::operation::describe_contributor_insights::DescribeContributorInsightsError::ResourceNotFoundError(inner) => {
|
628 903 | Error::ResourceNotFoundError(inner)
|
629 904 | }
|
905 + | /* ServiceErrorGenerator.kt:212 */
|
630 906 | crate::operation::describe_contributor_insights::DescribeContributorInsightsError::Unhandled(inner) => Error::Unhandled(inner),
|
907 + | /* ServiceErrorGenerator.kt:204 */
|
631 908 | }
|
909 + | /* ServiceErrorGenerator.kt:203 */
|
632 910 | }
|
911 + | /* ServiceErrorGenerator.kt:202 */
|
633 912 | }
|
913 + | /* ServiceErrorGenerator.kt:174 */
|
634 914 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoints::DescribeEndpointsError, R>> for Error
|
635 915 | where
|
636 916 | R: Send + Sync + std::fmt::Debug + 'static,
|
637 917 | {
|
918 + | /* ServiceErrorGenerator.kt:179 */
|
638 919 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_endpoints::DescribeEndpointsError, R>) -> Self {
|
920 + | /* ServiceErrorGenerator.kt:184 */
|
639 921 | match err {
|
922 + | /* ServiceErrorGenerator.kt:185 */
|
640 923 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
924 + | /* ServiceErrorGenerator.kt:186 */
|
641 925 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
642 926 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
643 927 | source: err.into(),
|
644 928 | }),
|
929 + | /* ServiceErrorGenerator.kt:184 */
|
645 930 | }
|
931 + | /* ServiceErrorGenerator.kt:179 */
|
646 932 | }
|
933 + | /* ServiceErrorGenerator.kt:174 */
|
647 934 | }
|
935 + | /* ServiceErrorGenerator.kt:202 */
|
648 936 | impl From<crate::operation::describe_endpoints::DescribeEndpointsError> for Error {
|
937 + | /* ServiceErrorGenerator.kt:203 */
|
649 938 | fn from(err: crate::operation::describe_endpoints::DescribeEndpointsError) -> Self {
|
939 + | /* ServiceErrorGenerator.kt:204 */
|
650 940 | match err {
|
941 + | /* ServiceErrorGenerator.kt:212 */
|
651 942 | crate::operation::describe_endpoints::DescribeEndpointsError::Unhandled(inner) => Error::Unhandled(inner),
|
943 + | /* ServiceErrorGenerator.kt:204 */
|
652 944 | }
|
945 + | /* ServiceErrorGenerator.kt:203 */
|
653 946 | }
|
947 + | /* ServiceErrorGenerator.kt:202 */
|
654 948 | }
|
949 + | /* ServiceErrorGenerator.kt:174 */
|
655 950 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export::DescribeExportError, R>> for Error
|
656 951 | where
|
657 952 | R: Send + Sync + std::fmt::Debug + 'static,
|
658 953 | {
|
954 + | /* ServiceErrorGenerator.kt:179 */
|
659 955 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_export::DescribeExportError, R>) -> Self {
|
956 + | /* ServiceErrorGenerator.kt:184 */
|
660 957 | match err {
|
958 + | /* ServiceErrorGenerator.kt:185 */
|
661 959 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
960 + | /* ServiceErrorGenerator.kt:186 */
|
662 961 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
663 962 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
664 963 | source: err.into(),
|
665 964 | }),
|
965 + | /* ServiceErrorGenerator.kt:184 */
|
666 966 | }
|
967 + | /* ServiceErrorGenerator.kt:179 */
|
667 968 | }
|
969 + | /* ServiceErrorGenerator.kt:174 */
|
668 970 | }
|
971 + | /* ServiceErrorGenerator.kt:202 */
|
669 972 | impl From<crate::operation::describe_export::DescribeExportError> for Error {
|
973 + | /* ServiceErrorGenerator.kt:203 */
|
670 974 | fn from(err: crate::operation::describe_export::DescribeExportError) -> Self {
|
975 + | /* ServiceErrorGenerator.kt:204 */
|
671 976 | match err {
|
977 + | /* ServiceErrorGenerator.kt:207 */
|
672 978 | crate::operation::describe_export::DescribeExportError::ExportNotFoundError(inner) => Error::ExportNotFoundError(inner),
|
979 + | /* ServiceErrorGenerator.kt:207 */
|
673 980 | crate::operation::describe_export::DescribeExportError::InternalServerError(inner) => Error::InternalServerError(inner),
|
981 + | /* ServiceErrorGenerator.kt:207 */
|
674 982 | crate::operation::describe_export::DescribeExportError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
983 + | /* ServiceErrorGenerator.kt:212 */
|
675 984 | crate::operation::describe_export::DescribeExportError::Unhandled(inner) => Error::Unhandled(inner),
|
985 + | /* ServiceErrorGenerator.kt:204 */
|
676 986 | }
|
987 + | /* ServiceErrorGenerator.kt:203 */
|
677 988 | }
|
989 + | /* ServiceErrorGenerator.kt:202 */
|
678 990 | }
|
991 + | /* ServiceErrorGenerator.kt:174 */
|
679 992 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_table::DescribeGlobalTableError, R>> for Error
|
680 993 | where
|
681 994 | R: Send + Sync + std::fmt::Debug + 'static,
|
682 995 | {
|
996 + | /* ServiceErrorGenerator.kt:179 */
|
683 997 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_table::DescribeGlobalTableError, R>) -> Self {
|
998 + | /* ServiceErrorGenerator.kt:184 */
|
684 999 | match err {
|
1000 + | /* ServiceErrorGenerator.kt:185 */
|
685 1001 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1002 + | /* ServiceErrorGenerator.kt:186 */
|
686 1003 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
687 1004 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
688 1005 | source: err.into(),
|
689 1006 | }),
|
1007 + | /* ServiceErrorGenerator.kt:184 */
|
690 1008 | }
|
1009 + | /* ServiceErrorGenerator.kt:179 */
|
691 1010 | }
|
1011 + | /* ServiceErrorGenerator.kt:174 */
|
692 1012 | }
|
1013 + | /* ServiceErrorGenerator.kt:202 */
|
693 1014 | impl From<crate::operation::describe_global_table::DescribeGlobalTableError> for Error {
|
1015 + | /* ServiceErrorGenerator.kt:203 */
|
694 1016 | fn from(err: crate::operation::describe_global_table::DescribeGlobalTableError) -> Self {
|
1017 + | /* ServiceErrorGenerator.kt:204 */
|
695 1018 | match err {
|
1019 + | /* ServiceErrorGenerator.kt:207 */
|
696 1020 | crate::operation::describe_global_table::DescribeGlobalTableError::GlobalTableNotFoundError(inner) => {
|
697 1021 | Error::GlobalTableNotFoundError(inner)
|
698 1022 | }
|
1023 + | /* ServiceErrorGenerator.kt:207 */
|
699 1024 | crate::operation::describe_global_table::DescribeGlobalTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1025 + | /* ServiceErrorGenerator.kt:207 */
|
700 1026 | crate::operation::describe_global_table::DescribeGlobalTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1027 + | /* ServiceErrorGenerator.kt:212 */
|
701 1028 | crate::operation::describe_global_table::DescribeGlobalTableError::Unhandled(inner) => Error::Unhandled(inner),
|
1029 + | /* ServiceErrorGenerator.kt:204 */
|
702 1030 | }
|
1031 + | /* ServiceErrorGenerator.kt:203 */
|
703 1032 | }
|
1033 + | /* ServiceErrorGenerator.kt:202 */
|
704 1034 | }
|
1035 + | /* ServiceErrorGenerator.kt:174 */
|
705 1036 | impl<R>
|
706 1037 | From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError, R>>
|
707 1038 | for Error
|
708 1039 | where
|
709 1040 | R: Send + Sync + std::fmt::Debug + 'static,
|
710 1041 | {
|
1042 + | /* ServiceErrorGenerator.kt:179 */
|
711 1043 | fn from(
|
712 1044 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
713 1045 | crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError,
|
714 1046 | R,
|
715 1047 | >,
|
716 1048 | ) -> Self {
|
1049 + | /* ServiceErrorGenerator.kt:184 */
|
717 1050 | match err {
|
1051 + | /* ServiceErrorGenerator.kt:185 */
|
718 1052 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1053 + | /* ServiceErrorGenerator.kt:186 */
|
719 1054 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
720 1055 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
721 1056 | source: err.into(),
|
722 1057 | }),
|
1058 + | /* ServiceErrorGenerator.kt:184 */
|
723 1059 | }
|
1060 + | /* ServiceErrorGenerator.kt:179 */
|
724 1061 | }
|
1062 + | /* ServiceErrorGenerator.kt:174 */
|
725 1063 | }
|
1064 + | /* ServiceErrorGenerator.kt:202 */
|
726 1065 | impl From<crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError> for Error {
|
1066 + | /* ServiceErrorGenerator.kt:203 */
|
727 1067 | fn from(err: crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError) -> Self {
|
1068 + | /* ServiceErrorGenerator.kt:204 */
|
728 1069 | match err {
|
1070 + | /* ServiceErrorGenerator.kt:207 */
|
729 1071 | crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError::GlobalTableNotFoundError(inner) => {
|
730 1072 | Error::GlobalTableNotFoundError(inner)
|
731 1073 | }
|
1074 + | /* ServiceErrorGenerator.kt:207 */
|
732 1075 | crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError::InternalServerError(inner) => {
|
733 1076 | Error::InternalServerError(inner)
|
734 1077 | }
|
1078 + | /* ServiceErrorGenerator.kt:207 */
|
735 1079 | crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError::InvalidEndpointError(inner) => {
|
736 1080 | Error::InvalidEndpointError(inner)
|
737 1081 | }
|
1082 + | /* ServiceErrorGenerator.kt:212 */
|
738 1083 | crate::operation::describe_global_table_settings::DescribeGlobalTableSettingsError::Unhandled(inner) => Error::Unhandled(inner),
|
1084 + | /* ServiceErrorGenerator.kt:204 */
|
739 1085 | }
|
1086 + | /* ServiceErrorGenerator.kt:203 */
|
740 1087 | }
|
1088 + | /* ServiceErrorGenerator.kt:202 */
|
741 1089 | }
|
1090 + | /* ServiceErrorGenerator.kt:174 */
|
742 1091 | impl<R>
|
743 1092 | From<
|
744 1093 | ::aws_smithy_runtime_api::client::result::SdkError<
|
745 1094 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError,
|
746 1095 | R,
|
747 1096 | >,
|
748 1097 | > for Error
|
749 1098 | where
|
750 1099 | R: Send + Sync + std::fmt::Debug + 'static,
|
751 1100 | {
|
1101 + | /* ServiceErrorGenerator.kt:179 */
|
752 1102 | fn from(
|
753 1103 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
754 1104 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError,
|
755 1105 | R,
|
756 1106 | >,
|
757 1107 | ) -> Self {
|
1108 + | /* ServiceErrorGenerator.kt:184 */
|
758 1109 | match err {
|
1110 + | /* ServiceErrorGenerator.kt:185 */
|
759 1111 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1112 + | /* ServiceErrorGenerator.kt:186 */
|
760 1113 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
761 1114 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
762 1115 | source: err.into(),
|
763 1116 | }),
|
1117 + | /* ServiceErrorGenerator.kt:184 */
|
764 1118 | }
|
1119 + | /* ServiceErrorGenerator.kt:179 */
|
765 1120 | }
|
1121 + | /* ServiceErrorGenerator.kt:174 */
|
766 1122 | }
|
1123 + | /* ServiceErrorGenerator.kt:202 */
|
767 1124 | impl From<crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError> for Error {
|
1125 + | /* ServiceErrorGenerator.kt:203 */
|
768 1126 | fn from(err: crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError) -> Self {
|
1127 + | /* ServiceErrorGenerator.kt:204 */
|
769 1128 | match err {
|
1129 + | /* ServiceErrorGenerator.kt:207 */
|
770 1130 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError::InternalServerError(inner) => {
|
771 1131 | Error::InternalServerError(inner)
|
772 1132 | }
|
1133 + | /* ServiceErrorGenerator.kt:207 */
|
773 1134 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError::InvalidEndpointError(inner) => {
|
774 1135 | Error::InvalidEndpointError(inner)
|
775 1136 | }
|
1137 + | /* ServiceErrorGenerator.kt:207 */
|
776 1138 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError::ResourceNotFoundError(inner) => {
|
777 1139 | Error::ResourceNotFoundError(inner)
|
778 1140 | }
|
1141 + | /* ServiceErrorGenerator.kt:212 */
|
779 1142 | crate::operation::describe_kinesis_streaming_destination::DescribeKinesisStreamingDestinationError::Unhandled(inner) => {
|
780 1143 | Error::Unhandled(inner)
|
781 1144 | }
|
1145 + | /* ServiceErrorGenerator.kt:204 */
|
782 1146 | }
|
1147 + | /* ServiceErrorGenerator.kt:203 */
|
783 1148 | }
|
1149 + | /* ServiceErrorGenerator.kt:202 */
|
784 1150 | }
|
1151 + | /* ServiceErrorGenerator.kt:174 */
|
785 1152 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_limits::DescribeLimitsError, R>> for Error
|
786 1153 | where
|
787 1154 | R: Send + Sync + std::fmt::Debug + 'static,
|
788 1155 | {
|
1156 + | /* ServiceErrorGenerator.kt:179 */
|
789 1157 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_limits::DescribeLimitsError, R>) -> Self {
|
1158 + | /* ServiceErrorGenerator.kt:184 */
|
790 1159 | match err {
|
1160 + | /* ServiceErrorGenerator.kt:185 */
|
791 1161 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1162 + | /* ServiceErrorGenerator.kt:186 */
|
792 1163 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
793 1164 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
794 1165 | source: err.into(),
|
795 1166 | }),
|
1167 + | /* ServiceErrorGenerator.kt:184 */
|
796 1168 | }
|
1169 + | /* ServiceErrorGenerator.kt:179 */
|
797 1170 | }
|
1171 + | /* ServiceErrorGenerator.kt:174 */
|
798 1172 | }
|
1173 + | /* ServiceErrorGenerator.kt:202 */
|
799 1174 | impl From<crate::operation::describe_limits::DescribeLimitsError> for Error {
|
1175 + | /* ServiceErrorGenerator.kt:203 */
|
800 1176 | fn from(err: crate::operation::describe_limits::DescribeLimitsError) -> Self {
|
1177 + | /* ServiceErrorGenerator.kt:204 */
|
801 1178 | match err {
|
1179 + | /* ServiceErrorGenerator.kt:207 */
|
802 1180 | crate::operation::describe_limits::DescribeLimitsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1181 + | /* ServiceErrorGenerator.kt:207 */
|
803 1182 | crate::operation::describe_limits::DescribeLimitsError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1183 + | /* ServiceErrorGenerator.kt:212 */
|
804 1184 | crate::operation::describe_limits::DescribeLimitsError::Unhandled(inner) => Error::Unhandled(inner),
|
1185 + | /* ServiceErrorGenerator.kt:204 */
|
805 1186 | }
|
1187 + | /* ServiceErrorGenerator.kt:203 */
|
806 1188 | }
|
1189 + | /* ServiceErrorGenerator.kt:202 */
|
807 1190 | }
|
1191 + | /* ServiceErrorGenerator.kt:174 */
|
808 1192 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table::DescribeTableError, R>> for Error
|
809 1193 | where
|
810 1194 | R: Send + Sync + std::fmt::Debug + 'static,
|
811 1195 | {
|
1196 + | /* ServiceErrorGenerator.kt:179 */
|
812 1197 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_table::DescribeTableError, R>) -> Self {
|
1198 + | /* ServiceErrorGenerator.kt:184 */
|
813 1199 | match err {
|
1200 + | /* ServiceErrorGenerator.kt:185 */
|
814 1201 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1202 + | /* ServiceErrorGenerator.kt:186 */
|
815 1203 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
816 1204 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
817 1205 | source: err.into(),
|
818 1206 | }),
|
1207 + | /* ServiceErrorGenerator.kt:184 */
|
819 1208 | }
|
1209 + | /* ServiceErrorGenerator.kt:179 */
|
820 1210 | }
|
1211 + | /* ServiceErrorGenerator.kt:174 */
|
821 1212 | }
|
1213 + | /* ServiceErrorGenerator.kt:202 */
|
822 1214 | impl From<crate::operation::describe_table::DescribeTableError> for Error {
|
1215 + | /* ServiceErrorGenerator.kt:203 */
|
823 1216 | fn from(err: crate::operation::describe_table::DescribeTableError) -> Self {
|
1217 + | /* ServiceErrorGenerator.kt:204 */
|
824 1218 | match err {
|
1219 + | /* ServiceErrorGenerator.kt:207 */
|
825 1220 | crate::operation::describe_table::DescribeTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1221 + | /* ServiceErrorGenerator.kt:207 */
|
826 1222 | crate::operation::describe_table::DescribeTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1223 + | /* ServiceErrorGenerator.kt:207 */
|
827 1224 | crate::operation::describe_table::DescribeTableError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1225 + | /* ServiceErrorGenerator.kt:212 */
|
828 1226 | crate::operation::describe_table::DescribeTableError::Unhandled(inner) => Error::Unhandled(inner),
|
1227 + | /* ServiceErrorGenerator.kt:204 */
|
829 1228 | }
|
1229 + | /* ServiceErrorGenerator.kt:203 */
|
830 1230 | }
|
1231 + | /* ServiceErrorGenerator.kt:202 */
|
831 1232 | }
|
1233 + | /* ServiceErrorGenerator.kt:174 */
|
832 1234 | impl<R>
|
833 1235 | From<
|
834 1236 | ::aws_smithy_runtime_api::client::result::SdkError<
|
835 1237 | crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError,
|
836 1238 | R,
|
837 1239 | >,
|
838 1240 | > for Error
|
839 1241 | where
|
840 1242 | R: Send + Sync + std::fmt::Debug + 'static,
|
841 1243 | {
|
1244 + | /* ServiceErrorGenerator.kt:179 */
|
842 1245 | fn from(
|
843 1246 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
844 1247 | crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError,
|
845 1248 | R,
|
846 1249 | >,
|
847 1250 | ) -> Self {
|
1251 + | /* ServiceErrorGenerator.kt:184 */
|
848 1252 | match err {
|
1253 + | /* ServiceErrorGenerator.kt:185 */
|
849 1254 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1255 + | /* ServiceErrorGenerator.kt:186 */
|
850 1256 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
851 1257 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
852 1258 | source: err.into(),
|
853 1259 | }),
|
1260 + | /* ServiceErrorGenerator.kt:184 */
|
854 1261 | }
|
1262 + | /* ServiceErrorGenerator.kt:179 */
|
855 1263 | }
|
1264 + | /* ServiceErrorGenerator.kt:174 */
|
856 1265 | }
|
1266 + | /* ServiceErrorGenerator.kt:202 */
|
857 1267 | impl From<crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError> for Error {
|
1268 + | /* ServiceErrorGenerator.kt:203 */
|
858 1269 | fn from(err: crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError) -> Self {
|
1270 + | /* ServiceErrorGenerator.kt:204 */
|
859 1271 | match err {
|
1272 + | /* ServiceErrorGenerator.kt:207 */
|
860 1273 | crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError::InternalServerError(inner) => {
|
861 1274 | Error::InternalServerError(inner)
|
862 1275 | }
|
1276 + | /* ServiceErrorGenerator.kt:207 */
|
863 1277 | crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError::ResourceNotFoundError(inner) => {
|
864 1278 | Error::ResourceNotFoundError(inner)
|
865 1279 | }
|
1280 + | /* ServiceErrorGenerator.kt:212 */
|
866 1281 | crate::operation::describe_table_replica_auto_scaling::DescribeTableReplicaAutoScalingError::Unhandled(inner) => Error::Unhandled(inner),
|
1282 + | /* ServiceErrorGenerator.kt:204 */
|
867 1283 | }
|
1284 + | /* ServiceErrorGenerator.kt:203 */
|
868 1285 | }
|
1286 + | /* ServiceErrorGenerator.kt:202 */
|
869 1287 | }
|
1288 + | /* ServiceErrorGenerator.kt:174 */
|
870 1289 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_time_to_live::DescribeTimeToLiveError, R>> for Error
|
871 1290 | where
|
872 1291 | R: Send + Sync + std::fmt::Debug + 'static,
|
873 1292 | {
|
1293 + | /* ServiceErrorGenerator.kt:179 */
|
874 1294 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::describe_time_to_live::DescribeTimeToLiveError, R>) -> Self {
|
1295 + | /* ServiceErrorGenerator.kt:184 */
|
875 1296 | match err {
|
1297 + | /* ServiceErrorGenerator.kt:185 */
|
876 1298 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1299 + | /* ServiceErrorGenerator.kt:186 */
|
877 1300 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
878 1301 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
879 1302 | source: err.into(),
|
880 1303 | }),
|
1304 + | /* ServiceErrorGenerator.kt:184 */
|
881 1305 | }
|
1306 + | /* ServiceErrorGenerator.kt:179 */
|
882 1307 | }
|
1308 + | /* ServiceErrorGenerator.kt:174 */
|
883 1309 | }
|
1310 + | /* ServiceErrorGenerator.kt:202 */
|
884 1311 | impl From<crate::operation::describe_time_to_live::DescribeTimeToLiveError> for Error {
|
1312 + | /* ServiceErrorGenerator.kt:203 */
|
885 1313 | fn from(err: crate::operation::describe_time_to_live::DescribeTimeToLiveError) -> Self {
|
1314 + | /* ServiceErrorGenerator.kt:204 */
|
886 1315 | match err {
|
1316 + | /* ServiceErrorGenerator.kt:207 */
|
887 1317 | crate::operation::describe_time_to_live::DescribeTimeToLiveError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1318 + | /* ServiceErrorGenerator.kt:207 */
|
888 1319 | crate::operation::describe_time_to_live::DescribeTimeToLiveError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1320 + | /* ServiceErrorGenerator.kt:207 */
|
889 1321 | crate::operation::describe_time_to_live::DescribeTimeToLiveError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1322 + | /* ServiceErrorGenerator.kt:212 */
|
890 1323 | crate::operation::describe_time_to_live::DescribeTimeToLiveError::Unhandled(inner) => Error::Unhandled(inner),
|
1324 + | /* ServiceErrorGenerator.kt:204 */
|
891 1325 | }
|
1326 + | /* ServiceErrorGenerator.kt:203 */
|
892 1327 | }
|
1328 + | /* ServiceErrorGenerator.kt:202 */
|
893 1329 | }
|
1330 + | /* ServiceErrorGenerator.kt:174 */
|
894 1331 | impl<R>
|
895 1332 | From<
|
896 1333 | ::aws_smithy_runtime_api::client::result::SdkError<
|
897 1334 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError,
|
898 1335 | R,
|
899 1336 | >,
|
900 1337 | > for Error
|
901 1338 | where
|
902 1339 | R: Send + Sync + std::fmt::Debug + 'static,
|
903 1340 | {
|
1341 + | /* ServiceErrorGenerator.kt:179 */
|
904 1342 | fn from(
|
905 1343 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
906 1344 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError,
|
907 1345 | R,
|
908 1346 | >,
|
909 1347 | ) -> Self {
|
1348 + | /* ServiceErrorGenerator.kt:184 */
|
910 1349 | match err {
|
1350 + | /* ServiceErrorGenerator.kt:185 */
|
911 1351 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1352 + | /* ServiceErrorGenerator.kt:186 */
|
912 1353 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
913 1354 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
914 1355 | source: err.into(),
|
915 1356 | }),
|
1357 + | /* ServiceErrorGenerator.kt:184 */
|
916 1358 | }
|
1359 + | /* ServiceErrorGenerator.kt:179 */
|
917 1360 | }
|
1361 + | /* ServiceErrorGenerator.kt:174 */
|
918 1362 | }
|
1363 + | /* ServiceErrorGenerator.kt:202 */
|
919 1364 | impl From<crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError> for Error {
|
1365 + | /* ServiceErrorGenerator.kt:203 */
|
920 1366 | fn from(err: crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError) -> Self {
|
1367 + | /* ServiceErrorGenerator.kt:204 */
|
921 1368 | match err {
|
1369 + | /* ServiceErrorGenerator.kt:207 */
|
922 1370 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::InternalServerError(inner) => {
|
923 1371 | Error::InternalServerError(inner)
|
924 1372 | }
|
1373 + | /* ServiceErrorGenerator.kt:207 */
|
925 1374 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::InvalidEndpointError(inner) => {
|
926 1375 | Error::InvalidEndpointError(inner)
|
927 1376 | }
|
1377 + | /* ServiceErrorGenerator.kt:207 */
|
928 1378 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::LimitExceededError(inner) => {
|
929 1379 | Error::LimitExceededError(inner)
|
930 1380 | }
|
1381 + | /* ServiceErrorGenerator.kt:207 */
|
931 1382 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::ResourceInUseError(inner) => {
|
932 1383 | Error::ResourceInUseError(inner)
|
933 1384 | }
|
1385 + | /* ServiceErrorGenerator.kt:207 */
|
934 1386 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::ResourceNotFoundError(inner) => {
|
935 1387 | Error::ResourceNotFoundError(inner)
|
936 1388 | }
|
1389 + | /* ServiceErrorGenerator.kt:212 */
|
937 1390 | crate::operation::disable_kinesis_streaming_destination::DisableKinesisStreamingDestinationError::Unhandled(inner) => {
|
938 1391 | Error::Unhandled(inner)
|
939 1392 | }
|
1393 + | /* ServiceErrorGenerator.kt:204 */
|
940 1394 | }
|
1395 + | /* ServiceErrorGenerator.kt:203 */
|
941 1396 | }
|
1397 + | /* ServiceErrorGenerator.kt:202 */
|
942 1398 | }
|
1399 + | /* ServiceErrorGenerator.kt:174 */
|
943 1400 | impl<R>
|
944 1401 | From<
|
945 1402 | ::aws_smithy_runtime_api::client::result::SdkError<
|
946 1403 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError,
|
947 1404 | R,
|
948 1405 | >,
|
949 1406 | > for Error
|
950 1407 | where
|
951 1408 | R: Send + Sync + std::fmt::Debug + 'static,
|
952 1409 | {
|
1410 + | /* ServiceErrorGenerator.kt:179 */
|
953 1411 | fn from(
|
954 1412 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
955 1413 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError,
|
956 1414 | R,
|
957 1415 | >,
|
958 1416 | ) -> Self {
|
1417 + | /* ServiceErrorGenerator.kt:184 */
|
959 1418 | match err {
|
1419 + | /* ServiceErrorGenerator.kt:185 */
|
960 1420 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1421 + | /* ServiceErrorGenerator.kt:186 */
|
961 1422 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
962 1423 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
963 1424 | source: err.into(),
|
964 1425 | }),
|
1426 + | /* ServiceErrorGenerator.kt:184 */
|
965 1427 | }
|
1428 + | /* ServiceErrorGenerator.kt:179 */
|
966 1429 | }
|
1430 + | /* ServiceErrorGenerator.kt:174 */
|
967 1431 | }
|
1432 + | /* ServiceErrorGenerator.kt:202 */
|
968 1433 | impl From<crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError> for Error {
|
1434 + | /* ServiceErrorGenerator.kt:203 */
|
969 1435 | fn from(err: crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError) -> Self {
|
1436 + | /* ServiceErrorGenerator.kt:204 */
|
970 1437 | match err {
|
1438 + | /* ServiceErrorGenerator.kt:207 */
|
971 1439 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::InternalServerError(inner) => {
|
972 1440 | Error::InternalServerError(inner)
|
973 1441 | }
|
1442 + | /* ServiceErrorGenerator.kt:207 */
|
974 1443 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::InvalidEndpointError(inner) => {
|
975 1444 | Error::InvalidEndpointError(inner)
|
976 1445 | }
|
1446 + | /* ServiceErrorGenerator.kt:207 */
|
977 1447 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::LimitExceededError(inner) => {
|
978 1448 | Error::LimitExceededError(inner)
|
979 1449 | }
|
1450 + | /* ServiceErrorGenerator.kt:207 */
|
980 1451 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::ResourceInUseError(inner) => {
|
981 1452 | Error::ResourceInUseError(inner)
|
982 1453 | }
|
1454 + | /* ServiceErrorGenerator.kt:207 */
|
983 1455 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::ResourceNotFoundError(inner) => {
|
984 1456 | Error::ResourceNotFoundError(inner)
|
985 1457 | }
|
1458 + | /* ServiceErrorGenerator.kt:212 */
|
986 1459 | crate::operation::enable_kinesis_streaming_destination::EnableKinesisStreamingDestinationError::Unhandled(inner) => {
|
987 1460 | Error::Unhandled(inner)
|
988 1461 | }
|
1462 + | /* ServiceErrorGenerator.kt:204 */
|
989 1463 | }
|
1464 + | /* ServiceErrorGenerator.kt:203 */
|
990 1465 | }
|
1466 + | /* ServiceErrorGenerator.kt:202 */
|
991 1467 | }
|
1468 + | /* ServiceErrorGenerator.kt:174 */
|
992 1469 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::execute_statement::ExecuteStatementError, R>> for Error
|
993 1470 | where
|
994 1471 | R: Send + Sync + std::fmt::Debug + 'static,
|
995 1472 | {
|
1473 + | /* ServiceErrorGenerator.kt:179 */
|
996 1474 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::execute_statement::ExecuteStatementError, R>) -> Self {
|
1475 + | /* ServiceErrorGenerator.kt:184 */
|
997 1476 | match err {
|
1477 + | /* ServiceErrorGenerator.kt:185 */
|
998 1478 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1479 + | /* ServiceErrorGenerator.kt:186 */
|
999 1480 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1000 1481 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1001 1482 | source: err.into(),
|
1002 1483 | }),
|
1484 + | /* ServiceErrorGenerator.kt:184 */
|
1003 1485 | }
|
1486 + | /* ServiceErrorGenerator.kt:179 */
|
1004 1487 | }
|
1488 + | /* ServiceErrorGenerator.kt:174 */
|
1005 1489 | }
|
1490 + | /* ServiceErrorGenerator.kt:202 */
|
1006 1491 | impl From<crate::operation::execute_statement::ExecuteStatementError> for Error {
|
1492 + | /* ServiceErrorGenerator.kt:203 */
|
1007 1493 | fn from(err: crate::operation::execute_statement::ExecuteStatementError) -> Self {
|
1494 + | /* ServiceErrorGenerator.kt:204 */
|
1008 1495 | match err {
|
1496 + | /* ServiceErrorGenerator.kt:207 */
|
1009 1497 | crate::operation::execute_statement::ExecuteStatementError::ConditionalCheckFailedError(inner) => {
|
1010 1498 | Error::ConditionalCheckFailedError(inner)
|
1011 1499 | }
|
1500 + | /* ServiceErrorGenerator.kt:207 */
|
1012 1501 | crate::operation::execute_statement::ExecuteStatementError::DuplicateItemError(inner) => Error::DuplicateItemError(inner),
|
1502 + | /* ServiceErrorGenerator.kt:207 */
|
1013 1503 | crate::operation::execute_statement::ExecuteStatementError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1504 + | /* ServiceErrorGenerator.kt:207 */
|
1014 1505 | crate::operation::execute_statement::ExecuteStatementError::ItemCollectionSizeLimitExceededError(inner) => {
|
1015 1506 | Error::ItemCollectionSizeLimitExceededError(inner)
|
1016 1507 | }
|
1508 + | /* ServiceErrorGenerator.kt:207 */
|
1017 1509 | crate::operation::execute_statement::ExecuteStatementError::ProvisionedThroughputExceededError(inner) => {
|
1018 1510 | Error::ProvisionedThroughputExceededError(inner)
|
1019 1511 | }
|
1512 + | /* ServiceErrorGenerator.kt:207 */
|
1020 1513 | crate::operation::execute_statement::ExecuteStatementError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
1514 + | /* ServiceErrorGenerator.kt:207 */
|
1021 1515 | crate::operation::execute_statement::ExecuteStatementError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1516 + | /* ServiceErrorGenerator.kt:207 */
|
1022 1517 | crate::operation::execute_statement::ExecuteStatementError::TransactionConflictError(inner) => Error::TransactionConflictError(inner),
|
1518 + | /* ServiceErrorGenerator.kt:212 */
|
1023 1519 | crate::operation::execute_statement::ExecuteStatementError::Unhandled(inner) => Error::Unhandled(inner),
|
1520 + | /* ServiceErrorGenerator.kt:204 */
|
1024 1521 | }
|
1522 + | /* ServiceErrorGenerator.kt:203 */
|
1025 1523 | }
|
1524 + | /* ServiceErrorGenerator.kt:202 */
|
1026 1525 | }
|
1526 + | /* ServiceErrorGenerator.kt:174 */
|
1027 1527 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::execute_transaction::ExecuteTransactionError, R>> for Error
|
1028 1528 | where
|
1029 1529 | R: Send + Sync + std::fmt::Debug + 'static,
|
1030 1530 | {
|
1531 + | /* ServiceErrorGenerator.kt:179 */
|
1031 1532 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::execute_transaction::ExecuteTransactionError, R>) -> Self {
|
1533 + | /* ServiceErrorGenerator.kt:184 */
|
1032 1534 | match err {
|
1535 + | /* ServiceErrorGenerator.kt:185 */
|
1033 1536 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1537 + | /* ServiceErrorGenerator.kt:186 */
|
1034 1538 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1035 1539 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1036 1540 | source: err.into(),
|
1037 1541 | }),
|
1542 + | /* ServiceErrorGenerator.kt:184 */
|
1038 1543 | }
|
1544 + | /* ServiceErrorGenerator.kt:179 */
|
1039 1545 | }
|
1546 + | /* ServiceErrorGenerator.kt:174 */
|
1040 1547 | }
|
1548 + | /* ServiceErrorGenerator.kt:202 */
|
1041 1549 | impl From<crate::operation::execute_transaction::ExecuteTransactionError> for Error {
|
1550 + | /* ServiceErrorGenerator.kt:203 */
|
1042 1551 | fn from(err: crate::operation::execute_transaction::ExecuteTransactionError) -> Self {
|
1552 + | /* ServiceErrorGenerator.kt:204 */
|
1043 1553 | match err {
|
1554 + | /* ServiceErrorGenerator.kt:207 */
|
1044 1555 | crate::operation::execute_transaction::ExecuteTransactionError::IdempotentParameterMismatchError(inner) => {
|
1045 1556 | Error::IdempotentParameterMismatchError(inner)
|
1046 1557 | }
|
1558 + | /* ServiceErrorGenerator.kt:207 */
|
1047 1559 | crate::operation::execute_transaction::ExecuteTransactionError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1560 + | /* ServiceErrorGenerator.kt:207 */
|
1048 1561 | crate::operation::execute_transaction::ExecuteTransactionError::ProvisionedThroughputExceededError(inner) => {
|
1049 1562 | Error::ProvisionedThroughputExceededError(inner)
|
1050 1563 | }
|
1564 + | /* ServiceErrorGenerator.kt:207 */
|
1051 1565 | crate::operation::execute_transaction::ExecuteTransactionError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
1566 + | /* ServiceErrorGenerator.kt:207 */
|
1052 1567 | crate::operation::execute_transaction::ExecuteTransactionError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1568 + | /* ServiceErrorGenerator.kt:207 */
|
1053 1569 | crate::operation::execute_transaction::ExecuteTransactionError::TransactionCanceledError(inner) => Error::TransactionCanceledError(inner),
|
1570 + | /* ServiceErrorGenerator.kt:207 */
|
1054 1571 | crate::operation::execute_transaction::ExecuteTransactionError::TransactionInProgressError(inner) => {
|
1055 1572 | Error::TransactionInProgressError(inner)
|
1056 1573 | }
|
1574 + | /* ServiceErrorGenerator.kt:212 */
|
1057 1575 | crate::operation::execute_transaction::ExecuteTransactionError::Unhandled(inner) => Error::Unhandled(inner),
|
1576 + | /* ServiceErrorGenerator.kt:204 */
|
1058 1577 | }
|
1578 + | /* ServiceErrorGenerator.kt:203 */
|
1059 1579 | }
|
1580 + | /* ServiceErrorGenerator.kt:202 */
|
1060 1581 | }
|
1582 + | /* ServiceErrorGenerator.kt:174 */
|
1061 1583 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError, R>>
|
1062 1584 | for Error
|
1063 1585 | where
|
1064 1586 | R: Send + Sync + std::fmt::Debug + 'static,
|
1065 1587 | {
|
1588 + | /* ServiceErrorGenerator.kt:179 */
|
1066 1589 | fn from(
|
1067 1590 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError, R>,
|
1068 1591 | ) -> Self {
|
1592 + | /* ServiceErrorGenerator.kt:184 */
|
1069 1593 | match err {
|
1594 + | /* ServiceErrorGenerator.kt:185 */
|
1070 1595 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1596 + | /* ServiceErrorGenerator.kt:186 */
|
1071 1597 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1072 1598 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1073 1599 | source: err.into(),
|
1074 1600 | }),
|
1601 + | /* ServiceErrorGenerator.kt:184 */
|
1075 1602 | }
|
1603 + | /* ServiceErrorGenerator.kt:179 */
|
1076 1604 | }
|
1605 + | /* ServiceErrorGenerator.kt:174 */
|
1077 1606 | }
|
1607 + | /* ServiceErrorGenerator.kt:202 */
|
1078 1608 | impl From<crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError> for Error {
|
1609 + | /* ServiceErrorGenerator.kt:203 */
|
1079 1610 | fn from(err: crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError) -> Self {
|
1611 + | /* ServiceErrorGenerator.kt:204 */
|
1080 1612 | match err {
|
1613 + | /* ServiceErrorGenerator.kt:207 */
|
1081 1614 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::ExportConflictError(inner) => {
|
1082 1615 | Error::ExportConflictError(inner)
|
1083 1616 | }
|
1617 + | /* ServiceErrorGenerator.kt:207 */
|
1084 1618 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::InternalServerError(inner) => {
|
1085 1619 | Error::InternalServerError(inner)
|
1086 1620 | }
|
1621 + | /* ServiceErrorGenerator.kt:207 */
|
1087 1622 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::InvalidExportTimeError(inner) => {
|
1088 1623 | Error::InvalidExportTimeError(inner)
|
1089 1624 | }
|
1625 + | /* ServiceErrorGenerator.kt:207 */
|
1090 1626 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::LimitExceededError(inner) => {
|
1091 1627 | Error::LimitExceededError(inner)
|
1092 1628 | }
|
1629 + | /* ServiceErrorGenerator.kt:207 */
|
1093 1630 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::PointInTimeRecoveryUnavailableError(inner) => {
|
1094 1631 | Error::PointInTimeRecoveryUnavailableError(inner)
|
1095 1632 | }
|
1633 + | /* ServiceErrorGenerator.kt:207 */
|
1096 1634 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::TableNotFoundError(inner) => {
|
1097 1635 | Error::TableNotFoundError(inner)
|
1098 1636 | }
|
1637 + | /* ServiceErrorGenerator.kt:212 */
|
1099 1638 | crate::operation::export_table_to_point_in_time::ExportTableToPointInTimeError::Unhandled(inner) => Error::Unhandled(inner),
|
1639 + | /* ServiceErrorGenerator.kt:204 */
|
1100 1640 | }
|
1641 + | /* ServiceErrorGenerator.kt:203 */
|
1101 1642 | }
|
1643 + | /* ServiceErrorGenerator.kt:202 */
|
1102 1644 | }
|
1645 + | /* ServiceErrorGenerator.kt:174 */
|
1103 1646 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_item::GetItemError, R>> for Error
|
1104 1647 | where
|
1105 1648 | R: Send + Sync + std::fmt::Debug + 'static,
|
1106 1649 | {
|
1650 + | /* ServiceErrorGenerator.kt:179 */
|
1107 1651 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::get_item::GetItemError, R>) -> Self {
|
1652 + | /* ServiceErrorGenerator.kt:184 */
|
1108 1653 | match err {
|
1654 + | /* ServiceErrorGenerator.kt:185 */
|
1109 1655 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1656 + | /* ServiceErrorGenerator.kt:186 */
|
1110 1657 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1111 1658 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1112 1659 | source: err.into(),
|
1113 1660 | }),
|
1661 + | /* ServiceErrorGenerator.kt:184 */
|
1114 1662 | }
|
1663 + | /* ServiceErrorGenerator.kt:179 */
|
1115 1664 | }
|
1665 + | /* ServiceErrorGenerator.kt:174 */
|
1116 1666 | }
|
1667 + | /* ServiceErrorGenerator.kt:202 */
|
1117 1668 | impl From<crate::operation::get_item::GetItemError> for Error {
|
1669 + | /* ServiceErrorGenerator.kt:203 */
|
1118 1670 | fn from(err: crate::operation::get_item::GetItemError) -> Self {
|
1671 + | /* ServiceErrorGenerator.kt:204 */
|
1119 1672 | match err {
|
1673 + | /* ServiceErrorGenerator.kt:207 */
|
1120 1674 | crate::operation::get_item::GetItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1675 + | /* ServiceErrorGenerator.kt:207 */
|
1121 1676 | crate::operation::get_item::GetItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1677 + | /* ServiceErrorGenerator.kt:207 */
|
1122 1678 | crate::operation::get_item::GetItemError::ProvisionedThroughputExceededError(inner) => Error::ProvisionedThroughputExceededError(inner),
|
1679 + | /* ServiceErrorGenerator.kt:207 */
|
1123 1680 | crate::operation::get_item::GetItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
1681 + | /* ServiceErrorGenerator.kt:207 */
|
1124 1682 | crate::operation::get_item::GetItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1683 + | /* ServiceErrorGenerator.kt:212 */
|
1125 1684 | crate::operation::get_item::GetItemError::Unhandled(inner) => Error::Unhandled(inner),
|
1685 + | /* ServiceErrorGenerator.kt:204 */
|
1126 1686 | }
|
1687 + | /* ServiceErrorGenerator.kt:203 */
|
1127 1688 | }
|
1689 + | /* ServiceErrorGenerator.kt:202 */
|
1128 1690 | }
|
1691 + | /* ServiceErrorGenerator.kt:174 */
|
1129 1692 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backups::ListBackupsError, R>> for Error
|
1130 1693 | where
|
1131 1694 | R: Send + Sync + std::fmt::Debug + 'static,
|
1132 1695 | {
|
1696 + | /* ServiceErrorGenerator.kt:179 */
|
1133 1697 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_backups::ListBackupsError, R>) -> Self {
|
1698 + | /* ServiceErrorGenerator.kt:184 */
|
1134 1699 | match err {
|
1700 + | /* ServiceErrorGenerator.kt:185 */
|
1135 1701 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1702 + | /* ServiceErrorGenerator.kt:186 */
|
1136 1703 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1137 1704 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1138 1705 | source: err.into(),
|
1139 1706 | }),
|
1707 + | /* ServiceErrorGenerator.kt:184 */
|
1140 1708 | }
|
1709 + | /* ServiceErrorGenerator.kt:179 */
|
1141 1710 | }
|
1711 + | /* ServiceErrorGenerator.kt:174 */
|
1142 1712 | }
|
1713 + | /* ServiceErrorGenerator.kt:202 */
|
1143 1714 | impl From<crate::operation::list_backups::ListBackupsError> for Error {
|
1715 + | /* ServiceErrorGenerator.kt:203 */
|
1144 1716 | fn from(err: crate::operation::list_backups::ListBackupsError) -> Self {
|
1717 + | /* ServiceErrorGenerator.kt:204 */
|
1145 1718 | match err {
|
1719 + | /* ServiceErrorGenerator.kt:207 */
|
1146 1720 | crate::operation::list_backups::ListBackupsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1721 + | /* ServiceErrorGenerator.kt:207 */
|
1147 1722 | crate::operation::list_backups::ListBackupsError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1723 + | /* ServiceErrorGenerator.kt:212 */
|
1148 1724 | crate::operation::list_backups::ListBackupsError::Unhandled(inner) => Error::Unhandled(inner),
|
1725 + | /* ServiceErrorGenerator.kt:204 */
|
1149 1726 | }
|
1727 + | /* ServiceErrorGenerator.kt:203 */
|
1150 1728 | }
|
1729 + | /* ServiceErrorGenerator.kt:202 */
|
1151 1730 | }
|
1731 + | /* ServiceErrorGenerator.kt:174 */
|
1152 1732 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contributor_insights::ListContributorInsightsError, R>>
|
1153 1733 | for Error
|
1154 1734 | where
|
1155 1735 | R: Send + Sync + std::fmt::Debug + 'static,
|
1156 1736 | {
|
1737 + | /* ServiceErrorGenerator.kt:179 */
|
1157 1738 | fn from(
|
1158 1739 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_contributor_insights::ListContributorInsightsError, R>,
|
1159 1740 | ) -> Self {
|
1741 + | /* ServiceErrorGenerator.kt:184 */
|
1160 1742 | match err {
|
1743 + | /* ServiceErrorGenerator.kt:185 */
|
1161 1744 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1745 + | /* ServiceErrorGenerator.kt:186 */
|
1162 1746 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1163 1747 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1164 1748 | source: err.into(),
|
1165 1749 | }),
|
1750 + | /* ServiceErrorGenerator.kt:184 */
|
1166 1751 | }
|
1752 + | /* ServiceErrorGenerator.kt:179 */
|
1167 1753 | }
|
1754 + | /* ServiceErrorGenerator.kt:174 */
|
1168 1755 | }
|
1756 + | /* ServiceErrorGenerator.kt:202 */
|
1169 1757 | impl From<crate::operation::list_contributor_insights::ListContributorInsightsError> for Error {
|
1758 + | /* ServiceErrorGenerator.kt:203 */
|
1170 1759 | fn from(err: crate::operation::list_contributor_insights::ListContributorInsightsError) -> Self {
|
1760 + | /* ServiceErrorGenerator.kt:204 */
|
1171 1761 | match err {
|
1762 + | /* ServiceErrorGenerator.kt:207 */
|
1172 1763 | crate::operation::list_contributor_insights::ListContributorInsightsError::InternalServerError(inner) => {
|
1173 1764 | Error::InternalServerError(inner)
|
1174 1765 | }
|
1766 + | /* ServiceErrorGenerator.kt:207 */
|
1175 1767 | crate::operation::list_contributor_insights::ListContributorInsightsError::ResourceNotFoundError(inner) => {
|
1176 1768 | Error::ResourceNotFoundError(inner)
|
1177 1769 | }
|
1770 + | /* ServiceErrorGenerator.kt:212 */
|
1178 1771 | crate::operation::list_contributor_insights::ListContributorInsightsError::Unhandled(inner) => Error::Unhandled(inner),
|
1772 + | /* ServiceErrorGenerator.kt:204 */
|
1179 1773 | }
|
1774 + | /* ServiceErrorGenerator.kt:203 */
|
1180 1775 | }
|
1776 + | /* ServiceErrorGenerator.kt:202 */
|
1181 1777 | }
|
1778 + | /* ServiceErrorGenerator.kt:174 */
|
1182 1779 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_exports::ListExportsError, R>> for Error
|
1183 1780 | where
|
1184 1781 | R: Send + Sync + std::fmt::Debug + 'static,
|
1185 1782 | {
|
1783 + | /* ServiceErrorGenerator.kt:179 */
|
1186 1784 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_exports::ListExportsError, R>) -> Self {
|
1785 + | /* ServiceErrorGenerator.kt:184 */
|
1187 1786 | match err {
|
1787 + | /* ServiceErrorGenerator.kt:185 */
|
1188 1788 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1789 + | /* ServiceErrorGenerator.kt:186 */
|
1189 1790 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1190 1791 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1191 1792 | source: err.into(),
|
1192 1793 | }),
|
1794 + | /* ServiceErrorGenerator.kt:184 */
|
1193 1795 | }
|
1796 + | /* ServiceErrorGenerator.kt:179 */
|
1194 1797 | }
|
1798 + | /* ServiceErrorGenerator.kt:174 */
|
1195 1799 | }
|
1800 + | /* ServiceErrorGenerator.kt:202 */
|
1196 1801 | impl From<crate::operation::list_exports::ListExportsError> for Error {
|
1802 + | /* ServiceErrorGenerator.kt:203 */
|
1197 1803 | fn from(err: crate::operation::list_exports::ListExportsError) -> Self {
|
1804 + | /* ServiceErrorGenerator.kt:204 */
|
1198 1805 | match err {
|
1806 + | /* ServiceErrorGenerator.kt:207 */
|
1199 1807 | crate::operation::list_exports::ListExportsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1808 + | /* ServiceErrorGenerator.kt:207 */
|
1200 1809 | crate::operation::list_exports::ListExportsError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
1810 + | /* ServiceErrorGenerator.kt:212 */
|
1201 1811 | crate::operation::list_exports::ListExportsError::Unhandled(inner) => Error::Unhandled(inner),
|
1812 + | /* ServiceErrorGenerator.kt:204 */
|
1202 1813 | }
|
1814 + | /* ServiceErrorGenerator.kt:203 */
|
1203 1815 | }
|
1816 + | /* ServiceErrorGenerator.kt:202 */
|
1204 1817 | }
|
1818 + | /* ServiceErrorGenerator.kt:174 */
|
1205 1819 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_global_tables::ListGlobalTablesError, R>> for Error
|
1206 1820 | where
|
1207 1821 | R: Send + Sync + std::fmt::Debug + 'static,
|
1208 1822 | {
|
1823 + | /* ServiceErrorGenerator.kt:179 */
|
1209 1824 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_global_tables::ListGlobalTablesError, R>) -> Self {
|
1825 + | /* ServiceErrorGenerator.kt:184 */
|
1210 1826 | match err {
|
1827 + | /* ServiceErrorGenerator.kt:185 */
|
1211 1828 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1829 + | /* ServiceErrorGenerator.kt:186 */
|
1212 1830 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1213 1831 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1214 1832 | source: err.into(),
|
1215 1833 | }),
|
1834 + | /* ServiceErrorGenerator.kt:184 */
|
1216 1835 | }
|
1836 + | /* ServiceErrorGenerator.kt:179 */
|
1217 1837 | }
|
1838 + | /* ServiceErrorGenerator.kt:174 */
|
1218 1839 | }
|
1840 + | /* ServiceErrorGenerator.kt:202 */
|
1219 1841 | impl From<crate::operation::list_global_tables::ListGlobalTablesError> for Error {
|
1842 + | /* ServiceErrorGenerator.kt:203 */
|
1220 1843 | fn from(err: crate::operation::list_global_tables::ListGlobalTablesError) -> Self {
|
1844 + | /* ServiceErrorGenerator.kt:204 */
|
1221 1845 | match err {
|
1846 + | /* ServiceErrorGenerator.kt:207 */
|
1222 1847 | crate::operation::list_global_tables::ListGlobalTablesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1848 + | /* ServiceErrorGenerator.kt:207 */
|
1223 1849 | crate::operation::list_global_tables::ListGlobalTablesError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1850 + | /* ServiceErrorGenerator.kt:212 */
|
1224 1851 | crate::operation::list_global_tables::ListGlobalTablesError::Unhandled(inner) => Error::Unhandled(inner),
|
1852 + | /* ServiceErrorGenerator.kt:204 */
|
1225 1853 | }
|
1854 + | /* ServiceErrorGenerator.kt:203 */
|
1226 1855 | }
|
1856 + | /* ServiceErrorGenerator.kt:202 */
|
1227 1857 | }
|
1858 + | /* ServiceErrorGenerator.kt:174 */
|
1228 1859 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tables::ListTablesError, R>> for Error
|
1229 1860 | where
|
1230 1861 | R: Send + Sync + std::fmt::Debug + 'static,
|
1231 1862 | {
|
1863 + | /* ServiceErrorGenerator.kt:179 */
|
1232 1864 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tables::ListTablesError, R>) -> Self {
|
1865 + | /* ServiceErrorGenerator.kt:184 */
|
1233 1866 | match err {
|
1867 + | /* ServiceErrorGenerator.kt:185 */
|
1234 1868 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1869 + | /* ServiceErrorGenerator.kt:186 */
|
1235 1870 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1236 1871 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1237 1872 | source: err.into(),
|
1238 1873 | }),
|
1874 + | /* ServiceErrorGenerator.kt:184 */
|
1239 1875 | }
|
1876 + | /* ServiceErrorGenerator.kt:179 */
|
1240 1877 | }
|
1878 + | /* ServiceErrorGenerator.kt:174 */
|
1241 1879 | }
|
1880 + | /* ServiceErrorGenerator.kt:202 */
|
1242 1881 | impl From<crate::operation::list_tables::ListTablesError> for Error {
|
1882 + | /* ServiceErrorGenerator.kt:203 */
|
1243 1883 | fn from(err: crate::operation::list_tables::ListTablesError) -> Self {
|
1884 + | /* ServiceErrorGenerator.kt:204 */
|
1244 1885 | match err {
|
1886 + | /* ServiceErrorGenerator.kt:207 */
|
1245 1887 | crate::operation::list_tables::ListTablesError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1888 + | /* ServiceErrorGenerator.kt:207 */
|
1246 1889 | crate::operation::list_tables::ListTablesError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1890 + | /* ServiceErrorGenerator.kt:212 */
|
1247 1891 | crate::operation::list_tables::ListTablesError::Unhandled(inner) => Error::Unhandled(inner),
|
1892 + | /* ServiceErrorGenerator.kt:204 */
|
1248 1893 | }
|
1894 + | /* ServiceErrorGenerator.kt:203 */
|
1249 1895 | }
|
1896 + | /* ServiceErrorGenerator.kt:202 */
|
1250 1897 | }
|
1898 + | /* ServiceErrorGenerator.kt:174 */
|
1251 1899 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_of_resource::ListTagsOfResourceError, R>> for Error
|
1252 1900 | where
|
1253 1901 | R: Send + Sync + std::fmt::Debug + 'static,
|
1254 1902 | {
|
1903 + | /* ServiceErrorGenerator.kt:179 */
|
1255 1904 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::list_tags_of_resource::ListTagsOfResourceError, R>) -> Self {
|
1905 + | /* ServiceErrorGenerator.kt:184 */
|
1256 1906 | match err {
|
1907 + | /* ServiceErrorGenerator.kt:185 */
|
1257 1908 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1909 + | /* ServiceErrorGenerator.kt:186 */
|
1258 1910 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1259 1911 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1260 1912 | source: err.into(),
|
1261 1913 | }),
|
1914 + | /* ServiceErrorGenerator.kt:184 */
|
1262 1915 | }
|
1916 + | /* ServiceErrorGenerator.kt:179 */
|
1263 1917 | }
|
1918 + | /* ServiceErrorGenerator.kt:174 */
|
1264 1919 | }
|
1920 + | /* ServiceErrorGenerator.kt:202 */
|
1265 1921 | impl From<crate::operation::list_tags_of_resource::ListTagsOfResourceError> for Error {
|
1922 + | /* ServiceErrorGenerator.kt:203 */
|
1266 1923 | fn from(err: crate::operation::list_tags_of_resource::ListTagsOfResourceError) -> Self {
|
1924 + | /* ServiceErrorGenerator.kt:204 */
|
1267 1925 | match err {
|
1926 + | /* ServiceErrorGenerator.kt:207 */
|
1268 1927 | crate::operation::list_tags_of_resource::ListTagsOfResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1928 + | /* ServiceErrorGenerator.kt:207 */
|
1269 1929 | crate::operation::list_tags_of_resource::ListTagsOfResourceError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1930 + | /* ServiceErrorGenerator.kt:207 */
|
1270 1931 | crate::operation::list_tags_of_resource::ListTagsOfResourceError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1932 + | /* ServiceErrorGenerator.kt:212 */
|
1271 1933 | crate::operation::list_tags_of_resource::ListTagsOfResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
1934 + | /* ServiceErrorGenerator.kt:204 */
|
1272 1935 | }
|
1936 + | /* ServiceErrorGenerator.kt:203 */
|
1273 1937 | }
|
1938 + | /* ServiceErrorGenerator.kt:202 */
|
1274 1939 | }
|
1940 + | /* ServiceErrorGenerator.kt:174 */
|
1275 1941 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_item::PutItemError, R>> for Error
|
1276 1942 | where
|
1277 1943 | R: Send + Sync + std::fmt::Debug + 'static,
|
1278 1944 | {
|
1945 + | /* ServiceErrorGenerator.kt:179 */
|
1279 1946 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::put_item::PutItemError, R>) -> Self {
|
1947 + | /* ServiceErrorGenerator.kt:184 */
|
1280 1948 | match err {
|
1949 + | /* ServiceErrorGenerator.kt:185 */
|
1281 1950 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
1951 + | /* ServiceErrorGenerator.kt:186 */
|
1282 1952 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1283 1953 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1284 1954 | source: err.into(),
|
1285 1955 | }),
|
1956 + | /* ServiceErrorGenerator.kt:184 */
|
1286 1957 | }
|
1958 + | /* ServiceErrorGenerator.kt:179 */
|
1287 1959 | }
|
1960 + | /* ServiceErrorGenerator.kt:174 */
|
1288 1961 | }
|
1962 + | /* ServiceErrorGenerator.kt:202 */
|
1289 1963 | impl From<crate::operation::put_item::PutItemError> for Error {
|
1964 + | /* ServiceErrorGenerator.kt:203 */
|
1290 1965 | fn from(err: crate::operation::put_item::PutItemError) -> Self {
|
1966 + | /* ServiceErrorGenerator.kt:204 */
|
1291 1967 | match err {
|
1968 + | /* ServiceErrorGenerator.kt:207 */
|
1292 1969 | crate::operation::put_item::PutItemError::ConditionalCheckFailedError(inner) => Error::ConditionalCheckFailedError(inner),
|
1970 + | /* ServiceErrorGenerator.kt:207 */
|
1293 1971 | crate::operation::put_item::PutItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
1972 + | /* ServiceErrorGenerator.kt:207 */
|
1294 1973 | crate::operation::put_item::PutItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
1974 + | /* ServiceErrorGenerator.kt:207 */
|
1295 1975 | crate::operation::put_item::PutItemError::ItemCollectionSizeLimitExceededError(inner) => {
|
1296 1976 | Error::ItemCollectionSizeLimitExceededError(inner)
|
1297 1977 | }
|
1978 + | /* ServiceErrorGenerator.kt:207 */
|
1298 1979 | crate::operation::put_item::PutItemError::ProvisionedThroughputExceededError(inner) => Error::ProvisionedThroughputExceededError(inner),
|
1980 + | /* ServiceErrorGenerator.kt:207 */
|
1299 1981 | crate::operation::put_item::PutItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
1982 + | /* ServiceErrorGenerator.kt:207 */
|
1300 1983 | crate::operation::put_item::PutItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
1984 + | /* ServiceErrorGenerator.kt:207 */
|
1301 1985 | crate::operation::put_item::PutItemError::TransactionConflictError(inner) => Error::TransactionConflictError(inner),
|
1986 + | /* ServiceErrorGenerator.kt:212 */
|
1302 1987 | crate::operation::put_item::PutItemError::Unhandled(inner) => Error::Unhandled(inner),
|
1988 + | /* ServiceErrorGenerator.kt:204 */
|
1303 1989 | }
|
1990 + | /* ServiceErrorGenerator.kt:203 */
|
1304 1991 | }
|
1992 + | /* ServiceErrorGenerator.kt:202 */
|
1305 1993 | }
|
1994 + | /* ServiceErrorGenerator.kt:174 */
|
1306 1995 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query::QueryError, R>> for Error
|
1307 1996 | where
|
1308 1997 | R: Send + Sync + std::fmt::Debug + 'static,
|
1309 1998 | {
|
1999 + | /* ServiceErrorGenerator.kt:179 */
|
1310 2000 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::query::QueryError, R>) -> Self {
|
2001 + | /* ServiceErrorGenerator.kt:184 */
|
1311 2002 | match err {
|
2003 + | /* ServiceErrorGenerator.kt:185 */
|
1312 2004 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2005 + | /* ServiceErrorGenerator.kt:186 */
|
1313 2006 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1314 2007 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1315 2008 | source: err.into(),
|
1316 2009 | }),
|
2010 + | /* ServiceErrorGenerator.kt:184 */
|
1317 2011 | }
|
2012 + | /* ServiceErrorGenerator.kt:179 */
|
1318 2013 | }
|
2014 + | /* ServiceErrorGenerator.kt:174 */
|
1319 2015 | }
|
2016 + | /* ServiceErrorGenerator.kt:202 */
|
1320 2017 | impl From<crate::operation::query::QueryError> for Error {
|
2018 + | /* ServiceErrorGenerator.kt:203 */
|
1321 2019 | fn from(err: crate::operation::query::QueryError) -> Self {
|
2020 + | /* ServiceErrorGenerator.kt:204 */
|
1322 2021 | match err {
|
2022 + | /* ServiceErrorGenerator.kt:207 */
|
1323 2023 | crate::operation::query::QueryError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2024 + | /* ServiceErrorGenerator.kt:207 */
|
1324 2025 | crate::operation::query::QueryError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2026 + | /* ServiceErrorGenerator.kt:207 */
|
1325 2027 | crate::operation::query::QueryError::ProvisionedThroughputExceededError(inner) => Error::ProvisionedThroughputExceededError(inner),
|
2028 + | /* ServiceErrorGenerator.kt:207 */
|
1326 2029 | crate::operation::query::QueryError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
2030 + | /* ServiceErrorGenerator.kt:207 */
|
1327 2031 | crate::operation::query::QueryError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2032 + | /* ServiceErrorGenerator.kt:212 */
|
1328 2033 | crate::operation::query::QueryError::Unhandled(inner) => Error::Unhandled(inner),
|
2034 + | /* ServiceErrorGenerator.kt:204 */
|
1329 2035 | }
|
2036 + | /* ServiceErrorGenerator.kt:203 */
|
1330 2037 | }
|
2038 + | /* ServiceErrorGenerator.kt:202 */
|
1331 2039 | }
|
2040 + | /* ServiceErrorGenerator.kt:174 */
|
1332 2041 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_table_from_backup::RestoreTableFromBackupError, R>>
|
1333 2042 | for Error
|
1334 2043 | where
|
1335 2044 | R: Send + Sync + std::fmt::Debug + 'static,
|
1336 2045 | {
|
2046 + | /* ServiceErrorGenerator.kt:179 */
|
1337 2047 | fn from(
|
1338 2048 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_table_from_backup::RestoreTableFromBackupError, R>,
|
1339 2049 | ) -> Self {
|
2050 + | /* ServiceErrorGenerator.kt:184 */
|
1340 2051 | match err {
|
2052 + | /* ServiceErrorGenerator.kt:185 */
|
1341 2053 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2054 + | /* ServiceErrorGenerator.kt:186 */
|
1342 2055 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1343 2056 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1344 2057 | source: err.into(),
|
1345 2058 | }),
|
2059 + | /* ServiceErrorGenerator.kt:184 */
|
1346 2060 | }
|
2061 + | /* ServiceErrorGenerator.kt:179 */
|
1347 2062 | }
|
2063 + | /* ServiceErrorGenerator.kt:174 */
|
1348 2064 | }
|
2065 + | /* ServiceErrorGenerator.kt:202 */
|
1349 2066 | impl From<crate::operation::restore_table_from_backup::RestoreTableFromBackupError> for Error {
|
2067 + | /* ServiceErrorGenerator.kt:203 */
|
1350 2068 | fn from(err: crate::operation::restore_table_from_backup::RestoreTableFromBackupError) -> Self {
|
2069 + | /* ServiceErrorGenerator.kt:204 */
|
1351 2070 | match err {
|
2071 + | /* ServiceErrorGenerator.kt:207 */
|
1352 2072 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::BackupInUseError(inner) => Error::BackupInUseError(inner),
|
2073 + | /* ServiceErrorGenerator.kt:207 */
|
1353 2074 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::BackupNotFoundError(inner) => Error::BackupNotFoundError(inner),
|
2075 + | /* ServiceErrorGenerator.kt:207 */
|
1354 2076 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2077 + | /* ServiceErrorGenerator.kt:207 */
|
1355 2078 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::InvalidEndpointError(inner) => {
|
1356 2079 | Error::InvalidEndpointError(inner)
|
1357 2080 | }
|
2081 + | /* ServiceErrorGenerator.kt:207 */
|
1358 2082 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
2083 + | /* ServiceErrorGenerator.kt:207 */
|
1359 2084 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::TableAlreadyExistsError(inner) => {
|
1360 2085 | Error::TableAlreadyExistsError(inner)
|
1361 2086 | }
|
2087 + | /* ServiceErrorGenerator.kt:207 */
|
1362 2088 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::TableInUseError(inner) => Error::TableInUseError(inner),
|
2089 + | /* ServiceErrorGenerator.kt:212 */
|
1363 2090 | crate::operation::restore_table_from_backup::RestoreTableFromBackupError::Unhandled(inner) => Error::Unhandled(inner),
|
2091 + | /* ServiceErrorGenerator.kt:204 */
|
1364 2092 | }
|
2093 + | /* ServiceErrorGenerator.kt:203 */
|
1365 2094 | }
|
2095 + | /* ServiceErrorGenerator.kt:202 */
|
1366 2096 | }
|
2097 + | /* ServiceErrorGenerator.kt:174 */
|
1367 2098 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError, R>>
|
1368 2099 | for Error
|
1369 2100 | where
|
1370 2101 | R: Send + Sync + std::fmt::Debug + 'static,
|
1371 2102 | {
|
2103 + | /* ServiceErrorGenerator.kt:179 */
|
1372 2104 | fn from(
|
1373 2105 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError, R>,
|
1374 2106 | ) -> Self {
|
2107 + | /* ServiceErrorGenerator.kt:184 */
|
1375 2108 | match err {
|
2109 + | /* ServiceErrorGenerator.kt:185 */
|
1376 2110 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2111 + | /* ServiceErrorGenerator.kt:186 */
|
1377 2112 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1378 2113 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1379 2114 | source: err.into(),
|
1380 2115 | }),
|
2116 + | /* ServiceErrorGenerator.kt:184 */
|
1381 2117 | }
|
2118 + | /* ServiceErrorGenerator.kt:179 */
|
1382 2119 | }
|
2120 + | /* ServiceErrorGenerator.kt:174 */
|
1383 2121 | }
|
2122 + | /* ServiceErrorGenerator.kt:202 */
|
1384 2123 | impl From<crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError> for Error {
|
2124 + | /* ServiceErrorGenerator.kt:203 */
|
1385 2125 | fn from(err: crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError) -> Self {
|
2126 + | /* ServiceErrorGenerator.kt:204 */
|
1386 2127 | match err {
|
2128 + | /* ServiceErrorGenerator.kt:207 */
|
1387 2129 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::InternalServerError(inner) => {
|
1388 2130 | Error::InternalServerError(inner)
|
1389 2131 | }
|
2132 + | /* ServiceErrorGenerator.kt:207 */
|
1390 2133 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::InvalidEndpointError(inner) => {
|
1391 2134 | Error::InvalidEndpointError(inner)
|
1392 2135 | }
|
2136 + | /* ServiceErrorGenerator.kt:207 */
|
1393 2137 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::InvalidRestoreTimeError(inner) => {
|
1394 2138 | Error::InvalidRestoreTimeError(inner)
|
1395 2139 | }
|
2140 + | /* ServiceErrorGenerator.kt:207 */
|
1396 2141 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::LimitExceededError(inner) => {
|
1397 2142 | Error::LimitExceededError(inner)
|
1398 2143 | }
|
2144 + | /* ServiceErrorGenerator.kt:207 */
|
1399 2145 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::PointInTimeRecoveryUnavailableError(inner) => {
|
1400 2146 | Error::PointInTimeRecoveryUnavailableError(inner)
|
1401 2147 | }
|
2148 + | /* ServiceErrorGenerator.kt:207 */
|
1402 2149 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::TableAlreadyExistsError(inner) => {
|
1403 2150 | Error::TableAlreadyExistsError(inner)
|
1404 2151 | }
|
2152 + | /* ServiceErrorGenerator.kt:207 */
|
1405 2153 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::TableInUseError(inner) => Error::TableInUseError(inner),
|
2154 + | /* ServiceErrorGenerator.kt:207 */
|
1406 2155 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::TableNotFoundError(inner) => {
|
1407 2156 | Error::TableNotFoundError(inner)
|
1408 2157 | }
|
2158 + | /* ServiceErrorGenerator.kt:212 */
|
1409 2159 | crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError::Unhandled(inner) => Error::Unhandled(inner),
|
2160 + | /* ServiceErrorGenerator.kt:204 */
|
1410 2161 | }
|
2162 + | /* ServiceErrorGenerator.kt:203 */
|
1411 2163 | }
|
2164 + | /* ServiceErrorGenerator.kt:202 */
|
1412 2165 | }
|
2166 + | /* ServiceErrorGenerator.kt:174 */
|
1413 2167 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::scan::ScanError, R>> for Error
|
1414 2168 | where
|
1415 2169 | R: Send + Sync + std::fmt::Debug + 'static,
|
1416 2170 | {
|
2171 + | /* ServiceErrorGenerator.kt:179 */
|
1417 2172 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::scan::ScanError, R>) -> Self {
|
2173 + | /* ServiceErrorGenerator.kt:184 */
|
1418 2174 | match err {
|
2175 + | /* ServiceErrorGenerator.kt:185 */
|
1419 2176 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2177 + | /* ServiceErrorGenerator.kt:186 */
|
1420 2178 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1421 2179 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1422 2180 | source: err.into(),
|
1423 2181 | }),
|
2182 + | /* ServiceErrorGenerator.kt:184 */
|
1424 2183 | }
|
2184 + | /* ServiceErrorGenerator.kt:179 */
|
1425 2185 | }
|
2186 + | /* ServiceErrorGenerator.kt:174 */
|
1426 2187 | }
|
2188 + | /* ServiceErrorGenerator.kt:202 */
|
1427 2189 | impl From<crate::operation::scan::ScanError> for Error {
|
2190 + | /* ServiceErrorGenerator.kt:203 */
|
1428 2191 | fn from(err: crate::operation::scan::ScanError) -> Self {
|
2192 + | /* ServiceErrorGenerator.kt:204 */
|
1429 2193 | match err {
|
2194 + | /* ServiceErrorGenerator.kt:207 */
|
1430 2195 | crate::operation::scan::ScanError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2196 + | /* ServiceErrorGenerator.kt:207 */
|
1431 2197 | crate::operation::scan::ScanError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2198 + | /* ServiceErrorGenerator.kt:207 */
|
1432 2199 | crate::operation::scan::ScanError::ProvisionedThroughputExceededError(inner) => Error::ProvisionedThroughputExceededError(inner),
|
2200 + | /* ServiceErrorGenerator.kt:207 */
|
1433 2201 | crate::operation::scan::ScanError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
2202 + | /* ServiceErrorGenerator.kt:207 */
|
1434 2203 | crate::operation::scan::ScanError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2204 + | /* ServiceErrorGenerator.kt:212 */
|
1435 2205 | crate::operation::scan::ScanError::Unhandled(inner) => Error::Unhandled(inner),
|
2206 + | /* ServiceErrorGenerator.kt:204 */
|
1436 2207 | }
|
2208 + | /* ServiceErrorGenerator.kt:203 */
|
1437 2209 | }
|
2210 + | /* ServiceErrorGenerator.kt:202 */
|
1438 2211 | }
|
2212 + | /* ServiceErrorGenerator.kt:174 */
|
1439 2213 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>> for Error
|
1440 2214 | where
|
1441 2215 | R: Send + Sync + std::fmt::Debug + 'static,
|
1442 2216 | {
|
2217 + | /* ServiceErrorGenerator.kt:179 */
|
1443 2218 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::tag_resource::TagResourceError, R>) -> Self {
|
2219 + | /* ServiceErrorGenerator.kt:184 */
|
1444 2220 | match err {
|
2221 + | /* ServiceErrorGenerator.kt:185 */
|
1445 2222 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2223 + | /* ServiceErrorGenerator.kt:186 */
|
1446 2224 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1447 2225 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1448 2226 | source: err.into(),
|
1449 2227 | }),
|
2228 + | /* ServiceErrorGenerator.kt:184 */
|
1450 2229 | }
|
2230 + | /* ServiceErrorGenerator.kt:179 */
|
1451 2231 | }
|
2232 + | /* ServiceErrorGenerator.kt:174 */
|
1452 2233 | }
|
2234 + | /* ServiceErrorGenerator.kt:202 */
|
1453 2235 | impl From<crate::operation::tag_resource::TagResourceError> for Error {
|
2236 + | /* ServiceErrorGenerator.kt:203 */
|
1454 2237 | fn from(err: crate::operation::tag_resource::TagResourceError) -> Self {
|
2238 + | /* ServiceErrorGenerator.kt:204 */
|
1455 2239 | match err {
|
2240 + | /* ServiceErrorGenerator.kt:207 */
|
1456 2241 | crate::operation::tag_resource::TagResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2242 + | /* ServiceErrorGenerator.kt:207 */
|
1457 2243 | crate::operation::tag_resource::TagResourceError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2244 + | /* ServiceErrorGenerator.kt:207 */
|
1458 2245 | crate::operation::tag_resource::TagResourceError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
2246 + | /* ServiceErrorGenerator.kt:207 */
|
1459 2247 | crate::operation::tag_resource::TagResourceError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
2248 + | /* ServiceErrorGenerator.kt:207 */
|
1460 2249 | crate::operation::tag_resource::TagResourceError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2250 + | /* ServiceErrorGenerator.kt:212 */
|
1461 2251 | crate::operation::tag_resource::TagResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
2252 + | /* ServiceErrorGenerator.kt:204 */
|
1462 2253 | }
|
2254 + | /* ServiceErrorGenerator.kt:203 */
|
1463 2255 | }
|
2256 + | /* ServiceErrorGenerator.kt:202 */
|
1464 2257 | }
|
2258 + | /* ServiceErrorGenerator.kt:174 */
|
1465 2259 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::transact_get_items::TransactGetItemsError, R>> for Error
|
1466 2260 | where
|
1467 2261 | R: Send + Sync + std::fmt::Debug + 'static,
|
1468 2262 | {
|
2263 + | /* ServiceErrorGenerator.kt:179 */
|
1469 2264 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::transact_get_items::TransactGetItemsError, R>) -> Self {
|
2265 + | /* ServiceErrorGenerator.kt:184 */
|
1470 2266 | match err {
|
2267 + | /* ServiceErrorGenerator.kt:185 */
|
1471 2268 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2269 + | /* ServiceErrorGenerator.kt:186 */
|
1472 2270 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1473 2271 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1474 2272 | source: err.into(),
|
1475 2273 | }),
|
2274 + | /* ServiceErrorGenerator.kt:184 */
|
1476 2275 | }
|
2276 + | /* ServiceErrorGenerator.kt:179 */
|
1477 2277 | }
|
2278 + | /* ServiceErrorGenerator.kt:174 */
|
1478 2279 | }
|
2280 + | /* ServiceErrorGenerator.kt:202 */
|
1479 2281 | impl From<crate::operation::transact_get_items::TransactGetItemsError> for Error {
|
2282 + | /* ServiceErrorGenerator.kt:203 */
|
1480 2283 | fn from(err: crate::operation::transact_get_items::TransactGetItemsError) -> Self {
|
2284 + | /* ServiceErrorGenerator.kt:204 */
|
1481 2285 | match err {
|
2286 + | /* ServiceErrorGenerator.kt:207 */
|
1482 2287 | crate::operation::transact_get_items::TransactGetItemsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2288 + | /* ServiceErrorGenerator.kt:207 */
|
1483 2289 | crate::operation::transact_get_items::TransactGetItemsError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2290 + | /* ServiceErrorGenerator.kt:207 */
|
1484 2291 | crate::operation::transact_get_items::TransactGetItemsError::ProvisionedThroughputExceededError(inner) => {
|
1485 2292 | Error::ProvisionedThroughputExceededError(inner)
|
1486 2293 | }
|
2294 + | /* ServiceErrorGenerator.kt:207 */
|
1487 2295 | crate::operation::transact_get_items::TransactGetItemsError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
2296 + | /* ServiceErrorGenerator.kt:207 */
|
1488 2297 | crate::operation::transact_get_items::TransactGetItemsError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2298 + | /* ServiceErrorGenerator.kt:207 */
|
1489 2299 | crate::operation::transact_get_items::TransactGetItemsError::TransactionCanceledError(inner) => Error::TransactionCanceledError(inner),
|
2300 + | /* ServiceErrorGenerator.kt:212 */
|
1490 2301 | crate::operation::transact_get_items::TransactGetItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
2302 + | /* ServiceErrorGenerator.kt:204 */
|
1491 2303 | }
|
2304 + | /* ServiceErrorGenerator.kt:203 */
|
1492 2305 | }
|
2306 + | /* ServiceErrorGenerator.kt:202 */
|
1493 2307 | }
|
2308 + | /* ServiceErrorGenerator.kt:174 */
|
1494 2309 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::transact_write_items::TransactWriteItemsError, R>> for Error
|
1495 2310 | where
|
1496 2311 | R: Send + Sync + std::fmt::Debug + 'static,
|
1497 2312 | {
|
2313 + | /* ServiceErrorGenerator.kt:179 */
|
1498 2314 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::transact_write_items::TransactWriteItemsError, R>) -> Self {
|
2315 + | /* ServiceErrorGenerator.kt:184 */
|
1499 2316 | match err {
|
2317 + | /* ServiceErrorGenerator.kt:185 */
|
1500 2318 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2319 + | /* ServiceErrorGenerator.kt:186 */
|
1501 2320 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1502 2321 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1503 2322 | source: err.into(),
|
1504 2323 | }),
|
2324 + | /* ServiceErrorGenerator.kt:184 */
|
1505 2325 | }
|
2326 + | /* ServiceErrorGenerator.kt:179 */
|
1506 2327 | }
|
2328 + | /* ServiceErrorGenerator.kt:174 */
|
1507 2329 | }
|
2330 + | /* ServiceErrorGenerator.kt:202 */
|
1508 2331 | impl From<crate::operation::transact_write_items::TransactWriteItemsError> for Error {
|
2332 + | /* ServiceErrorGenerator.kt:203 */
|
1509 2333 | fn from(err: crate::operation::transact_write_items::TransactWriteItemsError) -> Self {
|
2334 + | /* ServiceErrorGenerator.kt:204 */
|
1510 2335 | match err {
|
2336 + | /* ServiceErrorGenerator.kt:207 */
|
1511 2337 | crate::operation::transact_write_items::TransactWriteItemsError::IdempotentParameterMismatchError(inner) => {
|
1512 2338 | Error::IdempotentParameterMismatchError(inner)
|
1513 2339 | }
|
2340 + | /* ServiceErrorGenerator.kt:207 */
|
1514 2341 | crate::operation::transact_write_items::TransactWriteItemsError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2342 + | /* ServiceErrorGenerator.kt:207 */
|
1515 2343 | crate::operation::transact_write_items::TransactWriteItemsError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2344 + | /* ServiceErrorGenerator.kt:207 */
|
1516 2345 | crate::operation::transact_write_items::TransactWriteItemsError::ProvisionedThroughputExceededError(inner) => {
|
1517 2346 | Error::ProvisionedThroughputExceededError(inner)
|
1518 2347 | }
|
2348 + | /* ServiceErrorGenerator.kt:207 */
|
1519 2349 | crate::operation::transact_write_items::TransactWriteItemsError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
2350 + | /* ServiceErrorGenerator.kt:207 */
|
1520 2351 | crate::operation::transact_write_items::TransactWriteItemsError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2352 + | /* ServiceErrorGenerator.kt:207 */
|
1521 2353 | crate::operation::transact_write_items::TransactWriteItemsError::TransactionCanceledError(inner) => {
|
1522 2354 | Error::TransactionCanceledError(inner)
|
1523 2355 | }
|
2356 + | /* ServiceErrorGenerator.kt:207 */
|
1524 2357 | crate::operation::transact_write_items::TransactWriteItemsError::TransactionInProgressError(inner) => {
|
1525 2358 | Error::TransactionInProgressError(inner)
|
1526 2359 | }
|
2360 + | /* ServiceErrorGenerator.kt:212 */
|
1527 2361 | crate::operation::transact_write_items::TransactWriteItemsError::Unhandled(inner) => Error::Unhandled(inner),
|
2362 + | /* ServiceErrorGenerator.kt:204 */
|
1528 2363 | }
|
2364 + | /* ServiceErrorGenerator.kt:203 */
|
1529 2365 | }
|
2366 + | /* ServiceErrorGenerator.kt:202 */
|
1530 2367 | }
|
2368 + | /* ServiceErrorGenerator.kt:174 */
|
1531 2369 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>> for Error
|
1532 2370 | where
|
1533 2371 | R: Send + Sync + std::fmt::Debug + 'static,
|
1534 2372 | {
|
2373 + | /* ServiceErrorGenerator.kt:179 */
|
1535 2374 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::untag_resource::UntagResourceError, R>) -> Self {
|
2375 + | /* ServiceErrorGenerator.kt:184 */
|
1536 2376 | match err {
|
2377 + | /* ServiceErrorGenerator.kt:185 */
|
1537 2378 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2379 + | /* ServiceErrorGenerator.kt:186 */
|
1538 2380 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1539 2381 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1540 2382 | source: err.into(),
|
1541 2383 | }),
|
2384 + | /* ServiceErrorGenerator.kt:184 */
|
1542 2385 | }
|
2386 + | /* ServiceErrorGenerator.kt:179 */
|
1543 2387 | }
|
2388 + | /* ServiceErrorGenerator.kt:174 */
|
1544 2389 | }
|
2390 + | /* ServiceErrorGenerator.kt:202 */
|
1545 2391 | impl From<crate::operation::untag_resource::UntagResourceError> for Error {
|
2392 + | /* ServiceErrorGenerator.kt:203 */
|
1546 2393 | fn from(err: crate::operation::untag_resource::UntagResourceError) -> Self {
|
2394 + | /* ServiceErrorGenerator.kt:204 */
|
1547 2395 | match err {
|
2396 + | /* ServiceErrorGenerator.kt:207 */
|
1548 2397 | crate::operation::untag_resource::UntagResourceError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2398 + | /* ServiceErrorGenerator.kt:207 */
|
1549 2399 | crate::operation::untag_resource::UntagResourceError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2400 + | /* ServiceErrorGenerator.kt:207 */
|
1550 2401 | crate::operation::untag_resource::UntagResourceError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
2402 + | /* ServiceErrorGenerator.kt:207 */
|
1551 2403 | crate::operation::untag_resource::UntagResourceError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
2404 + | /* ServiceErrorGenerator.kt:207 */
|
1552 2405 | crate::operation::untag_resource::UntagResourceError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2406 + | /* ServiceErrorGenerator.kt:212 */
|
1553 2407 | crate::operation::untag_resource::UntagResourceError::Unhandled(inner) => Error::Unhandled(inner),
|
2408 + | /* ServiceErrorGenerator.kt:204 */
|
1554 2409 | }
|
2410 + | /* ServiceErrorGenerator.kt:203 */
|
1555 2411 | }
|
2412 + | /* ServiceErrorGenerator.kt:202 */
|
1556 2413 | }
|
2414 + | /* ServiceErrorGenerator.kt:174 */
|
1557 2415 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_continuous_backups::UpdateContinuousBackupsError, R>>
|
1558 2416 | for Error
|
1559 2417 | where
|
1560 2418 | R: Send + Sync + std::fmt::Debug + 'static,
|
1561 2419 | {
|
2420 + | /* ServiceErrorGenerator.kt:179 */
|
1562 2421 | fn from(
|
1563 2422 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_continuous_backups::UpdateContinuousBackupsError, R>,
|
1564 2423 | ) -> Self {
|
2424 + | /* ServiceErrorGenerator.kt:184 */
|
1565 2425 | match err {
|
2426 + | /* ServiceErrorGenerator.kt:185 */
|
1566 2427 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2428 + | /* ServiceErrorGenerator.kt:186 */
|
1567 2429 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1568 2430 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1569 2431 | source: err.into(),
|
1570 2432 | }),
|
2433 + | /* ServiceErrorGenerator.kt:184 */
|
1571 2434 | }
|
2435 + | /* ServiceErrorGenerator.kt:179 */
|
1572 2436 | }
|
2437 + | /* ServiceErrorGenerator.kt:174 */
|
1573 2438 | }
|
2439 + | /* ServiceErrorGenerator.kt:202 */
|
1574 2440 | impl From<crate::operation::update_continuous_backups::UpdateContinuousBackupsError> for Error {
|
2441 + | /* ServiceErrorGenerator.kt:203 */
|
1575 2442 | fn from(err: crate::operation::update_continuous_backups::UpdateContinuousBackupsError) -> Self {
|
2443 + | /* ServiceErrorGenerator.kt:204 */
|
1576 2444 | match err {
|
2445 + | /* ServiceErrorGenerator.kt:207 */
|
1577 2446 | crate::operation::update_continuous_backups::UpdateContinuousBackupsError::ContinuousBackupsUnavailableError(inner) => {
|
1578 2447 | Error::ContinuousBackupsUnavailableError(inner)
|
1579 2448 | }
|
2449 + | /* ServiceErrorGenerator.kt:207 */
|
1580 2450 | crate::operation::update_continuous_backups::UpdateContinuousBackupsError::InternalServerError(inner) => {
|
1581 2451 | Error::InternalServerError(inner)
|
1582 2452 | }
|
2453 + | /* ServiceErrorGenerator.kt:207 */
|
1583 2454 | crate::operation::update_continuous_backups::UpdateContinuousBackupsError::InvalidEndpointError(inner) => {
|
1584 2455 | Error::InvalidEndpointError(inner)
|
1585 2456 | }
|
2457 + | /* ServiceErrorGenerator.kt:207 */
|
1586 2458 | crate::operation::update_continuous_backups::UpdateContinuousBackupsError::TableNotFoundError(inner) => Error::TableNotFoundError(inner),
|
2459 + | /* ServiceErrorGenerator.kt:212 */
|
1587 2460 | crate::operation::update_continuous_backups::UpdateContinuousBackupsError::Unhandled(inner) => Error::Unhandled(inner),
|
2461 + | /* ServiceErrorGenerator.kt:204 */
|
1588 2462 | }
|
2463 + | /* ServiceErrorGenerator.kt:203 */
|
1589 2464 | }
|
2465 + | /* ServiceErrorGenerator.kt:202 */
|
1590 2466 | }
|
2467 + | /* ServiceErrorGenerator.kt:174 */
|
1591 2468 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_contributor_insights::UpdateContributorInsightsError, R>>
|
1592 2469 | for Error
|
1593 2470 | where
|
1594 2471 | R: Send + Sync + std::fmt::Debug + 'static,
|
1595 2472 | {
|
2473 + | /* ServiceErrorGenerator.kt:179 */
|
1596 2474 | fn from(
|
1597 2475 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_contributor_insights::UpdateContributorInsightsError, R>,
|
1598 2476 | ) -> Self {
|
2477 + | /* ServiceErrorGenerator.kt:184 */
|
1599 2478 | match err {
|
2479 + | /* ServiceErrorGenerator.kt:185 */
|
1600 2480 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2481 + | /* ServiceErrorGenerator.kt:186 */
|
1601 2482 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1602 2483 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1603 2484 | source: err.into(),
|
1604 2485 | }),
|
2486 + | /* ServiceErrorGenerator.kt:184 */
|
1605 2487 | }
|
2488 + | /* ServiceErrorGenerator.kt:179 */
|
1606 2489 | }
|
2490 + | /* ServiceErrorGenerator.kt:174 */
|
1607 2491 | }
|
2492 + | /* ServiceErrorGenerator.kt:202 */
|
1608 2493 | impl From<crate::operation::update_contributor_insights::UpdateContributorInsightsError> for Error {
|
2494 + | /* ServiceErrorGenerator.kt:203 */
|
1609 2495 | fn from(err: crate::operation::update_contributor_insights::UpdateContributorInsightsError) -> Self {
|
2496 + | /* ServiceErrorGenerator.kt:204 */
|
1610 2497 | match err {
|
2498 + | /* ServiceErrorGenerator.kt:207 */
|
1611 2499 | crate::operation::update_contributor_insights::UpdateContributorInsightsError::InternalServerError(inner) => {
|
1612 2500 | Error::InternalServerError(inner)
|
1613 2501 | }
|
2502 + | /* ServiceErrorGenerator.kt:207 */
|
1614 2503 | crate::operation::update_contributor_insights::UpdateContributorInsightsError::ResourceNotFoundError(inner) => {
|
1615 2504 | Error::ResourceNotFoundError(inner)
|
1616 2505 | }
|
2506 + | /* ServiceErrorGenerator.kt:212 */
|
1617 2507 | crate::operation::update_contributor_insights::UpdateContributorInsightsError::Unhandled(inner) => Error::Unhandled(inner),
|
2508 + | /* ServiceErrorGenerator.kt:204 */
|
1618 2509 | }
|
2510 + | /* ServiceErrorGenerator.kt:203 */
|
1619 2511 | }
|
2512 + | /* ServiceErrorGenerator.kt:202 */
|
1620 2513 | }
|
2514 + | /* ServiceErrorGenerator.kt:174 */
|
1621 2515 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_table::UpdateGlobalTableError, R>> for Error
|
1622 2516 | where
|
1623 2517 | R: Send + Sync + std::fmt::Debug + 'static,
|
1624 2518 | {
|
2519 + | /* ServiceErrorGenerator.kt:179 */
|
1625 2520 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_table::UpdateGlobalTableError, R>) -> Self {
|
2521 + | /* ServiceErrorGenerator.kt:184 */
|
1626 2522 | match err {
|
2523 + | /* ServiceErrorGenerator.kt:185 */
|
1627 2524 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2525 + | /* ServiceErrorGenerator.kt:186 */
|
1628 2526 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1629 2527 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1630 2528 | source: err.into(),
|
1631 2529 | }),
|
2530 + | /* ServiceErrorGenerator.kt:184 */
|
1632 2531 | }
|
2532 + | /* ServiceErrorGenerator.kt:179 */
|
1633 2533 | }
|
2534 + | /* ServiceErrorGenerator.kt:174 */
|
1634 2535 | }
|
2536 + | /* ServiceErrorGenerator.kt:202 */
|
1635 2537 | impl From<crate::operation::update_global_table::UpdateGlobalTableError> for Error {
|
2538 + | /* ServiceErrorGenerator.kt:203 */
|
1636 2539 | fn from(err: crate::operation::update_global_table::UpdateGlobalTableError) -> Self {
|
2540 + | /* ServiceErrorGenerator.kt:204 */
|
1637 2541 | match err {
|
2542 + | /* ServiceErrorGenerator.kt:207 */
|
1638 2543 | crate::operation::update_global_table::UpdateGlobalTableError::GlobalTableNotFoundError(inner) => Error::GlobalTableNotFoundError(inner),
|
2544 + | /* ServiceErrorGenerator.kt:207 */
|
1639 2545 | crate::operation::update_global_table::UpdateGlobalTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2546 + | /* ServiceErrorGenerator.kt:207 */
|
1640 2547 | crate::operation::update_global_table::UpdateGlobalTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2548 + | /* ServiceErrorGenerator.kt:207 */
|
1641 2549 | crate::operation::update_global_table::UpdateGlobalTableError::ReplicaAlreadyExistsError(inner) => {
|
1642 2550 | Error::ReplicaAlreadyExistsError(inner)
|
1643 2551 | }
|
2552 + | /* ServiceErrorGenerator.kt:207 */
|
1644 2553 | crate::operation::update_global_table::UpdateGlobalTableError::ReplicaNotFoundError(inner) => Error::ReplicaNotFoundError(inner),
|
2554 + | /* ServiceErrorGenerator.kt:207 */
|
1645 2555 | crate::operation::update_global_table::UpdateGlobalTableError::TableNotFoundError(inner) => Error::TableNotFoundError(inner),
|
2556 + | /* ServiceErrorGenerator.kt:212 */
|
1646 2557 | crate::operation::update_global_table::UpdateGlobalTableError::Unhandled(inner) => Error::Unhandled(inner),
|
2558 + | /* ServiceErrorGenerator.kt:204 */
|
1647 2559 | }
|
2560 + | /* ServiceErrorGenerator.kt:203 */
|
1648 2561 | }
|
2562 + | /* ServiceErrorGenerator.kt:202 */
|
1649 2563 | }
|
2564 + | /* ServiceErrorGenerator.kt:174 */
|
1650 2565 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError, R>>
|
1651 2566 | for Error
|
1652 2567 | where
|
1653 2568 | R: Send + Sync + std::fmt::Debug + 'static,
|
1654 2569 | {
|
2570 + | /* ServiceErrorGenerator.kt:179 */
|
1655 2571 | fn from(
|
1656 2572 | err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError, R>,
|
1657 2573 | ) -> Self {
|
2574 + | /* ServiceErrorGenerator.kt:184 */
|
1658 2575 | match err {
|
2576 + | /* ServiceErrorGenerator.kt:185 */
|
1659 2577 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2578 + | /* ServiceErrorGenerator.kt:186 */
|
1660 2579 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1661 2580 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1662 2581 | source: err.into(),
|
1663 2582 | }),
|
2583 + | /* ServiceErrorGenerator.kt:184 */
|
1664 2584 | }
|
2585 + | /* ServiceErrorGenerator.kt:179 */
|
1665 2586 | }
|
2587 + | /* ServiceErrorGenerator.kt:174 */
|
1666 2588 | }
|
2589 + | /* ServiceErrorGenerator.kt:202 */
|
1667 2590 | impl From<crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError> for Error {
|
2591 + | /* ServiceErrorGenerator.kt:203 */
|
1668 2592 | fn from(err: crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError) -> Self {
|
2593 + | /* ServiceErrorGenerator.kt:204 */
|
1669 2594 | match err {
|
2595 + | /* ServiceErrorGenerator.kt:207 */
|
1670 2596 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::GlobalTableNotFoundError(inner) => {
|
1671 2597 | Error::GlobalTableNotFoundError(inner)
|
1672 2598 | }
|
2599 + | /* ServiceErrorGenerator.kt:207 */
|
1673 2600 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::IndexNotFoundError(inner) => {
|
1674 2601 | Error::IndexNotFoundError(inner)
|
1675 2602 | }
|
2603 + | /* ServiceErrorGenerator.kt:207 */
|
1676 2604 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::InternalServerError(inner) => {
|
1677 2605 | Error::InternalServerError(inner)
|
1678 2606 | }
|
2607 + | /* ServiceErrorGenerator.kt:207 */
|
1679 2608 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::InvalidEndpointError(inner) => {
|
1680 2609 | Error::InvalidEndpointError(inner)
|
1681 2610 | }
|
2611 + | /* ServiceErrorGenerator.kt:207 */
|
1682 2612 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::LimitExceededError(inner) => {
|
1683 2613 | Error::LimitExceededError(inner)
|
1684 2614 | }
|
2615 + | /* ServiceErrorGenerator.kt:207 */
|
1685 2616 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::ReplicaNotFoundError(inner) => {
|
1686 2617 | Error::ReplicaNotFoundError(inner)
|
1687 2618 | }
|
2619 + | /* ServiceErrorGenerator.kt:207 */
|
1688 2620 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::ResourceInUseError(inner) => {
|
1689 2621 | Error::ResourceInUseError(inner)
|
1690 2622 | }
|
2623 + | /* ServiceErrorGenerator.kt:212 */
|
1691 2624 | crate::operation::update_global_table_settings::UpdateGlobalTableSettingsError::Unhandled(inner) => Error::Unhandled(inner),
|
2625 + | /* ServiceErrorGenerator.kt:204 */
|
1692 2626 | }
|
2627 + | /* ServiceErrorGenerator.kt:203 */
|
1693 2628 | }
|
2629 + | /* ServiceErrorGenerator.kt:202 */
|
1694 2630 | }
|
2631 + | /* ServiceErrorGenerator.kt:174 */
|
1695 2632 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_item::UpdateItemError, R>> for Error
|
1696 2633 | where
|
1697 2634 | R: Send + Sync + std::fmt::Debug + 'static,
|
1698 2635 | {
|
2636 + | /* ServiceErrorGenerator.kt:179 */
|
1699 2637 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_item::UpdateItemError, R>) -> Self {
|
2638 + | /* ServiceErrorGenerator.kt:184 */
|
1700 2639 | match err {
|
2640 + | /* ServiceErrorGenerator.kt:185 */
|
1701 2641 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2642 + | /* ServiceErrorGenerator.kt:186 */
|
1702 2643 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1703 2644 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1704 2645 | source: err.into(),
|
1705 2646 | }),
|
2647 + | /* ServiceErrorGenerator.kt:184 */
|
1706 2648 | }
|
2649 + | /* ServiceErrorGenerator.kt:179 */
|
1707 2650 | }
|
2651 + | /* ServiceErrorGenerator.kt:174 */
|
1708 2652 | }
|
2653 + | /* ServiceErrorGenerator.kt:202 */
|
1709 2654 | impl From<crate::operation::update_item::UpdateItemError> for Error {
|
2655 + | /* ServiceErrorGenerator.kt:203 */
|
1710 2656 | fn from(err: crate::operation::update_item::UpdateItemError) -> Self {
|
2657 + | /* ServiceErrorGenerator.kt:204 */
|
1711 2658 | match err {
|
2659 + | /* ServiceErrorGenerator.kt:207 */
|
1712 2660 | crate::operation::update_item::UpdateItemError::ConditionalCheckFailedError(inner) => Error::ConditionalCheckFailedError(inner),
|
2661 + | /* ServiceErrorGenerator.kt:207 */
|
1713 2662 | crate::operation::update_item::UpdateItemError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2663 + | /* ServiceErrorGenerator.kt:207 */
|
1714 2664 | crate::operation::update_item::UpdateItemError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2665 + | /* ServiceErrorGenerator.kt:207 */
|
1715 2666 | crate::operation::update_item::UpdateItemError::ItemCollectionSizeLimitExceededError(inner) => {
|
1716 2667 | Error::ItemCollectionSizeLimitExceededError(inner)
|
1717 2668 | }
|
2669 + | /* ServiceErrorGenerator.kt:207 */
|
1718 2670 | crate::operation::update_item::UpdateItemError::ProvisionedThroughputExceededError(inner) => {
|
1719 2671 | Error::ProvisionedThroughputExceededError(inner)
|
1720 2672 | }
|
2673 + | /* ServiceErrorGenerator.kt:207 */
|
1721 2674 | crate::operation::update_item::UpdateItemError::RequestLimitExceeded(inner) => Error::RequestLimitExceeded(inner),
|
2675 + | /* ServiceErrorGenerator.kt:207 */
|
1722 2676 | crate::operation::update_item::UpdateItemError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2677 + | /* ServiceErrorGenerator.kt:207 */
|
1723 2678 | crate::operation::update_item::UpdateItemError::TransactionConflictError(inner) => Error::TransactionConflictError(inner),
|
2679 + | /* ServiceErrorGenerator.kt:212 */
|
1724 2680 | crate::operation::update_item::UpdateItemError::Unhandled(inner) => Error::Unhandled(inner),
|
2681 + | /* ServiceErrorGenerator.kt:204 */
|
1725 2682 | }
|
2683 + | /* ServiceErrorGenerator.kt:203 */
|
1726 2684 | }
|
2685 + | /* ServiceErrorGenerator.kt:202 */
|
1727 2686 | }
|
2687 + | /* ServiceErrorGenerator.kt:174 */
|
1728 2688 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>> for Error
|
1729 2689 | where
|
1730 2690 | R: Send + Sync + std::fmt::Debug + 'static,
|
1731 2691 | {
|
2692 + | /* ServiceErrorGenerator.kt:179 */
|
1732 2693 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_table::UpdateTableError, R>) -> Self {
|
2694 + | /* ServiceErrorGenerator.kt:184 */
|
1733 2695 | match err {
|
2696 + | /* ServiceErrorGenerator.kt:185 */
|
1734 2697 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2698 + | /* ServiceErrorGenerator.kt:186 */
|
1735 2699 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1736 2700 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1737 2701 | source: err.into(),
|
1738 2702 | }),
|
2703 + | /* ServiceErrorGenerator.kt:184 */
|
1739 2704 | }
|
2705 + | /* ServiceErrorGenerator.kt:179 */
|
1740 2706 | }
|
2707 + | /* ServiceErrorGenerator.kt:174 */
|
1741 2708 | }
|
2709 + | /* ServiceErrorGenerator.kt:202 */
|
1742 2710 | impl From<crate::operation::update_table::UpdateTableError> for Error {
|
2711 + | /* ServiceErrorGenerator.kt:203 */
|
1743 2712 | fn from(err: crate::operation::update_table::UpdateTableError) -> Self {
|
2713 + | /* ServiceErrorGenerator.kt:204 */
|
1744 2714 | match err {
|
2715 + | /* ServiceErrorGenerator.kt:207 */
|
1745 2716 | crate::operation::update_table::UpdateTableError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2717 + | /* ServiceErrorGenerator.kt:207 */
|
1746 2718 | crate::operation::update_table::UpdateTableError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2719 + | /* ServiceErrorGenerator.kt:207 */
|
1747 2720 | crate::operation::update_table::UpdateTableError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
2721 + | /* ServiceErrorGenerator.kt:207 */
|
1748 2722 | crate::operation::update_table::UpdateTableError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
2723 + | /* ServiceErrorGenerator.kt:207 */
|
1749 2724 | crate::operation::update_table::UpdateTableError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2725 + | /* ServiceErrorGenerator.kt:212 */
|
1750 2726 | crate::operation::update_table::UpdateTableError::Unhandled(inner) => Error::Unhandled(inner),
|
2727 + | /* ServiceErrorGenerator.kt:204 */
|
1751 2728 | }
|
2729 + | /* ServiceErrorGenerator.kt:203 */
|
1752 2730 | }
|
2731 + | /* ServiceErrorGenerator.kt:202 */
|
1753 2732 | }
|
2733 + | /* ServiceErrorGenerator.kt:174 */
|
1754 2734 | impl<R>
|
1755 2735 | From<
|
1756 2736 | ::aws_smithy_runtime_api::client::result::SdkError<
|
1757 2737 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError,
|
1758 2738 | R,
|
1759 2739 | >,
|
1760 2740 | > for Error
|
1761 2741 | where
|
1762 2742 | R: Send + Sync + std::fmt::Debug + 'static,
|
1763 2743 | {
|
2744 + | /* ServiceErrorGenerator.kt:179 */
|
1764 2745 | fn from(
|
1765 2746 | err: ::aws_smithy_runtime_api::client::result::SdkError<
|
1766 2747 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError,
|
1767 2748 | R,
|
1768 2749 | >,
|
1769 2750 | ) -> Self {
|
2751 + | /* ServiceErrorGenerator.kt:184 */
|
1770 2752 | match err {
|
2753 + | /* ServiceErrorGenerator.kt:185 */
|
1771 2754 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2755 + | /* ServiceErrorGenerator.kt:186 */
|
1772 2756 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1773 2757 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1774 2758 | source: err.into(),
|
1775 2759 | }),
|
2760 + | /* ServiceErrorGenerator.kt:184 */
|
1776 2761 | }
|
2762 + | /* ServiceErrorGenerator.kt:179 */
|
1777 2763 | }
|
2764 + | /* ServiceErrorGenerator.kt:174 */
|
1778 2765 | }
|
2766 + | /* ServiceErrorGenerator.kt:202 */
|
1779 2767 | impl From<crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError> for Error {
|
2768 + | /* ServiceErrorGenerator.kt:203 */
|
1780 2769 | fn from(err: crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError) -> Self {
|
2770 + | /* ServiceErrorGenerator.kt:204 */
|
1781 2771 | match err {
|
2772 + | /* ServiceErrorGenerator.kt:207 */
|
1782 2773 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError::InternalServerError(inner) => {
|
1783 2774 | Error::InternalServerError(inner)
|
1784 2775 | }
|
2776 + | /* ServiceErrorGenerator.kt:207 */
|
1785 2777 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError::LimitExceededError(inner) => {
|
1786 2778 | Error::LimitExceededError(inner)
|
1787 2779 | }
|
2780 + | /* ServiceErrorGenerator.kt:207 */
|
1788 2781 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError::ResourceInUseError(inner) => {
|
1789 2782 | Error::ResourceInUseError(inner)
|
1790 2783 | }
|
2784 + | /* ServiceErrorGenerator.kt:207 */
|
1791 2785 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError::ResourceNotFoundError(inner) => {
|
1792 2786 | Error::ResourceNotFoundError(inner)
|
1793 2787 | }
|
2788 + | /* ServiceErrorGenerator.kt:212 */
|
1794 2789 | crate::operation::update_table_replica_auto_scaling::UpdateTableReplicaAutoScalingError::Unhandled(inner) => Error::Unhandled(inner),
|
2790 + | /* ServiceErrorGenerator.kt:204 */
|
1795 2791 | }
|
2792 + | /* ServiceErrorGenerator.kt:203 */
|
1796 2793 | }
|
2794 + | /* ServiceErrorGenerator.kt:202 */
|
1797 2795 | }
|
2796 + | /* ServiceErrorGenerator.kt:174 */
|
1798 2797 | impl<R> From<::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_time_to_live::UpdateTimeToLiveError, R>> for Error
|
1799 2798 | where
|
1800 2799 | R: Send + Sync + std::fmt::Debug + 'static,
|
1801 2800 | {
|
2801 + | /* ServiceErrorGenerator.kt:179 */
|
1802 2802 | fn from(err: ::aws_smithy_runtime_api::client::result::SdkError<crate::operation::update_time_to_live::UpdateTimeToLiveError, R>) -> Self {
|
2803 + | /* ServiceErrorGenerator.kt:184 */
|
1803 2804 | match err {
|
2805 + | /* ServiceErrorGenerator.kt:185 */
|
1804 2806 | ::aws_smithy_runtime_api::client::result::SdkError::ServiceError(context) => Self::from(context.into_err()),
|
2807 + | /* ServiceErrorGenerator.kt:186 */
|
1805 2808 | _ => Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1806 2809 | meta: ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(&err).clone(),
|
1807 2810 | source: err.into(),
|
1808 2811 | }),
|
2812 + | /* ServiceErrorGenerator.kt:184 */
|
1809 2813 | }
|
2814 + | /* ServiceErrorGenerator.kt:179 */
|
1810 2815 | }
|
2816 + | /* ServiceErrorGenerator.kt:174 */
|
1811 2817 | }
|
2818 + | /* ServiceErrorGenerator.kt:202 */
|
1812 2819 | impl From<crate::operation::update_time_to_live::UpdateTimeToLiveError> for Error {
|
2820 + | /* ServiceErrorGenerator.kt:203 */
|
1813 2821 | fn from(err: crate::operation::update_time_to_live::UpdateTimeToLiveError) -> Self {
|
2822 + | /* ServiceErrorGenerator.kt:204 */
|
1814 2823 | match err {
|
2824 + | /* ServiceErrorGenerator.kt:207 */
|
1815 2825 | crate::operation::update_time_to_live::UpdateTimeToLiveError::InternalServerError(inner) => Error::InternalServerError(inner),
|
2826 + | /* ServiceErrorGenerator.kt:207 */
|
1816 2827 | crate::operation::update_time_to_live::UpdateTimeToLiveError::InvalidEndpointError(inner) => Error::InvalidEndpointError(inner),
|
2828 + | /* ServiceErrorGenerator.kt:207 */
|
1817 2829 | crate::operation::update_time_to_live::UpdateTimeToLiveError::LimitExceededError(inner) => Error::LimitExceededError(inner),
|
2830 + | /* ServiceErrorGenerator.kt:207 */
|
1818 2831 | crate::operation::update_time_to_live::UpdateTimeToLiveError::ResourceInUseError(inner) => Error::ResourceInUseError(inner),
|
2832 + | /* ServiceErrorGenerator.kt:207 */
|
1819 2833 | crate::operation::update_time_to_live::UpdateTimeToLiveError::ResourceNotFoundError(inner) => Error::ResourceNotFoundError(inner),
|
2834 + | /* ServiceErrorGenerator.kt:212 */
|
1820 2835 | crate::operation::update_time_to_live::UpdateTimeToLiveError::Unhandled(inner) => Error::Unhandled(inner),
|
2836 + | /* ServiceErrorGenerator.kt:204 */
|
1821 2837 | }
|
2838 + | /* ServiceErrorGenerator.kt:203 */
|
1822 2839 | }
|
2840 + | /* ServiceErrorGenerator.kt:202 */
|
1823 2841 | }
|
2842 + | /* ServiceErrorGenerator.kt:83 */
|
1824 2843 | impl<O, E> ::std::convert::From<::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>> for Error
|
1825 2844 | where
|
1826 2845 | O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
|
1827 2846 | E: ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static,
|
1828 2847 | {
|
1829 2848 | fn from(err: ::aws_smithy_runtime_api::client::waiters::error::WaiterError<O, E>) -> Self {
|
1830 2849 | Error::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
1831 2850 | meta: ::std::default::Default::default(),
|
1832 2851 | source: err.into(),
|
1833 2852 | })
|
1834 2853 | }
|
1835 2854 | }
|
2855 + | /* ServiceErrorGenerator.kt:115 */
|
1836 2856 | impl ::std::error::Error for Error {
|
2857 + | /* ServiceErrorGenerator.kt:116 */
|
1837 2858 | fn source(&self) -> std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
2859 + | /* ServiceErrorGenerator.kt:117 */
|
1838 2860 | match self {
|
1839 - | Error::BackupInUseError(inner) => inner.source(),
|
1840 - | Error::BackupNotFoundError(inner) => inner.source(),
|
1841 - | Error::ConditionalCheckFailedError(inner) => inner.source(),
|
1842 - | Error::ContinuousBackupsUnavailableError(inner) => inner.source(),
|
1843 - | Error::DuplicateItemError(inner) => inner.source(),
|
1844 - | Error::ExportConflictError(inner) => inner.source(),
|
1845 - | Error::ExportNotFoundError(inner) => inner.source(),
|
1846 - | Error::GlobalTableAlreadyExistsError(inner) => inner.source(),
|
1847 - | Error::GlobalTableNotFoundError(inner) => inner.source(),
|
1848 - | Error::IdempotentParameterMismatchError(inner) => inner.source(),
|
1849 - | Error::IndexNotFoundError(inner) => inner.source(),
|
1850 - | Error::InternalServerError(inner) => inner.source(),
|
1851 - | Error::InvalidEndpointError(inner) => inner.source(),
|
1852 - | Error::InvalidExportTimeError(inner) => inner.source(),
|
1853 - | Error::InvalidRestoreTimeError(inner) => inner.source(),
|
1854 - | Error::ItemCollectionSizeLimitExceededError(inner) => inner.source(),
|
1855 - | Error::LimitExceededError(inner) => inner.source(),
|
1856 - | Error::PointInTimeRecoveryUnavailableError(inner) => inner.source(),
|
1857 - | Error::ProvisionedThroughputExceededError(inner) => inner.source(),
|
1858 - | Error::ReplicaAlreadyExistsError(inner) => inner.source(),
|
1859 - | Error::ReplicaNotFoundError(inner) => inner.source(),
|
1860 - | Error::RequestLimitExceeded(inner) => inner.source(),
|
1861 - | Error::ResourceInUseError(inner) => inner.source(),
|
1862 - | Error::ResourceNotFoundError(inner) => inner.source(),
|
1863 - | Error::TableAlreadyExistsError(inner) => inner.source(),
|
1864 - | Error::TableInUseError(inner) => inner.source(),
|
1865 - | Error::TableNotFoundError(inner) => inner.source(),
|
1866 - | Error::TransactionCanceledError(inner) => inner.source(),
|
1867 - | Error::TransactionConflictError(inner) => inner.source(),
|
1868 - | Error::TransactionInProgressError(inner) => inner.source(),
|
1869 - | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source),
|
1870 - | }
|
1871 - | }
|
2861 + | /* ServiceErrorGenerator.kt:119 */ Error::BackupInUseError(inner) => inner.source(),
|
2862 + | /* ServiceErrorGenerator.kt:119 */ Error::BackupNotFoundError(inner) => inner.source(),
|
2863 + | /* ServiceErrorGenerator.kt:119 */ Error::ConditionalCheckFailedError(inner) => inner.source(),
|
2864 + | /* ServiceErrorGenerator.kt:119 */ Error::ContinuousBackupsUnavailableError(inner) => inner.source(),
|
2865 + | /* ServiceErrorGenerator.kt:119 */ Error::DuplicateItemError(inner) => inner.source(),
|
2866 + | /* ServiceErrorGenerator.kt:119 */ Error::ExportConflictError(inner) => inner.source(),
|
2867 + | /* ServiceErrorGenerator.kt:119 */ Error::ExportNotFoundError(inner) => inner.source(),
|
2868 + | /* ServiceErrorGenerator.kt:119 */ Error::GlobalTableAlreadyExistsError(inner) => inner.source(),
|
2869 + | /* ServiceErrorGenerator.kt:119 */ Error::GlobalTableNotFoundError(inner) => inner.source(),
|
2870 + | /* ServiceErrorGenerator.kt:119 */ Error::IdempotentParameterMismatchError(inner) => inner.source(),
|
2871 + | /* ServiceErrorGenerator.kt:119 */ Error::IndexNotFoundError(inner) => inner.source(),
|
2872 + | /* ServiceErrorGenerator.kt:119 */ Error::InternalServerError(inner) => inner.source(),
|
2873 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidEndpointError(inner) => inner.source(),
|
2874 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidExportTimeError(inner) => inner.source(),
|
2875 + | /* ServiceErrorGenerator.kt:119 */ Error::InvalidRestoreTimeError(inner) => inner.source(),
|
2876 + | /* ServiceErrorGenerator.kt:119 */ Error::ItemCollectionSizeLimitExceededError(inner) => inner.source(),
|
2877 + | /* ServiceErrorGenerator.kt:119 */ Error::LimitExceededError(inner) => inner.source(),
|
2878 + | /* ServiceErrorGenerator.kt:119 */ Error::PointInTimeRecoveryUnavailableError(inner) => inner.source(),
|
2879 + | /* ServiceErrorGenerator.kt:119 */ Error::ProvisionedThroughputExceededError(inner) => inner.source(),
|
2880 + | /* ServiceErrorGenerator.kt:119 */ Error::ReplicaAlreadyExistsError(inner) => inner.source(),
|
2881 + | /* ServiceErrorGenerator.kt:119 */ Error::ReplicaNotFoundError(inner) => inner.source(),
|
2882 + | /* ServiceErrorGenerator.kt:119 */ Error::RequestLimitExceeded(inner) => inner.source(),
|
2883 + | /* ServiceErrorGenerator.kt:119 */ Error::ResourceInUseError(inner) => inner.source(),
|
2884 + | /* ServiceErrorGenerator.kt:119 */ Error::ResourceNotFoundError(inner) => inner.source(),
|
2885 + | /* ServiceErrorGenerator.kt:119 */ Error::TableAlreadyExistsError(inner) => inner.source(),
|
2886 + | /* ServiceErrorGenerator.kt:119 */ Error::TableInUseError(inner) => inner.source(),
|
2887 + | /* ServiceErrorGenerator.kt:119 */ Error::TableNotFoundError(inner) => inner.source(),
|
2888 + | /* ServiceErrorGenerator.kt:119 */ Error::TransactionCanceledError(inner) => inner.source(),
|
2889 + | /* ServiceErrorGenerator.kt:119 */ Error::TransactionConflictError(inner) => inner.source(),
|
2890 + | /* ServiceErrorGenerator.kt:119 */ Error::TransactionInProgressError(inner) => inner.source(),
|
2891 + | /* ServiceErrorGenerator.kt:121 */
|
2892 + | Error::Unhandled(inner) => ::std::option::Option::Some(&*inner.source), /* ServiceErrorGenerator.kt:117 */
|
2893 + | }
|
2894 + | /* ServiceErrorGenerator.kt:116 */
|
2895 + | }
|
2896 + | /* ServiceErrorGenerator.kt:115 */
|
1872 2897 | }
|