Enum rusoto_waf_regional::UpdateSizeConstraintSetError
[−]
[src]
pub enum UpdateSizeConstraintSetError { WAFInternalError(String), WAFInvalidAccount(String), WAFInvalidOperation(String), WAFInvalidParameter(String), WAFLimitsExceeded(String), WAFNonexistentContainer(String), WAFNonexistentItem(String), WAFReferencedItem(String), WAFStaleData(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdateSizeConstraintSet
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.
WAFInvalidOperation(String)
The operation failed because there was nothing to do. For example:
-
You tried to remove a
Rule
from aWebACL
, but theRule
isn't in the specifiedWebACL
. -
You tried to remove an IP address from an
IPSet
, but the IP address isn't in the specifiedIPSet
. -
You tried to remove a
ByteMatchTuple
from aByteMatchSet
, but theByteMatchTuple
isn't in the specifiedWebACL
. -
You tried to add a
Rule
to aWebACL
, but theRule
already exists in the specifiedWebACL
. -
You tried to add an IP address to an
IPSet
, but the IP address already exists in the specifiedIPSet
. -
You tried to add a
ByteMatchTuple
to aByteMatchSet
, but theByteMatchTuple
already exists in the specifiedWebACL
.
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.
WAFNonexistentContainer(String)
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 aRule
from aWebACL
that doesn't exist. -
You tried to add a
ByteMatchSet
to or delete aByteMatchSet
from aRule
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 aByteMatchTuple
from aByteMatchSet
that doesn't exist.
WAFNonexistentItem(String)
The operation failed because the referenced object doesn't exist.
WAFReferencedItem(String)
The operation failed because you tried to delete an object that is still in use. For example:
-
You tried to delete a
ByteMatchSet
that is still referenced by aRule
. -
You tried to delete a
Rule
that is still referenced by aWebACL
.
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 UpdateSizeConstraintSetError
[src]
fn from_body(body: &str) -> UpdateSizeConstraintSetError
Trait Implementations
impl Debug for UpdateSizeConstraintSetError
[src]
impl PartialEq for UpdateSizeConstraintSetError
[src]
fn eq(&self, __arg_0: &UpdateSizeConstraintSetError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UpdateSizeConstraintSetError) -> bool
This method tests for !=
.
impl From<Error> for UpdateSizeConstraintSetError
[src]
fn from(err: Error) -> UpdateSizeConstraintSetError
Performs the conversion.
impl From<CredentialsError> for UpdateSizeConstraintSetError
[src]
fn from(err: CredentialsError) -> UpdateSizeConstraintSetError
Performs the conversion.
impl From<HttpDispatchError> for UpdateSizeConstraintSetError
[src]
fn from(err: HttpDispatchError) -> UpdateSizeConstraintSetError
Performs the conversion.
impl From<Error> for UpdateSizeConstraintSetError
[src]
fn from(err: Error) -> UpdateSizeConstraintSetError
Performs the conversion.