395 395 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
396 396 | match self {
|
397 397 | Self::ClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
398 398 | Self::ClusterNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
399 399 | Self::InvalidParameterException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
400 400 | Self::MissingVersionException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
401 401 | Self::NoUpdateAvailableException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
402 402 | Self::ServerException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
403 403 | Self::UpdateInProgressException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
404 404 | Self::Unhandled(_inner) => &_inner.meta,
|
405 405 | }
|
406 406 | }
|
407 407 | }
|
408 408 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for UpdateContainerAgentError {
|
409 409 | fn create_unhandled_error(
|
410 410 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
411 411 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
412 412 | ) -> Self {
|
413 413 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
414 414 | source,
|
415 415 | meta: meta.unwrap_or_default(),
|
416 416 | })
|
417 417 | }
|
418 418 | }
|
419 419 | impl ::aws_types::request_id::RequestId for crate::operation::update_container_agent::UpdateContainerAgentError {
|
420 420 | fn request_id(&self) -> Option<&str> {
|
421 421 | self.meta().request_id()
|
422 422 | }
|
423 423 | }
|
424 424 |
|
425 - | pub use crate::operation::update_container_agent::_update_container_agent_output::UpdateContainerAgentOutput;
|
426 - |
|
427 425 | pub use crate::operation::update_container_agent::_update_container_agent_input::UpdateContainerAgentInput;
|
428 426 |
|
427 + | pub use crate::operation::update_container_agent::_update_container_agent_output::UpdateContainerAgentOutput;
|
428 + |
|
429 429 | mod _update_container_agent_input;
|
430 430 |
|
431 431 | mod _update_container_agent_output;
|
432 432 |
|
433 433 | /// Builders
|
434 434 | pub mod builders;
|