forked from aws/aws-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAmazonEKSAsync.java
More file actions
498 lines (478 loc) · 27.6 KB
/
AmazonEKSAsync.java
File metadata and controls
498 lines (478 loc) · 27.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.eks;
import javax.annotation.Generated;
import com.amazonaws.services.eks.model.*;
/**
* Interface for accessing Amazon EKS asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
* <p>
* <b>Note:</b> Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.eks.AbstractAmazonEKSAsync} instead.
* </p>
* <p>
* <p>
* Amazon Elastic Container Service for Kubernetes (Amazon EKS) is a managed service that makes it easy for you to run
* Kubernetes on AWS without needing to stand up or maintain your own Kubernetes control plane. Kubernetes is an
* open-source system for automating the deployment, scaling, and management of containerized applications.
* </p>
* <p>
* Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use all the existing plugins
* and tooling from the Kubernetes community. Applications running on Amazon EKS are fully compatible with applications
* running on any standard Kubernetes environment, whether running in on-premises data centers or public clouds. This
* means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification
* required.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonEKSAsync extends AmazonEKS {
/**
* <p>
* Creates an Amazon EKS control plane.
* </p>
* <p>
* The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, like
* <code>etcd</code> and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API
* is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and
* unique, and runs on its own set of Amazon EC2 instances.
* </p>
* <p>
* The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load
* Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to
* provide connectivity from the control plane instances to the worker nodes (for example, to support
* <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).
* </p>
* <p>
* Amazon EKS worker nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes
* API server endpoint and a certificate file that is created for your cluster.
* </p>
* <p>
* You can use the <code>endpointPublicAccess</code> and <code>endpointPrivateAccess</code> parameters 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 use the <code>logging</code> parameter to enable or disable exporting the Kubernetes control plane logs
* for your cluster to CloudWatch Logs. By default, cluster control plane logs are not 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/">Amazon CloudWatch Pricing</a>.
* </p>
* </note>
* <p>
* Cluster creation typically takes between 10 and 15 minutes. After you create an Amazon EKS cluster, you must
* configure your Kubernetes tooling to communicate with the API server and launch worker nodes into your cluster.
* For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing
* Cluster Authentication</a> and <a
* href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS Worker Nodes</a>
* in the <i>Amazon EKS User Guide</i>.
* </p>
*
* @param createClusterRequest
* @return A Java Future containing the result of the CreateCluster operation returned by the service.
* @sample AmazonEKSAsync.CreateCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest);
/**
* <p>
* Creates an Amazon EKS control plane.
* </p>
* <p>
* The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, like
* <code>etcd</code> and the API server. The control plane runs in an account managed by AWS, and the Kubernetes API
* is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and
* unique, and runs on its own set of Amazon EC2 instances.
* </p>
* <p>
* The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load
* Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to
* provide connectivity from the control plane instances to the worker nodes (for example, to support
* <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code> data flows).
* </p>
* <p>
* Amazon EKS worker nodes run in your AWS account and connect to your cluster's control plane via the Kubernetes
* API server endpoint and a certificate file that is created for your cluster.
* </p>
* <p>
* You can use the <code>endpointPublicAccess</code> and <code>endpointPrivateAccess</code> parameters 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 use the <code>logging</code> parameter to enable or disable exporting the Kubernetes control plane logs
* for your cluster to CloudWatch Logs. By default, cluster control plane logs are not 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/">Amazon CloudWatch Pricing</a>.
* </p>
* </note>
* <p>
* Cluster creation typically takes between 10 and 15 minutes. After you create an Amazon EKS cluster, you must
* configure your Kubernetes tooling to communicate with the API server and launch worker nodes into your cluster.
* For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing
* Cluster Authentication</a> and <a
* href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS Worker Nodes</a>
* in the <i>Amazon EKS User Guide</i>.
* </p>
*
* @param createClusterRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateCluster operation returned by the service.
* @sample AmazonEKSAsyncHandler.CreateCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest,
com.amazonaws.handlers.AsyncHandler<CreateClusterRequest, CreateClusterResult> asyncHandler);
/**
* <p>
* Deletes the Amazon EKS cluster control plane.
* </p>
* <note>
* <p>
* If you have active services in your cluster that are associated with a load balancer, you must delete those
* services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have
* orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see <a
* href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a Cluster</a> in the
* <i>Amazon EKS User Guide</i>.
* </p>
* </note>
*
* @param deleteClusterRequest
* @return A Java Future containing the result of the DeleteCluster operation returned by the service.
* @sample AmazonEKSAsync.DeleteCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest);
/**
* <p>
* Deletes the Amazon EKS cluster control plane.
* </p>
* <note>
* <p>
* If you have active services in your cluster that are associated with a load balancer, you must delete those
* services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have
* orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see <a
* href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a Cluster</a> in the
* <i>Amazon EKS User Guide</i>.
* </p>
* </note>
*
* @param deleteClusterRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteCluster operation returned by the service.
* @sample AmazonEKSAsyncHandler.DeleteCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest,
com.amazonaws.handlers.AsyncHandler<DeleteClusterRequest, DeleteClusterResult> asyncHandler);
/**
* <p>
* Returns descriptive information about an Amazon EKS cluster.
* </p>
* <p>
* The API server endpoint and certificate authority data returned by this operation are required for
* <code>kubelet</code> and <code>kubectl</code> to communicate with your Kubernetes API server. For more
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html">Create a
* kubeconfig for Amazon EKS</a>.
* </p>
* <note>
* <p>
* The API server endpoint and certificate authority data are not available until the cluster reaches the
* <code>ACTIVE</code> state.
* </p>
* </note>
*
* @param describeClusterRequest
* @return A Java Future containing the result of the DescribeCluster operation returned by the service.
* @sample AmazonEKSAsync.DescribeCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest describeClusterRequest);
/**
* <p>
* Returns descriptive information about an Amazon EKS cluster.
* </p>
* <p>
* The API server endpoint and certificate authority data returned by this operation are required for
* <code>kubelet</code> and <code>kubectl</code> to communicate with your Kubernetes API server. For more
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html">Create a
* kubeconfig for Amazon EKS</a>.
* </p>
* <note>
* <p>
* The API server endpoint and certificate authority data are not available until the cluster reaches the
* <code>ACTIVE</code> state.
* </p>
* </note>
*
* @param describeClusterRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeCluster operation returned by the service.
* @sample AmazonEKSAsyncHandler.DescribeCluster
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest describeClusterRequest,
com.amazonaws.handlers.AsyncHandler<DescribeClusterRequest, DescribeClusterResult> asyncHandler);
/**
* <p>
* Returns descriptive information about an update against your Amazon EKS cluster.
* </p>
* <p>
* When the status of the update is <code>Succeeded</code>, the update is complete. If an update fails, the status
* is <code>Failed</code>, and an error detail explains the reason for the failure.
* </p>
*
* @param describeUpdateRequest
* @return A Java Future containing the result of the DescribeUpdate operation returned by the service.
* @sample AmazonEKSAsync.DescribeUpdate
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeUpdateResult> describeUpdateAsync(DescribeUpdateRequest describeUpdateRequest);
/**
* <p>
* Returns descriptive information about an update against your Amazon EKS cluster.
* </p>
* <p>
* When the status of the update is <code>Succeeded</code>, the update is complete. If an update fails, the status
* is <code>Failed</code>, and an error detail explains the reason for the failure.
* </p>
*
* @param describeUpdateRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeUpdate operation returned by the service.
* @sample AmazonEKSAsyncHandler.DescribeUpdate
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeUpdateResult> describeUpdateAsync(DescribeUpdateRequest describeUpdateRequest,
com.amazonaws.handlers.AsyncHandler<DescribeUpdateRequest, DescribeUpdateResult> asyncHandler);
/**
* <p>
* Lists the Amazon EKS clusters in your AWS account in the specified Region.
* </p>
*
* @param listClustersRequest
* @return A Java Future containing the result of the ListClusters operation returned by the service.
* @sample AmazonEKSAsync.ListClusters
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest);
/**
* <p>
* Lists the Amazon EKS clusters in your AWS account in the specified Region.
* </p>
*
* @param listClustersRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListClusters operation returned by the service.
* @sample AmazonEKSAsyncHandler.ListClusters
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest,
com.amazonaws.handlers.AsyncHandler<ListClustersRequest, ListClustersResult> asyncHandler);
/**
* <p>
* Lists the updates associated with an Amazon EKS cluster in your AWS account, in the specified Region.
* </p>
*
* @param listUpdatesRequest
* @return A Java Future containing the result of the ListUpdates operation returned by the service.
* @sample AmazonEKSAsync.ListUpdates
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListUpdatesResult> listUpdatesAsync(ListUpdatesRequest listUpdatesRequest);
/**
* <p>
* Lists the updates associated with an Amazon EKS cluster in your AWS account, in the specified Region.
* </p>
*
* @param listUpdatesRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListUpdates operation returned by the service.
* @sample AmazonEKSAsyncHandler.ListUpdates
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListUpdatesResult> listUpdatesAsync(ListUpdatesRequest listUpdatesRequest,
com.amazonaws.handlers.AsyncHandler<ListUpdatesRequest, ListUpdatesResult> asyncHandler);
/**
* <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 the
* <a>DescribeUpdate</a> API operation.
* </p>
* <p>
* You can 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 enable or disable exporting the Kubernetes control plane logs for your
* cluster to CloudWatch Logs. By default, cluster control plane logs are not 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/">Amazon CloudWatch Pricing</a>.
* </p>
* </note>
* <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 A Java Future containing the result of the UpdateClusterConfig operation returned by the service.
* @sample AmazonEKSAsync.UpdateClusterConfig
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateClusterConfigResult> updateClusterConfigAsync(UpdateClusterConfigRequest updateClusterConfigRequest);
/**
* <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 the
* <a>DescribeUpdate</a> API operation.
* </p>
* <p>
* You can 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 enable or disable exporting the Kubernetes control plane logs for your
* cluster to CloudWatch Logs. By default, cluster control plane logs are not 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/">Amazon CloudWatch Pricing</a>.
* </p>
* </note>
* <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
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateClusterConfig operation returned by the service.
* @sample AmazonEKSAsyncHandler.UpdateClusterConfig
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateClusterConfigResult> updateClusterConfigAsync(UpdateClusterConfigRequest updateClusterConfigRequest,
com.amazonaws.handlers.AsyncHandler<UpdateClusterConfigRequest, UpdateClusterConfigResult> asyncHandler);
/**
* <p>
* Updates an Amazon EKS cluster to the specified Kubernetes version. 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 the <a>DescribeUpdate</a> API operation.
* </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 updateClusterVersionRequest
* @return A Java Future containing the result of the UpdateClusterVersion operation returned by the service.
* @sample AmazonEKSAsync.UpdateClusterVersion
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateClusterVersionResult> updateClusterVersionAsync(UpdateClusterVersionRequest updateClusterVersionRequest);
/**
* <p>
* Updates an Amazon EKS cluster to the specified Kubernetes version. 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 the <a>DescribeUpdate</a> API operation.
* </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 updateClusterVersionRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateClusterVersion operation returned by the service.
* @sample AmazonEKSAsyncHandler.UpdateClusterVersion
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateClusterVersionResult> updateClusterVersionAsync(UpdateClusterVersionRequest updateClusterVersionRequest,
com.amazonaws.handlers.AsyncHandler<UpdateClusterVersionRequest, UpdateClusterVersionResult> asyncHandler);
}