pub enum UpdateRegexMatchSetError {
WAFDisallowedName(String),
WAFInternalError(String),
WAFInvalidAccount(String),
WAFInvalidOperation(String),
WAFLimitsExceeded(String),
WAFNonexistentContainer(String),
WAFNonexistentItem(String),
WAFStaleData(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
ParseError(String),
Unknown(BufferedHttpResponse),
}
Errors returned by UpdateRegexMatchSet
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 there was nothing to do. For example:
-
You tried to remove a Rule
from a WebACL
, but the Rule
isn't in the specified WebACL
.
-
You tried to remove an IP address from an IPSet
, but the IP address isn't in the specified IPSet
.
-
You tried to remove a ByteMatchTuple
from a ByteMatchSet
, but the ByteMatchTuple
isn't in the specified WebACL
.
-
You tried to add a Rule
to a WebACL
, but the Rule
already exists in the specified WebACL
.
-
You tried to add an IP address to an IPSet
, but the IP address already exists in the specified IPSet
.
-
You tried to add a ByteMatchTuple
to a ByteMatchSet
, but the ByteMatchTuple
already exists in the specified WebACL
.
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 add an object to or delete an object from another object that doesn't exist. For example:
-
You tried to add a Rule
to or delete a Rule
from a WebACL
that doesn't exist.
-
You tried to add a ByteMatchSet
to or delete a ByteMatchSet
from a Rule
that doesn't exist.
-
You tried to add an IP address to or delete an IP address from an IPSet
that doesn't exist.
-
You tried to add a ByteMatchTuple
to or delete a ByteMatchTuple
from a ByteMatchSet
that doesn't exist.
The operation failed because the referenced object doesn't exist.
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
Mutably 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
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static