pub enum GetRateBasedRuleManagedKeysError {
WAFInternalError(String),
WAFInvalidAccount(String),
WAFInvalidParameter(String),
WAFNonexistentItem(String),
}Expand description
Errors returned by GetRateBasedRuleManagedKeys
Variants§
WAFInternalError(String)
The operation failed because of a system problem, even though the request was valid. Retry your request.
WAFInvalidAccount(String)
The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.
WAFInvalidParameter(String)
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.
WAFNonexistentItem(String)
The operation failed because the referenced object doesn't exist.
Implementations§
Trait Implementations§
Source§impl Error for GetRateBasedRuleManagedKeysError
impl Error for GetRateBasedRuleManagedKeysError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for GetRateBasedRuleManagedKeysError
impl PartialEq for GetRateBasedRuleManagedKeysError
Source§fn eq(&self, other: &GetRateBasedRuleManagedKeysError) -> bool
fn eq(&self, other: &GetRateBasedRuleManagedKeysError) -> bool
self and other values to be equal, and is used by ==.