@aws-sdk/client-eks 3.477.0 → 3.478.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 (84) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EKS.js +4 -0
  3. package/dist-cjs/commands/DescribeInsightCommand.js +51 -0
  4. package/dist-cjs/commands/ListInsightsCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +10 -1
  7. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListAccessEntriesPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListAddonsPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
  13. package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -24
  14. package/dist-cjs/pagination/ListFargateProfilesPaginator.js +2 -24
  15. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +2 -24
  16. package/dist-cjs/pagination/ListInsightsPaginator.js +7 -0
  17. package/dist-cjs/pagination/ListNodegroupsPaginator.js +2 -24
  18. package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +2 -24
  19. package/dist-cjs/pagination/ListUpdatesPaginator.js +2 -24
  20. package/dist-cjs/pagination/index.js +1 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +250 -134
  22. package/dist-es/EKS.js +4 -0
  23. package/dist-es/commands/DescribeInsightCommand.js +47 -0
  24. package/dist-es/commands/ListInsightsCommand.js +47 -0
  25. package/dist-es/commands/index.js +2 -0
  26. package/dist-es/models/models_0.js +9 -0
  27. package/dist-es/pagination/DescribeAddonVersionsPaginator.js +2 -23
  28. package/dist-es/pagination/ListAccessEntriesPaginator.js +2 -23
  29. package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -23
  30. package/dist-es/pagination/ListAddonsPaginator.js +2 -23
  31. package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -23
  32. package/dist-es/pagination/ListClustersPaginator.js +2 -23
  33. package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -23
  34. package/dist-es/pagination/ListFargateProfilesPaginator.js +2 -23
  35. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +2 -23
  36. package/dist-es/pagination/ListInsightsPaginator.js +4 -0
  37. package/dist-es/pagination/ListNodegroupsPaginator.js +2 -23
  38. package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +2 -23
  39. package/dist-es/pagination/ListUpdatesPaginator.js +2 -23
  40. package/dist-es/pagination/index.js +1 -0
  41. package/dist-es/protocols/Aws_restJson1.js +244 -132
  42. package/dist-types/EKS.d.ts +14 -0
  43. package/dist-types/EKSClient.d.ts +4 -2
  44. package/dist-types/commands/DescribeInsightCommand.d.ts +133 -0
  45. package/dist-types/commands/ListInsightsCommand.d.ts +117 -0
  46. package/dist-types/commands/index.d.ts +2 -0
  47. package/dist-types/models/models_0.d.ts +359 -5
  48. package/dist-types/pagination/DescribeAddonVersionsPaginator.d.ts +1 -1
  49. package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListAddonsPaginator.d.ts +1 -1
  52. package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +1 -1
  53. package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
  54. package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +1 -1
  55. package/dist-types/pagination/ListFargateProfilesPaginator.d.ts +1 -1
  56. package/dist-types/pagination/ListIdentityProviderConfigsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListInsightsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListNodegroupsPaginator.d.ts +1 -1
  59. package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +1 -1
  60. package/dist-types/pagination/ListUpdatesPaginator.d.ts +1 -1
  61. package/dist-types/pagination/index.d.ts +1 -0
  62. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  63. package/dist-types/ts3.4/EKS.d.ts +34 -0
  64. package/dist-types/ts3.4/EKSClient.d.ts +12 -0
  65. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +35 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +82 -0
  69. package/dist-types/ts3.4/pagination/DescribeAddonVersionsPaginator.d.ts +3 -3
  70. package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +3 -3
  71. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
  72. package/dist-types/ts3.4/pagination/ListAddonsPaginator.d.ts +3 -3
  73. package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +3 -3
  74. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
  75. package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +3 -3
  76. package/dist-types/ts3.4/pagination/ListFargateProfilesPaginator.d.ts +3 -3
  77. package/dist-types/ts3.4/pagination/ListIdentityProviderConfigsPaginator.d.ts +3 -3
  78. package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +11 -0
  79. package/dist-types/ts3.4/pagination/ListNodegroupsPaginator.d.ts +3 -3
  80. package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +3 -3
  81. package/dist-types/ts3.4/pagination/ListUpdatesPaginator.d.ts +3 -3
  82. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  83. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  84. package/package.json +5 -5
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAddons(config: EKSPaginationConfiguration, input: ListAddonsCommandInput, ...additionalArguments: any): Paginator<ListAddonsCommandOutput>;
7
+ export declare const paginateListAddons: (config: EKSPaginationConfiguration, input: ListAddonsCommandInput, ...rest: any[]) => Paginator<ListAddonsCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAssociatedAccessPolicies(config: EKSPaginationConfiguration, input: ListAssociatedAccessPoliciesCommandInput, ...additionalArguments: any): Paginator<ListAssociatedAccessPoliciesCommandOutput>;
7
+ export declare const paginateListAssociatedAccessPolicies: (config: EKSPaginationConfiguration, input: ListAssociatedAccessPoliciesCommandInput, ...rest: any[]) => Paginator<ListAssociatedAccessPoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListClusters(config: EKSPaginationConfiguration, input: ListClustersCommandInput, ...additionalArguments: any): Paginator<ListClustersCommandOutput>;
7
+ export declare const paginateListClusters: (config: EKSPaginationConfiguration, input: ListClustersCommandInput, ...rest: any[]) => Paginator<ListClustersCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListEksAnywhereSubscriptions(config: EKSPaginationConfiguration, input: ListEksAnywhereSubscriptionsCommandInput, ...additionalArguments: any): Paginator<ListEksAnywhereSubscriptionsCommandOutput>;
7
+ export declare const paginateListEksAnywhereSubscriptions: (config: EKSPaginationConfiguration, input: ListEksAnywhereSubscriptionsCommandInput, ...rest: any[]) => Paginator<ListEksAnywhereSubscriptionsCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFargateProfiles(config: EKSPaginationConfiguration, input: ListFargateProfilesCommandInput, ...additionalArguments: any): Paginator<ListFargateProfilesCommandOutput>;
7
+ export declare const paginateListFargateProfiles: (config: EKSPaginationConfiguration, input: ListFargateProfilesCommandInput, ...rest: any[]) => Paginator<ListFargateProfilesCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListIdentityProviderConfigs(config: EKSPaginationConfiguration, input: ListIdentityProviderConfigsCommandInput, ...additionalArguments: any): Paginator<ListIdentityProviderConfigsCommandOutput>;
7
+ export declare const paginateListIdentityProviderConfigs: (config: EKSPaginationConfiguration, input: ListIdentityProviderConfigsCommandInput, ...rest: any[]) => Paginator<ListIdentityProviderConfigsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListInsightsCommandInput, ListInsightsCommandOutput } from "../commands/ListInsightsCommand";
3
+ import { EKSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListInsights: (config: EKSPaginationConfiguration, input: ListInsightsCommandInput, ...rest: any[]) => Paginator<ListInsightsCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListNodegroups(config: EKSPaginationConfiguration, input: ListNodegroupsCommandInput, ...additionalArguments: any): Paginator<ListNodegroupsCommandOutput>;
7
+ export declare const paginateListNodegroups: (config: EKSPaginationConfiguration, input: ListNodegroupsCommandInput, ...rest: any[]) => Paginator<ListNodegroupsCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListPodIdentityAssociations(config: EKSPaginationConfiguration, input: ListPodIdentityAssociationsCommandInput, ...additionalArguments: any): Paginator<ListPodIdentityAssociationsCommandOutput>;
7
+ export declare const paginateListPodIdentityAssociations: (config: EKSPaginationConfiguration, input: ListPodIdentityAssociationsCommandInput, ...rest: any[]) => Paginator<ListPodIdentityAssociationsCommandOutput>;
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListUpdates(config: EKSPaginationConfiguration, input: ListUpdatesCommandInput, ...additionalArguments: any): Paginator<ListUpdatesCommandOutput>;
7
+ export declare const paginateListUpdates: (config: EKSPaginationConfiguration, input: ListUpdatesCommandInput, ...rest: any[]) => Paginator<ListUpdatesCommandOutput>;
@@ -8,6 +8,7 @@ export * from "./ListClustersPaginator";
8
8
  export * from "./ListEksAnywhereSubscriptionsPaginator";
9
9
  export * from "./ListFargateProfilesPaginator";
10
10
  export * from "./ListIdentityProviderConfigsPaginator";
11
+ export * from "./ListInsightsPaginator";
11
12
  export * from "./ListNodegroupsPaginator";
12
13
  export * from "./ListPodIdentityAssociationsPaginator";
13
14
  export * from "./ListUpdatesPaginator";
@@ -26,6 +26,7 @@ import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../co
26
26
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "../commands/DescribeEksAnywhereSubscriptionCommand";
27
27
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
28
28
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "../commands/DescribeIdentityProviderConfigCommand";
29
+ import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "../commands/DescribeInsightCommand";
29
30
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "../commands/DescribeNodegroupCommand";
30
31
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "../commands/DescribePodIdentityAssociationCommand";
31
32
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "../commands/DescribeUpdateCommand";
@@ -39,6 +40,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands
39
40
  import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "../commands/ListEksAnywhereSubscriptionsCommand";
40
41
  import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "../commands/ListFargateProfilesCommand";
41
42
  import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCommandOutput } from "../commands/ListIdentityProviderConfigsCommand";
43
+ import { ListInsightsCommandInput, ListInsightsCommandOutput } from "../commands/ListInsightsCommand";
42
44
  import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "../commands/ListNodegroupsCommand";
43
45
  import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput } from "../commands/ListPodIdentityAssociationsCommand";
44
46
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
@@ -158,6 +160,10 @@ export declare const se_DescribeFargateProfileCommand: (input: DescribeFargatePr
158
160
  * serializeAws_restJson1DescribeIdentityProviderConfigCommand
159
161
  */
160
162
  export declare const se_DescribeIdentityProviderConfigCommand: (input: DescribeIdentityProviderConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
+ /**
164
+ * serializeAws_restJson1DescribeInsightCommand
165
+ */
166
+ export declare const se_DescribeInsightCommand: (input: DescribeInsightCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
161
167
  /**
162
168
  * serializeAws_restJson1DescribeNodegroupCommand
163
169
  */
@@ -210,6 +216,10 @@ export declare const se_ListFargateProfilesCommand: (input: ListFargateProfilesC
210
216
  * serializeAws_restJson1ListIdentityProviderConfigsCommand
211
217
  */
212
218
  export declare const se_ListIdentityProviderConfigsCommand: (input: ListIdentityProviderConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
219
+ /**
220
+ * serializeAws_restJson1ListInsightsCommand
221
+ */
222
+ export declare const se_ListInsightsCommand: (input: ListInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
213
223
  /**
214
224
  * serializeAws_restJson1ListNodegroupsCommand
215
225
  */
@@ -374,6 +384,10 @@ export declare const de_DescribeFargateProfileCommand: (output: __HttpResponse,
374
384
  * deserializeAws_restJson1DescribeIdentityProviderConfigCommand
375
385
  */
376
386
  export declare const de_DescribeIdentityProviderConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeIdentityProviderConfigCommandOutput>;
387
+ /**
388
+ * deserializeAws_restJson1DescribeInsightCommand
389
+ */
390
+ export declare const de_DescribeInsightCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInsightCommandOutput>;
377
391
  /**
378
392
  * deserializeAws_restJson1DescribeNodegroupCommand
379
393
  */
@@ -426,6 +440,10 @@ export declare const de_ListFargateProfilesCommand: (output: __HttpResponse, con
426
440
  * deserializeAws_restJson1ListIdentityProviderConfigsCommand
427
441
  */
428
442
  export declare const de_ListIdentityProviderConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIdentityProviderConfigsCommandOutput>;
443
+ /**
444
+ * deserializeAws_restJson1ListInsightsCommand
445
+ */
446
+ export declare const de_ListInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInsightsCommandOutput>;
429
447
  /**
430
448
  * deserializeAws_restJson1ListNodegroupsCommand
431
449
  */
@@ -103,6 +103,10 @@ import {
103
103
  DescribeIdentityProviderConfigCommandInput,
104
104
  DescribeIdentityProviderConfigCommandOutput,
105
105
  } from "./commands/DescribeIdentityProviderConfigCommand";
106
+ import {
107
+ DescribeInsightCommandInput,
108
+ DescribeInsightCommandOutput,
109
+ } from "./commands/DescribeInsightCommand";
106
110
  import {
107
111
  DescribeNodegroupCommandInput,
108
112
  DescribeNodegroupCommandOutput,
@@ -155,6 +159,10 @@ import {
155
159
  ListIdentityProviderConfigsCommandInput,
156
160
  ListIdentityProviderConfigsCommandOutput,
157
161
  } from "./commands/ListIdentityProviderConfigsCommand";
162
+ import {
163
+ ListInsightsCommandInput,
164
+ ListInsightsCommandOutput,
165
+ } from "./commands/ListInsightsCommand";
158
166
  import {
159
167
  ListNodegroupsCommandInput,
160
168
  ListNodegroupsCommandOutput,
@@ -555,6 +563,19 @@ export interface EKS {
555
563
  options: __HttpHandlerOptions,
556
564
  cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void
557
565
  ): void;
566
+ describeInsight(
567
+ args: DescribeInsightCommandInput,
568
+ options?: __HttpHandlerOptions
569
+ ): Promise<DescribeInsightCommandOutput>;
570
+ describeInsight(
571
+ args: DescribeInsightCommandInput,
572
+ cb: (err: any, data?: DescribeInsightCommandOutput) => void
573
+ ): void;
574
+ describeInsight(
575
+ args: DescribeInsightCommandInput,
576
+ options: __HttpHandlerOptions,
577
+ cb: (err: any, data?: DescribeInsightCommandOutput) => void
578
+ ): void;
558
579
  describeNodegroup(
559
580
  args: DescribeNodegroupCommandInput,
560
581
  options?: __HttpHandlerOptions
@@ -730,6 +751,19 @@ export interface EKS {
730
751
  options: __HttpHandlerOptions,
731
752
  cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void
732
753
  ): void;
754
+ listInsights(
755
+ args: ListInsightsCommandInput,
756
+ options?: __HttpHandlerOptions
757
+ ): Promise<ListInsightsCommandOutput>;
758
+ listInsights(
759
+ args: ListInsightsCommandInput,
760
+ cb: (err: any, data?: ListInsightsCommandOutput) => void
761
+ ): void;
762
+ listInsights(
763
+ args: ListInsightsCommandInput,
764
+ options: __HttpHandlerOptions,
765
+ cb: (err: any, data?: ListInsightsCommandOutput) => void
766
+ ): void;
733
767
  listNodegroups(
734
768
  args: ListNodegroupsCommandInput,
735
769
  options?: __HttpHandlerOptions
@@ -149,6 +149,10 @@ import {
149
149
  DescribeIdentityProviderConfigCommandInput,
150
150
  DescribeIdentityProviderConfigCommandOutput,
151
151
  } from "./commands/DescribeIdentityProviderConfigCommand";
152
+ import {
153
+ DescribeInsightCommandInput,
154
+ DescribeInsightCommandOutput,
155
+ } from "./commands/DescribeInsightCommand";
152
156
  import {
153
157
  DescribeNodegroupCommandInput,
154
158
  DescribeNodegroupCommandOutput,
@@ -201,6 +205,10 @@ import {
201
205
  ListIdentityProviderConfigsCommandInput,
202
206
  ListIdentityProviderConfigsCommandOutput,
203
207
  } from "./commands/ListIdentityProviderConfigsCommand";
208
+ import {
209
+ ListInsightsCommandInput,
210
+ ListInsightsCommandOutput,
211
+ } from "./commands/ListInsightsCommand";
204
212
  import {
205
213
  ListNodegroupsCommandInput,
206
214
  ListNodegroupsCommandOutput,
@@ -295,6 +303,7 @@ export type ServiceInputTypes =
295
303
  | DescribeEksAnywhereSubscriptionCommandInput
296
304
  | DescribeFargateProfileCommandInput
297
305
  | DescribeIdentityProviderConfigCommandInput
306
+ | DescribeInsightCommandInput
298
307
  | DescribeNodegroupCommandInput
299
308
  | DescribePodIdentityAssociationCommandInput
300
309
  | DescribeUpdateCommandInput
@@ -308,6 +317,7 @@ export type ServiceInputTypes =
308
317
  | ListEksAnywhereSubscriptionsCommandInput
309
318
  | ListFargateProfilesCommandInput
310
319
  | ListIdentityProviderConfigsCommandInput
320
+ | ListInsightsCommandInput
311
321
  | ListNodegroupsCommandInput
312
322
  | ListPodIdentityAssociationsCommandInput
313
323
  | ListTagsForResourceCommandInput
@@ -350,6 +360,7 @@ export type ServiceOutputTypes =
350
360
  | DescribeEksAnywhereSubscriptionCommandOutput
351
361
  | DescribeFargateProfileCommandOutput
352
362
  | DescribeIdentityProviderConfigCommandOutput
363
+ | DescribeInsightCommandOutput
353
364
  | DescribeNodegroupCommandOutput
354
365
  | DescribePodIdentityAssociationCommandOutput
355
366
  | DescribeUpdateCommandOutput
@@ -363,6 +374,7 @@ export type ServiceOutputTypes =
363
374
  | ListEksAnywhereSubscriptionsCommandOutput
364
375
  | ListFargateProfilesCommandOutput
365
376
  | ListIdentityProviderConfigsCommandOutput
377
+ | ListInsightsCommandOutput
366
378
  | ListNodegroupsCommandOutput
367
379
  | ListPodIdentityAssociationsCommandOutput
368
380
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EKSClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EKSClient";
14
+ import {
15
+ DescribeInsightRequest,
16
+ DescribeInsightResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeInsightCommandInput extends DescribeInsightRequest {}
20
+ export interface DescribeInsightCommandOutput
21
+ extends DescribeInsightResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeInsightCommand extends $Command<
24
+ DescribeInsightCommandInput,
25
+ DescribeInsightCommandOutput,
26
+ EKSClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeInsightCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeInsightCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: EKSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DescribeInsightCommandInput, DescribeInsightCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ EKSClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EKSClient";
14
+ import { ListInsightsRequest, ListInsightsResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListInsightsCommandInput extends ListInsightsRequest {}
17
+ export interface ListInsightsCommandOutput
18
+ extends ListInsightsResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListInsightsCommand extends $Command<
21
+ ListInsightsCommandInput,
22
+ ListInsightsCommandOutput,
23
+ EKSClientResolvedConfig
24
+ > {
25
+ readonly input: ListInsightsCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListInsightsCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: EKSClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListInsightsCommandInput, ListInsightsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -24,6 +24,7 @@ export * from "./DescribeClusterCommand";
24
24
  export * from "./DescribeEksAnywhereSubscriptionCommand";
25
25
  export * from "./DescribeFargateProfileCommand";
26
26
  export * from "./DescribeIdentityProviderConfigCommand";
27
+ export * from "./DescribeInsightCommand";
27
28
  export * from "./DescribeNodegroupCommand";
28
29
  export * from "./DescribePodIdentityAssociationCommand";
29
30
  export * from "./DescribeUpdateCommand";
@@ -37,6 +38,7 @@ export * from "./ListClustersCommand";
37
38
  export * from "./ListEksAnywhereSubscriptionsCommand";
38
39
  export * from "./ListFargateProfilesCommand";
39
40
  export * from "./ListIdentityProviderConfigsCommand";
41
+ export * from "./ListInsightsCommand";
40
42
  export * from "./ListNodegroupsCommand";
41
43
  export * from "./ListPodIdentityAssociationsCommand";
42
44
  export * from "./ListTagsForResourceCommand";
@@ -937,6 +937,63 @@ export interface IdentityProviderConfigResponse {
937
937
  export interface DescribeIdentityProviderConfigResponse {
938
938
  identityProviderConfig?: IdentityProviderConfigResponse;
939
939
  }
940
+ export interface DescribeInsightRequest {
941
+ clusterName: string | undefined;
942
+ id: string | undefined;
943
+ }
944
+ export declare const Category: {
945
+ readonly UPGRADE_READINESS: "UPGRADE_READINESS";
946
+ };
947
+ export type Category = (typeof Category)[keyof typeof Category];
948
+ export interface ClientStat {
949
+ userAgent?: string;
950
+ numberOfRequestsLast30Days?: number;
951
+ lastRequestTime?: Date;
952
+ }
953
+ export interface DeprecationDetail {
954
+ usage?: string;
955
+ replacedWith?: string;
956
+ stopServingVersion?: string;
957
+ startServingReplacementVersion?: string;
958
+ clientStats?: ClientStat[];
959
+ }
960
+ export interface InsightCategorySpecificSummary {
961
+ deprecationDetails?: DeprecationDetail[];
962
+ }
963
+ export declare const InsightStatusValue: {
964
+ readonly ERROR: "ERROR";
965
+ readonly PASSING: "PASSING";
966
+ readonly UNKNOWN: "UNKNOWN";
967
+ readonly WARNING: "WARNING";
968
+ };
969
+ export type InsightStatusValue =
970
+ (typeof InsightStatusValue)[keyof typeof InsightStatusValue];
971
+ export interface InsightStatus {
972
+ status?: InsightStatusValue;
973
+ reason?: string;
974
+ }
975
+ export interface InsightResourceDetail {
976
+ insightStatus?: InsightStatus;
977
+ kubernetesResourceUri?: string;
978
+ arn?: string;
979
+ }
980
+ export interface Insight {
981
+ id?: string;
982
+ name?: string;
983
+ category?: Category;
984
+ kubernetesVersion?: string;
985
+ lastRefreshTime?: Date;
986
+ lastTransitionTime?: Date;
987
+ description?: string;
988
+ insightStatus?: InsightStatus;
989
+ recommendation?: string;
990
+ additionalInfo?: Record<string, string>;
991
+ resources?: InsightResourceDetail[];
992
+ categorySpecificSummary?: InsightCategorySpecificSummary;
993
+ }
994
+ export interface DescribeInsightResponse {
995
+ insight?: Insight;
996
+ }
940
997
  export interface DescribeNodegroupRequest {
941
998
  clusterName: string | undefined;
942
999
  nodegroupName: string | undefined;
@@ -1059,6 +1116,31 @@ export interface ListIdentityProviderConfigsResponse {
1059
1116
  identityProviderConfigs?: IdentityProviderConfig[];
1060
1117
  nextToken?: string;
1061
1118
  }
1119
+ export interface InsightsFilter {
1120
+ categories?: Category[];
1121
+ kubernetesVersions?: string[];
1122
+ statuses?: InsightStatusValue[];
1123
+ }
1124
+ export interface ListInsightsRequest {
1125
+ clusterName: string | undefined;
1126
+ filter?: InsightsFilter;
1127
+ maxResults?: number;
1128
+ nextToken?: string;
1129
+ }
1130
+ export interface InsightSummary {
1131
+ id?: string;
1132
+ name?: string;
1133
+ category?: Category;
1134
+ kubernetesVersion?: string;
1135
+ lastRefreshTime?: Date;
1136
+ lastTransitionTime?: Date;
1137
+ description?: string;
1138
+ insightStatus?: InsightStatus;
1139
+ }
1140
+ export interface ListInsightsResponse {
1141
+ insights?: InsightSummary[];
1142
+ nextToken?: string;
1143
+ }
1062
1144
  export interface ListNodegroupsRequest {
1063
1145
  clusterName: string | undefined;
1064
1146
  maxResults?: number;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeAddonVersionsCommandOutput,
5
5
  } from "../commands/DescribeAddonVersionsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeAddonVersions(
7
+ export declare const paginateDescribeAddonVersions: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: DescribeAddonVersionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeAddonVersionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeAddonVersionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAccessEntriesCommandOutput,
5
5
  } from "../commands/ListAccessEntriesCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAccessEntries(
7
+ export declare const paginateListAccessEntries: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListAccessEntriesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAccessEntriesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccessEntriesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAccessPoliciesCommandOutput,
5
5
  } from "../commands/ListAccessPoliciesCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAccessPolicies(
7
+ export declare const paginateListAccessPolicies: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListAccessPoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAccessPoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccessPoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAddonsCommandOutput,
5
5
  } from "../commands/ListAddonsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAddons(
7
+ export declare const paginateListAddons: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListAddonsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAddonsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAddonsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAssociatedAccessPoliciesCommandOutput,
5
5
  } from "../commands/ListAssociatedAccessPoliciesCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAssociatedAccessPolicies(
7
+ export declare const paginateListAssociatedAccessPolicies: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListAssociatedAccessPoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAssociatedAccessPoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAssociatedAccessPoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListClustersCommandOutput,
5
5
  } from "../commands/ListClustersCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListClusters(
7
+ export declare const paginateListClusters: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListClustersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListClustersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListClustersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListEksAnywhereSubscriptionsCommandOutput,
5
5
  } from "../commands/ListEksAnywhereSubscriptionsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListEksAnywhereSubscriptions(
7
+ export declare const paginateListEksAnywhereSubscriptions: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListEksAnywhereSubscriptionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListEksAnywhereSubscriptionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListEksAnywhereSubscriptionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFargateProfilesCommandOutput,
5
5
  } from "../commands/ListFargateProfilesCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFargateProfiles(
7
+ export declare const paginateListFargateProfiles: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListFargateProfilesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFargateProfilesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFargateProfilesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListIdentityProviderConfigsCommandOutput,
5
5
  } from "../commands/ListIdentityProviderConfigsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListIdentityProviderConfigs(
7
+ export declare const paginateListIdentityProviderConfigs: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListIdentityProviderConfigsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListIdentityProviderConfigsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListIdentityProviderConfigsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListInsightsCommandInput,
4
+ ListInsightsCommandOutput,
5
+ } from "../commands/ListInsightsCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListInsights: (
8
+ config: EKSPaginationConfiguration,
9
+ input: ListInsightsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListInsightsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListNodegroupsCommandOutput,
5
5
  } from "../commands/ListNodegroupsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListNodegroups(
7
+ export declare const paginateListNodegroups: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListNodegroupsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListNodegroupsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListNodegroupsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListPodIdentityAssociationsCommandOutput,
5
5
  } from "../commands/ListPodIdentityAssociationsCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListPodIdentityAssociations(
7
+ export declare const paginateListPodIdentityAssociations: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListPodIdentityAssociationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListPodIdentityAssociationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListPodIdentityAssociationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListUpdatesCommandOutput,
5
5
  } from "../commands/ListUpdatesCommand";
6
6
  import { EKSPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListUpdates(
7
+ export declare const paginateListUpdates: (
8
8
  config: EKSPaginationConfiguration,
9
9
  input: ListUpdatesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListUpdatesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListUpdatesCommandOutput>;
@@ -8,6 +8,7 @@ export * from "./ListClustersPaginator";
8
8
  export * from "./ListEksAnywhereSubscriptionsPaginator";
9
9
  export * from "./ListFargateProfilesPaginator";
10
10
  export * from "./ListIdentityProviderConfigsPaginator";
11
+ export * from "./ListInsightsPaginator";
11
12
  export * from "./ListNodegroupsPaginator";
12
13
  export * from "./ListPodIdentityAssociationsPaginator";
13
14
  export * from "./ListUpdatesPaginator";