#[non_exhaustive]
pub enum ListDistributionsByWebACLIdErrorKind {
InvalidArgument(InvalidArgument),
InvalidWebAclId(InvalidWebAclId),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the ListDistributionsByWebACLId
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidArgument(InvalidArgument)
An argument is invalid.
InvalidWebAclId(InvalidWebAclId)
A web ACL ID specified is not valid. To specify a web ACL created using the latest version of 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 WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a
.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.