@Override
    public AssociateWebACLResult associateWebACL(AssociateWebACLRequest request) {
        request = beforeClientExecution(request);
        return executeAssociateWebACL(request);
    }
<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>
Associates a web ACL with a resource, either an application load balancer or Amazon API Gateway stage.
</p>

@param associateWebACLRequest
@return Result of the AssociateWebACL 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 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>
@throws WAFNonexistentItemException
        The operation failed because the referenced object doesn't exist.
@throws WAFUnavailableEntityException
        The operation failed because the entity referenced is temporarily unavailable. Retry your request.
@sample AWSWAFRegional.AssociateWebACL
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL" target="_top">AWS
     API Documentation</a>
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/AWSWAFRegionalClient.java