AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
List the distributions that are associated with a specified WAF web ACL.
For .NET Core this operation is only available in asynchronous form. Please refer to ListDistributionsByWebACLIdAsync.
Namespace: Amazon.CloudFront
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public abstract ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId( ListDistributionsByWebACLIdRequest request )
Container for the necessary parameters to execute the ListDistributionsByWebACLId service method.
Exception | Condition |
---|---|
InvalidArgumentException | An argument is invalid. |
InvalidWebACLIdException | 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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5