[−][src]Enum rusoto_waf::UpdateSizeConstraintSetError
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
Rulefrom aWebACL, but theRuleisn'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
ByteMatchTuplefrom aByteMatchSet, but theByteMatchTupleisn't in the specifiedWebACL. -
You tried to add a
Ruleto aWebACL, but theRulealready exists in the specifiedWebACL. -
You tried to add a
ByteMatchTupleto aByteMatchSet, but theByteMatchTuplealready 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 thanINSERTorDELETE. -
You tried to create a
WebACLwith aDefaultActionTypeother thanALLOW,BLOCK, orCOUNT. -
You tried to create a
RateBasedRulewith aRateKeyvalue other thanIP. -
You tried to update a
WebACLwith aWafActionTypeother thanALLOW,BLOCK, orCOUNT. -
You tried to update a
ByteMatchSetwith aFieldToMatchTypeother than HEADER, METHOD, QUERY_STRING, URI, or BODY. -
You tried to update a
ByteMatchSetwith aFieldofHEADERbut 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
Ruleto or delete aRulefrom aWebACLthat doesn't exist. -
You tried to add a
ByteMatchSetto or delete aByteMatchSetfrom aRulethat doesn't exist. -
You tried to add an IP address to or delete an IP address from an
IPSetthat doesn't exist. -
You tried to add a
ByteMatchTupleto or delete aByteMatchTuplefrom aByteMatchSetthat 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
ByteMatchSetthat is still referenced by aRule. -
You tried to delete a
Rulethat 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.
Methods
impl UpdateSizeConstraintSetError[src]
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<UpdateSizeConstraintSetError>[src]
res: BufferedHttpResponse
) -> RusotoError<UpdateSizeConstraintSetError>
Trait Implementations
impl PartialEq<UpdateSizeConstraintSetError> for UpdateSizeConstraintSetError[src]
fn eq(&self, other: &UpdateSizeConstraintSetError) -> bool[src]
fn ne(&self, other: &UpdateSizeConstraintSetError) -> bool[src]
impl Debug for UpdateSizeConstraintSetError[src]
impl Display for UpdateSizeConstraintSetError[src]
impl Error for UpdateSizeConstraintSetError[src]
fn description(&self) -> &str[src]
fn cause(&self) -> Option<&dyn Error>1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl Send for UpdateSizeConstraintSetError
impl Sync for UpdateSizeConstraintSetError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>, [src]
T: From<U>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self