385 385 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for PutClusterCapacityProvidersError {
|
386 386 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
387 387 | match self {
|
388 388 | Self::ClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
389 389 | Self::ClusterNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
390 390 | Self::InvalidParameterException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
391 391 | Self::ResourceInUseException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
392 392 | Self::ServerException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
393 393 | Self::UpdateInProgressException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
394 394 | Self::Unhandled(_inner) => &_inner.meta,
|
395 395 | }
|
396 396 | }
|
397 397 | }
|
398 398 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for PutClusterCapacityProvidersError {
|
399 399 | fn create_unhandled_error(
|
400 400 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
401 401 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
402 402 | ) -> Self {
|
403 403 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
404 404 | source,
|
405 405 | meta: meta.unwrap_or_default(),
|
406 406 | })
|
407 407 | }
|
408 408 | }
|
409 409 | impl ::aws_types::request_id::RequestId for crate::operation::put_cluster_capacity_providers::PutClusterCapacityProvidersError {
|
410 410 | fn request_id(&self) -> Option<&str> {
|
411 411 | self.meta().request_id()
|
412 412 | }
|
413 413 | }
|
414 414 |
|
415 - | pub use crate::operation::put_cluster_capacity_providers::_put_cluster_capacity_providers_output::PutClusterCapacityProvidersOutput;
|
416 - |
|
417 415 | pub use crate::operation::put_cluster_capacity_providers::_put_cluster_capacity_providers_input::PutClusterCapacityProvidersInput;
|
418 416 |
|
417 + | pub use crate::operation::put_cluster_capacity_providers::_put_cluster_capacity_providers_output::PutClusterCapacityProvidersOutput;
|
418 + |
|
419 419 | mod _put_cluster_capacity_providers_input;
|
420 420 |
|
421 421 | mod _put_cluster_capacity_providers_output;
|
422 422 |
|
423 423 | /// Builders
|
424 424 | pub mod builders;
|