Enum aws_sdk_waf::error::DeleteRuleGroupErrorKind
source ·
[−]#[non_exhaustive]
pub enum DeleteRuleGroupErrorKind {
WafInternalErrorException(WafInternalErrorException),
WafInvalidOperationException(WafInvalidOperationException),
WafNonEmptyEntityException(WafNonEmptyEntityException),
WafNonexistentItemException(WafNonexistentItemException),
WafReferencedItemException(WafReferencedItemException),
WafStaleDataException(WafStaleDataException),
WafTagOperationException(WafTagOperationException),
WafTagOperationInternalErrorException(WafTagOperationInternalErrorException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the DeleteRuleGroup 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.
WafInvalidOperationException(WafInvalidOperationException)
Tuple Fields
The operation failed because there was nothing to do. For example:
-
You tried to remove a
Rulefrom aWebACL, but theRuleisn't in the specifiedWebACL. -
You tried to remove an IP address from an
IPSet, but the IP address isn't in the specifiedIPSet. -
You tried to remove a
ByteMatchTuplefrom aByteMatchSet, but theByteMatchTupleisn't in the specifiedWebACL. -
You tried to add a
Ruleto aWebACL, but theRulealready exists in the specifiedWebACL. -
You tried to add a
ByteMatchTupleto aByteMatchSet, but theByteMatchTuplealready exists in the specifiedWebACL.
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.
WafTagOperationException(WafTagOperationException)
Tuple Fields
WafTagOperationInternalErrorException(WafTagOperationInternalErrorException)
Tuple Fields
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 DeleteRuleGroupErrorKind
impl Send for DeleteRuleGroupErrorKind
impl Sync for DeleteRuleGroupErrorKind
impl Unpin for DeleteRuleGroupErrorKind
impl !UnwindSafe for DeleteRuleGroupErrorKind
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
