Enum rusoto_waf_regional::CreateRuleError
[−]
[src]
pub enum CreateRuleError { WAFDisallowedName(String), WAFInternalError(String), WAFInvalidParameter(String), WAFLimitsExceeded(String), WAFStaleData(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by CreateRule
Variants
WAFDisallowedName(String)
The name specified is invalid.
WAFInternalError(String)
The operation failed because of a system problem, even though the request was valid. Retry your request.
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.
WAFLimitsExceeded(String)
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.
WAFStaleData(String)
The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.
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 CreateRuleError
[src]
fn from_body(body: &str) -> CreateRuleError
Trait Implementations
impl Debug for CreateRuleError
[src]
impl PartialEq for CreateRuleError
[src]
fn eq(&self, __arg_0: &CreateRuleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CreateRuleError) -> bool
This method tests for !=
.
impl From<Error> for CreateRuleError
[src]
fn from(err: Error) -> CreateRuleError
Performs the conversion.
impl From<CredentialsError> for CreateRuleError
[src]
fn from(err: CredentialsError) -> CreateRuleError
Performs the conversion.
impl From<HttpDispatchError> for CreateRuleError
[src]
fn from(err: HttpDispatchError) -> CreateRuleError
Performs the conversion.
impl From<Error> for CreateRuleError
[src]
fn from(err: Error) -> CreateRuleError
Performs the conversion.