mypy-boto3-eks 1.35.86__py3-none-any.whl → 1.38.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mypy_boto3_eks/client.py CHANGED
@@ -3,6 +3,8 @@ Type annotations for eks service Client.
3
3
 
4
4
  [Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -12,14 +14,12 @@ Usage::
12
14
  session = Session()
13
15
  client: EKSClient = session.client("eks")
14
16
  ```
15
-
16
- Copyright 2024 Vlad Emelianov
17
17
  """
18
18
 
19
19
  from __future__ import annotations
20
20
 
21
21
  import sys
22
- from typing import Any, Mapping, overload
22
+ from typing import Any, overload
23
23
 
24
24
  from botocore.client import BaseClient, ClientMeta
25
25
  from botocore.errorfactory import BaseClientExceptions
@@ -27,6 +27,7 @@ from botocore.exceptions import ClientError as BotocoreClientError
27
27
 
28
28
  from .paginator import (
29
29
  DescribeAddonVersionsPaginator,
30
+ DescribeClusterVersionsPaginator,
30
31
  ListAccessEntriesPaginator,
31
32
  ListAccessPoliciesPaginator,
32
33
  ListAddonsPaginator,
@@ -41,113 +42,115 @@ from .paginator import (
41
42
  ListUpdatesPaginator,
42
43
  )
43
44
  from .type_defs import (
44
- AssociateAccessPolicyRequestRequestTypeDef,
45
+ AssociateAccessPolicyRequestTypeDef,
45
46
  AssociateAccessPolicyResponseTypeDef,
46
- AssociateEncryptionConfigRequestRequestTypeDef,
47
+ AssociateEncryptionConfigRequestTypeDef,
47
48
  AssociateEncryptionConfigResponseTypeDef,
48
- AssociateIdentityProviderConfigRequestRequestTypeDef,
49
+ AssociateIdentityProviderConfigRequestTypeDef,
49
50
  AssociateIdentityProviderConfigResponseTypeDef,
50
- CreateAccessEntryRequestRequestTypeDef,
51
+ CreateAccessEntryRequestTypeDef,
51
52
  CreateAccessEntryResponseTypeDef,
52
- CreateAddonRequestRequestTypeDef,
53
+ CreateAddonRequestTypeDef,
53
54
  CreateAddonResponseTypeDef,
54
- CreateClusterRequestRequestTypeDef,
55
+ CreateClusterRequestTypeDef,
55
56
  CreateClusterResponseTypeDef,
56
- CreateEksAnywhereSubscriptionRequestRequestTypeDef,
57
+ CreateEksAnywhereSubscriptionRequestTypeDef,
57
58
  CreateEksAnywhereSubscriptionResponseTypeDef,
58
- CreateFargateProfileRequestRequestTypeDef,
59
+ CreateFargateProfileRequestTypeDef,
59
60
  CreateFargateProfileResponseTypeDef,
60
- CreateNodegroupRequestRequestTypeDef,
61
+ CreateNodegroupRequestTypeDef,
61
62
  CreateNodegroupResponseTypeDef,
62
- CreatePodIdentityAssociationRequestRequestTypeDef,
63
+ CreatePodIdentityAssociationRequestTypeDef,
63
64
  CreatePodIdentityAssociationResponseTypeDef,
64
- DeleteAccessEntryRequestRequestTypeDef,
65
- DeleteAddonRequestRequestTypeDef,
65
+ DeleteAccessEntryRequestTypeDef,
66
+ DeleteAddonRequestTypeDef,
66
67
  DeleteAddonResponseTypeDef,
67
- DeleteClusterRequestRequestTypeDef,
68
+ DeleteClusterRequestTypeDef,
68
69
  DeleteClusterResponseTypeDef,
69
- DeleteEksAnywhereSubscriptionRequestRequestTypeDef,
70
+ DeleteEksAnywhereSubscriptionRequestTypeDef,
70
71
  DeleteEksAnywhereSubscriptionResponseTypeDef,
71
- DeleteFargateProfileRequestRequestTypeDef,
72
+ DeleteFargateProfileRequestTypeDef,
72
73
  DeleteFargateProfileResponseTypeDef,
73
- DeleteNodegroupRequestRequestTypeDef,
74
+ DeleteNodegroupRequestTypeDef,
74
75
  DeleteNodegroupResponseTypeDef,
75
- DeletePodIdentityAssociationRequestRequestTypeDef,
76
+ DeletePodIdentityAssociationRequestTypeDef,
76
77
  DeletePodIdentityAssociationResponseTypeDef,
77
- DeregisterClusterRequestRequestTypeDef,
78
+ DeregisterClusterRequestTypeDef,
78
79
  DeregisterClusterResponseTypeDef,
79
- DescribeAccessEntryRequestRequestTypeDef,
80
+ DescribeAccessEntryRequestTypeDef,
80
81
  DescribeAccessEntryResponseTypeDef,
81
- DescribeAddonConfigurationRequestRequestTypeDef,
82
+ DescribeAddonConfigurationRequestTypeDef,
82
83
  DescribeAddonConfigurationResponseTypeDef,
83
- DescribeAddonRequestRequestTypeDef,
84
+ DescribeAddonRequestTypeDef,
84
85
  DescribeAddonResponseTypeDef,
85
- DescribeAddonVersionsRequestRequestTypeDef,
86
+ DescribeAddonVersionsRequestTypeDef,
86
87
  DescribeAddonVersionsResponseTypeDef,
87
- DescribeClusterRequestRequestTypeDef,
88
+ DescribeClusterRequestTypeDef,
88
89
  DescribeClusterResponseTypeDef,
89
- DescribeEksAnywhereSubscriptionRequestRequestTypeDef,
90
+ DescribeClusterVersionsRequestTypeDef,
91
+ DescribeClusterVersionsResponseTypeDef,
92
+ DescribeEksAnywhereSubscriptionRequestTypeDef,
90
93
  DescribeEksAnywhereSubscriptionResponseTypeDef,
91
- DescribeFargateProfileRequestRequestTypeDef,
94
+ DescribeFargateProfileRequestTypeDef,
92
95
  DescribeFargateProfileResponseTypeDef,
93
- DescribeIdentityProviderConfigRequestRequestTypeDef,
96
+ DescribeIdentityProviderConfigRequestTypeDef,
94
97
  DescribeIdentityProviderConfigResponseTypeDef,
95
- DescribeInsightRequestRequestTypeDef,
98
+ DescribeInsightRequestTypeDef,
96
99
  DescribeInsightResponseTypeDef,
97
- DescribeNodegroupRequestRequestTypeDef,
100
+ DescribeNodegroupRequestTypeDef,
98
101
  DescribeNodegroupResponseTypeDef,
99
- DescribePodIdentityAssociationRequestRequestTypeDef,
102
+ DescribePodIdentityAssociationRequestTypeDef,
100
103
  DescribePodIdentityAssociationResponseTypeDef,
101
- DescribeUpdateRequestRequestTypeDef,
104
+ DescribeUpdateRequestTypeDef,
102
105
  DescribeUpdateResponseTypeDef,
103
- DisassociateAccessPolicyRequestRequestTypeDef,
104
- DisassociateIdentityProviderConfigRequestRequestTypeDef,
106
+ DisassociateAccessPolicyRequestTypeDef,
107
+ DisassociateIdentityProviderConfigRequestTypeDef,
105
108
  DisassociateIdentityProviderConfigResponseTypeDef,
106
- ListAccessEntriesRequestRequestTypeDef,
109
+ ListAccessEntriesRequestTypeDef,
107
110
  ListAccessEntriesResponseTypeDef,
108
- ListAccessPoliciesRequestRequestTypeDef,
111
+ ListAccessPoliciesRequestTypeDef,
109
112
  ListAccessPoliciesResponseTypeDef,
110
- ListAddonsRequestRequestTypeDef,
113
+ ListAddonsRequestTypeDef,
111
114
  ListAddonsResponseTypeDef,
112
- ListAssociatedAccessPoliciesRequestRequestTypeDef,
115
+ ListAssociatedAccessPoliciesRequestTypeDef,
113
116
  ListAssociatedAccessPoliciesResponseTypeDef,
114
- ListClustersRequestRequestTypeDef,
117
+ ListClustersRequestTypeDef,
115
118
  ListClustersResponseTypeDef,
116
- ListEksAnywhereSubscriptionsRequestRequestTypeDef,
119
+ ListEksAnywhereSubscriptionsRequestTypeDef,
117
120
  ListEksAnywhereSubscriptionsResponseTypeDef,
118
- ListFargateProfilesRequestRequestTypeDef,
121
+ ListFargateProfilesRequestTypeDef,
119
122
  ListFargateProfilesResponseTypeDef,
120
- ListIdentityProviderConfigsRequestRequestTypeDef,
123
+ ListIdentityProviderConfigsRequestTypeDef,
121
124
  ListIdentityProviderConfigsResponseTypeDef,
122
- ListInsightsRequestRequestTypeDef,
125
+ ListInsightsRequestTypeDef,
123
126
  ListInsightsResponseTypeDef,
124
- ListNodegroupsRequestRequestTypeDef,
127
+ ListNodegroupsRequestTypeDef,
125
128
  ListNodegroupsResponseTypeDef,
126
- ListPodIdentityAssociationsRequestRequestTypeDef,
129
+ ListPodIdentityAssociationsRequestTypeDef,
127
130
  ListPodIdentityAssociationsResponseTypeDef,
128
- ListTagsForResourceRequestRequestTypeDef,
131
+ ListTagsForResourceRequestTypeDef,
129
132
  ListTagsForResourceResponseTypeDef,
130
- ListUpdatesRequestRequestTypeDef,
133
+ ListUpdatesRequestTypeDef,
131
134
  ListUpdatesResponseTypeDef,
132
- RegisterClusterRequestRequestTypeDef,
135
+ RegisterClusterRequestTypeDef,
133
136
  RegisterClusterResponseTypeDef,
134
- TagResourceRequestRequestTypeDef,
135
- UntagResourceRequestRequestTypeDef,
136
- UpdateAccessEntryRequestRequestTypeDef,
137
+ TagResourceRequestTypeDef,
138
+ UntagResourceRequestTypeDef,
139
+ UpdateAccessEntryRequestTypeDef,
137
140
  UpdateAccessEntryResponseTypeDef,
138
- UpdateAddonRequestRequestTypeDef,
141
+ UpdateAddonRequestTypeDef,
139
142
  UpdateAddonResponseTypeDef,
140
- UpdateClusterConfigRequestRequestTypeDef,
143
+ UpdateClusterConfigRequestTypeDef,
141
144
  UpdateClusterConfigResponseTypeDef,
142
- UpdateClusterVersionRequestRequestTypeDef,
145
+ UpdateClusterVersionRequestTypeDef,
143
146
  UpdateClusterVersionResponseTypeDef,
144
- UpdateEksAnywhereSubscriptionRequestRequestTypeDef,
147
+ UpdateEksAnywhereSubscriptionRequestTypeDef,
145
148
  UpdateEksAnywhereSubscriptionResponseTypeDef,
146
- UpdateNodegroupConfigRequestRequestTypeDef,
149
+ UpdateNodegroupConfigRequestTypeDef,
147
150
  UpdateNodegroupConfigResponseTypeDef,
148
- UpdateNodegroupVersionRequestRequestTypeDef,
151
+ UpdateNodegroupVersionRequestTypeDef,
149
152
  UpdateNodegroupVersionResponseTypeDef,
150
- UpdatePodIdentityAssociationRequestRequestTypeDef,
153
+ UpdatePodIdentityAssociationRequestTypeDef,
151
154
  UpdatePodIdentityAssociationResponseTypeDef,
152
155
  )
153
156
  from .waiter import (
@@ -161,6 +164,12 @@ from .waiter import (
161
164
  NodegroupDeletedWaiter,
162
165
  )
163
166
 
167
+ if sys.version_info >= (3, 9):
168
+ from builtins import dict as Dict
169
+ from builtins import type as Type
170
+ from collections.abc import Mapping
171
+ else:
172
+ from typing import Dict, Mapping, Type
164
173
  if sys.version_info >= (3, 12):
165
174
  from typing import Literal, Unpack
166
175
  else:
@@ -171,20 +180,22 @@ __all__ = ("EKSClient",)
171
180
 
172
181
 
173
182
  class Exceptions(BaseClientExceptions):
174
- AccessDeniedException: type[BotocoreClientError]
175
- BadRequestException: type[BotocoreClientError]
176
- ClientError: type[BotocoreClientError]
177
- ClientException: type[BotocoreClientError]
178
- InvalidParameterException: type[BotocoreClientError]
179
- InvalidRequestException: type[BotocoreClientError]
180
- NotFoundException: type[BotocoreClientError]
181
- ResourceInUseException: type[BotocoreClientError]
182
- ResourceLimitExceededException: type[BotocoreClientError]
183
- ResourceNotFoundException: type[BotocoreClientError]
184
- ResourcePropagationDelayException: type[BotocoreClientError]
185
- ServerException: type[BotocoreClientError]
186
- ServiceUnavailableException: type[BotocoreClientError]
187
- UnsupportedAvailabilityZoneException: type[BotocoreClientError]
183
+ AccessDeniedException: Type[BotocoreClientError]
184
+ BadRequestException: Type[BotocoreClientError]
185
+ ClientError: Type[BotocoreClientError]
186
+ ClientException: Type[BotocoreClientError]
187
+ InvalidParameterException: Type[BotocoreClientError]
188
+ InvalidRequestException: Type[BotocoreClientError]
189
+ InvalidStateException: Type[BotocoreClientError]
190
+ NotFoundException: Type[BotocoreClientError]
191
+ ResourceInUseException: Type[BotocoreClientError]
192
+ ResourceLimitExceededException: Type[BotocoreClientError]
193
+ ResourceNotFoundException: Type[BotocoreClientError]
194
+ ResourcePropagationDelayException: Type[BotocoreClientError]
195
+ ServerException: Type[BotocoreClientError]
196
+ ServiceUnavailableException: Type[BotocoreClientError]
197
+ ThrottlingException: Type[BotocoreClientError]
198
+ UnsupportedAvailabilityZoneException: Type[BotocoreClientError]
188
199
 
189
200
 
190
201
  class EKSClient(BaseClient):
@@ -223,7 +234,7 @@ class EKSClient(BaseClient):
223
234
  """
224
235
 
225
236
  def associate_access_policy(
226
- self, **kwargs: Unpack[AssociateAccessPolicyRequestRequestTypeDef]
237
+ self, **kwargs: Unpack[AssociateAccessPolicyRequestTypeDef]
227
238
  ) -> AssociateAccessPolicyResponseTypeDef:
228
239
  """
229
240
  Associates an access policy and its scope to an access entry.
@@ -233,7 +244,7 @@ class EKSClient(BaseClient):
233
244
  """
234
245
 
235
246
  def associate_encryption_config(
236
- self, **kwargs: Unpack[AssociateEncryptionConfigRequestRequestTypeDef]
247
+ self, **kwargs: Unpack[AssociateEncryptionConfigRequestTypeDef]
237
248
  ) -> AssociateEncryptionConfigResponseTypeDef:
238
249
  """
239
250
  Associates an encryption configuration to an existing cluster.
@@ -243,7 +254,7 @@ class EKSClient(BaseClient):
243
254
  """
244
255
 
245
256
  def associate_identity_provider_config(
246
- self, **kwargs: Unpack[AssociateIdentityProviderConfigRequestRequestTypeDef]
257
+ self, **kwargs: Unpack[AssociateIdentityProviderConfigRequestTypeDef]
247
258
  ) -> AssociateIdentityProviderConfigResponseTypeDef:
248
259
  """
249
260
  Associates an identity provider configuration to a cluster.
@@ -253,7 +264,7 @@ class EKSClient(BaseClient):
253
264
  """
254
265
 
255
266
  def create_access_entry(
256
- self, **kwargs: Unpack[CreateAccessEntryRequestRequestTypeDef]
267
+ self, **kwargs: Unpack[CreateAccessEntryRequestTypeDef]
257
268
  ) -> CreateAccessEntryResponseTypeDef:
258
269
  """
259
270
  Creates an access entry.
@@ -263,7 +274,7 @@ class EKSClient(BaseClient):
263
274
  """
264
275
 
265
276
  def create_addon(
266
- self, **kwargs: Unpack[CreateAddonRequestRequestTypeDef]
277
+ self, **kwargs: Unpack[CreateAddonRequestTypeDef]
267
278
  ) -> CreateAddonResponseTypeDef:
268
279
  """
269
280
  Creates an Amazon EKS add-on.
@@ -273,7 +284,7 @@ class EKSClient(BaseClient):
273
284
  """
274
285
 
275
286
  def create_cluster(
276
- self, **kwargs: Unpack[CreateClusterRequestRequestTypeDef]
287
+ self, **kwargs: Unpack[CreateClusterRequestTypeDef]
277
288
  ) -> CreateClusterResponseTypeDef:
278
289
  """
279
290
  Creates an Amazon EKS control plane.
@@ -283,7 +294,7 @@ class EKSClient(BaseClient):
283
294
  """
284
295
 
285
296
  def create_eks_anywhere_subscription(
286
- self, **kwargs: Unpack[CreateEksAnywhereSubscriptionRequestRequestTypeDef]
297
+ self, **kwargs: Unpack[CreateEksAnywhereSubscriptionRequestTypeDef]
287
298
  ) -> CreateEksAnywhereSubscriptionResponseTypeDef:
288
299
  """
289
300
  Creates an EKS Anywhere subscription.
@@ -293,7 +304,7 @@ class EKSClient(BaseClient):
293
304
  """
294
305
 
295
306
  def create_fargate_profile(
296
- self, **kwargs: Unpack[CreateFargateProfileRequestRequestTypeDef]
307
+ self, **kwargs: Unpack[CreateFargateProfileRequestTypeDef]
297
308
  ) -> CreateFargateProfileResponseTypeDef:
298
309
  """
299
310
  Creates an Fargate profile for your Amazon EKS cluster.
@@ -303,7 +314,7 @@ class EKSClient(BaseClient):
303
314
  """
304
315
 
305
316
  def create_nodegroup(
306
- self, **kwargs: Unpack[CreateNodegroupRequestRequestTypeDef]
317
+ self, **kwargs: Unpack[CreateNodegroupRequestTypeDef]
307
318
  ) -> CreateNodegroupResponseTypeDef:
308
319
  """
309
320
  Creates a managed node group for an Amazon EKS cluster.
@@ -313,7 +324,7 @@ class EKSClient(BaseClient):
313
324
  """
314
325
 
315
326
  def create_pod_identity_association(
316
- self, **kwargs: Unpack[CreatePodIdentityAssociationRequestRequestTypeDef]
327
+ self, **kwargs: Unpack[CreatePodIdentityAssociationRequestTypeDef]
317
328
  ) -> CreatePodIdentityAssociationResponseTypeDef:
318
329
  """
319
330
  Creates an EKS Pod Identity association between a service account in an Amazon
@@ -324,8 +335,8 @@ class EKSClient(BaseClient):
324
335
  """
325
336
 
326
337
  def delete_access_entry(
327
- self, **kwargs: Unpack[DeleteAccessEntryRequestRequestTypeDef]
328
- ) -> dict[str, Any]:
338
+ self, **kwargs: Unpack[DeleteAccessEntryRequestTypeDef]
339
+ ) -> Dict[str, Any]:
329
340
  """
330
341
  Deletes an access entry.
331
342
 
@@ -334,7 +345,7 @@ class EKSClient(BaseClient):
334
345
  """
335
346
 
336
347
  def delete_addon(
337
- self, **kwargs: Unpack[DeleteAddonRequestRequestTypeDef]
348
+ self, **kwargs: Unpack[DeleteAddonRequestTypeDef]
338
349
  ) -> DeleteAddonResponseTypeDef:
339
350
  """
340
351
  Deletes an Amazon EKS add-on.
@@ -344,7 +355,7 @@ class EKSClient(BaseClient):
344
355
  """
345
356
 
346
357
  def delete_cluster(
347
- self, **kwargs: Unpack[DeleteClusterRequestRequestTypeDef]
358
+ self, **kwargs: Unpack[DeleteClusterRequestTypeDef]
348
359
  ) -> DeleteClusterResponseTypeDef:
349
360
  """
350
361
  Deletes an Amazon EKS cluster control plane.
@@ -354,7 +365,7 @@ class EKSClient(BaseClient):
354
365
  """
355
366
 
356
367
  def delete_eks_anywhere_subscription(
357
- self, **kwargs: Unpack[DeleteEksAnywhereSubscriptionRequestRequestTypeDef]
368
+ self, **kwargs: Unpack[DeleteEksAnywhereSubscriptionRequestTypeDef]
358
369
  ) -> DeleteEksAnywhereSubscriptionResponseTypeDef:
359
370
  """
360
371
  Deletes an expired or inactive subscription.
@@ -364,7 +375,7 @@ class EKSClient(BaseClient):
364
375
  """
365
376
 
366
377
  def delete_fargate_profile(
367
- self, **kwargs: Unpack[DeleteFargateProfileRequestRequestTypeDef]
378
+ self, **kwargs: Unpack[DeleteFargateProfileRequestTypeDef]
368
379
  ) -> DeleteFargateProfileResponseTypeDef:
369
380
  """
370
381
  Deletes an Fargate profile.
@@ -374,7 +385,7 @@ class EKSClient(BaseClient):
374
385
  """
375
386
 
376
387
  def delete_nodegroup(
377
- self, **kwargs: Unpack[DeleteNodegroupRequestRequestTypeDef]
388
+ self, **kwargs: Unpack[DeleteNodegroupRequestTypeDef]
378
389
  ) -> DeleteNodegroupResponseTypeDef:
379
390
  """
380
391
  Deletes a managed node group.
@@ -384,7 +395,7 @@ class EKSClient(BaseClient):
384
395
  """
385
396
 
386
397
  def delete_pod_identity_association(
387
- self, **kwargs: Unpack[DeletePodIdentityAssociationRequestRequestTypeDef]
398
+ self, **kwargs: Unpack[DeletePodIdentityAssociationRequestTypeDef]
388
399
  ) -> DeletePodIdentityAssociationResponseTypeDef:
389
400
  """
390
401
  Deletes a EKS Pod Identity association.
@@ -394,7 +405,7 @@ class EKSClient(BaseClient):
394
405
  """
395
406
 
396
407
  def deregister_cluster(
397
- self, **kwargs: Unpack[DeregisterClusterRequestRequestTypeDef]
408
+ self, **kwargs: Unpack[DeregisterClusterRequestTypeDef]
398
409
  ) -> DeregisterClusterResponseTypeDef:
399
410
  """
400
411
  Deregisters a connected cluster to remove it from the Amazon EKS control plane.
@@ -404,7 +415,7 @@ class EKSClient(BaseClient):
404
415
  """
405
416
 
406
417
  def describe_access_entry(
407
- self, **kwargs: Unpack[DescribeAccessEntryRequestRequestTypeDef]
418
+ self, **kwargs: Unpack[DescribeAccessEntryRequestTypeDef]
408
419
  ) -> DescribeAccessEntryResponseTypeDef:
409
420
  """
410
421
  Describes an access entry.
@@ -414,7 +425,7 @@ class EKSClient(BaseClient):
414
425
  """
415
426
 
416
427
  def describe_addon(
417
- self, **kwargs: Unpack[DescribeAddonRequestRequestTypeDef]
428
+ self, **kwargs: Unpack[DescribeAddonRequestTypeDef]
418
429
  ) -> DescribeAddonResponseTypeDef:
419
430
  """
420
431
  Describes an Amazon EKS add-on.
@@ -424,7 +435,7 @@ class EKSClient(BaseClient):
424
435
  """
425
436
 
426
437
  def describe_addon_configuration(
427
- self, **kwargs: Unpack[DescribeAddonConfigurationRequestRequestTypeDef]
438
+ self, **kwargs: Unpack[DescribeAddonConfigurationRequestTypeDef]
428
439
  ) -> DescribeAddonConfigurationResponseTypeDef:
429
440
  """
430
441
  Returns configuration options.
@@ -434,7 +445,7 @@ class EKSClient(BaseClient):
434
445
  """
435
446
 
436
447
  def describe_addon_versions(
437
- self, **kwargs: Unpack[DescribeAddonVersionsRequestRequestTypeDef]
448
+ self, **kwargs: Unpack[DescribeAddonVersionsRequestTypeDef]
438
449
  ) -> DescribeAddonVersionsResponseTypeDef:
439
450
  """
440
451
  Describes the versions for an add-on.
@@ -444,7 +455,7 @@ class EKSClient(BaseClient):
444
455
  """
445
456
 
446
457
  def describe_cluster(
447
- self, **kwargs: Unpack[DescribeClusterRequestRequestTypeDef]
458
+ self, **kwargs: Unpack[DescribeClusterRequestTypeDef]
448
459
  ) -> DescribeClusterResponseTypeDef:
449
460
  """
450
461
  Describes an Amazon EKS cluster.
@@ -453,8 +464,18 @@ class EKSClient(BaseClient):
453
464
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_cluster)
454
465
  """
455
466
 
467
+ def describe_cluster_versions(
468
+ self, **kwargs: Unpack[DescribeClusterVersionsRequestTypeDef]
469
+ ) -> DescribeClusterVersionsResponseTypeDef:
470
+ """
471
+ Lists available Kubernetes versions for Amazon EKS clusters.
472
+
473
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks/client/describe_cluster_versions.html)
474
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_cluster_versions)
475
+ """
476
+
456
477
  def describe_eks_anywhere_subscription(
457
- self, **kwargs: Unpack[DescribeEksAnywhereSubscriptionRequestRequestTypeDef]
478
+ self, **kwargs: Unpack[DescribeEksAnywhereSubscriptionRequestTypeDef]
458
479
  ) -> DescribeEksAnywhereSubscriptionResponseTypeDef:
459
480
  """
460
481
  Returns descriptive information about a subscription.
@@ -464,7 +485,7 @@ class EKSClient(BaseClient):
464
485
  """
465
486
 
466
487
  def describe_fargate_profile(
467
- self, **kwargs: Unpack[DescribeFargateProfileRequestRequestTypeDef]
488
+ self, **kwargs: Unpack[DescribeFargateProfileRequestTypeDef]
468
489
  ) -> DescribeFargateProfileResponseTypeDef:
469
490
  """
470
491
  Describes an Fargate profile.
@@ -474,7 +495,7 @@ class EKSClient(BaseClient):
474
495
  """
475
496
 
476
497
  def describe_identity_provider_config(
477
- self, **kwargs: Unpack[DescribeIdentityProviderConfigRequestRequestTypeDef]
498
+ self, **kwargs: Unpack[DescribeIdentityProviderConfigRequestTypeDef]
478
499
  ) -> DescribeIdentityProviderConfigResponseTypeDef:
479
500
  """
480
501
  Describes an identity provider configuration.
@@ -484,7 +505,7 @@ class EKSClient(BaseClient):
484
505
  """
485
506
 
486
507
  def describe_insight(
487
- self, **kwargs: Unpack[DescribeInsightRequestRequestTypeDef]
508
+ self, **kwargs: Unpack[DescribeInsightRequestTypeDef]
488
509
  ) -> DescribeInsightResponseTypeDef:
489
510
  """
490
511
  Returns details about an insight that you specify using its ID.
@@ -494,7 +515,7 @@ class EKSClient(BaseClient):
494
515
  """
495
516
 
496
517
  def describe_nodegroup(
497
- self, **kwargs: Unpack[DescribeNodegroupRequestRequestTypeDef]
518
+ self, **kwargs: Unpack[DescribeNodegroupRequestTypeDef]
498
519
  ) -> DescribeNodegroupResponseTypeDef:
499
520
  """
500
521
  Describes a managed node group.
@@ -504,7 +525,7 @@ class EKSClient(BaseClient):
504
525
  """
505
526
 
506
527
  def describe_pod_identity_association(
507
- self, **kwargs: Unpack[DescribePodIdentityAssociationRequestRequestTypeDef]
528
+ self, **kwargs: Unpack[DescribePodIdentityAssociationRequestTypeDef]
508
529
  ) -> DescribePodIdentityAssociationResponseTypeDef:
509
530
  """
510
531
  Returns descriptive information about an EKS Pod Identity association.
@@ -514,7 +535,7 @@ class EKSClient(BaseClient):
514
535
  """
515
536
 
516
537
  def describe_update(
517
- self, **kwargs: Unpack[DescribeUpdateRequestRequestTypeDef]
538
+ self, **kwargs: Unpack[DescribeUpdateRequestTypeDef]
518
539
  ) -> DescribeUpdateResponseTypeDef:
519
540
  """
520
541
  Describes an update to an Amazon EKS resource.
@@ -524,8 +545,8 @@ class EKSClient(BaseClient):
524
545
  """
525
546
 
526
547
  def disassociate_access_policy(
527
- self, **kwargs: Unpack[DisassociateAccessPolicyRequestRequestTypeDef]
528
- ) -> dict[str, Any]:
548
+ self, **kwargs: Unpack[DisassociateAccessPolicyRequestTypeDef]
549
+ ) -> Dict[str, Any]:
529
550
  """
530
551
  Disassociates an access policy from an access entry.
531
552
 
@@ -534,7 +555,7 @@ class EKSClient(BaseClient):
534
555
  """
535
556
 
536
557
  def disassociate_identity_provider_config(
537
- self, **kwargs: Unpack[DisassociateIdentityProviderConfigRequestRequestTypeDef]
558
+ self, **kwargs: Unpack[DisassociateIdentityProviderConfigRequestTypeDef]
538
559
  ) -> DisassociateIdentityProviderConfigResponseTypeDef:
539
560
  """
540
561
  Disassociates an identity provider configuration from a cluster.
@@ -544,7 +565,7 @@ class EKSClient(BaseClient):
544
565
  """
545
566
 
546
567
  def list_access_entries(
547
- self, **kwargs: Unpack[ListAccessEntriesRequestRequestTypeDef]
568
+ self, **kwargs: Unpack[ListAccessEntriesRequestTypeDef]
548
569
  ) -> ListAccessEntriesResponseTypeDef:
549
570
  """
550
571
  Lists the access entries for your cluster.
@@ -554,7 +575,7 @@ class EKSClient(BaseClient):
554
575
  """
555
576
 
556
577
  def list_access_policies(
557
- self, **kwargs: Unpack[ListAccessPoliciesRequestRequestTypeDef]
578
+ self, **kwargs: Unpack[ListAccessPoliciesRequestTypeDef]
558
579
  ) -> ListAccessPoliciesResponseTypeDef:
559
580
  """
560
581
  Lists the available access policies.
@@ -563,9 +584,7 @@ class EKSClient(BaseClient):
563
584
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#list_access_policies)
564
585
  """
565
586
 
566
- def list_addons(
567
- self, **kwargs: Unpack[ListAddonsRequestRequestTypeDef]
568
- ) -> ListAddonsResponseTypeDef:
587
+ def list_addons(self, **kwargs: Unpack[ListAddonsRequestTypeDef]) -> ListAddonsResponseTypeDef:
569
588
  """
570
589
  Lists the installed add-ons.
571
590
 
@@ -574,7 +593,7 @@ class EKSClient(BaseClient):
574
593
  """
575
594
 
576
595
  def list_associated_access_policies(
577
- self, **kwargs: Unpack[ListAssociatedAccessPoliciesRequestRequestTypeDef]
596
+ self, **kwargs: Unpack[ListAssociatedAccessPoliciesRequestTypeDef]
578
597
  ) -> ListAssociatedAccessPoliciesResponseTypeDef:
579
598
  """
580
599
  Lists the access policies associated with an access entry.
@@ -584,7 +603,7 @@ class EKSClient(BaseClient):
584
603
  """
585
604
 
586
605
  def list_clusters(
587
- self, **kwargs: Unpack[ListClustersRequestRequestTypeDef]
606
+ self, **kwargs: Unpack[ListClustersRequestTypeDef]
588
607
  ) -> ListClustersResponseTypeDef:
589
608
  """
590
609
  Lists the Amazon EKS clusters in your Amazon Web Services account in the
@@ -595,7 +614,7 @@ class EKSClient(BaseClient):
595
614
  """
596
615
 
597
616
  def list_eks_anywhere_subscriptions(
598
- self, **kwargs: Unpack[ListEksAnywhereSubscriptionsRequestRequestTypeDef]
617
+ self, **kwargs: Unpack[ListEksAnywhereSubscriptionsRequestTypeDef]
599
618
  ) -> ListEksAnywhereSubscriptionsResponseTypeDef:
600
619
  """
601
620
  Displays the full description of the subscription.
@@ -605,7 +624,7 @@ class EKSClient(BaseClient):
605
624
  """
606
625
 
607
626
  def list_fargate_profiles(
608
- self, **kwargs: Unpack[ListFargateProfilesRequestRequestTypeDef]
627
+ self, **kwargs: Unpack[ListFargateProfilesRequestTypeDef]
609
628
  ) -> ListFargateProfilesResponseTypeDef:
610
629
  """
611
630
  Lists the Fargate profiles associated with the specified cluster in your Amazon
@@ -616,7 +635,7 @@ class EKSClient(BaseClient):
616
635
  """
617
636
 
618
637
  def list_identity_provider_configs(
619
- self, **kwargs: Unpack[ListIdentityProviderConfigsRequestRequestTypeDef]
638
+ self, **kwargs: Unpack[ListIdentityProviderConfigsRequestTypeDef]
620
639
  ) -> ListIdentityProviderConfigsResponseTypeDef:
621
640
  """
622
641
  Lists the identity provider configurations for your cluster.
@@ -626,7 +645,7 @@ class EKSClient(BaseClient):
626
645
  """
627
646
 
628
647
  def list_insights(
629
- self, **kwargs: Unpack[ListInsightsRequestRequestTypeDef]
648
+ self, **kwargs: Unpack[ListInsightsRequestTypeDef]
630
649
  ) -> ListInsightsResponseTypeDef:
631
650
  """
632
651
  Returns a list of all insights checked for against the specified cluster.
@@ -636,7 +655,7 @@ class EKSClient(BaseClient):
636
655
  """
637
656
 
638
657
  def list_nodegroups(
639
- self, **kwargs: Unpack[ListNodegroupsRequestRequestTypeDef]
658
+ self, **kwargs: Unpack[ListNodegroupsRequestTypeDef]
640
659
  ) -> ListNodegroupsResponseTypeDef:
641
660
  """
642
661
  Lists the managed node groups associated with the specified cluster in your
@@ -647,7 +666,7 @@ class EKSClient(BaseClient):
647
666
  """
648
667
 
649
668
  def list_pod_identity_associations(
650
- self, **kwargs: Unpack[ListPodIdentityAssociationsRequestRequestTypeDef]
669
+ self, **kwargs: Unpack[ListPodIdentityAssociationsRequestTypeDef]
651
670
  ) -> ListPodIdentityAssociationsResponseTypeDef:
652
671
  """
653
672
  List the EKS Pod Identity associations in a cluster.
@@ -657,7 +676,7 @@ class EKSClient(BaseClient):
657
676
  """
658
677
 
659
678
  def list_tags_for_resource(
660
- self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
679
+ self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
661
680
  ) -> ListTagsForResourceResponseTypeDef:
662
681
  """
663
682
  List the tags for an Amazon EKS resource.
@@ -667,7 +686,7 @@ class EKSClient(BaseClient):
667
686
  """
668
687
 
669
688
  def list_updates(
670
- self, **kwargs: Unpack[ListUpdatesRequestRequestTypeDef]
689
+ self, **kwargs: Unpack[ListUpdatesRequestTypeDef]
671
690
  ) -> ListUpdatesResponseTypeDef:
672
691
  """
673
692
  Lists the updates associated with an Amazon EKS resource in your Amazon Web
@@ -678,7 +697,7 @@ class EKSClient(BaseClient):
678
697
  """
679
698
 
680
699
  def register_cluster(
681
- self, **kwargs: Unpack[RegisterClusterRequestRequestTypeDef]
700
+ self, **kwargs: Unpack[RegisterClusterRequestTypeDef]
682
701
  ) -> RegisterClusterResponseTypeDef:
683
702
  """
684
703
  Connects a Kubernetes cluster to the Amazon EKS control plane.
@@ -687,7 +706,7 @@ class EKSClient(BaseClient):
687
706
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#register_cluster)
688
707
  """
689
708
 
690
- def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> dict[str, Any]:
709
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
691
710
  """
692
711
  Associates the specified tags to an Amazon EKS resource with the specified
693
712
  <code>resourceArn</code>.
@@ -696,9 +715,7 @@ class EKSClient(BaseClient):
696
715
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#tag_resource)
697
716
  """
698
717
 
699
- def untag_resource(
700
- self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
701
- ) -> dict[str, Any]:
718
+ def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
702
719
  """
703
720
  Deletes specified tags from an Amazon EKS resource.
704
721
 
@@ -707,7 +724,7 @@ class EKSClient(BaseClient):
707
724
  """
708
725
 
709
726
  def update_access_entry(
710
- self, **kwargs: Unpack[UpdateAccessEntryRequestRequestTypeDef]
727
+ self, **kwargs: Unpack[UpdateAccessEntryRequestTypeDef]
711
728
  ) -> UpdateAccessEntryResponseTypeDef:
712
729
  """
713
730
  Updates an access entry.
@@ -717,7 +734,7 @@ class EKSClient(BaseClient):
717
734
  """
718
735
 
719
736
  def update_addon(
720
- self, **kwargs: Unpack[UpdateAddonRequestRequestTypeDef]
737
+ self, **kwargs: Unpack[UpdateAddonRequestTypeDef]
721
738
  ) -> UpdateAddonResponseTypeDef:
722
739
  """
723
740
  Updates an Amazon EKS add-on.
@@ -727,7 +744,7 @@ class EKSClient(BaseClient):
727
744
  """
728
745
 
729
746
  def update_cluster_config(
730
- self, **kwargs: Unpack[UpdateClusterConfigRequestRequestTypeDef]
747
+ self, **kwargs: Unpack[UpdateClusterConfigRequestTypeDef]
731
748
  ) -> UpdateClusterConfigResponseTypeDef:
732
749
  """
733
750
  Updates an Amazon EKS cluster configuration.
@@ -737,7 +754,7 @@ class EKSClient(BaseClient):
737
754
  """
738
755
 
739
756
  def update_cluster_version(
740
- self, **kwargs: Unpack[UpdateClusterVersionRequestRequestTypeDef]
757
+ self, **kwargs: Unpack[UpdateClusterVersionRequestTypeDef]
741
758
  ) -> UpdateClusterVersionResponseTypeDef:
742
759
  """
743
760
  Updates an Amazon EKS cluster to the specified Kubernetes version.
@@ -747,7 +764,7 @@ class EKSClient(BaseClient):
747
764
  """
748
765
 
749
766
  def update_eks_anywhere_subscription(
750
- self, **kwargs: Unpack[UpdateEksAnywhereSubscriptionRequestRequestTypeDef]
767
+ self, **kwargs: Unpack[UpdateEksAnywhereSubscriptionRequestTypeDef]
751
768
  ) -> UpdateEksAnywhereSubscriptionResponseTypeDef:
752
769
  """
753
770
  Update an EKS Anywhere Subscription.
@@ -757,7 +774,7 @@ class EKSClient(BaseClient):
757
774
  """
758
775
 
759
776
  def update_nodegroup_config(
760
- self, **kwargs: Unpack[UpdateNodegroupConfigRequestRequestTypeDef]
777
+ self, **kwargs: Unpack[UpdateNodegroupConfigRequestTypeDef]
761
778
  ) -> UpdateNodegroupConfigResponseTypeDef:
762
779
  """
763
780
  Updates an Amazon EKS managed node group configuration.
@@ -767,7 +784,7 @@ class EKSClient(BaseClient):
767
784
  """
768
785
 
769
786
  def update_nodegroup_version(
770
- self, **kwargs: Unpack[UpdateNodegroupVersionRequestRequestTypeDef]
787
+ self, **kwargs: Unpack[UpdateNodegroupVersionRequestTypeDef]
771
788
  ) -> UpdateNodegroupVersionResponseTypeDef:
772
789
  """
773
790
  Updates the Kubernetes version or AMI version of an Amazon EKS managed node
@@ -778,7 +795,7 @@ class EKSClient(BaseClient):
778
795
  """
779
796
 
780
797
  def update_pod_identity_association(
781
- self, **kwargs: Unpack[UpdatePodIdentityAssociationRequestRequestTypeDef]
798
+ self, **kwargs: Unpack[UpdatePodIdentityAssociationRequestTypeDef]
782
799
  ) -> UpdatePodIdentityAssociationResponseTypeDef:
783
800
  """
784
801
  Updates a EKS Pod Identity association.
@@ -798,6 +815,17 @@ class EKSClient(BaseClient):
798
815
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#get_paginator)
799
816
  """
800
817
 
818
+ @overload # type: ignore[override]
819
+ def get_paginator( # type: ignore[override]
820
+ self, operation_name: Literal["describe_cluster_versions"]
821
+ ) -> DescribeClusterVersionsPaginator:
822
+ """
823
+ Create a paginator for an operation.
824
+
825
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks/client/get_paginator.html)
826
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#get_paginator)
827
+ """
828
+
801
829
  @overload # type: ignore[override]
802
830
  def get_paginator( # type: ignore[override]
803
831
  self, operation_name: Literal["list_access_entries"]