@Override
    public DeleteResolverRuleResult deleteResolverRule(DeleteResolverRuleRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteResolverRule(request);
    }
<p>
Deletes a Resolver rule. Before you can delete a Resolver rule, you must disassociate it from all the VPCs that
you associated the Resolver rule with. For more information, see <a href=
"https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html"
>DisassociateResolverRule</a>.
</p>

@param deleteResolverRuleRequest
@return Result of the DeleteResolverRule operation returned by the service.
@throws InvalidParameterException
        One or more parameters in this request are not valid.
@throws ResourceNotFoundException
        The specified resource doesn't exist.
@throws ResourceInUseException
        The resource that you tried to update or delete is currently in use.
@throws InternalServiceErrorException
        We encountered an unknown error. Try again in a few minutes.
@throws ThrottlingException
        The request was throttled. Try again in a few minutes.
@sample AmazonRoute53Resolver.DeleteResolverRule
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule"
     target="_top">AWS API Documentation</a>
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/AmazonRoute53ResolverClient.java