[][src]Enum rusoto_waf_regional::CreateRateBasedRuleError

pub enum CreateRateBasedRuleError {
    WAFDisallowedName(String),
    WAFInternalError(String),
    WAFInvalidParameter(String),
    WAFLimitsExceeded(String),
    WAFStaleData(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by CreateRateBasedRule

Variants

The name specified is invalid.

The operation failed because of a system problem, even though the request was valid. Retry your request.

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, or WebACL) using an action other than INSERT or DELETE.

  • You tried to create a WebACL with a DefaultAction Type other than ALLOW, BLOCK, or COUNT.

  • You tried to create a RateBasedRule with a RateKey value other than IP.

  • You tried to update a WebACL with a WafAction Type other than ALLOW, BLOCK, or COUNT.

  • You tried to update a ByteMatchSet with a FieldToMatch Type other than HEADER, METHOD, QUERY_STRING, URI, or BODY.

  • You tried to update a ByteMatchSet with a Field of HEADER but no value for Data.

  • Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.

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.

The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An error occurred parsing the response payload.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl CreateRateBasedRuleError
[src]

Trait Implementations

impl From<Error> for CreateRateBasedRuleError
[src]

impl From<CredentialsError> for CreateRateBasedRuleError
[src]

impl From<HttpDispatchError> for CreateRateBasedRuleError
[src]

impl From<Error> for CreateRateBasedRuleError
[src]

impl PartialEq<CreateRateBasedRuleError> for CreateRateBasedRuleError
[src]

impl Debug for CreateRateBasedRuleError
[src]

impl Display for CreateRateBasedRuleError
[src]

impl Error for CreateRateBasedRuleError
[src]

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T