@Override
    public DeleteKeyGroupResult deleteKeyGroup(DeleteKeyGroupRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteKeyGroup(request);
    }
<p>
Deletes a key group.
</p>
<p>
You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove
the key group from all cache behaviors, then delete the key group.
</p>
<p>
To delete a key group, you must provide the key group's identifier and version. To get these values, use
<code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.
</p>

@param deleteKeyGroupRequest
@return Result of the DeleteKeyGroup operation returned by the service.
@throws InvalidIfMatchVersionException
        The <code>If-Match</code> version is missing or not valid.
@throws NoSuchResourceException
        A resource that was specified is not valid.
@throws PreconditionFailedException
        The precondition in one or more of the request fields evaluated to <code>false</code>.
@throws ResourceInUseException
        Cannot delete this resource because it is in use.
@sample AmazonCloudFront.DeleteKeyGroup
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup" target="_top">AWS API
     Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java