AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract ListDistributionsByWebACLIdResponse ListDistributionsByWebACLId(
         ListDistributionsByWebACLIdRequest request
)

Parameters

request
Type: Amazon.CloudFront.Model.ListDistributionsByWebACLIdRequest

Container for the necessary parameters to execute the ListDistributionsByWebACLId service method.

Return Value


The response from the ListDistributionsByWebACLId service method, as returned by CloudFront.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also