382 382 | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeDatabaseError {
|
383 383 | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
384 384 | match self {
|
385 385 | Self::AccessDeniedException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
386 386 | Self::InternalServerException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
387 387 | Self::InvalidEndpointException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
388 388 | Self::ResourceNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
389 389 | Self::ThrottlingException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
390 390 | Self::ValidationException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
391 391 | Self::Unhandled(_inner) => &_inner.meta,
|
392 392 | }
|
393 393 | }
|
394 394 | }
|
395 395 | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeDatabaseError {
|
396 396 | fn create_unhandled_error(
|
397 397 | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
398 398 | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
399 399 | ) -> Self {
|
400 400 | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
401 401 | source,
|
402 402 | meta: meta.unwrap_or_default(),
|
403 403 | })
|
404 404 | }
|
405 405 | }
|
406 406 | impl ::aws_types::request_id::RequestId for crate::operation::describe_database::DescribeDatabaseError {
|
407 407 | fn request_id(&self) -> Option<&str> {
|
408 408 | self.meta().request_id()
|
409 409 | }
|
410 410 | }
|
411 411 |
|
412 - | pub use crate::operation::describe_database::_describe_database_output::DescribeDatabaseOutput;
|
413 - |
|
414 412 | pub use crate::operation::describe_database::_describe_database_input::DescribeDatabaseInput;
|
415 413 |
|
414 + | pub use crate::operation::describe_database::_describe_database_output::DescribeDatabaseOutput;
|
415 + |
|
416 416 | mod _describe_database_input;
|
417 417 |
|
418 418 | mod _describe_database_output;
|
419 419 |
|
420 420 | /// Builders
|
421 421 | pub mod builders;
|