Struct aws_sdk_cloudfront::error::DeleteResponseHeadersPolicyError [−][src]
#[non_exhaustive]pub struct DeleteResponseHeadersPolicyError {
pub kind: DeleteResponseHeadersPolicyErrorKind,
// some fields omitted
}
Expand description
Error type for the DeleteResponseHeadersPolicy
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: DeleteResponseHeadersPolicyErrorKind
Kind of error that occurred.
Implementations
Creates a new DeleteResponseHeadersPolicyError
.
Creates the DeleteResponseHeadersPolicyError::Unhandled
variant from any error type.
Creates the DeleteResponseHeadersPolicyError::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 DeleteResponseHeadersPolicyErrorKind::AccessDenied
.
Returns true
if the error kind is DeleteResponseHeadersPolicyErrorKind::IllegalDelete
.
Returns true
if the error kind is DeleteResponseHeadersPolicyErrorKind::InvalidIfMatchVersion
.
Returns true
if the error kind is DeleteResponseHeadersPolicyErrorKind::NoSuchResponseHeadersPolicy
.
Returns true
if the error kind is DeleteResponseHeadersPolicyErrorKind::PreconditionFailed
.
Returns true
if the error kind is DeleteResponseHeadersPolicyErrorKind::ResponseHeadersPolicyInUse
.
Trait Implementations
Auto Trait Implementations
impl Send for DeleteResponseHeadersPolicyError
impl Sync for DeleteResponseHeadersPolicyError
impl Unpin for DeleteResponseHeadersPolicyError
impl !UnwindSafe for DeleteResponseHeadersPolicyError
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