pub enum UpdateRegexPatternSetError {
WAFInternalError(String),
WAFInvalidAccount(String),
WAFInvalidOperation(String),
WAFInvalidRegexPattern(String),
WAFLimitsExceeded(String),
WAFNonexistentContainer(String),
WAFNonexistentItem(String),
WAFStaleData(String),
}
Expand description
Errors returned by UpdateRegexPatternSet
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 a
ByteMatchTuple
to aByteMatchSet
, but theByteMatchTuple
already exists in the specifiedWebACL
.
WAFInvalidRegexPattern(String)
The regular expression (regex) you specified in RegexPatternString
is invalid.
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
Trait Implementations
sourceimpl Debug for UpdateRegexPatternSetError
impl Debug for UpdateRegexPatternSetError
sourceimpl Display for UpdateRegexPatternSetError
impl Display for UpdateRegexPatternSetError
sourceimpl Error for UpdateRegexPatternSetError
impl Error for UpdateRegexPatternSetError
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<UpdateRegexPatternSetError> for UpdateRegexPatternSetError
impl PartialEq<UpdateRegexPatternSetError> for UpdateRegexPatternSetError
sourcefn eq(&self, other: &UpdateRegexPatternSetError) -> bool
fn eq(&self, other: &UpdateRegexPatternSetError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateRegexPatternSetError) -> bool
fn ne(&self, other: &UpdateRegexPatternSetError) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateRegexPatternSetError
Auto Trait Implementations
impl RefUnwindSafe for UpdateRegexPatternSetError
impl Send for UpdateRegexPatternSetError
impl Sync for UpdateRegexPatternSetError
impl Unpin for UpdateRegexPatternSetError
impl UnwindSafe for UpdateRegexPatternSetError
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