@Override
    public ListCachePoliciesResult listCachePolicies(ListCachePoliciesRequest request) {
        request = beforeClientExecution(request);
        return executeListCachePolicies(request);
    }
<p>
Gets a list of cache policies.
</p>
<p>
You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the
custom policies created in your Amazon Web Services account.
</p>
<p>
You can optionally specify the maximum number of items to receive in the response. If the total number of items
in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the
next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current
response as the <code>Marker</code> value in the subsequent request.
</p>

@param listCachePoliciesRequest
@return Result of the ListCachePolicies operation returned by the service.
@throws AccessDeniedException
        Access denied.
@throws NoSuchCachePolicyException
        The cache policy does not exist.
@throws InvalidArgumentException
        An argument is invalid.
@sample AmazonCloudFront.ListCachePolicies
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies" target="_top">AWS
     API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java