mypy-boto3-eks 1.35.0__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.
@@ -45,23 +45,15 @@ from .literals import (
45
45
  )
46
46
 
47
47
  if sys.version_info >= (3, 12):
48
- from typing import Literal
48
+ from typing import Literal, NotRequired, TypedDict
49
49
  else:
50
- from typing_extensions import Literal
51
- if sys.version_info >= (3, 12):
52
- from typing import NotRequired
53
- else:
54
- from typing_extensions import NotRequired
55
- if sys.version_info >= (3, 12):
56
- from typing import TypedDict
57
- else:
58
- from typing_extensions import TypedDict
50
+ from typing_extensions import Literal, NotRequired, TypedDict
51
+
59
52
 
60
53
  __all__ = (
61
54
  "AccessConfigResponseTypeDef",
62
55
  "AccessEntryTypeDef",
63
56
  "AccessPolicyTypeDef",
64
- "AccessScopeExtraOutputTypeDef",
65
57
  "AccessScopeOutputTypeDef",
66
58
  "AccessScopeTypeDef",
67
59
  "AddonIssueTypeDef",
@@ -79,6 +71,7 @@ __all__ = (
79
71
  "KubernetesNetworkConfigResponseTypeDef",
80
72
  "UpgradePolicyResponseTypeDef",
81
73
  "VpcConfigResponseTypeDef",
74
+ "ZonalShiftConfigResponseTypeDef",
82
75
  "ConnectorConfigRequestTypeDef",
83
76
  "ControlPlanePlacementRequestTypeDef",
84
77
  "ControlPlanePlacementResponseTypeDef",
@@ -87,6 +80,7 @@ __all__ = (
87
80
  "KubernetesNetworkConfigRequestTypeDef",
88
81
  "UpgradePolicyRequestTypeDef",
89
82
  "VpcConfigRequestTypeDef",
83
+ "ZonalShiftConfigRequestTypeDef",
90
84
  "EksAnywhereSubscriptionTermTypeDef",
91
85
  "LaunchTemplateSpecificationTypeDef",
92
86
  "NodegroupScalingConfigTypeDef",
@@ -154,7 +148,6 @@ __all__ = (
154
148
  "UpdateParamTypeDef",
155
149
  "UpdatePodIdentityAssociationRequestRequestTypeDef",
156
150
  "AssociatedAccessPolicyTypeDef",
157
- "AccessScopeUnionTypeDef",
158
151
  "AssociateAccessPolicyRequestRequestTypeDef",
159
152
  "AddonHealthTypeDef",
160
153
  "CreateAddonRequestRequestTypeDef",
@@ -224,8 +217,7 @@ __all__ = (
224
217
  "NodegroupHealthTypeDef",
225
218
  "ListPodIdentityAssociationsResponseTypeDef",
226
219
  "LoggingOutputTypeDef",
227
- "LoggingTypeDef",
228
- "RemoteAccessConfigUnionTypeDef",
220
+ "LogSetupUnionTypeDef",
229
221
  "UpdateTypeDef",
230
222
  "AssociateAccessPolicyResponseTypeDef",
231
223
  "ListAssociatedAccessPoliciesResponseTypeDef",
@@ -245,8 +237,7 @@ __all__ = (
245
237
  "ListInsightsResponseTypeDef",
246
238
  "NodegroupTypeDef",
247
239
  "ClusterTypeDef",
248
- "LoggingUnionTypeDef",
249
- "UpdateClusterConfigRequestRequestTypeDef",
240
+ "LoggingTypeDef",
250
241
  "AssociateEncryptionConfigResponseTypeDef",
251
242
  "AssociateIdentityProviderConfigResponseTypeDef",
252
243
  "DescribeUpdateResponseTypeDef",
@@ -262,7 +253,6 @@ __all__ = (
262
253
  "DescribeAddonVersionsResponseTypeDef",
263
254
  "InsightTypeDef",
264
255
  "AssociateEncryptionConfigRequestRequestTypeDef",
265
- "CreateClusterRequestRequestTypeDef",
266
256
  "CreateFargateProfileResponseTypeDef",
267
257
  "DeleteFargateProfileResponseTypeDef",
268
258
  "DescribeFargateProfileResponseTypeDef",
@@ -274,6 +264,8 @@ __all__ = (
274
264
  "DeregisterClusterResponseTypeDef",
275
265
  "DescribeClusterResponseTypeDef",
276
266
  "RegisterClusterResponseTypeDef",
267
+ "CreateClusterRequestRequestTypeDef",
268
+ "UpdateClusterConfigRequestRequestTypeDef",
277
269
  "DescribeInsightResponseTypeDef",
278
270
  )
279
271
 
@@ -305,13 +297,6 @@ AccessPolicyTypeDef = TypedDict(
305
297
  "arn": NotRequired[str],
306
298
  },
307
299
  )
308
- AccessScopeExtraOutputTypeDef = TypedDict(
309
- "AccessScopeExtraOutputTypeDef",
310
- {
311
- "type": NotRequired[AccessScopeTypeType],
312
- "namespaces": NotRequired[List[str]],
313
- },
314
- )
315
300
  AccessScopeOutputTypeDef = TypedDict(
316
301
  "AccessScopeOutputTypeDef",
317
302
  {
@@ -450,6 +435,12 @@ VpcConfigResponseTypeDef = TypedDict(
450
435
  "publicAccessCidrs": NotRequired[List[str]],
451
436
  },
452
437
  )
438
+ ZonalShiftConfigResponseTypeDef = TypedDict(
439
+ "ZonalShiftConfigResponseTypeDef",
440
+ {
441
+ "enabled": NotRequired[bool],
442
+ },
443
+ )
453
444
  ConnectorConfigRequestTypeDef = TypedDict(
454
445
  "ConnectorConfigRequestTypeDef",
455
446
  {
@@ -511,6 +502,12 @@ VpcConfigRequestTypeDef = TypedDict(
511
502
  "publicAccessCidrs": NotRequired[Sequence[str]],
512
503
  },
513
504
  )
505
+ ZonalShiftConfigRequestTypeDef = TypedDict(
506
+ "ZonalShiftConfigRequestTypeDef",
507
+ {
508
+ "enabled": NotRequired[bool],
509
+ },
510
+ )
514
511
  EksAnywhereSubscriptionTermTypeDef = TypedDict(
515
512
  "EksAnywhereSubscriptionTermTypeDef",
516
513
  {
@@ -1039,7 +1036,6 @@ AssociatedAccessPolicyTypeDef = TypedDict(
1039
1036
  "modifiedAt": NotRequired[datetime],
1040
1037
  },
1041
1038
  )
1042
- AccessScopeUnionTypeDef = Union[AccessScopeTypeDef, AccessScopeExtraOutputTypeDef]
1043
1039
  AssociateAccessPolicyRequestRequestTypeDef = TypedDict(
1044
1040
  "AssociateAccessPolicyRequestRequestTypeDef",
1045
1041
  {
@@ -1613,13 +1609,7 @@ LoggingOutputTypeDef = TypedDict(
1613
1609
  "clusterLogging": NotRequired[List[LogSetupOutputTypeDef]],
1614
1610
  },
1615
1611
  )
1616
- LoggingTypeDef = TypedDict(
1617
- "LoggingTypeDef",
1618
- {
1619
- "clusterLogging": NotRequired[Sequence[LogSetupTypeDef]],
1620
- },
1621
- )
1622
- RemoteAccessConfigUnionTypeDef = Union[RemoteAccessConfigTypeDef, RemoteAccessConfigOutputTypeDef]
1612
+ LogSetupUnionTypeDef = Union[LogSetupTypeDef, LogSetupOutputTypeDef]
1623
1613
  UpdateTypeDef = TypedDict(
1624
1614
  "UpdateTypeDef",
1625
1615
  {
@@ -1831,18 +1821,13 @@ ClusterTypeDef = TypedDict(
1831
1821
  "outpostConfig": NotRequired[OutpostConfigResponseTypeDef],
1832
1822
  "accessConfig": NotRequired[AccessConfigResponseTypeDef],
1833
1823
  "upgradePolicy": NotRequired[UpgradePolicyResponseTypeDef],
1824
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigResponseTypeDef],
1834
1825
  },
1835
1826
  )
1836
- LoggingUnionTypeDef = Union[LoggingTypeDef, LoggingOutputTypeDef]
1837
- UpdateClusterConfigRequestRequestTypeDef = TypedDict(
1838
- "UpdateClusterConfigRequestRequestTypeDef",
1827
+ LoggingTypeDef = TypedDict(
1828
+ "LoggingTypeDef",
1839
1829
  {
1840
- "name": str,
1841
- "resourcesVpcConfig": NotRequired[VpcConfigRequestTypeDef],
1842
- "logging": NotRequired[LoggingTypeDef],
1843
- "clientRequestToken": NotRequired[str],
1844
- "accessConfig": NotRequired[UpdateAccessConfigRequestTypeDef],
1845
- "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
1830
+ "clusterLogging": NotRequired[Sequence[LogSetupUnionTypeDef]],
1846
1831
  },
1847
1832
  )
1848
1833
  AssociateEncryptionConfigResponseTypeDef = TypedDict(
@@ -1963,24 +1948,6 @@ AssociateEncryptionConfigRequestRequestTypeDef = TypedDict(
1963
1948
  "clientRequestToken": NotRequired[str],
1964
1949
  },
1965
1950
  )
1966
- CreateClusterRequestRequestTypeDef = TypedDict(
1967
- "CreateClusterRequestRequestTypeDef",
1968
- {
1969
- "name": str,
1970
- "roleArn": str,
1971
- "resourcesVpcConfig": VpcConfigRequestTypeDef,
1972
- "version": NotRequired[str],
1973
- "kubernetesNetworkConfig": NotRequired[KubernetesNetworkConfigRequestTypeDef],
1974
- "logging": NotRequired[LoggingTypeDef],
1975
- "clientRequestToken": NotRequired[str],
1976
- "tags": NotRequired[Mapping[str, str]],
1977
- "encryptionConfig": NotRequired[Sequence[EncryptionConfigUnionTypeDef]],
1978
- "outpostConfig": NotRequired[OutpostConfigRequestTypeDef],
1979
- "accessConfig": NotRequired[CreateAccessConfigRequestTypeDef],
1980
- "bootstrapSelfManagedAddons": NotRequired[bool],
1981
- "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
1982
- },
1983
- )
1984
1951
  CreateFargateProfileResponseTypeDef = TypedDict(
1985
1952
  "CreateFargateProfileResponseTypeDef",
1986
1953
  {
@@ -2058,6 +2025,37 @@ RegisterClusterResponseTypeDef = TypedDict(
2058
2025
  "ResponseMetadata": ResponseMetadataTypeDef,
2059
2026
  },
2060
2027
  )
2028
+ CreateClusterRequestRequestTypeDef = TypedDict(
2029
+ "CreateClusterRequestRequestTypeDef",
2030
+ {
2031
+ "name": str,
2032
+ "roleArn": str,
2033
+ "resourcesVpcConfig": VpcConfigRequestTypeDef,
2034
+ "version": NotRequired[str],
2035
+ "kubernetesNetworkConfig": NotRequired[KubernetesNetworkConfigRequestTypeDef],
2036
+ "logging": NotRequired[LoggingTypeDef],
2037
+ "clientRequestToken": NotRequired[str],
2038
+ "tags": NotRequired[Mapping[str, str]],
2039
+ "encryptionConfig": NotRequired[Sequence[EncryptionConfigTypeDef]],
2040
+ "outpostConfig": NotRequired[OutpostConfigRequestTypeDef],
2041
+ "accessConfig": NotRequired[CreateAccessConfigRequestTypeDef],
2042
+ "bootstrapSelfManagedAddons": NotRequired[bool],
2043
+ "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
2044
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigRequestTypeDef],
2045
+ },
2046
+ )
2047
+ UpdateClusterConfigRequestRequestTypeDef = TypedDict(
2048
+ "UpdateClusterConfigRequestRequestTypeDef",
2049
+ {
2050
+ "name": str,
2051
+ "resourcesVpcConfig": NotRequired[VpcConfigRequestTypeDef],
2052
+ "logging": NotRequired[LoggingTypeDef],
2053
+ "clientRequestToken": NotRequired[str],
2054
+ "accessConfig": NotRequired[UpdateAccessConfigRequestTypeDef],
2055
+ "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
2056
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigRequestTypeDef],
2057
+ },
2058
+ )
2061
2059
  DescribeInsightResponseTypeDef = TypedDict(
2062
2060
  "DescribeInsightResponseTypeDef",
2063
2061
  {
@@ -45,23 +45,14 @@ from .literals import (
45
45
  )
46
46
 
47
47
  if sys.version_info >= (3, 12):
48
- from typing import Literal
48
+ from typing import Literal, NotRequired, TypedDict
49
49
  else:
50
- from typing_extensions import Literal
51
- if sys.version_info >= (3, 12):
52
- from typing import NotRequired
53
- else:
54
- from typing_extensions import NotRequired
55
- if sys.version_info >= (3, 12):
56
- from typing import TypedDict
57
- else:
58
- from typing_extensions import TypedDict
50
+ from typing_extensions import Literal, NotRequired, TypedDict
59
51
 
60
52
  __all__ = (
61
53
  "AccessConfigResponseTypeDef",
62
54
  "AccessEntryTypeDef",
63
55
  "AccessPolicyTypeDef",
64
- "AccessScopeExtraOutputTypeDef",
65
56
  "AccessScopeOutputTypeDef",
66
57
  "AccessScopeTypeDef",
67
58
  "AddonIssueTypeDef",
@@ -79,6 +70,7 @@ __all__ = (
79
70
  "KubernetesNetworkConfigResponseTypeDef",
80
71
  "UpgradePolicyResponseTypeDef",
81
72
  "VpcConfigResponseTypeDef",
73
+ "ZonalShiftConfigResponseTypeDef",
82
74
  "ConnectorConfigRequestTypeDef",
83
75
  "ControlPlanePlacementRequestTypeDef",
84
76
  "ControlPlanePlacementResponseTypeDef",
@@ -87,6 +79,7 @@ __all__ = (
87
79
  "KubernetesNetworkConfigRequestTypeDef",
88
80
  "UpgradePolicyRequestTypeDef",
89
81
  "VpcConfigRequestTypeDef",
82
+ "ZonalShiftConfigRequestTypeDef",
90
83
  "EksAnywhereSubscriptionTermTypeDef",
91
84
  "LaunchTemplateSpecificationTypeDef",
92
85
  "NodegroupScalingConfigTypeDef",
@@ -154,7 +147,6 @@ __all__ = (
154
147
  "UpdateParamTypeDef",
155
148
  "UpdatePodIdentityAssociationRequestRequestTypeDef",
156
149
  "AssociatedAccessPolicyTypeDef",
157
- "AccessScopeUnionTypeDef",
158
150
  "AssociateAccessPolicyRequestRequestTypeDef",
159
151
  "AddonHealthTypeDef",
160
152
  "CreateAddonRequestRequestTypeDef",
@@ -224,8 +216,7 @@ __all__ = (
224
216
  "NodegroupHealthTypeDef",
225
217
  "ListPodIdentityAssociationsResponseTypeDef",
226
218
  "LoggingOutputTypeDef",
227
- "LoggingTypeDef",
228
- "RemoteAccessConfigUnionTypeDef",
219
+ "LogSetupUnionTypeDef",
229
220
  "UpdateTypeDef",
230
221
  "AssociateAccessPolicyResponseTypeDef",
231
222
  "ListAssociatedAccessPoliciesResponseTypeDef",
@@ -245,8 +236,7 @@ __all__ = (
245
236
  "ListInsightsResponseTypeDef",
246
237
  "NodegroupTypeDef",
247
238
  "ClusterTypeDef",
248
- "LoggingUnionTypeDef",
249
- "UpdateClusterConfigRequestRequestTypeDef",
239
+ "LoggingTypeDef",
250
240
  "AssociateEncryptionConfigResponseTypeDef",
251
241
  "AssociateIdentityProviderConfigResponseTypeDef",
252
242
  "DescribeUpdateResponseTypeDef",
@@ -262,7 +252,6 @@ __all__ = (
262
252
  "DescribeAddonVersionsResponseTypeDef",
263
253
  "InsightTypeDef",
264
254
  "AssociateEncryptionConfigRequestRequestTypeDef",
265
- "CreateClusterRequestRequestTypeDef",
266
255
  "CreateFargateProfileResponseTypeDef",
267
256
  "DeleteFargateProfileResponseTypeDef",
268
257
  "DescribeFargateProfileResponseTypeDef",
@@ -274,6 +263,8 @@ __all__ = (
274
263
  "DeregisterClusterResponseTypeDef",
275
264
  "DescribeClusterResponseTypeDef",
276
265
  "RegisterClusterResponseTypeDef",
266
+ "CreateClusterRequestRequestTypeDef",
267
+ "UpdateClusterConfigRequestRequestTypeDef",
277
268
  "DescribeInsightResponseTypeDef",
278
269
  )
279
270
 
@@ -305,13 +296,6 @@ AccessPolicyTypeDef = TypedDict(
305
296
  "arn": NotRequired[str],
306
297
  },
307
298
  )
308
- AccessScopeExtraOutputTypeDef = TypedDict(
309
- "AccessScopeExtraOutputTypeDef",
310
- {
311
- "type": NotRequired[AccessScopeTypeType],
312
- "namespaces": NotRequired[List[str]],
313
- },
314
- )
315
299
  AccessScopeOutputTypeDef = TypedDict(
316
300
  "AccessScopeOutputTypeDef",
317
301
  {
@@ -450,6 +434,12 @@ VpcConfigResponseTypeDef = TypedDict(
450
434
  "publicAccessCidrs": NotRequired[List[str]],
451
435
  },
452
436
  )
437
+ ZonalShiftConfigResponseTypeDef = TypedDict(
438
+ "ZonalShiftConfigResponseTypeDef",
439
+ {
440
+ "enabled": NotRequired[bool],
441
+ },
442
+ )
453
443
  ConnectorConfigRequestTypeDef = TypedDict(
454
444
  "ConnectorConfigRequestTypeDef",
455
445
  {
@@ -511,6 +501,12 @@ VpcConfigRequestTypeDef = TypedDict(
511
501
  "publicAccessCidrs": NotRequired[Sequence[str]],
512
502
  },
513
503
  )
504
+ ZonalShiftConfigRequestTypeDef = TypedDict(
505
+ "ZonalShiftConfigRequestTypeDef",
506
+ {
507
+ "enabled": NotRequired[bool],
508
+ },
509
+ )
514
510
  EksAnywhereSubscriptionTermTypeDef = TypedDict(
515
511
  "EksAnywhereSubscriptionTermTypeDef",
516
512
  {
@@ -1039,7 +1035,6 @@ AssociatedAccessPolicyTypeDef = TypedDict(
1039
1035
  "modifiedAt": NotRequired[datetime],
1040
1036
  },
1041
1037
  )
1042
- AccessScopeUnionTypeDef = Union[AccessScopeTypeDef, AccessScopeExtraOutputTypeDef]
1043
1038
  AssociateAccessPolicyRequestRequestTypeDef = TypedDict(
1044
1039
  "AssociateAccessPolicyRequestRequestTypeDef",
1045
1040
  {
@@ -1613,13 +1608,7 @@ LoggingOutputTypeDef = TypedDict(
1613
1608
  "clusterLogging": NotRequired[List[LogSetupOutputTypeDef]],
1614
1609
  },
1615
1610
  )
1616
- LoggingTypeDef = TypedDict(
1617
- "LoggingTypeDef",
1618
- {
1619
- "clusterLogging": NotRequired[Sequence[LogSetupTypeDef]],
1620
- },
1621
- )
1622
- RemoteAccessConfigUnionTypeDef = Union[RemoteAccessConfigTypeDef, RemoteAccessConfigOutputTypeDef]
1611
+ LogSetupUnionTypeDef = Union[LogSetupTypeDef, LogSetupOutputTypeDef]
1623
1612
  UpdateTypeDef = TypedDict(
1624
1613
  "UpdateTypeDef",
1625
1614
  {
@@ -1831,18 +1820,13 @@ ClusterTypeDef = TypedDict(
1831
1820
  "outpostConfig": NotRequired[OutpostConfigResponseTypeDef],
1832
1821
  "accessConfig": NotRequired[AccessConfigResponseTypeDef],
1833
1822
  "upgradePolicy": NotRequired[UpgradePolicyResponseTypeDef],
1823
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigResponseTypeDef],
1834
1824
  },
1835
1825
  )
1836
- LoggingUnionTypeDef = Union[LoggingTypeDef, LoggingOutputTypeDef]
1837
- UpdateClusterConfigRequestRequestTypeDef = TypedDict(
1838
- "UpdateClusterConfigRequestRequestTypeDef",
1826
+ LoggingTypeDef = TypedDict(
1827
+ "LoggingTypeDef",
1839
1828
  {
1840
- "name": str,
1841
- "resourcesVpcConfig": NotRequired[VpcConfigRequestTypeDef],
1842
- "logging": NotRequired[LoggingTypeDef],
1843
- "clientRequestToken": NotRequired[str],
1844
- "accessConfig": NotRequired[UpdateAccessConfigRequestTypeDef],
1845
- "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
1829
+ "clusterLogging": NotRequired[Sequence[LogSetupUnionTypeDef]],
1846
1830
  },
1847
1831
  )
1848
1832
  AssociateEncryptionConfigResponseTypeDef = TypedDict(
@@ -1963,24 +1947,6 @@ AssociateEncryptionConfigRequestRequestTypeDef = TypedDict(
1963
1947
  "clientRequestToken": NotRequired[str],
1964
1948
  },
1965
1949
  )
1966
- CreateClusterRequestRequestTypeDef = TypedDict(
1967
- "CreateClusterRequestRequestTypeDef",
1968
- {
1969
- "name": str,
1970
- "roleArn": str,
1971
- "resourcesVpcConfig": VpcConfigRequestTypeDef,
1972
- "version": NotRequired[str],
1973
- "kubernetesNetworkConfig": NotRequired[KubernetesNetworkConfigRequestTypeDef],
1974
- "logging": NotRequired[LoggingTypeDef],
1975
- "clientRequestToken": NotRequired[str],
1976
- "tags": NotRequired[Mapping[str, str]],
1977
- "encryptionConfig": NotRequired[Sequence[EncryptionConfigUnionTypeDef]],
1978
- "outpostConfig": NotRequired[OutpostConfigRequestTypeDef],
1979
- "accessConfig": NotRequired[CreateAccessConfigRequestTypeDef],
1980
- "bootstrapSelfManagedAddons": NotRequired[bool],
1981
- "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
1982
- },
1983
- )
1984
1950
  CreateFargateProfileResponseTypeDef = TypedDict(
1985
1951
  "CreateFargateProfileResponseTypeDef",
1986
1952
  {
@@ -2058,6 +2024,37 @@ RegisterClusterResponseTypeDef = TypedDict(
2058
2024
  "ResponseMetadata": ResponseMetadataTypeDef,
2059
2025
  },
2060
2026
  )
2027
+ CreateClusterRequestRequestTypeDef = TypedDict(
2028
+ "CreateClusterRequestRequestTypeDef",
2029
+ {
2030
+ "name": str,
2031
+ "roleArn": str,
2032
+ "resourcesVpcConfig": VpcConfigRequestTypeDef,
2033
+ "version": NotRequired[str],
2034
+ "kubernetesNetworkConfig": NotRequired[KubernetesNetworkConfigRequestTypeDef],
2035
+ "logging": NotRequired[LoggingTypeDef],
2036
+ "clientRequestToken": NotRequired[str],
2037
+ "tags": NotRequired[Mapping[str, str]],
2038
+ "encryptionConfig": NotRequired[Sequence[EncryptionConfigTypeDef]],
2039
+ "outpostConfig": NotRequired[OutpostConfigRequestTypeDef],
2040
+ "accessConfig": NotRequired[CreateAccessConfigRequestTypeDef],
2041
+ "bootstrapSelfManagedAddons": NotRequired[bool],
2042
+ "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
2043
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigRequestTypeDef],
2044
+ },
2045
+ )
2046
+ UpdateClusterConfigRequestRequestTypeDef = TypedDict(
2047
+ "UpdateClusterConfigRequestRequestTypeDef",
2048
+ {
2049
+ "name": str,
2050
+ "resourcesVpcConfig": NotRequired[VpcConfigRequestTypeDef],
2051
+ "logging": NotRequired[LoggingTypeDef],
2052
+ "clientRequestToken": NotRequired[str],
2053
+ "accessConfig": NotRequired[UpdateAccessConfigRequestTypeDef],
2054
+ "upgradePolicy": NotRequired[UpgradePolicyRequestTypeDef],
2055
+ "zonalShiftConfig": NotRequired[ZonalShiftConfigRequestTypeDef],
2056
+ },
2057
+ )
2061
2058
  DescribeInsightResponseTypeDef = TypedDict(
2062
2059
  "DescribeInsightResponseTypeDef",
2063
2060
  {
mypy_boto3_eks/version.py CHANGED
@@ -2,4 +2,4 @@
2
2
  Source of truth for version.
3
3
  """
4
4
 
5
- __version__ = "1.35.0"
5
+ __version__ = "1.35.45"
mypy_boto3_eks/waiter.py CHANGED
@@ -34,9 +34,26 @@ Usage::
34
34
  ```
35
35
  """
36
36
 
37
+ import sys
38
+
37
39
  from botocore.waiter import Waiter
38
40
 
39
- from .type_defs import WaiterConfigTypeDef
41
+ from .type_defs import (
42
+ DescribeAddonRequestAddonActiveWaitTypeDef,
43
+ DescribeAddonRequestAddonDeletedWaitTypeDef,
44
+ DescribeClusterRequestClusterActiveWaitTypeDef,
45
+ DescribeClusterRequestClusterDeletedWaitTypeDef,
46
+ DescribeFargateProfileRequestFargateProfileActiveWaitTypeDef,
47
+ DescribeFargateProfileRequestFargateProfileDeletedWaitTypeDef,
48
+ DescribeNodegroupRequestNodegroupActiveWaitTypeDef,
49
+ DescribeNodegroupRequestNodegroupDeletedWaitTypeDef,
50
+ )
51
+
52
+ if sys.version_info >= (3, 12):
53
+ from typing import Unpack
54
+ else:
55
+ from typing_extensions import Unpack
56
+
40
57
 
41
58
  __all__ = (
42
59
  "AddonActiveWaiter",
@@ -56,9 +73,7 @@ class AddonActiveWaiter(Waiter):
56
73
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#addonactivewaiter)
57
74
  """
58
75
 
59
- def wait(
60
- self, *, clusterName: str, addonName: str, WaiterConfig: WaiterConfigTypeDef = ...
61
- ) -> None:
76
+ def wait(self, **kwargs: Unpack[DescribeAddonRequestAddonActiveWaitTypeDef]) -> None:
62
77
  """
63
78
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.AddonActive.wait)
64
79
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#addonactivewaiter)
@@ -71,9 +86,7 @@ class AddonDeletedWaiter(Waiter):
71
86
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#addondeletedwaiter)
72
87
  """
73
88
 
74
- def wait(
75
- self, *, clusterName: str, addonName: str, WaiterConfig: WaiterConfigTypeDef = ...
76
- ) -> None:
89
+ def wait(self, **kwargs: Unpack[DescribeAddonRequestAddonDeletedWaitTypeDef]) -> None:
77
90
  """
78
91
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.AddonDeleted.wait)
79
92
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#addondeletedwaiter)
@@ -86,7 +99,7 @@ class ClusterActiveWaiter(Waiter):
86
99
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#clusteractivewaiter)
87
100
  """
88
101
 
89
- def wait(self, *, name: str, WaiterConfig: WaiterConfigTypeDef = ...) -> None:
102
+ def wait(self, **kwargs: Unpack[DescribeClusterRequestClusterActiveWaitTypeDef]) -> None:
90
103
  """
91
104
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.ClusterActive.wait)
92
105
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#clusteractivewaiter)
@@ -99,7 +112,7 @@ class ClusterDeletedWaiter(Waiter):
99
112
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#clusterdeletedwaiter)
100
113
  """
101
114
 
102
- def wait(self, *, name: str, WaiterConfig: WaiterConfigTypeDef = ...) -> None:
115
+ def wait(self, **kwargs: Unpack[DescribeClusterRequestClusterDeletedWaitTypeDef]) -> None:
103
116
  """
104
117
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.ClusterDeleted.wait)
105
118
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#clusterdeletedwaiter)
@@ -113,7 +126,7 @@ class FargateProfileActiveWaiter(Waiter):
113
126
  """
114
127
 
115
128
  def wait(
116
- self, *, clusterName: str, fargateProfileName: str, WaiterConfig: WaiterConfigTypeDef = ...
129
+ self, **kwargs: Unpack[DescribeFargateProfileRequestFargateProfileActiveWaitTypeDef]
117
130
  ) -> None:
118
131
  """
119
132
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.FargateProfileActive.wait)
@@ -128,7 +141,7 @@ class FargateProfileDeletedWaiter(Waiter):
128
141
  """
129
142
 
130
143
  def wait(
131
- self, *, clusterName: str, fargateProfileName: str, WaiterConfig: WaiterConfigTypeDef = ...
144
+ self, **kwargs: Unpack[DescribeFargateProfileRequestFargateProfileDeletedWaitTypeDef]
132
145
  ) -> None:
133
146
  """
134
147
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.FargateProfileDeleted.wait)
@@ -142,9 +155,7 @@ class NodegroupActiveWaiter(Waiter):
142
155
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#nodegroupactivewaiter)
143
156
  """
144
157
 
145
- def wait(
146
- self, *, clusterName: str, nodegroupName: str, WaiterConfig: WaiterConfigTypeDef = ...
147
- ) -> None:
158
+ def wait(self, **kwargs: Unpack[DescribeNodegroupRequestNodegroupActiveWaitTypeDef]) -> None:
148
159
  """
149
160
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.NodegroupActive.wait)
150
161
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#nodegroupactivewaiter)
@@ -157,9 +168,7 @@ class NodegroupDeletedWaiter(Waiter):
157
168
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#nodegroupdeletedwaiter)
158
169
  """
159
170
 
160
- def wait(
161
- self, *, clusterName: str, nodegroupName: str, WaiterConfig: WaiterConfigTypeDef = ...
162
- ) -> None:
171
+ def wait(self, **kwargs: Unpack[DescribeNodegroupRequestNodegroupDeletedWaitTypeDef]) -> None:
163
172
  """
164
173
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Waiter.NodegroupDeleted.wait)
165
174
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_eks/waiters/#nodegroupdeletedwaiter)