Struct aws_sdk_acm::error::GetCertificateError [−][src]
#[non_exhaustive]pub struct GetCertificateError {
pub kind: GetCertificateErrorKind,
// some fields omitted
}
Expand description
Error type for the GetCertificate
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.kind: GetCertificateErrorKind
Kind of error that occurred.
Implementations
Creates a new GetCertificateError
.
Creates the GetCertificateError::Unhandled
variant from any error type.
Creates the GetCertificateError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is GetCertificateErrorKind::InvalidArnException
.
Returns true
if the error kind is GetCertificateErrorKind::RequestInProgressException
.
Returns true
if the error kind is GetCertificateErrorKind::ResourceNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetCertificateError
impl Send for GetCertificateError
impl Sync for GetCertificateError
impl Unpin for GetCertificateError
impl !UnwindSafe for GetCertificateError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more