@Override
    public ListResourcePoliciesResult listResourcePolicies(ListResourcePoliciesRequest request) {
        request = beforeClientExecution(request);
        return executeListResourcePolicies(request);
    }
<p>
Returns the list of resource policies in the target Amazon Web Services account.
</p>

@param listResourcePoliciesRequest
@return Result of the ListResourcePolicies operation returned by the service.
@throws InvalidRequestException
        The request is missing required parameters or has invalid parameters.
@throws ThrottledException
        The request exceeds the maximum number of requests per second.
@sample AWSXRay.ListResourcePolicies
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListResourcePolicies" target="_top">AWS API
     Documentation</a>
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/AWSXRayClient.java