pub enum ListDistributionsByWebACLIdError {
InvalidArgument(String),
InvalidWebACLId(String),
}
Expand description
Errors returned by ListDistributionsByWebACLId
Variants§
InvalidArgument(String)
An argument is invalid.
InvalidWebACLId(String)
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a
. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
Implementations§
Trait Implementations§
Source§impl Error for ListDistributionsByWebACLIdError
impl Error for ListDistributionsByWebACLIdError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ListDistributionsByWebACLIdError
impl PartialEq for ListDistributionsByWebACLIdError
Source§fn eq(&self, other: &ListDistributionsByWebACLIdError) -> bool
fn eq(&self, other: &ListDistributionsByWebACLIdError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListDistributionsByWebACLIdError
Auto Trait Implementations§
impl Freeze for ListDistributionsByWebACLIdError
impl RefUnwindSafe for ListDistributionsByWebACLIdError
impl Send for ListDistributionsByWebACLIdError
impl Sync for ListDistributionsByWebACLIdError
impl Unpin for ListDistributionsByWebACLIdError
impl UnwindSafe for ListDistributionsByWebACLIdError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more