@Override
    public ListRulesResult listRules(ListRulesRequest request) {
        request = beforeClientExecution(request);
        return executeListRules(request);
    }
<p>
Lists the Recycle Bin retention rules in the Region.
</p>

@param listRulesRequest
@return Result of the ListRules operation returned by the service.
@throws ValidationException
        One or more of the parameters in the request is not valid.
@throws InternalServerException
        The service could not respond to the request due to an internal problem.
@sample AmazonRecycleBin.ListRules
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRules" target="_top">AWS API
     Documentation</a>
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/AmazonRecycleBinClient.java