@Override
    public UpdateNodegroupVersionResult updateNodegroupVersion(UpdateNodegroupVersionRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateNodegroupVersion(request);
    }
<p>
Updates the Kubernetes version or AMI version of an Amazon EKS managed node group.
</p>
<p>
You can update a node group using a launch template only if the node group was originally deployed with a launch
template. If you need to update a custom AMI in a node group that was deployed with a launch template, then
update your custom AMI, specify the new ID in a new version of the launch template, and then update the node
group to the new version of the launch template.
</p>
<p>
If you update without a launch template, then you can update to the latest available AMI version of a node
group's current Kubernetes version by not specifying a Kubernetes version in the request. You can update to the
latest AMI version of your cluster's current Kubernetes version by specifying your cluster's Kubernetes version
in the request. For information about Linux versions, see <a
href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS optimized Amazon
Linux AMI versions</a> in the <i>Amazon EKS User Guide</i>. For information about Windows versions, see <a
href="https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html">Amazon EKS optimized
Windows AMI versions</a> in the <i>Amazon EKS User Guide</i>.
</p>
<p>
You cannot roll back a node group to an earlier Kubernetes version or AMI version.
</p>
<p>
When a node in a managed node group is terminated due to a scaling action or update, every <code>Pod</code> on
that node is drained first. Amazon EKS attempts to drain the nodes gracefully and will fail if it is unable to do
so. You can <code>force</code> the update if Amazon EKS is unable to drain the nodes as a result of a
<code>Pod</code> disruption budget issue.
</p>

@param updateNodegroupVersionRequest
@return Result of the UpdateNodegroupVersion operation returned by the service.
@throws InvalidParameterException
        The specified parameter is invalid. Review the available parameters for the API request.
@throws ClientException
        These errors are usually caused by a client action. Actions can include using an action or resource on
        behalf of an <a
        href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM
        principal</a> that doesn't have permissions to use the action or resource or specifying an identifier
        that is not valid.
@throws ServerException
        These errors are usually caused by a server-side issue.
@throws ResourceInUseException
        The specified resource is in use.
@throws ResourceNotFoundException
        The specified resource could not be found. You can view your available clusters with
        <code>ListClusters</code>. You can view your available managed node groups with
        <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.
@throws InvalidRequestException
        The request is invalid given the state of the cluster. Check the state of the cluster and the associated
        operations.
@sample AmazonEKS.UpdateNodegroupVersion
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion" target="_top">AWS API
     Documentation</a>
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AmazonEKSClient.java