449 449 | Self::InternalServerException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
450 450 | Self::InvalidClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
451 451 | Self::InvalidGrantException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
452 452 | Self::InvalidRequestException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
453 453 | Self::InvalidRequestRegionException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
454 454 | Self::InvalidScopeException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
455 455 | Self::SlowDownException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
456 456 | Self::UnauthorizedClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
457 457 | Self::UnsupportedGrantTypeException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
458 458 | Self::Unhandled(_inner) => &_inner.meta,
|
459 459 | }
|
460 460 | }
|
461 461 | }
|
462 462 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for CreateTokenWithIAMError {
|
463 463 | fn create_unhandled_error(
|
464 464 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
465 465 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
466 466 | ) -> Self {
|
467 467 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
468 468 | source,
|
469 469 | meta: meta.unwrap_or_default(),
|
470 470 | })
|
471 471 | }
|
472 472 | }
|
473 473 | impl ::aws_types::request_id::RequestId for crate::operation::create_token_with_iam::CreateTokenWithIAMError {
|
474 474 | fn request_id(&self) -> Option<&str> {
|
475 475 | self.meta().request_id()
|
476 476 | }
|
477 477 | }
|
478 478 |
|
479 - | pub use crate::operation::create_token_with_iam::_create_token_with_iam_output::CreateTokenWithIamOutput;
|
480 - |
|
481 479 | pub use crate::operation::create_token_with_iam::_create_token_with_iam_input::CreateTokenWithIamInput;
|
482 480 |
|
481 + | pub use crate::operation::create_token_with_iam::_create_token_with_iam_output::CreateTokenWithIamOutput;
|
482 + |
|
483 483 | mod _create_token_with_iam_input;
|
484 484 |
|
485 485 | mod _create_token_with_iam_output;
|
486 486 |
|
487 487 | /// Builders
|
488 488 | pub mod builders;
|