#[non_exhaustive]
pub enum DeleteRegexMatchSetErrorKind {
WafInternalErrorException(WafInternalErrorException),
WafInvalidAccountException(WafInvalidAccountException),
WafNonEmptyEntityException(WafNonEmptyEntityException),
WafNonexistentItemException(WafNonexistentItemException),
WafReferencedItemException(WafReferencedItemException),
WafStaleDataException(WafStaleDataException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the DeleteRegexMatchSet operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
WafInternalErrorException(WafInternalErrorException)
Tuple Fields
The operation failed because of a system problem, even though the request was valid. Retry your request.
WafInvalidAccountException(WafInvalidAccountException)
Tuple Fields
The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.
WafNonEmptyEntityException(WafNonEmptyEntityException)
Tuple Fields
The operation failed because you tried to delete an object that isn't empty. For example:
-
You tried to delete a
WebACLthat still contains one or moreRuleobjects. -
You tried to delete a
Rulethat still contains one or moreByteMatchSetobjects or other predicates. -
You tried to delete a
ByteMatchSetthat contains one or moreByteMatchTupleobjects. -
You tried to delete an
IPSetthat references one or more IP addresses.
WafNonexistentItemException(WafNonexistentItemException)
Tuple Fields
The operation failed because the referenced object doesn't exist.
WafReferencedItemException(WafReferencedItemException)
Tuple Fields
The operation failed because you tried to delete an object that is still in use. For example:
-
You tried to delete a
ByteMatchSetthat is still referenced by aRule. -
You tried to delete a
Rulethat is still referenced by aWebACL.
WafStaleDataException(WafStaleDataException)
Tuple Fields
The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DeleteRegexMatchSetErrorKind
impl Send for DeleteRegexMatchSetErrorKind
impl Sync for DeleteRegexMatchSetErrorKind
impl Unpin for DeleteRegexMatchSetErrorKind
impl !UnwindSafe for DeleteRegexMatchSetErrorKind
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
