Enum rusoto_waf::GetRateBasedRuleManagedKeysError
[−]
[src]
pub enum GetRateBasedRuleManagedKeysError { WAFInternalError(String), WAFInvalidAccount(String), WAFInvalidParameter(String), WAFNonexistentItem(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
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 thanINSERT
orDELETE
. -
You tried to create a
WebACL
with aDefaultAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to create a
RateBasedRule
with aRateKey
value other thanIP
. -
You tried to update a
WebACL
with aWafAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to update a
ByteMatchSet
with aFieldToMatch
Type
other than HEADER, QUERY_STRING, or URI. -
You tried to update a
ByteMatchSet
with aField
ofHEADER
but 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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl GetRateBasedRuleManagedKeysError
[src]
fn from_body(body: &str) -> GetRateBasedRuleManagedKeysError
[src]
Trait Implementations
impl Debug for GetRateBasedRuleManagedKeysError
[src]
impl PartialEq for GetRateBasedRuleManagedKeysError
[src]
fn eq(&self, __arg_0: &GetRateBasedRuleManagedKeysError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetRateBasedRuleManagedKeysError) -> bool
[src]
This method tests for !=
.
impl From<Error> for GetRateBasedRuleManagedKeysError
[src]
fn from(err: Error) -> GetRateBasedRuleManagedKeysError
[src]
Performs the conversion.
impl From<CredentialsError> for GetRateBasedRuleManagedKeysError
[src]
fn from(err: CredentialsError) -> GetRateBasedRuleManagedKeysError
[src]
Performs the conversion.
impl From<HttpDispatchError> for GetRateBasedRuleManagedKeysError
[src]
fn from(err: HttpDispatchError) -> GetRateBasedRuleManagedKeysError
[src]
Performs the conversion.
impl From<Error> for GetRateBasedRuleManagedKeysError
[src]
fn from(err: Error) -> GetRateBasedRuleManagedKeysError
[src]
Performs the conversion.
impl Display for GetRateBasedRuleManagedKeysError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more