Enum aws_sdk_waf::error::CreateGeoMatchSetErrorKind
source ·
[−]#[non_exhaustive]
pub enum CreateGeoMatchSetErrorKind {
WafDisallowedNameException(WafDisallowedNameException),
WafInternalErrorException(WafInternalErrorException),
WafInvalidAccountException(WafInvalidAccountException),
WafInvalidParameterException(WafInvalidParameterException),
WafLimitsExceededException(WafLimitsExceededException),
WafStaleDataException(WafStaleDataException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateGeoMatchSet operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
WafDisallowedNameException(WafDisallowedNameException)
Tuple Fields
The name specified is invalid.
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.
WafInvalidParameterException(WafInvalidParameterException)
Tuple Fields
The operation failed because AWS WAF didn't recognize a parameter in the request. For example:
-
You specified an invalid parameter name.
-
You specified an invalid value.
-
You tried to update an object (
ByteMatchSet,IPSet,Rule, orWebACL) using an action other thanINSERTorDELETE. -
You tried to create a
WebACLwith aDefaultActionTypeother thanALLOW,BLOCK, orCOUNT. -
You tried to create a
RateBasedRulewith aRateKeyvalue other thanIP. -
You tried to update a
WebACLwith aWafActionTypeother thanALLOW,BLOCK, orCOUNT. -
You tried to update a
ByteMatchSetwith aFieldToMatchTypeother than HEADER, METHOD, QUERY_STRING, URI, or BODY. -
You tried to update a
ByteMatchSetwith aFieldofHEADERbut no value forData. -
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.
WafLimitsExceededException(WafLimitsExceededException)
Tuple Fields
The operation exceeds a resource limit, for example, the maximum number of WebACL objects that you can create for an AWS account. For more information, see Limits in the AWS WAF Developer Guide.
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 CreateGeoMatchSetErrorKind
impl Send for CreateGeoMatchSetErrorKind
impl Sync for CreateGeoMatchSetErrorKind
impl Unpin for CreateGeoMatchSetErrorKind
impl !UnwindSafe for CreateGeoMatchSetErrorKind
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
