@aws-sdk/client-eks 3.474.0 → 3.477.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 (115) hide show
  1. package/README.md +75 -3
  2. package/dist-cjs/EKS.js +18 -0
  3. package/dist-cjs/commands/AssociateAccessPolicyCommand.js +51 -0
  4. package/dist-cjs/commands/CreateAccessEntryCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteAccessEntryCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeAccessEntryCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListAccessEntriesCommand.js +51 -0
  9. package/dist-cjs/commands/ListAccessPoliciesCommand.js +51 -0
  10. package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +51 -0
  11. package/dist-cjs/commands/UpdateAccessEntryCommand.js +51 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +87 -76
  14. package/dist-cjs/pagination/ListAccessEntriesPaginator.js +29 -0
  15. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +828 -554
  19. package/dist-es/EKS.js +18 -0
  20. package/dist-es/commands/AssociateAccessPolicyCommand.js +47 -0
  21. package/dist-es/commands/CreateAccessEntryCommand.js +47 -0
  22. package/dist-es/commands/DeleteAccessEntryCommand.js +47 -0
  23. package/dist-es/commands/DescribeAccessEntryCommand.js +47 -0
  24. package/dist-es/commands/DisassociateAccessPolicyCommand.js +47 -0
  25. package/dist-es/commands/ListAccessEntriesCommand.js +47 -0
  26. package/dist-es/commands/ListAccessPoliciesCommand.js +47 -0
  27. package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +47 -0
  28. package/dist-es/commands/UpdateAccessEntryCommand.js +47 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/models/models_0.js +81 -70
  31. package/dist-es/pagination/ListAccessEntriesPaginator.js +25 -0
  32. package/dist-es/pagination/ListAccessPoliciesPaginator.js +25 -0
  33. package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +3 -0
  35. package/dist-es/protocols/Aws_restJson1.js +803 -548
  36. package/dist-types/EKS.d.ts +66 -3
  37. package/dist-types/EKSClient.d.ts +14 -5
  38. package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +111 -0
  39. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +8 -9
  40. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +9 -10
  41. package/dist-types/commands/CreateAccessEntryCommand.d.ts +131 -0
  42. package/dist-types/commands/CreateAddonCommand.d.ts +2 -3
  43. package/dist-types/commands/CreateClusterCommand.d.ts +9 -1
  44. package/dist-types/commands/CreateFargateProfileCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateNodegroupCommand.d.ts +8 -5
  46. package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +3 -4
  47. package/dist-types/commands/DeleteAccessEntryCommand.d.ts +87 -0
  48. package/dist-types/commands/DeleteAddonCommand.d.ts +5 -6
  49. package/dist-types/commands/DeleteClusterCommand.d.ts +10 -6
  50. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -3
  51. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
  52. package/dist-types/commands/DeleteNodegroupCommand.d.ts +3 -4
  53. package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +2 -3
  54. package/dist-types/commands/DeregisterClusterCommand.d.ts +8 -3
  55. package/dist-types/commands/DescribeAccessEntryCommand.d.ts +100 -0
  56. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -3
  57. package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +2 -3
  58. package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -6
  59. package/dist-types/commands/DescribeClusterCommand.d.ts +10 -6
  60. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +2 -3
  61. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +3 -4
  62. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +3 -4
  63. package/dist-types/commands/DescribeNodegroupCommand.d.ts +3 -4
  64. package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +2 -3
  65. package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -7
  66. package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +85 -0
  67. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +8 -9
  68. package/dist-types/commands/ListAccessEntriesCommand.d.ts +95 -0
  69. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +83 -0
  70. package/dist-types/commands/ListAddonsCommand.d.ts +2 -3
  71. package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +103 -0
  72. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  73. package/dist-types/commands/ListFargateProfilesCommand.d.ts +3 -4
  74. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +3 -4
  75. package/dist-types/commands/ListNodegroupsCommand.d.ts +4 -6
  76. package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +2 -3
  77. package/dist-types/commands/ListUpdatesCommand.d.ts +3 -5
  78. package/dist-types/commands/RegisterClusterCommand.d.ts +8 -3
  79. package/dist-types/commands/TagResourceCommand.d.ts +6 -5
  80. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateAccessEntryCommand.d.ts +109 -0
  82. package/dist-types/commands/UpdateAddonCommand.d.ts +4 -5
  83. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +9 -8
  84. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +4 -5
  85. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +2 -3
  86. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
  87. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +8 -9
  88. package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +3 -4
  89. package/dist-types/commands/index.d.ts +9 -0
  90. package/dist-types/index.d.ts +3 -3
  91. package/dist-types/models/models_0.d.ts +1256 -556
  92. package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +7 -0
  94. package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +7 -0
  95. package/dist-types/pagination/index.d.ts +3 -0
  96. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  97. package/dist-types/ts3.4/EKS.d.ts +153 -0
  98. package/dist-types/ts3.4/EKSClient.d.ts +54 -0
  99. package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +39 -0
  102. package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +42 -0
  104. package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +39 -0
  105. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +39 -0
  106. package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +39 -0
  108. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  109. package/dist-types/ts3.4/models/models_0.d.ts +189 -54
  110. package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  114. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  115. package/package.json +5 -4
@@ -1,5 +1,16 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EKSServiceException as __BaseException } from "./EKSServiceException";
3
+ export declare const AuthenticationMode: {
4
+ readonly API: "API";
5
+ readonly API_AND_CONFIG_MAP: "API_AND_CONFIG_MAP";
6
+ readonly CONFIG_MAP: "CONFIG_MAP";
7
+ };
8
+ export type AuthenticationMode =
9
+ (typeof AuthenticationMode)[keyof typeof AuthenticationMode];
10
+ export interface AccessConfigResponse {
11
+ bootstrapClusterCreatorAdminPermissions?: boolean;
12
+ authenticationMode?: AuthenticationMode;
13
+ }
3
14
  export declare class AccessDeniedException extends __BaseException {
4
15
  readonly name: "AccessDeniedException";
5
16
  readonly $fault: "client";
@@ -7,6 +18,31 @@ export declare class AccessDeniedException extends __BaseException {
7
18
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
19
  );
9
20
  }
21
+ export interface AccessEntry {
22
+ clusterName?: string;
23
+ principalArn?: string;
24
+ kubernetesGroups?: string[];
25
+ accessEntryArn?: string;
26
+ createdAt?: Date;
27
+ modifiedAt?: Date;
28
+ tags?: Record<string, string>;
29
+ username?: string;
30
+ type?: string;
31
+ }
32
+ export interface AccessPolicy {
33
+ name?: string;
34
+ arn?: string;
35
+ }
36
+ export declare const AccessScopeType: {
37
+ readonly cluster: "cluster";
38
+ readonly namespace: "namespace";
39
+ };
40
+ export type AccessScopeType =
41
+ (typeof AccessScopeType)[keyof typeof AccessScopeType];
42
+ export interface AccessScope {
43
+ type?: AccessScopeType;
44
+ namespaces?: string[];
45
+ }
10
46
  export declare const AddonIssueCode: {
11
47
  readonly ACCESS_DENIED: "AccessDenied";
12
48
  readonly ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied";
@@ -92,6 +128,67 @@ export declare const AMITypes: {
92
128
  readonly WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64";
93
129
  };
94
130
  export type AMITypes = (typeof AMITypes)[keyof typeof AMITypes];
131
+ export interface AssociateAccessPolicyRequest {
132
+ clusterName: string | undefined;
133
+ principalArn: string | undefined;
134
+ policyArn: string | undefined;
135
+ accessScope: AccessScope | undefined;
136
+ }
137
+ export interface AssociatedAccessPolicy {
138
+ policyArn?: string;
139
+ accessScope?: AccessScope;
140
+ associatedAt?: Date;
141
+ modifiedAt?: Date;
142
+ }
143
+ export interface AssociateAccessPolicyResponse {
144
+ clusterName?: string;
145
+ principalArn?: string;
146
+ associatedAccessPolicy?: AssociatedAccessPolicy;
147
+ }
148
+ export declare class InvalidParameterException extends __BaseException {
149
+ readonly name: "InvalidParameterException";
150
+ readonly $fault: "client";
151
+ clusterName?: string;
152
+ nodegroupName?: string;
153
+ fargateProfileName?: string;
154
+ addonName?: string;
155
+ subscriptionId?: string;
156
+ constructor(
157
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
158
+ );
159
+ }
160
+ export declare class InvalidRequestException extends __BaseException {
161
+ readonly name: "InvalidRequestException";
162
+ readonly $fault: "client";
163
+ clusterName?: string;
164
+ nodegroupName?: string;
165
+ addonName?: string;
166
+ subscriptionId?: string;
167
+ constructor(
168
+ opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
169
+ );
170
+ }
171
+ export declare class ResourceNotFoundException extends __BaseException {
172
+ readonly name: "ResourceNotFoundException";
173
+ readonly $fault: "client";
174
+ clusterName?: string;
175
+ nodegroupName?: string;
176
+ fargateProfileName?: string;
177
+ addonName?: string;
178
+ subscriptionId?: string;
179
+ constructor(
180
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
181
+ );
182
+ }
183
+ export declare class ServerException extends __BaseException {
184
+ readonly name: "ServerException";
185
+ readonly $fault: "server";
186
+ clusterName?: string;
187
+ nodegroupName?: string;
188
+ addonName?: string;
189
+ subscriptionId?: string;
190
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
191
+ }
95
192
  export interface Provider {
96
193
  keyArn?: string;
97
194
  }
@@ -131,6 +228,7 @@ export interface ErrorDetail {
131
228
  }
132
229
  export declare const UpdateParamType: {
133
230
  readonly ADDON_VERSION: "AddonVersion";
231
+ readonly AUTHENTICATION_MODE: "AuthenticationMode";
134
232
  readonly CLUSTER_LOGGING: "ClusterLogging";
135
233
  readonly CONFIGURATION_VALUES: "ConfigurationValues";
136
234
  readonly DESIRED_SIZE: "DesiredSize";
@@ -171,6 +269,7 @@ export declare const UpdateStatus: {
171
269
  };
172
270
  export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
173
271
  export declare const UpdateType: {
272
+ readonly ACCESS_CONFIG_UPDATE: "AccessConfigUpdate";
174
273
  readonly ADDON_UPDATE: "AddonUpdate";
175
274
  readonly ASSOCIATE_ENCRYPTION_CONFIG: "AssociateEncryptionConfig";
176
275
  readonly ASSOCIATE_IDENTITY_PROVIDER_CONFIG: "AssociateIdentityProviderConfig";
@@ -202,29 +301,6 @@ export declare class ClientException extends __BaseException {
202
301
  subscriptionId?: string;
203
302
  constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
204
303
  }
205
- export declare class InvalidParameterException extends __BaseException {
206
- readonly name: "InvalidParameterException";
207
- readonly $fault: "client";
208
- clusterName?: string;
209
- nodegroupName?: string;
210
- fargateProfileName?: string;
211
- addonName?: string;
212
- subscriptionId?: string;
213
- constructor(
214
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
215
- );
216
- }
217
- export declare class InvalidRequestException extends __BaseException {
218
- readonly name: "InvalidRequestException";
219
- readonly $fault: "client";
220
- clusterName?: string;
221
- nodegroupName?: string;
222
- addonName?: string;
223
- subscriptionId?: string;
224
- constructor(
225
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
226
- );
227
- }
228
304
  export declare class ResourceInUseException extends __BaseException {
229
305
  readonly name: "ResourceInUseException";
230
306
  readonly $fault: "client";
@@ -235,27 +311,6 @@ export declare class ResourceInUseException extends __BaseException {
235
311
  opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
236
312
  );
237
313
  }
238
- export declare class ResourceNotFoundException extends __BaseException {
239
- readonly name: "ResourceNotFoundException";
240
- readonly $fault: "client";
241
- clusterName?: string;
242
- nodegroupName?: string;
243
- fargateProfileName?: string;
244
- addonName?: string;
245
- subscriptionId?: string;
246
- constructor(
247
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
248
- );
249
- }
250
- export declare class ServerException extends __BaseException {
251
- readonly name: "ServerException";
252
- readonly $fault: "server";
253
- clusterName?: string;
254
- nodegroupName?: string;
255
- addonName?: string;
256
- subscriptionId?: string;
257
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
258
- }
259
314
  export interface OidcIdentityProviderConfigRequest {
260
315
  identityProviderConfigName: string | undefined;
261
316
  issuerUrl: string | undefined;
@@ -279,6 +334,28 @@ export interface AssociateIdentityProviderConfigResponse {
279
334
  export interface AutoScalingGroup {
280
335
  name?: string;
281
336
  }
337
+ export interface CreateAccessEntryRequest {
338
+ clusterName: string | undefined;
339
+ principalArn: string | undefined;
340
+ kubernetesGroups?: string[];
341
+ tags?: Record<string, string>;
342
+ clientRequestToken?: string;
343
+ username?: string;
344
+ type?: string;
345
+ }
346
+ export interface CreateAccessEntryResponse {
347
+ accessEntry?: AccessEntry;
348
+ }
349
+ export declare class ResourceLimitExceededException extends __BaseException {
350
+ readonly name: "ResourceLimitExceededException";
351
+ readonly $fault: "client";
352
+ clusterName?: string;
353
+ nodegroupName?: string;
354
+ subscriptionId?: string;
355
+ constructor(
356
+ opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
357
+ );
358
+ }
282
359
  export declare const ResolveConflicts: {
283
360
  readonly NONE: "NONE";
284
361
  readonly OVERWRITE: "OVERWRITE";
@@ -299,6 +376,10 @@ export interface CreateAddonRequest {
299
376
  export interface CreateAddonResponse {
300
377
  addon?: Addon;
301
378
  }
379
+ export interface CreateAccessConfigRequest {
380
+ bootstrapClusterCreatorAdminPermissions?: boolean;
381
+ authenticationMode?: AuthenticationMode;
382
+ }
302
383
  export declare const IpFamily: {
303
384
  readonly IPV4: "ipv4";
304
385
  readonly IPV6: "ipv6";
@@ -349,6 +430,7 @@ export interface CreateClusterRequest {
349
430
  tags?: Record<string, string>;
350
431
  encryptionConfig?: EncryptionConfig[];
351
432
  outpostConfig?: OutpostConfigRequest;
433
+ accessConfig?: CreateAccessConfigRequest;
352
434
  }
353
435
  export interface Certificate {
354
436
  data?: string;
@@ -449,20 +531,11 @@ export interface Cluster {
449
531
  id?: string;
450
532
  health?: ClusterHealth;
451
533
  outpostConfig?: OutpostConfigResponse;
534
+ accessConfig?: AccessConfigResponse;
452
535
  }
453
536
  export interface CreateClusterResponse {
454
537
  cluster?: Cluster;
455
538
  }
456
- export declare class ResourceLimitExceededException extends __BaseException {
457
- readonly name: "ResourceLimitExceededException";
458
- readonly $fault: "client";
459
- clusterName?: string;
460
- nodegroupName?: string;
461
- subscriptionId?: string;
462
- constructor(
463
- opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
464
- );
465
- }
466
539
  export declare class ServiceUnavailableException extends __BaseException {
467
540
  readonly name: "ServiceUnavailableException";
468
541
  readonly $fault: "server";
@@ -723,6 +796,11 @@ export interface PodIdentityAssociation {
723
796
  export interface CreatePodIdentityAssociationResponse {
724
797
  association?: PodIdentityAssociation;
725
798
  }
799
+ export interface DeleteAccessEntryRequest {
800
+ clusterName: string | undefined;
801
+ principalArn: string | undefined;
802
+ }
803
+ export interface DeleteAccessEntryResponse {}
726
804
  export interface DeleteAddonRequest {
727
805
  clusterName: string | undefined;
728
806
  addonName: string | undefined;
@@ -770,6 +848,13 @@ export interface DeregisterClusterRequest {
770
848
  export interface DeregisterClusterResponse {
771
849
  cluster?: Cluster;
772
850
  }
851
+ export interface DescribeAccessEntryRequest {
852
+ clusterName: string | undefined;
853
+ principalArn: string | undefined;
854
+ }
855
+ export interface DescribeAccessEntryResponse {
856
+ accessEntry?: AccessEntry;
857
+ }
773
858
  export interface DescribeAddonRequest {
774
859
  clusterName: string | undefined;
775
860
  addonName: string | undefined;
@@ -875,6 +960,12 @@ export interface DescribeUpdateRequest {
875
960
  export interface DescribeUpdateResponse {
876
961
  update?: Update;
877
962
  }
963
+ export interface DisassociateAccessPolicyRequest {
964
+ clusterName: string | undefined;
965
+ principalArn: string | undefined;
966
+ policyArn: string | undefined;
967
+ }
968
+ export interface DisassociateAccessPolicyResponse {}
878
969
  export interface DisassociateIdentityProviderConfigRequest {
879
970
  clusterName: string | undefined;
880
971
  identityProviderConfig: IdentityProviderConfig | undefined;
@@ -883,6 +974,24 @@ export interface DisassociateIdentityProviderConfigRequest {
883
974
  export interface DisassociateIdentityProviderConfigResponse {
884
975
  update?: Update;
885
976
  }
977
+ export interface ListAccessEntriesRequest {
978
+ clusterName: string | undefined;
979
+ associatedPolicyArn?: string;
980
+ maxResults?: number;
981
+ nextToken?: string;
982
+ }
983
+ export interface ListAccessEntriesResponse {
984
+ accessEntries?: string[];
985
+ nextToken?: string;
986
+ }
987
+ export interface ListAccessPoliciesRequest {
988
+ maxResults?: number;
989
+ nextToken?: string;
990
+ }
991
+ export interface ListAccessPoliciesResponse {
992
+ accessPolicies?: AccessPolicy[];
993
+ nextToken?: string;
994
+ }
886
995
  export interface ListAddonsRequest {
887
996
  clusterName: string | undefined;
888
997
  maxResults?: number;
@@ -892,6 +1001,18 @@ export interface ListAddonsResponse {
892
1001
  addons?: string[];
893
1002
  nextToken?: string;
894
1003
  }
1004
+ export interface ListAssociatedAccessPoliciesRequest {
1005
+ clusterName: string | undefined;
1006
+ principalArn: string | undefined;
1007
+ maxResults?: number;
1008
+ nextToken?: string;
1009
+ }
1010
+ export interface ListAssociatedAccessPoliciesResponse {
1011
+ clusterName?: string;
1012
+ principalArn?: string;
1013
+ nextToken?: string;
1014
+ associatedAccessPolicies?: AssociatedAccessPolicy[];
1015
+ }
895
1016
  export interface ListClustersRequest {
896
1017
  maxResults?: number;
897
1018
  nextToken?: string;
@@ -1040,6 +1161,16 @@ export interface UntagResourceRequest {
1040
1161
  tagKeys: string[] | undefined;
1041
1162
  }
1042
1163
  export interface UntagResourceResponse {}
1164
+ export interface UpdateAccessEntryRequest {
1165
+ clusterName: string | undefined;
1166
+ principalArn: string | undefined;
1167
+ kubernetesGroups?: string[];
1168
+ clientRequestToken?: string;
1169
+ username?: string;
1170
+ }
1171
+ export interface UpdateAccessEntryResponse {
1172
+ accessEntry?: AccessEntry;
1173
+ }
1043
1174
  export interface UpdateAddonRequest {
1044
1175
  clusterName: string | undefined;
1045
1176
  addonName: string | undefined;
@@ -1052,11 +1183,15 @@ export interface UpdateAddonRequest {
1052
1183
  export interface UpdateAddonResponse {
1053
1184
  update?: Update;
1054
1185
  }
1186
+ export interface UpdateAccessConfigRequest {
1187
+ authenticationMode?: AuthenticationMode;
1188
+ }
1055
1189
  export interface UpdateClusterConfigRequest {
1056
1190
  name: string | undefined;
1057
1191
  resourcesVpcConfig?: VpcConfigRequest;
1058
1192
  logging?: Logging;
1059
1193
  clientRequestToken?: string;
1194
+ accessConfig?: UpdateAccessConfigRequest;
1060
1195
  }
1061
1196
  export interface UpdateClusterConfigResponse {
1062
1197
  update?: Update;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAccessEntriesCommandInput,
4
+ ListAccessEntriesCommandOutput,
5
+ } from "../commands/ListAccessEntriesCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAccessEntries(
8
+ config: EKSPaginationConfiguration,
9
+ input: ListAccessEntriesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAccessEntriesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAccessPoliciesCommandInput,
4
+ ListAccessPoliciesCommandOutput,
5
+ } from "../commands/ListAccessPoliciesCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAccessPolicies(
8
+ config: EKSPaginationConfiguration,
9
+ input: ListAccessPoliciesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAccessPoliciesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAssociatedAccessPoliciesCommandInput,
4
+ ListAssociatedAccessPoliciesCommandOutput,
5
+ } from "../commands/ListAssociatedAccessPoliciesCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAssociatedAccessPolicies(
8
+ config: EKSPaginationConfiguration,
9
+ input: ListAssociatedAccessPoliciesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAssociatedAccessPoliciesCommandOutput>;
@@ -1,6 +1,9 @@
1
1
  export * from "./DescribeAddonVersionsPaginator";
2
2
  export * from "./Interfaces";
3
+ export * from "./ListAccessEntriesPaginator";
4
+ export * from "./ListAccessPoliciesPaginator";
3
5
  export * from "./ListAddonsPaginator";
6
+ export * from "./ListAssociatedAccessPoliciesPaginator";
4
7
  export * from "./ListClustersPaginator";
5
8
  export * from "./ListEksAnywhereSubscriptionsPaginator";
6
9
  export * from "./ListFargateProfilesPaginator";
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ AssociateAccessPolicyCommandInput,
8
+ AssociateAccessPolicyCommandOutput,
9
+ } from "../commands/AssociateAccessPolicyCommand";
6
10
  import {
7
11
  AssociateEncryptionConfigCommandInput,
8
12
  AssociateEncryptionConfigCommandOutput,
@@ -11,6 +15,10 @@ import {
11
15
  AssociateIdentityProviderConfigCommandInput,
12
16
  AssociateIdentityProviderConfigCommandOutput,
13
17
  } from "../commands/AssociateIdentityProviderConfigCommand";
18
+ import {
19
+ CreateAccessEntryCommandInput,
20
+ CreateAccessEntryCommandOutput,
21
+ } from "../commands/CreateAccessEntryCommand";
14
22
  import {
15
23
  CreateAddonCommandInput,
16
24
  CreateAddonCommandOutput,
@@ -35,6 +43,10 @@ import {
35
43
  CreatePodIdentityAssociationCommandInput,
36
44
  CreatePodIdentityAssociationCommandOutput,
37
45
  } from "../commands/CreatePodIdentityAssociationCommand";
46
+ import {
47
+ DeleteAccessEntryCommandInput,
48
+ DeleteAccessEntryCommandOutput,
49
+ } from "../commands/DeleteAccessEntryCommand";
38
50
  import {
39
51
  DeleteAddonCommandInput,
40
52
  DeleteAddonCommandOutput,
@@ -63,6 +75,10 @@ import {
63
75
  DeregisterClusterCommandInput,
64
76
  DeregisterClusterCommandOutput,
65
77
  } from "../commands/DeregisterClusterCommand";
78
+ import {
79
+ DescribeAccessEntryCommandInput,
80
+ DescribeAccessEntryCommandOutput,
81
+ } from "../commands/DescribeAccessEntryCommand";
66
82
  import {
67
83
  DescribeAddonCommandInput,
68
84
  DescribeAddonCommandOutput,
@@ -103,14 +119,30 @@ import {
103
119
  DescribeUpdateCommandInput,
104
120
  DescribeUpdateCommandOutput,
105
121
  } from "../commands/DescribeUpdateCommand";
122
+ import {
123
+ DisassociateAccessPolicyCommandInput,
124
+ DisassociateAccessPolicyCommandOutput,
125
+ } from "../commands/DisassociateAccessPolicyCommand";
106
126
  import {
107
127
  DisassociateIdentityProviderConfigCommandInput,
108
128
  DisassociateIdentityProviderConfigCommandOutput,
109
129
  } from "../commands/DisassociateIdentityProviderConfigCommand";
130
+ import {
131
+ ListAccessEntriesCommandInput,
132
+ ListAccessEntriesCommandOutput,
133
+ } from "../commands/ListAccessEntriesCommand";
134
+ import {
135
+ ListAccessPoliciesCommandInput,
136
+ ListAccessPoliciesCommandOutput,
137
+ } from "../commands/ListAccessPoliciesCommand";
110
138
  import {
111
139
  ListAddonsCommandInput,
112
140
  ListAddonsCommandOutput,
113
141
  } from "../commands/ListAddonsCommand";
142
+ import {
143
+ ListAssociatedAccessPoliciesCommandInput,
144
+ ListAssociatedAccessPoliciesCommandOutput,
145
+ } from "../commands/ListAssociatedAccessPoliciesCommand";
114
146
  import {
115
147
  ListClustersCommandInput,
116
148
  ListClustersCommandOutput,
@@ -155,6 +187,10 @@ import {
155
187
  UntagResourceCommandInput,
156
188
  UntagResourceCommandOutput,
157
189
  } from "../commands/UntagResourceCommand";
190
+ import {
191
+ UpdateAccessEntryCommandInput,
192
+ UpdateAccessEntryCommandOutput,
193
+ } from "../commands/UpdateAccessEntryCommand";
158
194
  import {
159
195
  UpdateAddonCommandInput,
160
196
  UpdateAddonCommandOutput,
@@ -183,6 +219,10 @@ import {
183
219
  UpdatePodIdentityAssociationCommandInput,
184
220
  UpdatePodIdentityAssociationCommandOutput,
185
221
  } from "../commands/UpdatePodIdentityAssociationCommand";
222
+ export declare const se_AssociateAccessPolicyCommand: (
223
+ input: AssociateAccessPolicyCommandInput,
224
+ context: __SerdeContext
225
+ ) => Promise<__HttpRequest>;
186
226
  export declare const se_AssociateEncryptionConfigCommand: (
187
227
  input: AssociateEncryptionConfigCommandInput,
188
228
  context: __SerdeContext
@@ -191,6 +231,10 @@ export declare const se_AssociateIdentityProviderConfigCommand: (
191
231
  input: AssociateIdentityProviderConfigCommandInput,
192
232
  context: __SerdeContext
193
233
  ) => Promise<__HttpRequest>;
234
+ export declare const se_CreateAccessEntryCommand: (
235
+ input: CreateAccessEntryCommandInput,
236
+ context: __SerdeContext
237
+ ) => Promise<__HttpRequest>;
194
238
  export declare const se_CreateAddonCommand: (
195
239
  input: CreateAddonCommandInput,
196
240
  context: __SerdeContext
@@ -215,6 +259,10 @@ export declare const se_CreatePodIdentityAssociationCommand: (
215
259
  input: CreatePodIdentityAssociationCommandInput,
216
260
  context: __SerdeContext
217
261
  ) => Promise<__HttpRequest>;
262
+ export declare const se_DeleteAccessEntryCommand: (
263
+ input: DeleteAccessEntryCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
218
266
  export declare const se_DeleteAddonCommand: (
219
267
  input: DeleteAddonCommandInput,
220
268
  context: __SerdeContext
@@ -243,6 +291,10 @@ export declare const se_DeregisterClusterCommand: (
243
291
  input: DeregisterClusterCommandInput,
244
292
  context: __SerdeContext
245
293
  ) => Promise<__HttpRequest>;
294
+ export declare const se_DescribeAccessEntryCommand: (
295
+ input: DescribeAccessEntryCommandInput,
296
+ context: __SerdeContext
297
+ ) => Promise<__HttpRequest>;
246
298
  export declare const se_DescribeAddonCommand: (
247
299
  input: DescribeAddonCommandInput,
248
300
  context: __SerdeContext
@@ -283,14 +335,30 @@ export declare const se_DescribeUpdateCommand: (
283
335
  input: DescribeUpdateCommandInput,
284
336
  context: __SerdeContext
285
337
  ) => Promise<__HttpRequest>;
338
+ export declare const se_DisassociateAccessPolicyCommand: (
339
+ input: DisassociateAccessPolicyCommandInput,
340
+ context: __SerdeContext
341
+ ) => Promise<__HttpRequest>;
286
342
  export declare const se_DisassociateIdentityProviderConfigCommand: (
287
343
  input: DisassociateIdentityProviderConfigCommandInput,
288
344
  context: __SerdeContext
289
345
  ) => Promise<__HttpRequest>;
346
+ export declare const se_ListAccessEntriesCommand: (
347
+ input: ListAccessEntriesCommandInput,
348
+ context: __SerdeContext
349
+ ) => Promise<__HttpRequest>;
350
+ export declare const se_ListAccessPoliciesCommand: (
351
+ input: ListAccessPoliciesCommandInput,
352
+ context: __SerdeContext
353
+ ) => Promise<__HttpRequest>;
290
354
  export declare const se_ListAddonsCommand: (
291
355
  input: ListAddonsCommandInput,
292
356
  context: __SerdeContext
293
357
  ) => Promise<__HttpRequest>;
358
+ export declare const se_ListAssociatedAccessPoliciesCommand: (
359
+ input: ListAssociatedAccessPoliciesCommandInput,
360
+ context: __SerdeContext
361
+ ) => Promise<__HttpRequest>;
294
362
  export declare const se_ListClustersCommand: (
295
363
  input: ListClustersCommandInput,
296
364
  context: __SerdeContext
@@ -335,6 +403,10 @@ export declare const se_UntagResourceCommand: (
335
403
  input: UntagResourceCommandInput,
336
404
  context: __SerdeContext
337
405
  ) => Promise<__HttpRequest>;
406
+ export declare const se_UpdateAccessEntryCommand: (
407
+ input: UpdateAccessEntryCommandInput,
408
+ context: __SerdeContext
409
+ ) => Promise<__HttpRequest>;
338
410
  export declare const se_UpdateAddonCommand: (
339
411
  input: UpdateAddonCommandInput,
340
412
  context: __SerdeContext
@@ -363,6 +435,10 @@ export declare const se_UpdatePodIdentityAssociationCommand: (
363
435
  input: UpdatePodIdentityAssociationCommandInput,
364
436
  context: __SerdeContext
365
437
  ) => Promise<__HttpRequest>;
438
+ export declare const de_AssociateAccessPolicyCommand: (
439
+ output: __HttpResponse,
440
+ context: __SerdeContext
441
+ ) => Promise<AssociateAccessPolicyCommandOutput>;
366
442
  export declare const de_AssociateEncryptionConfigCommand: (
367
443
  output: __HttpResponse,
368
444
  context: __SerdeContext
@@ -371,6 +447,10 @@ export declare const de_AssociateIdentityProviderConfigCommand: (
371
447
  output: __HttpResponse,
372
448
  context: __SerdeContext
373
449
  ) => Promise<AssociateIdentityProviderConfigCommandOutput>;
450
+ export declare const de_CreateAccessEntryCommand: (
451
+ output: __HttpResponse,
452
+ context: __SerdeContext
453
+ ) => Promise<CreateAccessEntryCommandOutput>;
374
454
  export declare const de_CreateAddonCommand: (
375
455
  output: __HttpResponse,
376
456
  context: __SerdeContext
@@ -395,6 +475,10 @@ export declare const de_CreatePodIdentityAssociationCommand: (
395
475
  output: __HttpResponse,
396
476
  context: __SerdeContext
397
477
  ) => Promise<CreatePodIdentityAssociationCommandOutput>;
478
+ export declare const de_DeleteAccessEntryCommand: (
479
+ output: __HttpResponse,
480
+ context: __SerdeContext
481
+ ) => Promise<DeleteAccessEntryCommandOutput>;
398
482
  export declare const de_DeleteAddonCommand: (
399
483
  output: __HttpResponse,
400
484
  context: __SerdeContext
@@ -423,6 +507,10 @@ export declare const de_DeregisterClusterCommand: (
423
507
  output: __HttpResponse,
424
508
  context: __SerdeContext
425
509
  ) => Promise<DeregisterClusterCommandOutput>;
510
+ export declare const de_DescribeAccessEntryCommand: (
511
+ output: __HttpResponse,
512
+ context: __SerdeContext
513
+ ) => Promise<DescribeAccessEntryCommandOutput>;
426
514
  export declare const de_DescribeAddonCommand: (
427
515
  output: __HttpResponse,
428
516
  context: __SerdeContext
@@ -463,14 +551,30 @@ export declare const de_DescribeUpdateCommand: (
463
551
  output: __HttpResponse,
464
552
  context: __SerdeContext
465
553
  ) => Promise<DescribeUpdateCommandOutput>;
554
+ export declare const de_DisassociateAccessPolicyCommand: (
555
+ output: __HttpResponse,
556
+ context: __SerdeContext
557
+ ) => Promise<DisassociateAccessPolicyCommandOutput>;
466
558
  export declare const de_DisassociateIdentityProviderConfigCommand: (
467
559
  output: __HttpResponse,
468
560
  context: __SerdeContext
469
561
  ) => Promise<DisassociateIdentityProviderConfigCommandOutput>;
562
+ export declare const de_ListAccessEntriesCommand: (
563
+ output: __HttpResponse,
564
+ context: __SerdeContext
565
+ ) => Promise<ListAccessEntriesCommandOutput>;
566
+ export declare const de_ListAccessPoliciesCommand: (
567
+ output: __HttpResponse,
568
+ context: __SerdeContext
569
+ ) => Promise<ListAccessPoliciesCommandOutput>;
470
570
  export declare const de_ListAddonsCommand: (
471
571
  output: __HttpResponse,
472
572
  context: __SerdeContext
473
573
  ) => Promise<ListAddonsCommandOutput>;
574
+ export declare const de_ListAssociatedAccessPoliciesCommand: (
575
+ output: __HttpResponse,
576
+ context: __SerdeContext
577
+ ) => Promise<ListAssociatedAccessPoliciesCommandOutput>;
474
578
  export declare const de_ListClustersCommand: (
475
579
  output: __HttpResponse,
476
580
  context: __SerdeContext
@@ -515,6 +619,10 @@ export declare const de_UntagResourceCommand: (
515
619
  output: __HttpResponse,
516
620
  context: __SerdeContext
517
621
  ) => Promise<UntagResourceCommandOutput>;
622
+ export declare const de_UpdateAccessEntryCommand: (
623
+ output: __HttpResponse,
624
+ context: __SerdeContext
625
+ ) => Promise<UpdateAccessEntryCommandOutput>;
518
626
  export declare const de_UpdateAddonCommand: (
519
627
  output: __HttpResponse,
520
628
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.474.0",
4
+ "version": "3.477.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.474.0",
24
- "@aws-sdk/core": "3.474.0",
25
- "@aws-sdk/credential-provider-node": "3.474.0",
23
+ "@aws-sdk/client-sts": "3.477.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.477.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,6 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",