types-boto3-eks 1.35.81__py3-none-any.whl → 1.35.86__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.
@@ -1,7 +1,7 @@
1
1
  """
2
- Type annotations for eks service client.
2
+ Type annotations for eks service Client.
3
3
 
4
- [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/)
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/)
5
5
 
6
6
  Usage::
7
7
 
@@ -16,10 +16,14 @@ Usage::
16
16
  Copyright 2024 Vlad Emelianov
17
17
  """
18
18
 
19
+ from __future__ import annotations
20
+
19
21
  import sys
20
- from typing import Any, Dict, Mapping, Type, overload
22
+ from typing import Any, Mapping, overload
21
23
 
22
24
  from botocore.client import BaseClient, ClientMeta
25
+ from botocore.errorfactory import BaseClientExceptions
26
+ from botocore.exceptions import ClientError as BotocoreClientError
23
27
 
24
28
  from .paginator import (
25
29
  DescribeAddonVersionsPaginator,
@@ -164,28 +168,21 @@ else:
164
168
 
165
169
  __all__ = ("EKSClient",)
166
170
 
167
- class BotocoreClientError(Exception):
168
- MSG_TEMPLATE: str
169
-
170
- def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
171
- self.response: Dict[str, Any]
172
- self.operation_name: str
173
-
174
- class Exceptions:
175
- AccessDeniedException: Type[BotocoreClientError]
176
- BadRequestException: Type[BotocoreClientError]
177
- ClientError: Type[BotocoreClientError]
178
- ClientException: Type[BotocoreClientError]
179
- InvalidParameterException: Type[BotocoreClientError]
180
- InvalidRequestException: Type[BotocoreClientError]
181
- NotFoundException: Type[BotocoreClientError]
182
- ResourceInUseException: Type[BotocoreClientError]
183
- ResourceLimitExceededException: Type[BotocoreClientError]
184
- ResourceNotFoundException: Type[BotocoreClientError]
185
- ResourcePropagationDelayException: Type[BotocoreClientError]
186
- ServerException: Type[BotocoreClientError]
187
- ServiceUnavailableException: Type[BotocoreClientError]
188
- UnsupportedAvailabilityZoneException: Type[BotocoreClientError]
171
+ class Exceptions(BaseClientExceptions):
172
+ AccessDeniedException: type[BotocoreClientError]
173
+ BadRequestException: type[BotocoreClientError]
174
+ ClientError: type[BotocoreClientError]
175
+ ClientException: type[BotocoreClientError]
176
+ InvalidParameterException: type[BotocoreClientError]
177
+ InvalidRequestException: type[BotocoreClientError]
178
+ NotFoundException: type[BotocoreClientError]
179
+ ResourceInUseException: type[BotocoreClientError]
180
+ ResourceLimitExceededException: type[BotocoreClientError]
181
+ ResourceNotFoundException: type[BotocoreClientError]
182
+ ResourcePropagationDelayException: type[BotocoreClientError]
183
+ ServerException: type[BotocoreClientError]
184
+ ServiceUnavailableException: type[BotocoreClientError]
185
+ UnsupportedAvailabilityZoneException: type[BotocoreClientError]
189
186
 
190
187
  class EKSClient(BaseClient):
191
188
  """
@@ -222,12 +219,6 @@ class EKSClient(BaseClient):
222
219
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#generate_presigned_url)
223
220
  """
224
221
 
225
- def close(self) -> None:
226
- """
227
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks/client/close.html)
228
- [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#close)
229
- """
230
-
231
222
  def associate_access_policy(
232
223
  self, **kwargs: Unpack[AssociateAccessPolicyRequestRequestTypeDef]
233
224
  ) -> AssociateAccessPolicyResponseTypeDef:
@@ -331,7 +322,7 @@ class EKSClient(BaseClient):
331
322
 
332
323
  def delete_access_entry(
333
324
  self, **kwargs: Unpack[DeleteAccessEntryRequestRequestTypeDef]
334
- ) -> Dict[str, Any]:
325
+ ) -> dict[str, Any]:
335
326
  """
336
327
  Deletes an access entry.
337
328
 
@@ -531,7 +522,7 @@ class EKSClient(BaseClient):
531
522
 
532
523
  def disassociate_access_policy(
533
524
  self, **kwargs: Unpack[DisassociateAccessPolicyRequestRequestTypeDef]
534
- ) -> Dict[str, Any]:
525
+ ) -> dict[str, Any]:
535
526
  """
536
527
  Disassociates an access policy from an access entry.
537
528
 
@@ -693,7 +684,7 @@ class EKSClient(BaseClient):
693
684
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#register_cluster)
694
685
  """
695
686
 
696
- def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
687
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> dict[str, Any]:
697
688
  """
698
689
  Associates the specified tags to an Amazon EKS resource with the specified
699
690
  <code>resourceArn</code>.
@@ -704,7 +695,7 @@ class EKSClient(BaseClient):
704
695
 
705
696
  def untag_resource(
706
697
  self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
707
- ) -> Dict[str, Any]:
698
+ ) -> dict[str, Any]:
708
699
  """
709
700
  Deletes specified tags from an Amazon EKS resource.
710
701
 
@@ -793,8 +784,8 @@ class EKSClient(BaseClient):
793
784
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#update_pod_identity_association)
794
785
  """
795
786
 
796
- @overload
797
- def get_paginator(
787
+ @overload # type: ignore[override]
788
+ def get_paginator( # type: ignore[override]
798
789
  self, operation_name: Literal["describe_addon_versions"]
799
790
  ) -> DescribeAddonVersionsPaginator:
800
791
  """
@@ -804,8 +795,8 @@ class EKSClient(BaseClient):
804
795
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
805
796
  """
806
797
 
807
- @overload
808
- def get_paginator(
798
+ @overload # type: ignore[override]
799
+ def get_paginator( # type: ignore[override]
809
800
  self, operation_name: Literal["list_access_entries"]
810
801
  ) -> ListAccessEntriesPaginator:
811
802
  """
@@ -815,8 +806,8 @@ class EKSClient(BaseClient):
815
806
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
816
807
  """
817
808
 
818
- @overload
819
- def get_paginator(
809
+ @overload # type: ignore[override]
810
+ def get_paginator( # type: ignore[override]
820
811
  self, operation_name: Literal["list_access_policies"]
821
812
  ) -> ListAccessPoliciesPaginator:
822
813
  """
@@ -826,8 +817,10 @@ class EKSClient(BaseClient):
826
817
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
827
818
  """
828
819
 
829
- @overload
830
- def get_paginator(self, operation_name: Literal["list_addons"]) -> ListAddonsPaginator:
820
+ @overload # type: ignore[override]
821
+ def get_paginator( # type: ignore[override]
822
+ self, operation_name: Literal["list_addons"]
823
+ ) -> ListAddonsPaginator:
831
824
  """
832
825
  Create a paginator for an operation.
833
826
 
@@ -835,8 +828,8 @@ class EKSClient(BaseClient):
835
828
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
836
829
  """
837
830
 
838
- @overload
839
- def get_paginator(
831
+ @overload # type: ignore[override]
832
+ def get_paginator( # type: ignore[override]
840
833
  self, operation_name: Literal["list_associated_access_policies"]
841
834
  ) -> ListAssociatedAccessPoliciesPaginator:
842
835
  """
@@ -846,8 +839,10 @@ class EKSClient(BaseClient):
846
839
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
847
840
  """
848
841
 
849
- @overload
850
- def get_paginator(self, operation_name: Literal["list_clusters"]) -> ListClustersPaginator:
842
+ @overload # type: ignore[override]
843
+ def get_paginator( # type: ignore[override]
844
+ self, operation_name: Literal["list_clusters"]
845
+ ) -> ListClustersPaginator:
851
846
  """
852
847
  Create a paginator for an operation.
853
848
 
@@ -855,8 +850,8 @@ class EKSClient(BaseClient):
855
850
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
856
851
  """
857
852
 
858
- @overload
859
- def get_paginator(
853
+ @overload # type: ignore[override]
854
+ def get_paginator( # type: ignore[override]
860
855
  self, operation_name: Literal["list_eks_anywhere_subscriptions"]
861
856
  ) -> ListEksAnywhereSubscriptionsPaginator:
862
857
  """
@@ -866,8 +861,8 @@ class EKSClient(BaseClient):
866
861
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
867
862
  """
868
863
 
869
- @overload
870
- def get_paginator(
864
+ @overload # type: ignore[override]
865
+ def get_paginator( # type: ignore[override]
871
866
  self, operation_name: Literal["list_fargate_profiles"]
872
867
  ) -> ListFargateProfilesPaginator:
873
868
  """
@@ -877,8 +872,8 @@ class EKSClient(BaseClient):
877
872
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
878
873
  """
879
874
 
880
- @overload
881
- def get_paginator(
875
+ @overload # type: ignore[override]
876
+ def get_paginator( # type: ignore[override]
882
877
  self, operation_name: Literal["list_identity_provider_configs"]
883
878
  ) -> ListIdentityProviderConfigsPaginator:
884
879
  """
@@ -888,8 +883,10 @@ class EKSClient(BaseClient):
888
883
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
889
884
  """
890
885
 
891
- @overload
892
- def get_paginator(self, operation_name: Literal["list_insights"]) -> ListInsightsPaginator:
886
+ @overload # type: ignore[override]
887
+ def get_paginator( # type: ignore[override]
888
+ self, operation_name: Literal["list_insights"]
889
+ ) -> ListInsightsPaginator:
893
890
  """
894
891
  Create a paginator for an operation.
895
892
 
@@ -897,8 +894,10 @@ class EKSClient(BaseClient):
897
894
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
898
895
  """
899
896
 
900
- @overload
901
- def get_paginator(self, operation_name: Literal["list_nodegroups"]) -> ListNodegroupsPaginator:
897
+ @overload # type: ignore[override]
898
+ def get_paginator( # type: ignore[override]
899
+ self, operation_name: Literal["list_nodegroups"]
900
+ ) -> ListNodegroupsPaginator:
902
901
  """
903
902
  Create a paginator for an operation.
904
903
 
@@ -906,8 +905,8 @@ class EKSClient(BaseClient):
906
905
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
907
906
  """
908
907
 
909
- @overload
910
- def get_paginator(
908
+ @overload # type: ignore[override]
909
+ def get_paginator( # type: ignore[override]
911
910
  self, operation_name: Literal["list_pod_identity_associations"]
912
911
  ) -> ListPodIdentityAssociationsPaginator:
913
912
  """
@@ -917,8 +916,10 @@ class EKSClient(BaseClient):
917
916
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
918
917
  """
919
918
 
920
- @overload
921
- def get_paginator(self, operation_name: Literal["list_updates"]) -> ListUpdatesPaginator:
919
+ @overload # type: ignore[override]
920
+ def get_paginator( # type: ignore[override]
921
+ self, operation_name: Literal["list_updates"]
922
+ ) -> ListUpdatesPaginator:
922
923
  """
923
924
  Create a paginator for an operation.
924
925
 
@@ -926,8 +927,10 @@ class EKSClient(BaseClient):
926
927
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_paginator)
927
928
  """
928
929
 
929
- @overload
930
- def get_waiter(self, waiter_name: Literal["addon_active"]) -> AddonActiveWaiter:
930
+ @overload # type: ignore[override]
931
+ def get_waiter( # type: ignore[override]
932
+ self, waiter_name: Literal["addon_active"]
933
+ ) -> AddonActiveWaiter:
931
934
  """
932
935
  Returns an object that can wait for some condition.
933
936
 
@@ -935,8 +938,10 @@ class EKSClient(BaseClient):
935
938
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
936
939
  """
937
940
 
938
- @overload
939
- def get_waiter(self, waiter_name: Literal["addon_deleted"]) -> AddonDeletedWaiter:
941
+ @overload # type: ignore[override]
942
+ def get_waiter( # type: ignore[override]
943
+ self, waiter_name: Literal["addon_deleted"]
944
+ ) -> AddonDeletedWaiter:
940
945
  """
941
946
  Returns an object that can wait for some condition.
942
947
 
@@ -944,8 +949,10 @@ class EKSClient(BaseClient):
944
949
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
945
950
  """
946
951
 
947
- @overload
948
- def get_waiter(self, waiter_name: Literal["cluster_active"]) -> ClusterActiveWaiter:
952
+ @overload # type: ignore[override]
953
+ def get_waiter( # type: ignore[override]
954
+ self, waiter_name: Literal["cluster_active"]
955
+ ) -> ClusterActiveWaiter:
949
956
  """
950
957
  Returns an object that can wait for some condition.
951
958
 
@@ -953,8 +960,10 @@ class EKSClient(BaseClient):
953
960
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
954
961
  """
955
962
 
956
- @overload
957
- def get_waiter(self, waiter_name: Literal["cluster_deleted"]) -> ClusterDeletedWaiter:
963
+ @overload # type: ignore[override]
964
+ def get_waiter( # type: ignore[override]
965
+ self, waiter_name: Literal["cluster_deleted"]
966
+ ) -> ClusterDeletedWaiter:
958
967
  """
959
968
  Returns an object that can wait for some condition.
960
969
 
@@ -962,8 +971,8 @@ class EKSClient(BaseClient):
962
971
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
963
972
  """
964
973
 
965
- @overload
966
- def get_waiter(
974
+ @overload # type: ignore[override]
975
+ def get_waiter( # type: ignore[override]
967
976
  self, waiter_name: Literal["fargate_profile_active"]
968
977
  ) -> FargateProfileActiveWaiter:
969
978
  """
@@ -973,8 +982,8 @@ class EKSClient(BaseClient):
973
982
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
974
983
  """
975
984
 
976
- @overload
977
- def get_waiter(
985
+ @overload # type: ignore[override]
986
+ def get_waiter( # type: ignore[override]
978
987
  self, waiter_name: Literal["fargate_profile_deleted"]
979
988
  ) -> FargateProfileDeletedWaiter:
980
989
  """
@@ -984,8 +993,10 @@ class EKSClient(BaseClient):
984
993
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
985
994
  """
986
995
 
987
- @overload
988
- def get_waiter(self, waiter_name: Literal["nodegroup_active"]) -> NodegroupActiveWaiter:
996
+ @overload # type: ignore[override]
997
+ def get_waiter( # type: ignore[override]
998
+ self, waiter_name: Literal["nodegroup_active"]
999
+ ) -> NodegroupActiveWaiter:
989
1000
  """
990
1001
  Returns an object that can wait for some condition.
991
1002
 
@@ -993,8 +1004,10 @@ class EKSClient(BaseClient):
993
1004
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/client/#get_waiter)
994
1005
  """
995
1006
 
996
- @overload
997
- def get_waiter(self, waiter_name: Literal["nodegroup_deleted"]) -> NodegroupDeletedWaiter:
1007
+ @overload # type: ignore[override]
1008
+ def get_waiter( # type: ignore[override]
1009
+ self, waiter_name: Literal["nodegroup_deleted"]
1010
+ ) -> NodegroupDeletedWaiter:
998
1011
  """
999
1012
  Returns an object that can wait for some condition.
1000
1013
 
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for eks service literal definitions.
3
3
 
4
- [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/literals/)
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/literals/)
5
5
 
6
6
  Usage::
7
7
 
@@ -337,6 +337,7 @@ ServiceName = Literal[
337
337
  "b2bi",
338
338
  "backup",
339
339
  "backup-gateway",
340
+ "backupsearch",
340
341
  "batch",
341
342
  "bcm-data-exports",
342
343
  "bcm-pricing-calculator",
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for eks service literal definitions.
3
3
 
4
- [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/literals/)
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_eks/literals/)
5
5
 
6
6
  Usage::
7
7
 
@@ -335,6 +335,7 @@ ServiceName = Literal[
335
335
  "b2bi",
336
336
  "backup",
337
337
  "backup-gateway",
338
+ "backupsearch",
338
339
  "batch",
339
340
  "bcm-data-exports",
340
341
  "bcm-pricing-calculator",