@aws-sdk/client-eks 3.476.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 +533 -751
  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 +527 -749
  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 +7 -6
@@ -25,6 +25,7 @@ import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./com
25
25
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
26
26
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
27
27
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
28
+ import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
28
29
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
29
30
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
30
31
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
@@ -38,6 +39,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
38
39
  import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
39
40
  import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
40
41
  import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCommandOutput } from "./commands/ListIdentityProviderConfigsCommand";
42
+ import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
41
43
  import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
42
44
  import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput } from "./commands/ListPodIdentityAssociationsCommand";
43
45
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -211,6 +213,12 @@ export interface EKS {
211
213
  describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityProviderConfigCommandOutput>;
212
214
  describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void): void;
213
215
  describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void): void;
216
+ /**
217
+ * @see {@link DescribeInsightCommand}
218
+ */
219
+ describeInsight(args: DescribeInsightCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightCommandOutput>;
220
+ describeInsight(args: DescribeInsightCommandInput, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
221
+ describeInsight(args: DescribeInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
214
222
  /**
215
223
  * @see {@link DescribeNodegroupCommand}
216
224
  */
@@ -289,6 +297,12 @@ export interface EKS {
289
297
  listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityProviderConfigsCommandOutput>;
290
298
  listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
291
299
  listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
300
+ /**
301
+ * @see {@link ListInsightsCommand}
302
+ */
303
+ listInsights(args: ListInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListInsightsCommandOutput>;
304
+ listInsights(args: ListInsightsCommandInput, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
305
+ listInsights(args: ListInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
292
306
  /**
293
307
  * @see {@link ListNodegroupsCommand}
294
308
  */
@@ -34,6 +34,7 @@ import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./com
34
34
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
35
35
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
36
36
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
37
+ import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
37
38
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
38
39
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
39
40
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
@@ -47,6 +48,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
47
48
  import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
48
49
  import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
49
50
  import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCommandOutput } from "./commands/ListIdentityProviderConfigsCommand";
51
+ import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
50
52
  import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
51
53
  import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput } from "./commands/ListPodIdentityAssociationsCommand";
52
54
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -68,11 +70,11 @@ export { __Client };
68
70
  /**
69
71
  * @public
70
72
  */
71
- export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
73
+ export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
72
74
  /**
73
75
  * @public
74
76
  */
75
- export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
77
+ export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
76
78
  /**
77
79
  * @public
78
80
  */
@@ -0,0 +1,133 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
5
+ import { DescribeInsightRequest, DescribeInsightResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeInsightCommand}.
14
+ */
15
+ export interface DescribeInsightCommandInput extends DescribeInsightRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeInsightCommand}.
21
+ */
22
+ export interface DescribeInsightCommandOutput extends DescribeInsightResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns details about an insight that you specify using its ID.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, DescribeInsightCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, DescribeInsightCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // DescribeInsightRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * id: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DescribeInsightCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DescribeInsightResponse
40
+ * // insight: { // Insight
41
+ * // id: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // category: "UPGRADE_READINESS",
44
+ * // kubernetesVersion: "STRING_VALUE",
45
+ * // lastRefreshTime: new Date("TIMESTAMP"),
46
+ * // lastTransitionTime: new Date("TIMESTAMP"),
47
+ * // description: "STRING_VALUE",
48
+ * // insightStatus: { // InsightStatus
49
+ * // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
50
+ * // reason: "STRING_VALUE",
51
+ * // },
52
+ * // recommendation: "STRING_VALUE",
53
+ * // additionalInfo: { // AdditionalInfoMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // resources: [ // InsightResourceDetails
57
+ * // { // InsightResourceDetail
58
+ * // insightStatus: {
59
+ * // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
60
+ * // reason: "STRING_VALUE",
61
+ * // },
62
+ * // kubernetesResourceUri: "STRING_VALUE",
63
+ * // arn: "STRING_VALUE",
64
+ * // },
65
+ * // ],
66
+ * // categorySpecificSummary: { // InsightCategorySpecificSummary
67
+ * // deprecationDetails: [ // DeprecationDetails
68
+ * // { // DeprecationDetail
69
+ * // usage: "STRING_VALUE",
70
+ * // replacedWith: "STRING_VALUE",
71
+ * // stopServingVersion: "STRING_VALUE",
72
+ * // startServingReplacementVersion: "STRING_VALUE",
73
+ * // clientStats: [ // ClientStats
74
+ * // { // ClientStat
75
+ * // userAgent: "STRING_VALUE",
76
+ * // numberOfRequestsLast30Days: Number("int"),
77
+ * // lastRequestTime: new Date("TIMESTAMP"),
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // },
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param DescribeInsightCommandInput - {@link DescribeInsightCommandInput}
89
+ * @returns {@link DescribeInsightCommandOutput}
90
+ * @see {@link DescribeInsightCommandInput} for command's `input` shape.
91
+ * @see {@link DescribeInsightCommandOutput} for command's `response` shape.
92
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
93
+ *
94
+ * @throws {@link InvalidParameterException} (client fault)
95
+ * <p>The specified parameter is invalid. Review the available parameters for the API
96
+ * request.</p>
97
+ *
98
+ * @throws {@link InvalidRequestException} (client fault)
99
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
100
+ * and the associated operations.</p>
101
+ *
102
+ * @throws {@link ResourceNotFoundException} (client fault)
103
+ * <p>The specified resource could not be found. You can view your available clusters with
104
+ * <code>ListClusters</code>. You can view your available managed node groups with
105
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
106
+ *
107
+ * @throws {@link ServerException} (server fault)
108
+ * <p>These errors are usually caused by a server-side issue.</p>
109
+ *
110
+ * @throws {@link EKSServiceException}
111
+ * <p>Base exception class for all service exceptions from EKS service.</p>
112
+ *
113
+ */
114
+ export declare class DescribeInsightCommand extends $Command<DescribeInsightCommandInput, DescribeInsightCommandOutput, EKSClientResolvedConfig> {
115
+ readonly input: DescribeInsightCommandInput;
116
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
+ /**
118
+ * @public
119
+ */
120
+ constructor(input: DescribeInsightCommandInput);
121
+ /**
122
+ * @internal
123
+ */
124
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInsightCommandInput, DescribeInsightCommandOutput>;
125
+ /**
126
+ * @internal
127
+ */
128
+ private serialize;
129
+ /**
130
+ * @internal
131
+ */
132
+ private deserialize;
133
+ }
@@ -0,0 +1,117 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
5
+ import { ListInsightsRequest, ListInsightsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListInsightsCommand}.
14
+ */
15
+ export interface ListInsightsCommandInput extends ListInsightsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListInsightsCommand}.
21
+ */
22
+ export interface ListInsightsCommandOutput extends ListInsightsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of all insights checked for against the specified cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, ListInsightsCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, ListInsightsCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // ListInsightsRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * filter: { // InsightsFilter
36
+ * categories: [ // CategoryList
37
+ * "UPGRADE_READINESS",
38
+ * ],
39
+ * kubernetesVersions: [ // StringList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * statuses: [ // InsightStatusValueList
43
+ * "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
44
+ * ],
45
+ * },
46
+ * maxResults: Number("int"),
47
+ * nextToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new ListInsightsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListInsightsResponse
52
+ * // insights: [ // InsightSummaries
53
+ * // { // InsightSummary
54
+ * // id: "STRING_VALUE",
55
+ * // name: "STRING_VALUE",
56
+ * // category: "UPGRADE_READINESS",
57
+ * // kubernetesVersion: "STRING_VALUE",
58
+ * // lastRefreshTime: new Date("TIMESTAMP"),
59
+ * // lastTransitionTime: new Date("TIMESTAMP"),
60
+ * // description: "STRING_VALUE",
61
+ * // insightStatus: { // InsightStatus
62
+ * // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
63
+ * // reason: "STRING_VALUE",
64
+ * // },
65
+ * // },
66
+ * // ],
67
+ * // nextToken: "STRING_VALUE",
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param ListInsightsCommandInput - {@link ListInsightsCommandInput}
73
+ * @returns {@link ListInsightsCommandOutput}
74
+ * @see {@link ListInsightsCommandInput} for command's `input` shape.
75
+ * @see {@link ListInsightsCommandOutput} for command's `response` shape.
76
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
77
+ *
78
+ * @throws {@link InvalidParameterException} (client fault)
79
+ * <p>The specified parameter is invalid. Review the available parameters for the API
80
+ * request.</p>
81
+ *
82
+ * @throws {@link InvalidRequestException} (client fault)
83
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
84
+ * and the associated operations.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The specified resource could not be found. You can view your available clusters with
88
+ * <code>ListClusters</code>. You can view your available managed node groups with
89
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
90
+ *
91
+ * @throws {@link ServerException} (server fault)
92
+ * <p>These errors are usually caused by a server-side issue.</p>
93
+ *
94
+ * @throws {@link EKSServiceException}
95
+ * <p>Base exception class for all service exceptions from EKS service.</p>
96
+ *
97
+ */
98
+ export declare class ListInsightsCommand extends $Command<ListInsightsCommandInput, ListInsightsCommandOutput, EKSClientResolvedConfig> {
99
+ readonly input: ListInsightsCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: ListInsightsCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInsightsCommandInput, ListInsightsCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -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";