@Override
    public DeleteRuleResult deleteRule(DeleteRuleRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteRule(request);
    }
<p>
Deletes a Recycle Bin retention rule. For more information, see <a href=
"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-delete-rule"
> Delete Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
</p>

@param deleteRuleRequest
@return Result of the DeleteRule operation returned by the service.
@throws InternalServerException
        The service could not respond to the request due to an internal problem.
@throws ResourceNotFoundException
        The specified resource was not found.
@throws ValidationException
        One or more of the parameters in the request is not valid.
@throws ConflictException
        The specified retention rule lock request can't be completed.
@sample AmazonRecycleBin.DeleteRule
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/DeleteRule" target="_top">AWS API
     Documentation</a>
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/AmazonRecycleBinClient.java