@aws-sdk/client-eks 3.940.0 → 3.943.0

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.
Files changed (42) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +435 -68
  3. package/dist-es/EKS.js +10 -0
  4. package/dist-es/commands/CreateCapabilityCommand.js +16 -0
  5. package/dist-es/commands/DeleteCapabilityCommand.js +16 -0
  6. package/dist-es/commands/DescribeCapabilityCommand.js +16 -0
  7. package/dist-es/commands/ListCapabilitiesCommand.js +16 -0
  8. package/dist-es/commands/UpdateCapabilityCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +30 -0
  11. package/dist-es/pagination/ListCapabilitiesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +326 -68
  14. package/dist-types/EKS.d.ts +35 -0
  15. package/dist-types/EKSClient.d.ts +7 -2
  16. package/dist-types/commands/CreateCapabilityCommand.d.ts +186 -0
  17. package/dist-types/commands/DeleteCapabilityCommand.d.ts +147 -0
  18. package/dist-types/commands/DescribeCapabilityCommand.d.ts +143 -0
  19. package/dist-types/commands/DescribeUpdateCommand.d.ts +1 -0
  20. package/dist-types/commands/ListCapabilitiesCommand.d.ts +94 -0
  21. package/dist-types/commands/ListUpdatesCommand.d.ts +1 -0
  22. package/dist-types/commands/UpdateCapabilityCommand.d.ts +154 -0
  23. package/dist-types/commands/index.d.ts +5 -0
  24. package/dist-types/models/enums.d.ts +78 -0
  25. package/dist-types/models/models_0.d.ts +672 -1
  26. package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +36 -0
  29. package/dist-types/ts3.4/EKS.d.ts +85 -0
  30. package/dist-types/ts3.4/EKSClient.d.ts +30 -0
  31. package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +50 -0
  32. package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/DescribeCapabilityCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +50 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +139 -0
  39. package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
  42. package/package.json +5 -5
package/dist-es/EKS.js CHANGED
@@ -4,6 +4,7 @@ import { AssociateEncryptionConfigCommand, } from "./commands/AssociateEncryptio
4
4
  import { AssociateIdentityProviderConfigCommand, } from "./commands/AssociateIdentityProviderConfigCommand";
5
5
  import { CreateAccessEntryCommand, } from "./commands/CreateAccessEntryCommand";
6
6
  import { CreateAddonCommand } from "./commands/CreateAddonCommand";
7
+ import { CreateCapabilityCommand, } from "./commands/CreateCapabilityCommand";
7
8
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
8
9
  import { CreateEksAnywhereSubscriptionCommand, } from "./commands/CreateEksAnywhereSubscriptionCommand";
9
10
  import { CreateFargateProfileCommand, } from "./commands/CreateFargateProfileCommand";
@@ -11,6 +12,7 @@ import { CreateNodegroupCommand, } from "./commands/CreateNodegroupCommand";
11
12
  import { CreatePodIdentityAssociationCommand, } from "./commands/CreatePodIdentityAssociationCommand";
12
13
  import { DeleteAccessEntryCommand, } from "./commands/DeleteAccessEntryCommand";
13
14
  import { DeleteAddonCommand } from "./commands/DeleteAddonCommand";
15
+ import { DeleteCapabilityCommand, } from "./commands/DeleteCapabilityCommand";
14
16
  import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
15
17
  import { DeleteEksAnywhereSubscriptionCommand, } from "./commands/DeleteEksAnywhereSubscriptionCommand";
16
18
  import { DeleteFargateProfileCommand, } from "./commands/DeleteFargateProfileCommand";
@@ -21,6 +23,7 @@ import { DescribeAccessEntryCommand, } from "./commands/DescribeAccessEntryComma
21
23
  import { DescribeAddonCommand, } from "./commands/DescribeAddonCommand";
22
24
  import { DescribeAddonConfigurationCommand, } from "./commands/DescribeAddonConfigurationCommand";
23
25
  import { DescribeAddonVersionsCommand, } from "./commands/DescribeAddonVersionsCommand";
26
+ import { DescribeCapabilityCommand, } from "./commands/DescribeCapabilityCommand";
24
27
  import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
25
28
  import { DescribeClusterVersionsCommand, } from "./commands/DescribeClusterVersionsCommand";
26
29
  import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksAnywhereSubscriptionCommand";
@@ -37,6 +40,7 @@ import { ListAccessEntriesCommand, } from "./commands/ListAccessEntriesCommand";
37
40
  import { ListAccessPoliciesCommand, } from "./commands/ListAccessPoliciesCommand";
38
41
  import { ListAddonsCommand } from "./commands/ListAddonsCommand";
39
42
  import { ListAssociatedAccessPoliciesCommand, } from "./commands/ListAssociatedAccessPoliciesCommand";
43
+ import { ListCapabilitiesCommand, } from "./commands/ListCapabilitiesCommand";
40
44
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
41
45
  import { ListEksAnywhereSubscriptionsCommand, } from "./commands/ListEksAnywhereSubscriptionsCommand";
42
46
  import { ListFargateProfilesCommand, } from "./commands/ListFargateProfilesCommand";
@@ -52,6 +56,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
52
56
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
53
57
  import { UpdateAccessEntryCommand, } from "./commands/UpdateAccessEntryCommand";
54
58
  import { UpdateAddonCommand } from "./commands/UpdateAddonCommand";
59
+ import { UpdateCapabilityCommand, } from "./commands/UpdateCapabilityCommand";
55
60
  import { UpdateClusterConfigCommand, } from "./commands/UpdateClusterConfigCommand";
56
61
  import { UpdateClusterVersionCommand, } from "./commands/UpdateClusterVersionCommand";
57
62
  import { UpdateEksAnywhereSubscriptionCommand, } from "./commands/UpdateEksAnywhereSubscriptionCommand";
@@ -65,6 +70,7 @@ const commands = {
65
70
  AssociateIdentityProviderConfigCommand,
66
71
  CreateAccessEntryCommand,
67
72
  CreateAddonCommand,
73
+ CreateCapabilityCommand,
68
74
  CreateClusterCommand,
69
75
  CreateEksAnywhereSubscriptionCommand,
70
76
  CreateFargateProfileCommand,
@@ -72,6 +78,7 @@ const commands = {
72
78
  CreatePodIdentityAssociationCommand,
73
79
  DeleteAccessEntryCommand,
74
80
  DeleteAddonCommand,
81
+ DeleteCapabilityCommand,
75
82
  DeleteClusterCommand,
76
83
  DeleteEksAnywhereSubscriptionCommand,
77
84
  DeleteFargateProfileCommand,
@@ -82,6 +89,7 @@ const commands = {
82
89
  DescribeAddonCommand,
83
90
  DescribeAddonConfigurationCommand,
84
91
  DescribeAddonVersionsCommand,
92
+ DescribeCapabilityCommand,
85
93
  DescribeClusterCommand,
86
94
  DescribeClusterVersionsCommand,
87
95
  DescribeEksAnywhereSubscriptionCommand,
@@ -98,6 +106,7 @@ const commands = {
98
106
  ListAccessPoliciesCommand,
99
107
  ListAddonsCommand,
100
108
  ListAssociatedAccessPoliciesCommand,
109
+ ListCapabilitiesCommand,
101
110
  ListClustersCommand,
102
111
  ListEksAnywhereSubscriptionsCommand,
103
112
  ListFargateProfilesCommand,
@@ -113,6 +122,7 @@ const commands = {
113
122
  UntagResourceCommand,
114
123
  UpdateAccessEntryCommand,
115
124
  UpdateAddonCommand,
125
+ UpdateCapabilityCommand,
116
126
  UpdateClusterConfigCommand,
117
127
  UpdateClusterVersionCommand,
118
128
  UpdateEksAnywhereSubscriptionCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateCapability } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateCapabilityCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSWesleyFrontend", "CreateCapability", {})
13
+ .n("EKSClient", "CreateCapabilityCommand")
14
+ .sc(CreateCapability)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteCapability } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteCapabilityCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSWesleyFrontend", "DeleteCapability", {})
13
+ .n("EKSClient", "DeleteCapabilityCommand")
14
+ .sc(DeleteCapability)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DescribeCapability } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DescribeCapabilityCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSWesleyFrontend", "DescribeCapability", {})
13
+ .n("EKSClient", "DescribeCapabilityCommand")
14
+ .sc(DescribeCapability)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListCapabilities } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListCapabilitiesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSWesleyFrontend", "ListCapabilities", {})
13
+ .n("EKSClient", "ListCapabilitiesCommand")
14
+ .sc(ListCapabilities)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateCapability } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateCapabilityCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AWSWesleyFrontend", "UpdateCapability", {})
13
+ .n("EKSClient", "UpdateCapabilityCommand")
14
+ .sc(UpdateCapability)
15
+ .build() {
16
+ }
@@ -3,6 +3,7 @@ export * from "./AssociateEncryptionConfigCommand";
3
3
  export * from "./AssociateIdentityProviderConfigCommand";
4
4
  export * from "./CreateAccessEntryCommand";
5
5
  export * from "./CreateAddonCommand";
6
+ export * from "./CreateCapabilityCommand";
6
7
  export * from "./CreateClusterCommand";
7
8
  export * from "./CreateEksAnywhereSubscriptionCommand";
8
9
  export * from "./CreateFargateProfileCommand";
@@ -10,6 +11,7 @@ export * from "./CreateNodegroupCommand";
10
11
  export * from "./CreatePodIdentityAssociationCommand";
11
12
  export * from "./DeleteAccessEntryCommand";
12
13
  export * from "./DeleteAddonCommand";
14
+ export * from "./DeleteCapabilityCommand";
13
15
  export * from "./DeleteClusterCommand";
14
16
  export * from "./DeleteEksAnywhereSubscriptionCommand";
15
17
  export * from "./DeleteFargateProfileCommand";
@@ -20,6 +22,7 @@ export * from "./DescribeAccessEntryCommand";
20
22
  export * from "./DescribeAddonCommand";
21
23
  export * from "./DescribeAddonConfigurationCommand";
22
24
  export * from "./DescribeAddonVersionsCommand";
25
+ export * from "./DescribeCapabilityCommand";
23
26
  export * from "./DescribeClusterCommand";
24
27
  export * from "./DescribeClusterVersionsCommand";
25
28
  export * from "./DescribeEksAnywhereSubscriptionCommand";
@@ -36,6 +39,7 @@ export * from "./ListAccessEntriesCommand";
36
39
  export * from "./ListAccessPoliciesCommand";
37
40
  export * from "./ListAddonsCommand";
38
41
  export * from "./ListAssociatedAccessPoliciesCommand";
42
+ export * from "./ListCapabilitiesCommand";
39
43
  export * from "./ListClustersCommand";
40
44
  export * from "./ListEksAnywhereSubscriptionsCommand";
41
45
  export * from "./ListFargateProfilesCommand";
@@ -51,6 +55,7 @@ export * from "./TagResourceCommand";
51
55
  export * from "./UntagResourceCommand";
52
56
  export * from "./UpdateAccessEntryCommand";
53
57
  export * from "./UpdateAddonCommand";
58
+ export * from "./UpdateCapabilityCommand";
54
59
  export * from "./UpdateClusterConfigCommand";
55
60
  export * from "./UpdateClusterVersionCommand";
56
61
  export * from "./UpdateEksAnywhereSubscriptionCommand";
@@ -50,6 +50,15 @@ export const AMITypes = {
50
50
  WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64",
51
51
  WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64",
52
52
  };
53
+ export const SsoIdentityType = {
54
+ SSO_GROUP: "SSO_GROUP",
55
+ SSO_USER: "SSO_USER",
56
+ };
57
+ export const ArgoCdRole = {
58
+ ADMIN: "ADMIN",
59
+ EDITOR: "EDITOR",
60
+ VIEWER: "VIEWER",
61
+ };
53
62
  export const ErrorCode = {
54
63
  ACCESS_DENIED: "AccessDenied",
55
64
  ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
@@ -140,6 +149,27 @@ export const ResolveConflicts = {
140
149
  OVERWRITE: "OVERWRITE",
141
150
  PRESERVE: "PRESERVE",
142
151
  };
152
+ export const CapabilityDeletePropagationPolicy = {
153
+ RETAIN: "RETAIN",
154
+ };
155
+ export const CapabilityType = {
156
+ ACK: "ACK",
157
+ ARGOCD: "ARGOCD",
158
+ KRO: "KRO",
159
+ };
160
+ export const CapabilityIssueCode = {
161
+ ACCESS_DENIED: "AccessDenied",
162
+ CLUSTER_UNREACHABLE: "ClusterUnreachable",
163
+ };
164
+ export const CapabilityStatus = {
165
+ ACTIVE: "ACTIVE",
166
+ CREATE_FAILED: "CREATE_FAILED",
167
+ CREATING: "CREATING",
168
+ DEGRADED: "DEGRADED",
169
+ DELETE_FAILED: "DELETE_FAILED",
170
+ DELETING: "DELETING",
171
+ UPDATING: "UPDATING",
172
+ };
143
173
  export const ProvisionedControlPlaneTier = {
144
174
  STANDARD: "standard",
145
175
  TIER_2XL: "tier-2xl",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListCapabilitiesCommand, } from "../commands/ListCapabilitiesCommand";
3
+ import { EKSClient } from "../EKSClient";
4
+ export const paginateListCapabilities = createPaginator(EKSClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -5,6 +5,7 @@ export * from "./ListAccessEntriesPaginator";
5
5
  export * from "./ListAccessPoliciesPaginator";
6
6
  export * from "./ListAddonsPaginator";
7
7
  export * from "./ListAssociatedAccessPoliciesPaginator";
8
+ export * from "./ListCapabilitiesPaginator";
8
9
  export * from "./ListClustersPaginator";
9
10
  export * from "./ListEksAnywhereSubscriptionsPaginator";
10
11
  export * from "./ListFargateProfilesPaginator";