@Override
    public UpdateClusterConfigResult updateClusterConfig(UpdateClusterConfigRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateClusterConfig(request);
    }
<p>
Updates an Amazon EKS cluster configuration. Your cluster continues to function during the update. The response
output includes an update ID that you can use to track the status of your cluster update with
<code>DescribeUpdate</code>"/&gt;.
</p>
<p>
You can use this API operation to enable or disable exporting the Kubernetes control plane logs for your cluster
to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more
information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
Cluster control plane logs</a> in the <i> <i>Amazon EKS User Guide</i> </i>.
</p>
<note>
<p>
CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For
more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.
</p>
</note>
<p>
You can also use this API operation to enable or disable public and private access to your cluster's Kubernetes
API server endpoint. By default, public access is enabled, and private access is disabled. For more information,
see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster endpoint
access control</a> in the <i> <i>Amazon EKS User Guide</i> </i>.
</p>
<p>
You can also use this API operation to choose different subnets and security groups for the cluster. You must
specify at least two subnets that are in different Availability Zones. You can't change which VPC the subnets are
from, the subnets must be in the same VPC as the subnets that the cluster was created with. For more information
about the VPC requirements, see <a
href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">https
://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html</a> in the <i> <i>Amazon EKS User Guide</i> </i>.
</p>
<p>
Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster
status moves to <code>UPDATING</code> (this status transition is eventually consistent). When the update is
complete (either <code>Failed</code> or <code>Successful</code>), the cluster status moves to <code>Active</code>
.
</p>

@param updateClusterConfigRequest
@return Result of the UpdateClusterConfig 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.UpdateClusterConfig
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig" target="_top">AWS API
     Documentation</a>
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/AmazonEKSClient.java