mypy-boto3-eks 1.34.159__py3-none-any.whl → 1.35.45__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.pyi CHANGED
@@ -15,16 +15,10 @@ Usage::
15
15
  """
16
16
 
17
17
  import sys
18
- from typing import Any, Dict, Mapping, Sequence, Type, overload
18
+ from typing import Any, Dict, Mapping, Type, overload
19
19
 
20
20
  from botocore.client import BaseClient, ClientMeta
21
21
 
22
- from .literals import (
23
- AMITypesType,
24
- CapacityTypesType,
25
- EksAnywhereSubscriptionStatusType,
26
- ResolveConflictsType,
27
- )
28
22
  from .paginator import (
29
23
  DescribeAddonVersionsPaginator,
30
24
  ListAccessEntriesPaginator,
@@ -41,81 +35,114 @@ from .paginator import (
41
35
  ListUpdatesPaginator,
42
36
  )
43
37
  from .type_defs import (
44
- AccessScopeUnionTypeDef,
45
- AddonPodIdentityAssociationsTypeDef,
38
+ AssociateAccessPolicyRequestRequestTypeDef,
46
39
  AssociateAccessPolicyResponseTypeDef,
40
+ AssociateEncryptionConfigRequestRequestTypeDef,
47
41
  AssociateEncryptionConfigResponseTypeDef,
42
+ AssociateIdentityProviderConfigRequestRequestTypeDef,
48
43
  AssociateIdentityProviderConfigResponseTypeDef,
49
- ConnectorConfigRequestTypeDef,
50
- CreateAccessConfigRequestTypeDef,
44
+ CreateAccessEntryRequestRequestTypeDef,
51
45
  CreateAccessEntryResponseTypeDef,
46
+ CreateAddonRequestRequestTypeDef,
52
47
  CreateAddonResponseTypeDef,
48
+ CreateClusterRequestRequestTypeDef,
53
49
  CreateClusterResponseTypeDef,
50
+ CreateEksAnywhereSubscriptionRequestRequestTypeDef,
54
51
  CreateEksAnywhereSubscriptionResponseTypeDef,
52
+ CreateFargateProfileRequestRequestTypeDef,
55
53
  CreateFargateProfileResponseTypeDef,
54
+ CreateNodegroupRequestRequestTypeDef,
56
55
  CreateNodegroupResponseTypeDef,
56
+ CreatePodIdentityAssociationRequestRequestTypeDef,
57
57
  CreatePodIdentityAssociationResponseTypeDef,
58
+ DeleteAccessEntryRequestRequestTypeDef,
59
+ DeleteAddonRequestRequestTypeDef,
58
60
  DeleteAddonResponseTypeDef,
61
+ DeleteClusterRequestRequestTypeDef,
59
62
  DeleteClusterResponseTypeDef,
63
+ DeleteEksAnywhereSubscriptionRequestRequestTypeDef,
60
64
  DeleteEksAnywhereSubscriptionResponseTypeDef,
65
+ DeleteFargateProfileRequestRequestTypeDef,
61
66
  DeleteFargateProfileResponseTypeDef,
67
+ DeleteNodegroupRequestRequestTypeDef,
62
68
  DeleteNodegroupResponseTypeDef,
69
+ DeletePodIdentityAssociationRequestRequestTypeDef,
63
70
  DeletePodIdentityAssociationResponseTypeDef,
71
+ DeregisterClusterRequestRequestTypeDef,
64
72
  DeregisterClusterResponseTypeDef,
73
+ DescribeAccessEntryRequestRequestTypeDef,
65
74
  DescribeAccessEntryResponseTypeDef,
75
+ DescribeAddonConfigurationRequestRequestTypeDef,
66
76
  DescribeAddonConfigurationResponseTypeDef,
77
+ DescribeAddonRequestRequestTypeDef,
67
78
  DescribeAddonResponseTypeDef,
79
+ DescribeAddonVersionsRequestRequestTypeDef,
68
80
  DescribeAddonVersionsResponseTypeDef,
81
+ DescribeClusterRequestRequestTypeDef,
69
82
  DescribeClusterResponseTypeDef,
83
+ DescribeEksAnywhereSubscriptionRequestRequestTypeDef,
70
84
  DescribeEksAnywhereSubscriptionResponseTypeDef,
85
+ DescribeFargateProfileRequestRequestTypeDef,
71
86
  DescribeFargateProfileResponseTypeDef,
87
+ DescribeIdentityProviderConfigRequestRequestTypeDef,
72
88
  DescribeIdentityProviderConfigResponseTypeDef,
89
+ DescribeInsightRequestRequestTypeDef,
73
90
  DescribeInsightResponseTypeDef,
91
+ DescribeNodegroupRequestRequestTypeDef,
74
92
  DescribeNodegroupResponseTypeDef,
93
+ DescribePodIdentityAssociationRequestRequestTypeDef,
75
94
  DescribePodIdentityAssociationResponseTypeDef,
95
+ DescribeUpdateRequestRequestTypeDef,
76
96
  DescribeUpdateResponseTypeDef,
97
+ DisassociateAccessPolicyRequestRequestTypeDef,
98
+ DisassociateIdentityProviderConfigRequestRequestTypeDef,
77
99
  DisassociateIdentityProviderConfigResponseTypeDef,
78
- EksAnywhereSubscriptionTermTypeDef,
79
- EncryptionConfigUnionTypeDef,
80
- FargateProfileSelectorUnionTypeDef,
81
- IdentityProviderConfigTypeDef,
82
- InsightsFilterTypeDef,
83
- KubernetesNetworkConfigRequestTypeDef,
84
- LaunchTemplateSpecificationTypeDef,
100
+ ListAccessEntriesRequestRequestTypeDef,
85
101
  ListAccessEntriesResponseTypeDef,
102
+ ListAccessPoliciesRequestRequestTypeDef,
86
103
  ListAccessPoliciesResponseTypeDef,
104
+ ListAddonsRequestRequestTypeDef,
87
105
  ListAddonsResponseTypeDef,
106
+ ListAssociatedAccessPoliciesRequestRequestTypeDef,
88
107
  ListAssociatedAccessPoliciesResponseTypeDef,
108
+ ListClustersRequestRequestTypeDef,
89
109
  ListClustersResponseTypeDef,
110
+ ListEksAnywhereSubscriptionsRequestRequestTypeDef,
90
111
  ListEksAnywhereSubscriptionsResponseTypeDef,
112
+ ListFargateProfilesRequestRequestTypeDef,
91
113
  ListFargateProfilesResponseTypeDef,
114
+ ListIdentityProviderConfigsRequestRequestTypeDef,
92
115
  ListIdentityProviderConfigsResponseTypeDef,
116
+ ListInsightsRequestRequestTypeDef,
93
117
  ListInsightsResponseTypeDef,
118
+ ListNodegroupsRequestRequestTypeDef,
94
119
  ListNodegroupsResponseTypeDef,
120
+ ListPodIdentityAssociationsRequestRequestTypeDef,
95
121
  ListPodIdentityAssociationsResponseTypeDef,
122
+ ListTagsForResourceRequestRequestTypeDef,
96
123
  ListTagsForResourceResponseTypeDef,
124
+ ListUpdatesRequestRequestTypeDef,
97
125
  ListUpdatesResponseTypeDef,
98
- LoggingUnionTypeDef,
99
- NodegroupScalingConfigTypeDef,
100
- NodegroupUpdateConfigTypeDef,
101
- OidcIdentityProviderConfigRequestTypeDef,
102
- OutpostConfigRequestTypeDef,
126
+ RegisterClusterRequestRequestTypeDef,
103
127
  RegisterClusterResponseTypeDef,
104
- RemoteAccessConfigUnionTypeDef,
105
- TaintTypeDef,
106
- UpdateAccessConfigRequestTypeDef,
128
+ TagResourceRequestRequestTypeDef,
129
+ UntagResourceRequestRequestTypeDef,
130
+ UpdateAccessEntryRequestRequestTypeDef,
107
131
  UpdateAccessEntryResponseTypeDef,
132
+ UpdateAddonRequestRequestTypeDef,
108
133
  UpdateAddonResponseTypeDef,
134
+ UpdateClusterConfigRequestRequestTypeDef,
109
135
  UpdateClusterConfigResponseTypeDef,
136
+ UpdateClusterVersionRequestRequestTypeDef,
110
137
  UpdateClusterVersionResponseTypeDef,
138
+ UpdateEksAnywhereSubscriptionRequestRequestTypeDef,
111
139
  UpdateEksAnywhereSubscriptionResponseTypeDef,
112
- UpdateLabelsPayloadTypeDef,
140
+ UpdateNodegroupConfigRequestRequestTypeDef,
113
141
  UpdateNodegroupConfigResponseTypeDef,
142
+ UpdateNodegroupVersionRequestRequestTypeDef,
114
143
  UpdateNodegroupVersionResponseTypeDef,
144
+ UpdatePodIdentityAssociationRequestRequestTypeDef,
115
145
  UpdatePodIdentityAssociationResponseTypeDef,
116
- UpdateTaintsPayloadTypeDef,
117
- UpgradePolicyRequestTypeDef,
118
- VpcConfigRequestTypeDef,
119
146
  )
120
147
  from .waiter import (
121
148
  AddonActiveWaiter,
@@ -129,9 +156,9 @@ from .waiter import (
129
156
  )
130
157
 
131
158
  if sys.version_info >= (3, 12):
132
- from typing import Literal
159
+ from typing import Literal, Unpack
133
160
  else:
134
- from typing_extensions import Literal
161
+ from typing_extensions import Literal, Unpack
135
162
 
136
163
  __all__ = ("EKSClient",)
137
164
 
@@ -176,12 +203,7 @@ class EKSClient(BaseClient):
176
203
  """
177
204
 
178
205
  def associate_access_policy(
179
- self,
180
- *,
181
- clusterName: str,
182
- principalArn: str,
183
- policyArn: str,
184
- accessScope: AccessScopeUnionTypeDef,
206
+ self, **kwargs: Unpack[AssociateAccessPolicyRequestRequestTypeDef]
185
207
  ) -> AssociateAccessPolicyResponseTypeDef:
186
208
  """
187
209
  Associates an access policy and its scope to an access entry.
@@ -191,11 +213,7 @@ class EKSClient(BaseClient):
191
213
  """
192
214
 
193
215
  def associate_encryption_config(
194
- self,
195
- *,
196
- clusterName: str,
197
- encryptionConfig: Sequence[EncryptionConfigUnionTypeDef],
198
- clientRequestToken: str = ...,
216
+ self, **kwargs: Unpack[AssociateEncryptionConfigRequestRequestTypeDef]
199
217
  ) -> AssociateEncryptionConfigResponseTypeDef:
200
218
  """
201
219
  Associates an encryption configuration to an existing cluster.
@@ -205,12 +223,7 @@ class EKSClient(BaseClient):
205
223
  """
206
224
 
207
225
  def associate_identity_provider_config(
208
- self,
209
- *,
210
- clusterName: str,
211
- oidc: OidcIdentityProviderConfigRequestTypeDef,
212
- tags: Mapping[str, str] = ...,
213
- clientRequestToken: str = ...,
226
+ self, **kwargs: Unpack[AssociateIdentityProviderConfigRequestRequestTypeDef]
214
227
  ) -> AssociateIdentityProviderConfigResponseTypeDef:
215
228
  """
216
229
  Associates an identity provider configuration to a cluster.
@@ -236,15 +249,7 @@ class EKSClient(BaseClient):
236
249
  """
237
250
 
238
251
  def create_access_entry(
239
- self,
240
- *,
241
- clusterName: str,
242
- principalArn: str,
243
- kubernetesGroups: Sequence[str] = ...,
244
- tags: Mapping[str, str] = ...,
245
- clientRequestToken: str = ...,
246
- username: str = ...,
247
- type: str = ...,
252
+ self, **kwargs: Unpack[CreateAccessEntryRequestRequestTypeDef]
248
253
  ) -> CreateAccessEntryResponseTypeDef:
249
254
  """
250
255
  Creates an access entry.
@@ -254,17 +259,7 @@ class EKSClient(BaseClient):
254
259
  """
255
260
 
256
261
  def create_addon(
257
- self,
258
- *,
259
- clusterName: str,
260
- addonName: str,
261
- addonVersion: str = ...,
262
- serviceAccountRoleArn: str = ...,
263
- resolveConflicts: ResolveConflictsType = ...,
264
- clientRequestToken: str = ...,
265
- tags: Mapping[str, str] = ...,
266
- configurationValues: str = ...,
267
- podIdentityAssociations: Sequence[AddonPodIdentityAssociationsTypeDef] = ...,
262
+ self, **kwargs: Unpack[CreateAddonRequestRequestTypeDef]
268
263
  ) -> CreateAddonResponseTypeDef:
269
264
  """
270
265
  Creates an Amazon EKS add-on.
@@ -274,21 +269,7 @@ class EKSClient(BaseClient):
274
269
  """
275
270
 
276
271
  def create_cluster(
277
- self,
278
- *,
279
- name: str,
280
- roleArn: str,
281
- resourcesVpcConfig: VpcConfigRequestTypeDef,
282
- version: str = ...,
283
- kubernetesNetworkConfig: KubernetesNetworkConfigRequestTypeDef = ...,
284
- logging: LoggingUnionTypeDef = ...,
285
- clientRequestToken: str = ...,
286
- tags: Mapping[str, str] = ...,
287
- encryptionConfig: Sequence[EncryptionConfigUnionTypeDef] = ...,
288
- outpostConfig: OutpostConfigRequestTypeDef = ...,
289
- accessConfig: CreateAccessConfigRequestTypeDef = ...,
290
- bootstrapSelfManagedAddons: bool = ...,
291
- upgradePolicy: UpgradePolicyRequestTypeDef = ...,
272
+ self, **kwargs: Unpack[CreateClusterRequestRequestTypeDef]
292
273
  ) -> CreateClusterResponseTypeDef:
293
274
  """
294
275
  Creates an Amazon EKS control plane.
@@ -298,15 +279,7 @@ class EKSClient(BaseClient):
298
279
  """
299
280
 
300
281
  def create_eks_anywhere_subscription(
301
- self,
302
- *,
303
- name: str,
304
- term: EksAnywhereSubscriptionTermTypeDef,
305
- licenseQuantity: int = ...,
306
- licenseType: Literal["Cluster"] = ...,
307
- autoRenew: bool = ...,
308
- clientRequestToken: str = ...,
309
- tags: Mapping[str, str] = ...,
282
+ self, **kwargs: Unpack[CreateEksAnywhereSubscriptionRequestRequestTypeDef]
310
283
  ) -> CreateEksAnywhereSubscriptionResponseTypeDef:
311
284
  """
312
285
  Creates an EKS Anywhere subscription.
@@ -316,15 +289,7 @@ class EKSClient(BaseClient):
316
289
  """
317
290
 
318
291
  def create_fargate_profile(
319
- self,
320
- *,
321
- fargateProfileName: str,
322
- clusterName: str,
323
- podExecutionRoleArn: str,
324
- subnets: Sequence[str] = ...,
325
- selectors: Sequence[FargateProfileSelectorUnionTypeDef] = ...,
326
- clientRequestToken: str = ...,
327
- tags: Mapping[str, str] = ...,
292
+ self, **kwargs: Unpack[CreateFargateProfileRequestRequestTypeDef]
328
293
  ) -> CreateFargateProfileResponseTypeDef:
329
294
  """
330
295
  Creates an Fargate profile for your Amazon EKS cluster.
@@ -334,26 +299,7 @@ class EKSClient(BaseClient):
334
299
  """
335
300
 
336
301
  def create_nodegroup(
337
- self,
338
- *,
339
- clusterName: str,
340
- nodegroupName: str,
341
- subnets: Sequence[str],
342
- nodeRole: str,
343
- scalingConfig: NodegroupScalingConfigTypeDef = ...,
344
- diskSize: int = ...,
345
- instanceTypes: Sequence[str] = ...,
346
- amiType: AMITypesType = ...,
347
- remoteAccess: RemoteAccessConfigUnionTypeDef = ...,
348
- labels: Mapping[str, str] = ...,
349
- taints: Sequence[TaintTypeDef] = ...,
350
- tags: Mapping[str, str] = ...,
351
- clientRequestToken: str = ...,
352
- launchTemplate: LaunchTemplateSpecificationTypeDef = ...,
353
- updateConfig: NodegroupUpdateConfigTypeDef = ...,
354
- capacityType: CapacityTypesType = ...,
355
- version: str = ...,
356
- releaseVersion: str = ...,
302
+ self, **kwargs: Unpack[CreateNodegroupRequestRequestTypeDef]
357
303
  ) -> CreateNodegroupResponseTypeDef:
358
304
  """
359
305
  Creates a managed node group for an Amazon EKS cluster.
@@ -363,14 +309,7 @@ class EKSClient(BaseClient):
363
309
  """
364
310
 
365
311
  def create_pod_identity_association(
366
- self,
367
- *,
368
- clusterName: str,
369
- namespace: str,
370
- serviceAccount: str,
371
- roleArn: str,
372
- clientRequestToken: str = ...,
373
- tags: Mapping[str, str] = ...,
312
+ self, **kwargs: Unpack[CreatePodIdentityAssociationRequestRequestTypeDef]
374
313
  ) -> CreatePodIdentityAssociationResponseTypeDef:
375
314
  """
376
315
  Creates an EKS Pod Identity association between a service account in an Amazon
@@ -381,7 +320,9 @@ class EKSClient(BaseClient):
381
320
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#create_pod_identity_association)
382
321
  """
383
322
 
384
- def delete_access_entry(self, *, clusterName: str, principalArn: str) -> Dict[str, Any]:
323
+ def delete_access_entry(
324
+ self, **kwargs: Unpack[DeleteAccessEntryRequestRequestTypeDef]
325
+ ) -> Dict[str, Any]:
385
326
  """
386
327
  Deletes an access entry.
387
328
 
@@ -390,7 +331,7 @@ class EKSClient(BaseClient):
390
331
  """
391
332
 
392
333
  def delete_addon(
393
- self, *, clusterName: str, addonName: str, preserve: bool = ...
334
+ self, **kwargs: Unpack[DeleteAddonRequestRequestTypeDef]
394
335
  ) -> DeleteAddonResponseTypeDef:
395
336
  """
396
337
  Deletes an Amazon EKS add-on.
@@ -399,7 +340,9 @@ class EKSClient(BaseClient):
399
340
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#delete_addon)
400
341
  """
401
342
 
402
- def delete_cluster(self, *, name: str) -> DeleteClusterResponseTypeDef:
343
+ def delete_cluster(
344
+ self, **kwargs: Unpack[DeleteClusterRequestRequestTypeDef]
345
+ ) -> DeleteClusterResponseTypeDef:
403
346
  """
404
347
  Deletes an Amazon EKS cluster control plane.
405
348
 
@@ -408,7 +351,7 @@ class EKSClient(BaseClient):
408
351
  """
409
352
 
410
353
  def delete_eks_anywhere_subscription(
411
- self, *, id: str
354
+ self, **kwargs: Unpack[DeleteEksAnywhereSubscriptionRequestRequestTypeDef]
412
355
  ) -> DeleteEksAnywhereSubscriptionResponseTypeDef:
413
356
  """
414
357
  Deletes an expired or inactive subscription.
@@ -418,7 +361,7 @@ class EKSClient(BaseClient):
418
361
  """
419
362
 
420
363
  def delete_fargate_profile(
421
- self, *, clusterName: str, fargateProfileName: str
364
+ self, **kwargs: Unpack[DeleteFargateProfileRequestRequestTypeDef]
422
365
  ) -> DeleteFargateProfileResponseTypeDef:
423
366
  """
424
367
  Deletes an Fargate profile.
@@ -428,7 +371,7 @@ class EKSClient(BaseClient):
428
371
  """
429
372
 
430
373
  def delete_nodegroup(
431
- self, *, clusterName: str, nodegroupName: str
374
+ self, **kwargs: Unpack[DeleteNodegroupRequestRequestTypeDef]
432
375
  ) -> DeleteNodegroupResponseTypeDef:
433
376
  """
434
377
  Deletes a managed node group.
@@ -438,7 +381,7 @@ class EKSClient(BaseClient):
438
381
  """
439
382
 
440
383
  def delete_pod_identity_association(
441
- self, *, clusterName: str, associationId: str
384
+ self, **kwargs: Unpack[DeletePodIdentityAssociationRequestRequestTypeDef]
442
385
  ) -> DeletePodIdentityAssociationResponseTypeDef:
443
386
  """
444
387
  Deletes a EKS Pod Identity association.
@@ -447,7 +390,9 @@ class EKSClient(BaseClient):
447
390
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#delete_pod_identity_association)
448
391
  """
449
392
 
450
- def deregister_cluster(self, *, name: str) -> DeregisterClusterResponseTypeDef:
393
+ def deregister_cluster(
394
+ self, **kwargs: Unpack[DeregisterClusterRequestRequestTypeDef]
395
+ ) -> DeregisterClusterResponseTypeDef:
451
396
  """
452
397
  Deregisters a connected cluster to remove it from the Amazon EKS control plane.
453
398
 
@@ -456,7 +401,7 @@ class EKSClient(BaseClient):
456
401
  """
457
402
 
458
403
  def describe_access_entry(
459
- self, *, clusterName: str, principalArn: str
404
+ self, **kwargs: Unpack[DescribeAccessEntryRequestRequestTypeDef]
460
405
  ) -> DescribeAccessEntryResponseTypeDef:
461
406
  """
462
407
  Describes an access entry.
@@ -465,7 +410,9 @@ class EKSClient(BaseClient):
465
410
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_access_entry)
466
411
  """
467
412
 
468
- def describe_addon(self, *, clusterName: str, addonName: str) -> DescribeAddonResponseTypeDef:
413
+ def describe_addon(
414
+ self, **kwargs: Unpack[DescribeAddonRequestRequestTypeDef]
415
+ ) -> DescribeAddonResponseTypeDef:
469
416
  """
470
417
  Describes an Amazon EKS add-on.
471
418
 
@@ -474,7 +421,7 @@ class EKSClient(BaseClient):
474
421
  """
475
422
 
476
423
  def describe_addon_configuration(
477
- self, *, addonName: str, addonVersion: str
424
+ self, **kwargs: Unpack[DescribeAddonConfigurationRequestRequestTypeDef]
478
425
  ) -> DescribeAddonConfigurationResponseTypeDef:
479
426
  """
480
427
  Returns configuration options.
@@ -484,15 +431,7 @@ class EKSClient(BaseClient):
484
431
  """
485
432
 
486
433
  def describe_addon_versions(
487
- self,
488
- *,
489
- kubernetesVersion: str = ...,
490
- maxResults: int = ...,
491
- nextToken: str = ...,
492
- addonName: str = ...,
493
- types: Sequence[str] = ...,
494
- publishers: Sequence[str] = ...,
495
- owners: Sequence[str] = ...,
434
+ self, **kwargs: Unpack[DescribeAddonVersionsRequestRequestTypeDef]
496
435
  ) -> DescribeAddonVersionsResponseTypeDef:
497
436
  """
498
437
  Describes the versions for an add-on.
@@ -501,7 +440,9 @@ class EKSClient(BaseClient):
501
440
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_addon_versions)
502
441
  """
503
442
 
504
- def describe_cluster(self, *, name: str) -> DescribeClusterResponseTypeDef:
443
+ def describe_cluster(
444
+ self, **kwargs: Unpack[DescribeClusterRequestRequestTypeDef]
445
+ ) -> DescribeClusterResponseTypeDef:
505
446
  """
506
447
  Describes an Amazon EKS cluster.
507
448
 
@@ -510,7 +451,7 @@ class EKSClient(BaseClient):
510
451
  """
511
452
 
512
453
  def describe_eks_anywhere_subscription(
513
- self, *, id: str
454
+ self, **kwargs: Unpack[DescribeEksAnywhereSubscriptionRequestRequestTypeDef]
514
455
  ) -> DescribeEksAnywhereSubscriptionResponseTypeDef:
515
456
  """
516
457
  Returns descriptive information about a subscription.
@@ -520,7 +461,7 @@ class EKSClient(BaseClient):
520
461
  """
521
462
 
522
463
  def describe_fargate_profile(
523
- self, *, clusterName: str, fargateProfileName: str
464
+ self, **kwargs: Unpack[DescribeFargateProfileRequestRequestTypeDef]
524
465
  ) -> DescribeFargateProfileResponseTypeDef:
525
466
  """
526
467
  Describes an Fargate profile.
@@ -530,7 +471,7 @@ class EKSClient(BaseClient):
530
471
  """
531
472
 
532
473
  def describe_identity_provider_config(
533
- self, *, clusterName: str, identityProviderConfig: IdentityProviderConfigTypeDef
474
+ self, **kwargs: Unpack[DescribeIdentityProviderConfigRequestRequestTypeDef]
534
475
  ) -> DescribeIdentityProviderConfigResponseTypeDef:
535
476
  """
536
477
  Describes an identity provider configuration.
@@ -539,7 +480,9 @@ class EKSClient(BaseClient):
539
480
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_identity_provider_config)
540
481
  """
541
482
 
542
- def describe_insight(self, *, clusterName: str, id: str) -> DescribeInsightResponseTypeDef:
483
+ def describe_insight(
484
+ self, **kwargs: Unpack[DescribeInsightRequestRequestTypeDef]
485
+ ) -> DescribeInsightResponseTypeDef:
543
486
  """
544
487
  Returns details about an insight that you specify using its ID.
545
488
 
@@ -548,7 +491,7 @@ class EKSClient(BaseClient):
548
491
  """
549
492
 
550
493
  def describe_nodegroup(
551
- self, *, clusterName: str, nodegroupName: str
494
+ self, **kwargs: Unpack[DescribeNodegroupRequestRequestTypeDef]
552
495
  ) -> DescribeNodegroupResponseTypeDef:
553
496
  """
554
497
  Describes a managed node group.
@@ -558,7 +501,7 @@ class EKSClient(BaseClient):
558
501
  """
559
502
 
560
503
  def describe_pod_identity_association(
561
- self, *, clusterName: str, associationId: str
504
+ self, **kwargs: Unpack[DescribePodIdentityAssociationRequestRequestTypeDef]
562
505
  ) -> DescribePodIdentityAssociationResponseTypeDef:
563
506
  """
564
507
  Returns descriptive information about an EKS Pod Identity association.
@@ -568,7 +511,7 @@ class EKSClient(BaseClient):
568
511
  """
569
512
 
570
513
  def describe_update(
571
- self, *, name: str, updateId: str, nodegroupName: str = ..., addonName: str = ...
514
+ self, **kwargs: Unpack[DescribeUpdateRequestRequestTypeDef]
572
515
  ) -> DescribeUpdateResponseTypeDef:
573
516
  """
574
517
  Describes an update to an Amazon EKS resource.
@@ -578,7 +521,7 @@ class EKSClient(BaseClient):
578
521
  """
579
522
 
580
523
  def disassociate_access_policy(
581
- self, *, clusterName: str, principalArn: str, policyArn: str
524
+ self, **kwargs: Unpack[DisassociateAccessPolicyRequestRequestTypeDef]
582
525
  ) -> Dict[str, Any]:
583
526
  """
584
527
  Disassociates an access policy from an access entry.
@@ -588,11 +531,7 @@ class EKSClient(BaseClient):
588
531
  """
589
532
 
590
533
  def disassociate_identity_provider_config(
591
- self,
592
- *,
593
- clusterName: str,
594
- identityProviderConfig: IdentityProviderConfigTypeDef,
595
- clientRequestToken: str = ...,
534
+ self, **kwargs: Unpack[DisassociateIdentityProviderConfigRequestRequestTypeDef]
596
535
  ) -> DisassociateIdentityProviderConfigResponseTypeDef:
597
536
  """
598
537
  Disassociates an identity provider configuration from a cluster.
@@ -616,12 +555,7 @@ class EKSClient(BaseClient):
616
555
  """
617
556
 
618
557
  def list_access_entries(
619
- self,
620
- *,
621
- clusterName: str,
622
- associatedPolicyArn: str = ...,
623
- maxResults: int = ...,
624
- nextToken: str = ...,
558
+ self, **kwargs: Unpack[ListAccessEntriesRequestRequestTypeDef]
625
559
  ) -> ListAccessEntriesResponseTypeDef:
626
560
  """
627
561
  Lists the access entries for your cluster.
@@ -631,7 +565,7 @@ class EKSClient(BaseClient):
631
565
  """
632
566
 
633
567
  def list_access_policies(
634
- self, *, maxResults: int = ..., nextToken: str = ...
568
+ self, **kwargs: Unpack[ListAccessPoliciesRequestRequestTypeDef]
635
569
  ) -> ListAccessPoliciesResponseTypeDef:
636
570
  """
637
571
  Lists the available access policies.
@@ -641,7 +575,7 @@ class EKSClient(BaseClient):
641
575
  """
642
576
 
643
577
  def list_addons(
644
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
578
+ self, **kwargs: Unpack[ListAddonsRequestRequestTypeDef]
645
579
  ) -> ListAddonsResponseTypeDef:
646
580
  """
647
581
  Lists the installed add-ons.
@@ -651,7 +585,7 @@ class EKSClient(BaseClient):
651
585
  """
652
586
 
653
587
  def list_associated_access_policies(
654
- self, *, clusterName: str, principalArn: str, maxResults: int = ..., nextToken: str = ...
588
+ self, **kwargs: Unpack[ListAssociatedAccessPoliciesRequestRequestTypeDef]
655
589
  ) -> ListAssociatedAccessPoliciesResponseTypeDef:
656
590
  """
657
591
  Lists the access policies associated with an access entry.
@@ -661,7 +595,7 @@ class EKSClient(BaseClient):
661
595
  """
662
596
 
663
597
  def list_clusters(
664
- self, *, maxResults: int = ..., nextToken: str = ..., include: Sequence[str] = ...
598
+ self, **kwargs: Unpack[ListClustersRequestRequestTypeDef]
665
599
  ) -> ListClustersResponseTypeDef:
666
600
  """
667
601
  Lists the Amazon EKS clusters in your Amazon Web Services account in the
@@ -673,11 +607,7 @@ class EKSClient(BaseClient):
673
607
  """
674
608
 
675
609
  def list_eks_anywhere_subscriptions(
676
- self,
677
- *,
678
- maxResults: int = ...,
679
- nextToken: str = ...,
680
- includeStatus: Sequence[EksAnywhereSubscriptionStatusType] = ...,
610
+ self, **kwargs: Unpack[ListEksAnywhereSubscriptionsRequestRequestTypeDef]
681
611
  ) -> ListEksAnywhereSubscriptionsResponseTypeDef:
682
612
  """
683
613
  Displays the full description of the subscription.
@@ -687,7 +617,7 @@ class EKSClient(BaseClient):
687
617
  """
688
618
 
689
619
  def list_fargate_profiles(
690
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
620
+ self, **kwargs: Unpack[ListFargateProfilesRequestRequestTypeDef]
691
621
  ) -> ListFargateProfilesResponseTypeDef:
692
622
  """
693
623
  Lists the Fargate profiles associated with the specified cluster in your Amazon
@@ -699,7 +629,7 @@ class EKSClient(BaseClient):
699
629
  """
700
630
 
701
631
  def list_identity_provider_configs(
702
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
632
+ self, **kwargs: Unpack[ListIdentityProviderConfigsRequestRequestTypeDef]
703
633
  ) -> ListIdentityProviderConfigsResponseTypeDef:
704
634
  """
705
635
  Lists the identity provider configurations for your cluster.
@@ -709,12 +639,7 @@ class EKSClient(BaseClient):
709
639
  """
710
640
 
711
641
  def list_insights(
712
- self,
713
- *,
714
- clusterName: str,
715
- filter: InsightsFilterTypeDef = ...,
716
- maxResults: int = ...,
717
- nextToken: str = ...,
642
+ self, **kwargs: Unpack[ListInsightsRequestRequestTypeDef]
718
643
  ) -> ListInsightsResponseTypeDef:
719
644
  """
720
645
  Returns a list of all insights checked for against the specified cluster.
@@ -724,7 +649,7 @@ class EKSClient(BaseClient):
724
649
  """
725
650
 
726
651
  def list_nodegroups(
727
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
652
+ self, **kwargs: Unpack[ListNodegroupsRequestRequestTypeDef]
728
653
  ) -> ListNodegroupsResponseTypeDef:
729
654
  """
730
655
  Lists the managed node groups associated with the specified cluster in your
@@ -736,13 +661,7 @@ class EKSClient(BaseClient):
736
661
  """
737
662
 
738
663
  def list_pod_identity_associations(
739
- self,
740
- *,
741
- clusterName: str,
742
- namespace: str = ...,
743
- serviceAccount: str = ...,
744
- maxResults: int = ...,
745
- nextToken: str = ...,
664
+ self, **kwargs: Unpack[ListPodIdentityAssociationsRequestRequestTypeDef]
746
665
  ) -> ListPodIdentityAssociationsResponseTypeDef:
747
666
  """
748
667
  List the EKS Pod Identity associations in a cluster.
@@ -751,7 +670,9 @@ class EKSClient(BaseClient):
751
670
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#list_pod_identity_associations)
752
671
  """
753
672
 
754
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
673
+ def list_tags_for_resource(
674
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
675
+ ) -> ListTagsForResourceResponseTypeDef:
755
676
  """
756
677
  List the tags for an Amazon EKS resource.
757
678
 
@@ -760,13 +681,7 @@ class EKSClient(BaseClient):
760
681
  """
761
682
 
762
683
  def list_updates(
763
- self,
764
- *,
765
- name: str,
766
- nodegroupName: str = ...,
767
- addonName: str = ...,
768
- nextToken: str = ...,
769
- maxResults: int = ...,
684
+ self, **kwargs: Unpack[ListUpdatesRequestRequestTypeDef]
770
685
  ) -> ListUpdatesResponseTypeDef:
771
686
  """
772
687
  Lists the updates associated with an Amazon EKS resource in your Amazon Web
@@ -778,12 +693,7 @@ class EKSClient(BaseClient):
778
693
  """
779
694
 
780
695
  def register_cluster(
781
- self,
782
- *,
783
- name: str,
784
- connectorConfig: ConnectorConfigRequestTypeDef,
785
- clientRequestToken: str = ...,
786
- tags: Mapping[str, str] = ...,
696
+ self, **kwargs: Unpack[RegisterClusterRequestRequestTypeDef]
787
697
  ) -> RegisterClusterResponseTypeDef:
788
698
  """
789
699
  Connects a Kubernetes cluster to the Amazon EKS control plane.
@@ -792,7 +702,7 @@ class EKSClient(BaseClient):
792
702
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#register_cluster)
793
703
  """
794
704
 
795
- def tag_resource(self, *, resourceArn: str, tags: Mapping[str, str]) -> Dict[str, Any]:
705
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
796
706
  """
797
707
  Associates the specified tags to an Amazon EKS resource with the specified
798
708
  `resourceArn`.
@@ -801,7 +711,9 @@ class EKSClient(BaseClient):
801
711
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#tag_resource)
802
712
  """
803
713
 
804
- def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
714
+ def untag_resource(
715
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
716
+ ) -> Dict[str, Any]:
805
717
  """
806
718
  Deletes specified tags from an Amazon EKS resource.
807
719
 
@@ -810,13 +722,7 @@ class EKSClient(BaseClient):
810
722
  """
811
723
 
812
724
  def update_access_entry(
813
- self,
814
- *,
815
- clusterName: str,
816
- principalArn: str,
817
- kubernetesGroups: Sequence[str] = ...,
818
- clientRequestToken: str = ...,
819
- username: str = ...,
725
+ self, **kwargs: Unpack[UpdateAccessEntryRequestRequestTypeDef]
820
726
  ) -> UpdateAccessEntryResponseTypeDef:
821
727
  """
822
728
  Updates an access entry.
@@ -826,16 +732,7 @@ class EKSClient(BaseClient):
826
732
  """
827
733
 
828
734
  def update_addon(
829
- self,
830
- *,
831
- clusterName: str,
832
- addonName: str,
833
- addonVersion: str = ...,
834
- serviceAccountRoleArn: str = ...,
835
- resolveConflicts: ResolveConflictsType = ...,
836
- clientRequestToken: str = ...,
837
- configurationValues: str = ...,
838
- podIdentityAssociations: Sequence[AddonPodIdentityAssociationsTypeDef] = ...,
735
+ self, **kwargs: Unpack[UpdateAddonRequestRequestTypeDef]
839
736
  ) -> UpdateAddonResponseTypeDef:
840
737
  """
841
738
  Updates an Amazon EKS add-on.
@@ -845,14 +742,7 @@ class EKSClient(BaseClient):
845
742
  """
846
743
 
847
744
  def update_cluster_config(
848
- self,
849
- *,
850
- name: str,
851
- resourcesVpcConfig: VpcConfigRequestTypeDef = ...,
852
- logging: LoggingUnionTypeDef = ...,
853
- clientRequestToken: str = ...,
854
- accessConfig: UpdateAccessConfigRequestTypeDef = ...,
855
- upgradePolicy: UpgradePolicyRequestTypeDef = ...,
745
+ self, **kwargs: Unpack[UpdateClusterConfigRequestRequestTypeDef]
856
746
  ) -> UpdateClusterConfigResponseTypeDef:
857
747
  """
858
748
  Updates an Amazon EKS cluster configuration.
@@ -862,7 +752,7 @@ class EKSClient(BaseClient):
862
752
  """
863
753
 
864
754
  def update_cluster_version(
865
- self, *, name: str, version: str, clientRequestToken: str = ...
755
+ self, **kwargs: Unpack[UpdateClusterVersionRequestRequestTypeDef]
866
756
  ) -> UpdateClusterVersionResponseTypeDef:
867
757
  """
868
758
  Updates an Amazon EKS cluster to the specified Kubernetes version.
@@ -872,7 +762,7 @@ class EKSClient(BaseClient):
872
762
  """
873
763
 
874
764
  def update_eks_anywhere_subscription(
875
- self, *, id: str, autoRenew: bool, clientRequestToken: str = ...
765
+ self, **kwargs: Unpack[UpdateEksAnywhereSubscriptionRequestRequestTypeDef]
876
766
  ) -> UpdateEksAnywhereSubscriptionResponseTypeDef:
877
767
  """
878
768
  Update an EKS Anywhere Subscription.
@@ -882,15 +772,7 @@ class EKSClient(BaseClient):
882
772
  """
883
773
 
884
774
  def update_nodegroup_config(
885
- self,
886
- *,
887
- clusterName: str,
888
- nodegroupName: str,
889
- labels: UpdateLabelsPayloadTypeDef = ...,
890
- taints: UpdateTaintsPayloadTypeDef = ...,
891
- scalingConfig: NodegroupScalingConfigTypeDef = ...,
892
- updateConfig: NodegroupUpdateConfigTypeDef = ...,
893
- clientRequestToken: str = ...,
775
+ self, **kwargs: Unpack[UpdateNodegroupConfigRequestRequestTypeDef]
894
776
  ) -> UpdateNodegroupConfigResponseTypeDef:
895
777
  """
896
778
  Updates an Amazon EKS managed node group configuration.
@@ -900,15 +782,7 @@ class EKSClient(BaseClient):
900
782
  """
901
783
 
902
784
  def update_nodegroup_version(
903
- self,
904
- *,
905
- clusterName: str,
906
- nodegroupName: str,
907
- version: str = ...,
908
- releaseVersion: str = ...,
909
- launchTemplate: LaunchTemplateSpecificationTypeDef = ...,
910
- force: bool = ...,
911
- clientRequestToken: str = ...,
785
+ self, **kwargs: Unpack[UpdateNodegroupVersionRequestRequestTypeDef]
912
786
  ) -> UpdateNodegroupVersionResponseTypeDef:
913
787
  """
914
788
  Updates the Kubernetes version or AMI version of an Amazon EKS managed node
@@ -919,12 +793,7 @@ class EKSClient(BaseClient):
919
793
  """
920
794
 
921
795
  def update_pod_identity_association(
922
- self,
923
- *,
924
- clusterName: str,
925
- associationId: str,
926
- roleArn: str = ...,
927
- clientRequestToken: str = ...,
796
+ self, **kwargs: Unpack[UpdatePodIdentityAssociationRequestRequestTypeDef]
928
797
  ) -> UpdatePodIdentityAssociationResponseTypeDef:
929
798
  """
930
799
  Updates a EKS Pod Identity association.