@SdkInternalApi
    final ListResourcesForWebACLResult executeListResourcesForWebACL(ListResourcesForWebACLRequest listResourcesForWebACLRequest) {

        ExecutionContext executionContext = createExecutionContext(listResourcesForWebACLRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListResourcesForWebACLRequest> request = null;
        Response<ListResourcesForWebACLResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListResourcesForWebACLRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listResourcesForWebACLRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "WAF Regional");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListResourcesForWebACL");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<ListResourcesForWebACLResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new ListResourcesForWebACLResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<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>

@param listResourcesForWebACLRequest
@return Result of the ListResourcesForWebACL operation returned by the service.
@throws WAFInternalErrorException
        The operation failed because of a system problem, even though the request was valid. Retry your request.
@throws WAFInvalidAccountException
        The operation failed because you tried to create, update, or delete an object by using an invalid account
        identifier.
@throws WAFNonexistentItemException
        The operation failed because the referenced object doesn't exist.
@throws WAFInvalidParameterException
        The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
        <ul>
        <li>
        <p>
        You specified an invalid parameter name.
        </p>
        </li>
        <li>
        <p>
        You specified an invalid value.
        </p>
        </li>
        <li>
        <p>
        You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or
        <code>WebACL</code>) using an action other than <code>INSERT</code> or <code>DELETE</code>.
        </p>
        </li>
        <li>
        <p>
        You tried to create a <code>WebACL</code> with a <code>DefaultAction</code> <code>Type</code> other than
        <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.
        </p>
        </li>
        <li>
        <p>
        You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than
        <code>IP</code>.
        </p>
        </li>
        <li>
        <p>
        You tried to update a <code>WebACL</code> with a <code>WafAction</code> <code>Type</code> other than
        <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.
        </p>
        </li>
        <li>
        <p>
        You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code> <code>Type</code> other
        than HEADER, METHOD, QUERY_STRING, URI, or BODY.
        </p>
        </li>
        <li>
        <p>
        You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code> but no
        value for <code>Data</code>.
        </p>
        </li>
        <li>
        <p>
        Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL
        cannot be associated.
        </p>
        </li>
@sample AWSWAFRegional.ListResourcesForWebACL
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL"
     target="_top">AWS API Documentation</a>
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/AWSWAFRegionalClient.java