pub enum UpdateRegexMatchSetError {
WAFDisallowedName(String),
WAFInternalError(String),
WAFInvalidAccount(String),
WAFInvalidOperation(String),
WAFLimitsExceeded(String),
WAFNonexistentContainer(String),
WAFNonexistentItem(String),
WAFStaleData(String),
}
Expand description
Errors returned by UpdateRegexMatchSet
Variants
WAFDisallowedName(String)
The name specified is invalid.
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 a
ByteMatchTuple
to aByteMatchSet
, but theByteMatchTuple
already exists in the specifiedWebACL
.
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.
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.
Implementations
sourceimpl UpdateRegexMatchSetError
impl UpdateRegexMatchSetError
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<UpdateRegexMatchSetError>
Trait Implementations
sourceimpl Debug for UpdateRegexMatchSetError
impl Debug for UpdateRegexMatchSetError
sourceimpl Display for UpdateRegexMatchSetError
impl Display for UpdateRegexMatchSetError
sourceimpl Error for UpdateRegexMatchSetError
impl Error for UpdateRegexMatchSetError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<UpdateRegexMatchSetError> for UpdateRegexMatchSetError
impl PartialEq<UpdateRegexMatchSetError> for UpdateRegexMatchSetError
sourcefn eq(&self, other: &UpdateRegexMatchSetError) -> bool
fn eq(&self, other: &UpdateRegexMatchSetError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateRegexMatchSetError) -> bool
fn ne(&self, other: &UpdateRegexMatchSetError) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateRegexMatchSetError
Auto Trait Implementations
impl RefUnwindSafe for UpdateRegexMatchSetError
impl Send for UpdateRegexMatchSetError
impl Sync for UpdateRegexMatchSetError
impl Unpin for UpdateRegexMatchSetError
impl UnwindSafe for UpdateRegexMatchSetError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more