v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481329470.1 KB

<note> <p>This is <b>AWS WAF Classic Regional</b> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p> <p> <b>For the latest version of AWS WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p> </note> <p>Returns an array of resources associated with the specified web ACL.</p>

post/#X-Amz-Target=AWSWAF_Regional_20161128.ListResourcesForWebACL

Headers

X-Amz-Target'AWSWAF_Regional_20161128.ListResourcesForWebACL' required

Request body

WebACLIdstring required

The unique identifier (ID) of the web ACL for which to list the associated resources.

ResourceType'APPLICATION_LOAD_BALANCER' | 'API_GATEWAY'

The type of resource to list, either an application load balancer or Amazon API Gateway.

Response

Success

ResourceArnsResourceArn[]

An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.