pub enum CreateXssMatchSetError {
WAFDisallowedName(String),
WAFInternalError(String),
WAFInvalidAccount(String),
WAFInvalidParameter(String),
WAFLimitsExceeded(String),
WAFStaleData(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
}
Errors returned by CreateXssMatchSet
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 you tried to create, update, or delete an object by using an invalid account identifier.
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.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
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
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static