Enum rusoto_waf_regional::DeleteRuleError [−][src]
pub enum DeleteRuleError { WAFInternalError(String), WAFInvalidAccount(String), WAFNonEmptyEntity(String), WAFNonexistentItem(String), WAFReferencedItem(String), WAFStaleData(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteRule
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.
WAFNonEmptyEntity(String)
The operation failed because you tried to delete an object that isn't empty. For example:
-
You tried to delete a
WebACL
that still contains one or moreRule
objects. -
You tried to delete a
Rule
that still contains one or moreByteMatchSet
objects or other predicates. -
You tried to delete a
ByteMatchSet
that contains one or moreByteMatchTuple
objects. -
You tried to delete an
IPSet
that references one or more IP addresses.
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 DeleteRuleError
[src]
impl DeleteRuleError
pub fn from_body(body: &str) -> DeleteRuleError
[src]
pub fn from_body(body: &str) -> DeleteRuleError
Trait Implementations
impl Debug for DeleteRuleError
[src]
impl Debug for DeleteRuleError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DeleteRuleError
[src]
impl PartialEq for DeleteRuleError
fn eq(&self, other: &DeleteRuleError) -> bool
[src]
fn eq(&self, other: &DeleteRuleError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeleteRuleError) -> bool
[src]
fn ne(&self, other: &DeleteRuleError) -> bool
This method tests for !=
.
impl From<Error> for DeleteRuleError
[src]
impl From<Error> for DeleteRuleError
fn from(err: Error) -> DeleteRuleError
[src]
fn from(err: Error) -> DeleteRuleError
Performs the conversion.
impl From<CredentialsError> for DeleteRuleError
[src]
impl From<CredentialsError> for DeleteRuleError
fn from(err: CredentialsError) -> DeleteRuleError
[src]
fn from(err: CredentialsError) -> DeleteRuleError
Performs the conversion.
impl From<HttpDispatchError> for DeleteRuleError
[src]
impl From<HttpDispatchError> for DeleteRuleError
fn from(err: HttpDispatchError) -> DeleteRuleError
[src]
fn from(err: HttpDispatchError) -> DeleteRuleError
Performs the conversion.
impl From<Error> for DeleteRuleError
[src]
impl From<Error> for DeleteRuleError
fn from(err: Error) -> DeleteRuleError
[src]
fn from(err: Error) -> DeleteRuleError
Performs the conversion.
impl Display for DeleteRuleError
[src]
impl Display for DeleteRuleError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DeleteRuleError
[src]
impl Error for DeleteRuleError
Auto Trait Implementations
impl Send for DeleteRuleError
impl Send for DeleteRuleError
impl Sync for DeleteRuleError
impl Sync for DeleteRuleError