402 402 | }
|
403 403 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateJobStatusError {
|
404 404 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
405 405 | match self {
|
406 406 | Self::BadRequestException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
407 407 | Self::InternalServiceException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
408 408 | Self::JobStatusException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
409 409 | Self::NotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
410 410 | Self::TooManyRequestsException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
411 411 | Self::Unhandled(_inner) => &_inner.meta,
|
412 412 | }
|
413 413 | }
|
414 414 | }
|
415 415 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for UpdateJobStatusError {
|
416 416 | fn create_unhandled_error(
|
417 417 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
418 418 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
419 419 | ) -> Self {
|
420 420 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
421 421 | source,
|
422 422 | meta: meta.unwrap_or_default(),
|
423 423 | })
|
424 424 | }
|
425 425 | }
|
426 426 | impl ::aws_types::request_id::RequestId for crate::operation::update_job_status::UpdateJobStatusError {
|
427 427 | fn request_id(&self) -> Option<&str> {
|
428 428 | self.meta().request_id()
|
429 429 | }
|
430 430 | }
|
431 431 |
|
432 - | pub use crate::operation::update_job_status::_update_job_status_output::UpdateJobStatusOutput;
|
433 - |
|
434 432 | pub use crate::operation::update_job_status::_update_job_status_input::UpdateJobStatusInput;
|
435 433 |
|
434 + | pub use crate::operation::update_job_status::_update_job_status_output::UpdateJobStatusOutput;
|
435 + |
|
436 436 | mod _update_job_status_input;
|
437 437 |
|
438 438 | mod _update_job_status_output;
|
439 439 |
|
440 440 | /// Builders
|
441 441 | pub mod builders;
|