@Override
    public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) {
        request = beforeClientExecution(request);
        return executeListTagsForResource(request);
    }
<note>
<p>
This is <b>AWS WAF Classic</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>
Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to
categorize and manage your resources, for purposes like billing. For example, you might set the tag key to
"customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS
resource, up to 50 tags for a resource.
</p>
<p>
Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF
Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups,
and rules.
</p>

@param listTagsForResourceRequest
@return Result of the ListTagsForResource 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 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 WAFBadRequestException
@throws WAFTagOperationException
@throws WAFTagOperationInternalErrorException
@sample AWSWAFRegional.ListTagsForResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResource"
     target="_top">AWS API Documentation</a>
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/AWSWAFRegionalClient.java