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.py 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,10 @@ 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
162
+
135
163
 
136
164
  __all__ = ("EKSClient",)
137
165
 
@@ -179,12 +207,7 @@ class EKSClient(BaseClient):
179
207
  """
180
208
 
181
209
  def associate_access_policy(
182
- self,
183
- *,
184
- clusterName: str,
185
- principalArn: str,
186
- policyArn: str,
187
- accessScope: AccessScopeUnionTypeDef,
210
+ self, **kwargs: Unpack[AssociateAccessPolicyRequestRequestTypeDef]
188
211
  ) -> AssociateAccessPolicyResponseTypeDef:
189
212
  """
190
213
  Associates an access policy and its scope to an access entry.
@@ -194,11 +217,7 @@ class EKSClient(BaseClient):
194
217
  """
195
218
 
196
219
  def associate_encryption_config(
197
- self,
198
- *,
199
- clusterName: str,
200
- encryptionConfig: Sequence[EncryptionConfigUnionTypeDef],
201
- clientRequestToken: str = ...,
220
+ self, **kwargs: Unpack[AssociateEncryptionConfigRequestRequestTypeDef]
202
221
  ) -> AssociateEncryptionConfigResponseTypeDef:
203
222
  """
204
223
  Associates an encryption configuration to an existing cluster.
@@ -208,12 +227,7 @@ class EKSClient(BaseClient):
208
227
  """
209
228
 
210
229
  def associate_identity_provider_config(
211
- self,
212
- *,
213
- clusterName: str,
214
- oidc: OidcIdentityProviderConfigRequestTypeDef,
215
- tags: Mapping[str, str] = ...,
216
- clientRequestToken: str = ...,
230
+ self, **kwargs: Unpack[AssociateIdentityProviderConfigRequestRequestTypeDef]
217
231
  ) -> AssociateIdentityProviderConfigResponseTypeDef:
218
232
  """
219
233
  Associates an identity provider configuration to a cluster.
@@ -239,15 +253,7 @@ class EKSClient(BaseClient):
239
253
  """
240
254
 
241
255
  def create_access_entry(
242
- self,
243
- *,
244
- clusterName: str,
245
- principalArn: str,
246
- kubernetesGroups: Sequence[str] = ...,
247
- tags: Mapping[str, str] = ...,
248
- clientRequestToken: str = ...,
249
- username: str = ...,
250
- type: str = ...,
256
+ self, **kwargs: Unpack[CreateAccessEntryRequestRequestTypeDef]
251
257
  ) -> CreateAccessEntryResponseTypeDef:
252
258
  """
253
259
  Creates an access entry.
@@ -257,17 +263,7 @@ class EKSClient(BaseClient):
257
263
  """
258
264
 
259
265
  def create_addon(
260
- self,
261
- *,
262
- clusterName: str,
263
- addonName: str,
264
- addonVersion: str = ...,
265
- serviceAccountRoleArn: str = ...,
266
- resolveConflicts: ResolveConflictsType = ...,
267
- clientRequestToken: str = ...,
268
- tags: Mapping[str, str] = ...,
269
- configurationValues: str = ...,
270
- podIdentityAssociations: Sequence[AddonPodIdentityAssociationsTypeDef] = ...,
266
+ self, **kwargs: Unpack[CreateAddonRequestRequestTypeDef]
271
267
  ) -> CreateAddonResponseTypeDef:
272
268
  """
273
269
  Creates an Amazon EKS add-on.
@@ -277,21 +273,7 @@ class EKSClient(BaseClient):
277
273
  """
278
274
 
279
275
  def create_cluster(
280
- self,
281
- *,
282
- name: str,
283
- roleArn: str,
284
- resourcesVpcConfig: VpcConfigRequestTypeDef,
285
- version: str = ...,
286
- kubernetesNetworkConfig: KubernetesNetworkConfigRequestTypeDef = ...,
287
- logging: LoggingUnionTypeDef = ...,
288
- clientRequestToken: str = ...,
289
- tags: Mapping[str, str] = ...,
290
- encryptionConfig: Sequence[EncryptionConfigUnionTypeDef] = ...,
291
- outpostConfig: OutpostConfigRequestTypeDef = ...,
292
- accessConfig: CreateAccessConfigRequestTypeDef = ...,
293
- bootstrapSelfManagedAddons: bool = ...,
294
- upgradePolicy: UpgradePolicyRequestTypeDef = ...,
276
+ self, **kwargs: Unpack[CreateClusterRequestRequestTypeDef]
295
277
  ) -> CreateClusterResponseTypeDef:
296
278
  """
297
279
  Creates an Amazon EKS control plane.
@@ -301,15 +283,7 @@ class EKSClient(BaseClient):
301
283
  """
302
284
 
303
285
  def create_eks_anywhere_subscription(
304
- self,
305
- *,
306
- name: str,
307
- term: EksAnywhereSubscriptionTermTypeDef,
308
- licenseQuantity: int = ...,
309
- licenseType: Literal["Cluster"] = ...,
310
- autoRenew: bool = ...,
311
- clientRequestToken: str = ...,
312
- tags: Mapping[str, str] = ...,
286
+ self, **kwargs: Unpack[CreateEksAnywhereSubscriptionRequestRequestTypeDef]
313
287
  ) -> CreateEksAnywhereSubscriptionResponseTypeDef:
314
288
  """
315
289
  Creates an EKS Anywhere subscription.
@@ -319,15 +293,7 @@ class EKSClient(BaseClient):
319
293
  """
320
294
 
321
295
  def create_fargate_profile(
322
- self,
323
- *,
324
- fargateProfileName: str,
325
- clusterName: str,
326
- podExecutionRoleArn: str,
327
- subnets: Sequence[str] = ...,
328
- selectors: Sequence[FargateProfileSelectorUnionTypeDef] = ...,
329
- clientRequestToken: str = ...,
330
- tags: Mapping[str, str] = ...,
296
+ self, **kwargs: Unpack[CreateFargateProfileRequestRequestTypeDef]
331
297
  ) -> CreateFargateProfileResponseTypeDef:
332
298
  """
333
299
  Creates an Fargate profile for your Amazon EKS cluster.
@@ -337,26 +303,7 @@ class EKSClient(BaseClient):
337
303
  """
338
304
 
339
305
  def create_nodegroup(
340
- self,
341
- *,
342
- clusterName: str,
343
- nodegroupName: str,
344
- subnets: Sequence[str],
345
- nodeRole: str,
346
- scalingConfig: NodegroupScalingConfigTypeDef = ...,
347
- diskSize: int = ...,
348
- instanceTypes: Sequence[str] = ...,
349
- amiType: AMITypesType = ...,
350
- remoteAccess: RemoteAccessConfigUnionTypeDef = ...,
351
- labels: Mapping[str, str] = ...,
352
- taints: Sequence[TaintTypeDef] = ...,
353
- tags: Mapping[str, str] = ...,
354
- clientRequestToken: str = ...,
355
- launchTemplate: LaunchTemplateSpecificationTypeDef = ...,
356
- updateConfig: NodegroupUpdateConfigTypeDef = ...,
357
- capacityType: CapacityTypesType = ...,
358
- version: str = ...,
359
- releaseVersion: str = ...,
306
+ self, **kwargs: Unpack[CreateNodegroupRequestRequestTypeDef]
360
307
  ) -> CreateNodegroupResponseTypeDef:
361
308
  """
362
309
  Creates a managed node group for an Amazon EKS cluster.
@@ -366,14 +313,7 @@ class EKSClient(BaseClient):
366
313
  """
367
314
 
368
315
  def create_pod_identity_association(
369
- self,
370
- *,
371
- clusterName: str,
372
- namespace: str,
373
- serviceAccount: str,
374
- roleArn: str,
375
- clientRequestToken: str = ...,
376
- tags: Mapping[str, str] = ...,
316
+ self, **kwargs: Unpack[CreatePodIdentityAssociationRequestRequestTypeDef]
377
317
  ) -> CreatePodIdentityAssociationResponseTypeDef:
378
318
  """
379
319
  Creates an EKS Pod Identity association between a service account in an Amazon
@@ -384,7 +324,9 @@ class EKSClient(BaseClient):
384
324
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#create_pod_identity_association)
385
325
  """
386
326
 
387
- def delete_access_entry(self, *, clusterName: str, principalArn: str) -> Dict[str, Any]:
327
+ def delete_access_entry(
328
+ self, **kwargs: Unpack[DeleteAccessEntryRequestRequestTypeDef]
329
+ ) -> Dict[str, Any]:
388
330
  """
389
331
  Deletes an access entry.
390
332
 
@@ -393,7 +335,7 @@ class EKSClient(BaseClient):
393
335
  """
394
336
 
395
337
  def delete_addon(
396
- self, *, clusterName: str, addonName: str, preserve: bool = ...
338
+ self, **kwargs: Unpack[DeleteAddonRequestRequestTypeDef]
397
339
  ) -> DeleteAddonResponseTypeDef:
398
340
  """
399
341
  Deletes an Amazon EKS add-on.
@@ -402,7 +344,9 @@ class EKSClient(BaseClient):
402
344
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#delete_addon)
403
345
  """
404
346
 
405
- def delete_cluster(self, *, name: str) -> DeleteClusterResponseTypeDef:
347
+ def delete_cluster(
348
+ self, **kwargs: Unpack[DeleteClusterRequestRequestTypeDef]
349
+ ) -> DeleteClusterResponseTypeDef:
406
350
  """
407
351
  Deletes an Amazon EKS cluster control plane.
408
352
 
@@ -411,7 +355,7 @@ class EKSClient(BaseClient):
411
355
  """
412
356
 
413
357
  def delete_eks_anywhere_subscription(
414
- self, *, id: str
358
+ self, **kwargs: Unpack[DeleteEksAnywhereSubscriptionRequestRequestTypeDef]
415
359
  ) -> DeleteEksAnywhereSubscriptionResponseTypeDef:
416
360
  """
417
361
  Deletes an expired or inactive subscription.
@@ -421,7 +365,7 @@ class EKSClient(BaseClient):
421
365
  """
422
366
 
423
367
  def delete_fargate_profile(
424
- self, *, clusterName: str, fargateProfileName: str
368
+ self, **kwargs: Unpack[DeleteFargateProfileRequestRequestTypeDef]
425
369
  ) -> DeleteFargateProfileResponseTypeDef:
426
370
  """
427
371
  Deletes an Fargate profile.
@@ -431,7 +375,7 @@ class EKSClient(BaseClient):
431
375
  """
432
376
 
433
377
  def delete_nodegroup(
434
- self, *, clusterName: str, nodegroupName: str
378
+ self, **kwargs: Unpack[DeleteNodegroupRequestRequestTypeDef]
435
379
  ) -> DeleteNodegroupResponseTypeDef:
436
380
  """
437
381
  Deletes a managed node group.
@@ -441,7 +385,7 @@ class EKSClient(BaseClient):
441
385
  """
442
386
 
443
387
  def delete_pod_identity_association(
444
- self, *, clusterName: str, associationId: str
388
+ self, **kwargs: Unpack[DeletePodIdentityAssociationRequestRequestTypeDef]
445
389
  ) -> DeletePodIdentityAssociationResponseTypeDef:
446
390
  """
447
391
  Deletes a EKS Pod Identity association.
@@ -450,7 +394,9 @@ class EKSClient(BaseClient):
450
394
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#delete_pod_identity_association)
451
395
  """
452
396
 
453
- def deregister_cluster(self, *, name: str) -> DeregisterClusterResponseTypeDef:
397
+ def deregister_cluster(
398
+ self, **kwargs: Unpack[DeregisterClusterRequestRequestTypeDef]
399
+ ) -> DeregisterClusterResponseTypeDef:
454
400
  """
455
401
  Deregisters a connected cluster to remove it from the Amazon EKS control plane.
456
402
 
@@ -459,7 +405,7 @@ class EKSClient(BaseClient):
459
405
  """
460
406
 
461
407
  def describe_access_entry(
462
- self, *, clusterName: str, principalArn: str
408
+ self, **kwargs: Unpack[DescribeAccessEntryRequestRequestTypeDef]
463
409
  ) -> DescribeAccessEntryResponseTypeDef:
464
410
  """
465
411
  Describes an access entry.
@@ -468,7 +414,9 @@ class EKSClient(BaseClient):
468
414
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_access_entry)
469
415
  """
470
416
 
471
- def describe_addon(self, *, clusterName: str, addonName: str) -> DescribeAddonResponseTypeDef:
417
+ def describe_addon(
418
+ self, **kwargs: Unpack[DescribeAddonRequestRequestTypeDef]
419
+ ) -> DescribeAddonResponseTypeDef:
472
420
  """
473
421
  Describes an Amazon EKS add-on.
474
422
 
@@ -477,7 +425,7 @@ class EKSClient(BaseClient):
477
425
  """
478
426
 
479
427
  def describe_addon_configuration(
480
- self, *, addonName: str, addonVersion: str
428
+ self, **kwargs: Unpack[DescribeAddonConfigurationRequestRequestTypeDef]
481
429
  ) -> DescribeAddonConfigurationResponseTypeDef:
482
430
  """
483
431
  Returns configuration options.
@@ -487,15 +435,7 @@ class EKSClient(BaseClient):
487
435
  """
488
436
 
489
437
  def describe_addon_versions(
490
- self,
491
- *,
492
- kubernetesVersion: str = ...,
493
- maxResults: int = ...,
494
- nextToken: str = ...,
495
- addonName: str = ...,
496
- types: Sequence[str] = ...,
497
- publishers: Sequence[str] = ...,
498
- owners: Sequence[str] = ...,
438
+ self, **kwargs: Unpack[DescribeAddonVersionsRequestRequestTypeDef]
499
439
  ) -> DescribeAddonVersionsResponseTypeDef:
500
440
  """
501
441
  Describes the versions for an add-on.
@@ -504,7 +444,9 @@ class EKSClient(BaseClient):
504
444
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_addon_versions)
505
445
  """
506
446
 
507
- def describe_cluster(self, *, name: str) -> DescribeClusterResponseTypeDef:
447
+ def describe_cluster(
448
+ self, **kwargs: Unpack[DescribeClusterRequestRequestTypeDef]
449
+ ) -> DescribeClusterResponseTypeDef:
508
450
  """
509
451
  Describes an Amazon EKS cluster.
510
452
 
@@ -513,7 +455,7 @@ class EKSClient(BaseClient):
513
455
  """
514
456
 
515
457
  def describe_eks_anywhere_subscription(
516
- self, *, id: str
458
+ self, **kwargs: Unpack[DescribeEksAnywhereSubscriptionRequestRequestTypeDef]
517
459
  ) -> DescribeEksAnywhereSubscriptionResponseTypeDef:
518
460
  """
519
461
  Returns descriptive information about a subscription.
@@ -523,7 +465,7 @@ class EKSClient(BaseClient):
523
465
  """
524
466
 
525
467
  def describe_fargate_profile(
526
- self, *, clusterName: str, fargateProfileName: str
468
+ self, **kwargs: Unpack[DescribeFargateProfileRequestRequestTypeDef]
527
469
  ) -> DescribeFargateProfileResponseTypeDef:
528
470
  """
529
471
  Describes an Fargate profile.
@@ -533,7 +475,7 @@ class EKSClient(BaseClient):
533
475
  """
534
476
 
535
477
  def describe_identity_provider_config(
536
- self, *, clusterName: str, identityProviderConfig: IdentityProviderConfigTypeDef
478
+ self, **kwargs: Unpack[DescribeIdentityProviderConfigRequestRequestTypeDef]
537
479
  ) -> DescribeIdentityProviderConfigResponseTypeDef:
538
480
  """
539
481
  Describes an identity provider configuration.
@@ -542,7 +484,9 @@ class EKSClient(BaseClient):
542
484
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#describe_identity_provider_config)
543
485
  """
544
486
 
545
- def describe_insight(self, *, clusterName: str, id: str) -> DescribeInsightResponseTypeDef:
487
+ def describe_insight(
488
+ self, **kwargs: Unpack[DescribeInsightRequestRequestTypeDef]
489
+ ) -> DescribeInsightResponseTypeDef:
546
490
  """
547
491
  Returns details about an insight that you specify using its ID.
548
492
 
@@ -551,7 +495,7 @@ class EKSClient(BaseClient):
551
495
  """
552
496
 
553
497
  def describe_nodegroup(
554
- self, *, clusterName: str, nodegroupName: str
498
+ self, **kwargs: Unpack[DescribeNodegroupRequestRequestTypeDef]
555
499
  ) -> DescribeNodegroupResponseTypeDef:
556
500
  """
557
501
  Describes a managed node group.
@@ -561,7 +505,7 @@ class EKSClient(BaseClient):
561
505
  """
562
506
 
563
507
  def describe_pod_identity_association(
564
- self, *, clusterName: str, associationId: str
508
+ self, **kwargs: Unpack[DescribePodIdentityAssociationRequestRequestTypeDef]
565
509
  ) -> DescribePodIdentityAssociationResponseTypeDef:
566
510
  """
567
511
  Returns descriptive information about an EKS Pod Identity association.
@@ -571,7 +515,7 @@ class EKSClient(BaseClient):
571
515
  """
572
516
 
573
517
  def describe_update(
574
- self, *, name: str, updateId: str, nodegroupName: str = ..., addonName: str = ...
518
+ self, **kwargs: Unpack[DescribeUpdateRequestRequestTypeDef]
575
519
  ) -> DescribeUpdateResponseTypeDef:
576
520
  """
577
521
  Describes an update to an Amazon EKS resource.
@@ -581,7 +525,7 @@ class EKSClient(BaseClient):
581
525
  """
582
526
 
583
527
  def disassociate_access_policy(
584
- self, *, clusterName: str, principalArn: str, policyArn: str
528
+ self, **kwargs: Unpack[DisassociateAccessPolicyRequestRequestTypeDef]
585
529
  ) -> Dict[str, Any]:
586
530
  """
587
531
  Disassociates an access policy from an access entry.
@@ -591,11 +535,7 @@ class EKSClient(BaseClient):
591
535
  """
592
536
 
593
537
  def disassociate_identity_provider_config(
594
- self,
595
- *,
596
- clusterName: str,
597
- identityProviderConfig: IdentityProviderConfigTypeDef,
598
- clientRequestToken: str = ...,
538
+ self, **kwargs: Unpack[DisassociateIdentityProviderConfigRequestRequestTypeDef]
599
539
  ) -> DisassociateIdentityProviderConfigResponseTypeDef:
600
540
  """
601
541
  Disassociates an identity provider configuration from a cluster.
@@ -619,12 +559,7 @@ class EKSClient(BaseClient):
619
559
  """
620
560
 
621
561
  def list_access_entries(
622
- self,
623
- *,
624
- clusterName: str,
625
- associatedPolicyArn: str = ...,
626
- maxResults: int = ...,
627
- nextToken: str = ...,
562
+ self, **kwargs: Unpack[ListAccessEntriesRequestRequestTypeDef]
628
563
  ) -> ListAccessEntriesResponseTypeDef:
629
564
  """
630
565
  Lists the access entries for your cluster.
@@ -634,7 +569,7 @@ class EKSClient(BaseClient):
634
569
  """
635
570
 
636
571
  def list_access_policies(
637
- self, *, maxResults: int = ..., nextToken: str = ...
572
+ self, **kwargs: Unpack[ListAccessPoliciesRequestRequestTypeDef]
638
573
  ) -> ListAccessPoliciesResponseTypeDef:
639
574
  """
640
575
  Lists the available access policies.
@@ -644,7 +579,7 @@ class EKSClient(BaseClient):
644
579
  """
645
580
 
646
581
  def list_addons(
647
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
582
+ self, **kwargs: Unpack[ListAddonsRequestRequestTypeDef]
648
583
  ) -> ListAddonsResponseTypeDef:
649
584
  """
650
585
  Lists the installed add-ons.
@@ -654,7 +589,7 @@ class EKSClient(BaseClient):
654
589
  """
655
590
 
656
591
  def list_associated_access_policies(
657
- self, *, clusterName: str, principalArn: str, maxResults: int = ..., nextToken: str = ...
592
+ self, **kwargs: Unpack[ListAssociatedAccessPoliciesRequestRequestTypeDef]
658
593
  ) -> ListAssociatedAccessPoliciesResponseTypeDef:
659
594
  """
660
595
  Lists the access policies associated with an access entry.
@@ -664,7 +599,7 @@ class EKSClient(BaseClient):
664
599
  """
665
600
 
666
601
  def list_clusters(
667
- self, *, maxResults: int = ..., nextToken: str = ..., include: Sequence[str] = ...
602
+ self, **kwargs: Unpack[ListClustersRequestRequestTypeDef]
668
603
  ) -> ListClustersResponseTypeDef:
669
604
  """
670
605
  Lists the Amazon EKS clusters in your Amazon Web Services account in the
@@ -676,11 +611,7 @@ class EKSClient(BaseClient):
676
611
  """
677
612
 
678
613
  def list_eks_anywhere_subscriptions(
679
- self,
680
- *,
681
- maxResults: int = ...,
682
- nextToken: str = ...,
683
- includeStatus: Sequence[EksAnywhereSubscriptionStatusType] = ...,
614
+ self, **kwargs: Unpack[ListEksAnywhereSubscriptionsRequestRequestTypeDef]
684
615
  ) -> ListEksAnywhereSubscriptionsResponseTypeDef:
685
616
  """
686
617
  Displays the full description of the subscription.
@@ -690,7 +621,7 @@ class EKSClient(BaseClient):
690
621
  """
691
622
 
692
623
  def list_fargate_profiles(
693
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
624
+ self, **kwargs: Unpack[ListFargateProfilesRequestRequestTypeDef]
694
625
  ) -> ListFargateProfilesResponseTypeDef:
695
626
  """
696
627
  Lists the Fargate profiles associated with the specified cluster in your Amazon
@@ -702,7 +633,7 @@ class EKSClient(BaseClient):
702
633
  """
703
634
 
704
635
  def list_identity_provider_configs(
705
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
636
+ self, **kwargs: Unpack[ListIdentityProviderConfigsRequestRequestTypeDef]
706
637
  ) -> ListIdentityProviderConfigsResponseTypeDef:
707
638
  """
708
639
  Lists the identity provider configurations for your cluster.
@@ -712,12 +643,7 @@ class EKSClient(BaseClient):
712
643
  """
713
644
 
714
645
  def list_insights(
715
- self,
716
- *,
717
- clusterName: str,
718
- filter: InsightsFilterTypeDef = ...,
719
- maxResults: int = ...,
720
- nextToken: str = ...,
646
+ self, **kwargs: Unpack[ListInsightsRequestRequestTypeDef]
721
647
  ) -> ListInsightsResponseTypeDef:
722
648
  """
723
649
  Returns a list of all insights checked for against the specified cluster.
@@ -727,7 +653,7 @@ class EKSClient(BaseClient):
727
653
  """
728
654
 
729
655
  def list_nodegroups(
730
- self, *, clusterName: str, maxResults: int = ..., nextToken: str = ...
656
+ self, **kwargs: Unpack[ListNodegroupsRequestRequestTypeDef]
731
657
  ) -> ListNodegroupsResponseTypeDef:
732
658
  """
733
659
  Lists the managed node groups associated with the specified cluster in your
@@ -739,13 +665,7 @@ class EKSClient(BaseClient):
739
665
  """
740
666
 
741
667
  def list_pod_identity_associations(
742
- self,
743
- *,
744
- clusterName: str,
745
- namespace: str = ...,
746
- serviceAccount: str = ...,
747
- maxResults: int = ...,
748
- nextToken: str = ...,
668
+ self, **kwargs: Unpack[ListPodIdentityAssociationsRequestRequestTypeDef]
749
669
  ) -> ListPodIdentityAssociationsResponseTypeDef:
750
670
  """
751
671
  List the EKS Pod Identity associations in a cluster.
@@ -754,7 +674,9 @@ class EKSClient(BaseClient):
754
674
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#list_pod_identity_associations)
755
675
  """
756
676
 
757
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
677
+ def list_tags_for_resource(
678
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
679
+ ) -> ListTagsForResourceResponseTypeDef:
758
680
  """
759
681
  List the tags for an Amazon EKS resource.
760
682
 
@@ -763,13 +685,7 @@ class EKSClient(BaseClient):
763
685
  """
764
686
 
765
687
  def list_updates(
766
- self,
767
- *,
768
- name: str,
769
- nodegroupName: str = ...,
770
- addonName: str = ...,
771
- nextToken: str = ...,
772
- maxResults: int = ...,
688
+ self, **kwargs: Unpack[ListUpdatesRequestRequestTypeDef]
773
689
  ) -> ListUpdatesResponseTypeDef:
774
690
  """
775
691
  Lists the updates associated with an Amazon EKS resource in your Amazon Web
@@ -781,12 +697,7 @@ class EKSClient(BaseClient):
781
697
  """
782
698
 
783
699
  def register_cluster(
784
- self,
785
- *,
786
- name: str,
787
- connectorConfig: ConnectorConfigRequestTypeDef,
788
- clientRequestToken: str = ...,
789
- tags: Mapping[str, str] = ...,
700
+ self, **kwargs: Unpack[RegisterClusterRequestRequestTypeDef]
790
701
  ) -> RegisterClusterResponseTypeDef:
791
702
  """
792
703
  Connects a Kubernetes cluster to the Amazon EKS control plane.
@@ -795,7 +706,7 @@ class EKSClient(BaseClient):
795
706
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#register_cluster)
796
707
  """
797
708
 
798
- def tag_resource(self, *, resourceArn: str, tags: Mapping[str, str]) -> Dict[str, Any]:
709
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
799
710
  """
800
711
  Associates the specified tags to an Amazon EKS resource with the specified
801
712
  `resourceArn`.
@@ -804,7 +715,9 @@ class EKSClient(BaseClient):
804
715
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/client/#tag_resource)
805
716
  """
806
717
 
807
- def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
718
+ def untag_resource(
719
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
720
+ ) -> Dict[str, Any]:
808
721
  """
809
722
  Deletes specified tags from an Amazon EKS resource.
810
723
 
@@ -813,13 +726,7 @@ class EKSClient(BaseClient):
813
726
  """
814
727
 
815
728
  def update_access_entry(
816
- self,
817
- *,
818
- clusterName: str,
819
- principalArn: str,
820
- kubernetesGroups: Sequence[str] = ...,
821
- clientRequestToken: str = ...,
822
- username: str = ...,
729
+ self, **kwargs: Unpack[UpdateAccessEntryRequestRequestTypeDef]
823
730
  ) -> UpdateAccessEntryResponseTypeDef:
824
731
  """
825
732
  Updates an access entry.
@@ -829,16 +736,7 @@ class EKSClient(BaseClient):
829
736
  """
830
737
 
831
738
  def update_addon(
832
- self,
833
- *,
834
- clusterName: str,
835
- addonName: str,
836
- addonVersion: str = ...,
837
- serviceAccountRoleArn: str = ...,
838
- resolveConflicts: ResolveConflictsType = ...,
839
- clientRequestToken: str = ...,
840
- configurationValues: str = ...,
841
- podIdentityAssociations: Sequence[AddonPodIdentityAssociationsTypeDef] = ...,
739
+ self, **kwargs: Unpack[UpdateAddonRequestRequestTypeDef]
842
740
  ) -> UpdateAddonResponseTypeDef:
843
741
  """
844
742
  Updates an Amazon EKS add-on.
@@ -848,14 +746,7 @@ class EKSClient(BaseClient):
848
746
  """
849
747
 
850
748
  def update_cluster_config(
851
- self,
852
- *,
853
- name: str,
854
- resourcesVpcConfig: VpcConfigRequestTypeDef = ...,
855
- logging: LoggingUnionTypeDef = ...,
856
- clientRequestToken: str = ...,
857
- accessConfig: UpdateAccessConfigRequestTypeDef = ...,
858
- upgradePolicy: UpgradePolicyRequestTypeDef = ...,
749
+ self, **kwargs: Unpack[UpdateClusterConfigRequestRequestTypeDef]
859
750
  ) -> UpdateClusterConfigResponseTypeDef:
860
751
  """
861
752
  Updates an Amazon EKS cluster configuration.
@@ -865,7 +756,7 @@ class EKSClient(BaseClient):
865
756
  """
866
757
 
867
758
  def update_cluster_version(
868
- self, *, name: str, version: str, clientRequestToken: str = ...
759
+ self, **kwargs: Unpack[UpdateClusterVersionRequestRequestTypeDef]
869
760
  ) -> UpdateClusterVersionResponseTypeDef:
870
761
  """
871
762
  Updates an Amazon EKS cluster to the specified Kubernetes version.
@@ -875,7 +766,7 @@ class EKSClient(BaseClient):
875
766
  """
876
767
 
877
768
  def update_eks_anywhere_subscription(
878
- self, *, id: str, autoRenew: bool, clientRequestToken: str = ...
769
+ self, **kwargs: Unpack[UpdateEksAnywhereSubscriptionRequestRequestTypeDef]
879
770
  ) -> UpdateEksAnywhereSubscriptionResponseTypeDef:
880
771
  """
881
772
  Update an EKS Anywhere Subscription.
@@ -885,15 +776,7 @@ class EKSClient(BaseClient):
885
776
  """
886
777
 
887
778
  def update_nodegroup_config(
888
- self,
889
- *,
890
- clusterName: str,
891
- nodegroupName: str,
892
- labels: UpdateLabelsPayloadTypeDef = ...,
893
- taints: UpdateTaintsPayloadTypeDef = ...,
894
- scalingConfig: NodegroupScalingConfigTypeDef = ...,
895
- updateConfig: NodegroupUpdateConfigTypeDef = ...,
896
- clientRequestToken: str = ...,
779
+ self, **kwargs: Unpack[UpdateNodegroupConfigRequestRequestTypeDef]
897
780
  ) -> UpdateNodegroupConfigResponseTypeDef:
898
781
  """
899
782
  Updates an Amazon EKS managed node group configuration.
@@ -903,15 +786,7 @@ class EKSClient(BaseClient):
903
786
  """
904
787
 
905
788
  def update_nodegroup_version(
906
- self,
907
- *,
908
- clusterName: str,
909
- nodegroupName: str,
910
- version: str = ...,
911
- releaseVersion: str = ...,
912
- launchTemplate: LaunchTemplateSpecificationTypeDef = ...,
913
- force: bool = ...,
914
- clientRequestToken: str = ...,
789
+ self, **kwargs: Unpack[UpdateNodegroupVersionRequestRequestTypeDef]
915
790
  ) -> UpdateNodegroupVersionResponseTypeDef:
916
791
  """
917
792
  Updates the Kubernetes version or AMI version of an Amazon EKS managed node
@@ -922,12 +797,7 @@ class EKSClient(BaseClient):
922
797
  """
923
798
 
924
799
  def update_pod_identity_association(
925
- self,
926
- *,
927
- clusterName: str,
928
- associationId: str,
929
- roleArn: str = ...,
930
- clientRequestToken: str = ...,
800
+ self, **kwargs: Unpack[UpdatePodIdentityAssociationRequestRequestTypeDef]
931
801
  ) -> UpdatePodIdentityAssociationResponseTypeDef:
932
802
  """
933
803
  Updates a EKS Pod Identity association.