@aws-sdk/client-eks 3.876.0 → 3.877.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.
package/README.md CHANGED
@@ -435,6 +435,14 @@ DescribeInsight
435
435
 
436
436
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribeInsightCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeInsightCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeInsightCommandOutput/)
437
437
 
438
+ </details>
439
+ <details>
440
+ <summary>
441
+ DescribeInsightsRefresh
442
+ </summary>
443
+
444
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribeInsightsRefreshCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeInsightsRefreshCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeInsightsRefreshCommandOutput/)
445
+
438
446
  </details>
439
447
  <details>
440
448
  <summary>
@@ -587,6 +595,14 @@ RegisterCluster
587
595
 
588
596
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/RegisterClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/RegisterClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/RegisterClusterCommandOutput/)
589
597
 
598
+ </details>
599
+ <details>
600
+ <summary>
601
+ StartInsightsRefresh
602
+ </summary>
603
+
604
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/StartInsightsRefreshCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/StartInsightsRefreshCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/StartInsightsRefreshCommandOutput/)
605
+
590
606
  </details>
591
607
  <details>
592
608
  <summary>
package/dist-cjs/index.js CHANGED
@@ -64,6 +64,7 @@ __export(index_exports, {
64
64
  DescribeFargateProfileCommand: () => DescribeFargateProfileCommand,
65
65
  DescribeIdentityProviderConfigCommand: () => DescribeIdentityProviderConfigCommand,
66
66
  DescribeInsightCommand: () => DescribeInsightCommand,
67
+ DescribeInsightsRefreshCommand: () => DescribeInsightsRefreshCommand,
67
68
  DescribeNodegroupCommand: () => DescribeNodegroupCommand,
68
69
  DescribePodIdentityAssociationCommand: () => DescribePodIdentityAssociationCommand,
69
70
  DescribeUpdateCommand: () => DescribeUpdateCommand,
@@ -79,6 +80,7 @@ __export(index_exports, {
79
80
  FargateProfileIssueCode: () => FargateProfileIssueCode,
80
81
  FargateProfileStatus: () => FargateProfileStatus,
81
82
  InsightStatusValue: () => InsightStatusValue,
83
+ InsightsRefreshStatus: () => InsightsRefreshStatus,
82
84
  InvalidParameterException: () => InvalidParameterException,
83
85
  InvalidRequestException: () => InvalidRequestException,
84
86
  InvalidStateException: () => InvalidStateException,
@@ -109,6 +111,7 @@ __export(index_exports, {
109
111
  ResourcePropagationDelayException: () => ResourcePropagationDelayException,
110
112
  ServerException: () => ServerException,
111
113
  ServiceUnavailableException: () => ServiceUnavailableException,
114
+ StartInsightsRefreshCommand: () => StartInsightsRefreshCommand,
112
115
  SupportType: () => SupportType,
113
116
  TagResourceCommand: () => TagResourceCommand,
114
117
  TaintEffect: () => TaintEffect,
@@ -1012,6 +1015,11 @@ var InsightStatusValue = {
1012
1015
  UNKNOWN: "UNKNOWN",
1013
1016
  WARNING: "WARNING"
1014
1017
  };
1018
+ var InsightsRefreshStatus = {
1019
+ COMPLETED: "COMPLETED",
1020
+ FAILED: "FAILED",
1021
+ IN_PROGRESS: "IN_PROGRESS"
1022
+ };
1015
1023
  var EksAnywhereSubscriptionStatus = {
1016
1024
  ACTIVE: "ACTIVE",
1017
1025
  CREATING: "CREATING",
@@ -1539,6 +1547,15 @@ var se_DescribeInsightCommand = /* @__PURE__ */ __name(async (input, context) =>
1539
1547
  b.m("GET").h(headers).b(body);
1540
1548
  return b.build();
1541
1549
  }, "se_DescribeInsightCommand");
1550
+ var se_DescribeInsightsRefreshCommand = /* @__PURE__ */ __name(async (input, context) => {
1551
+ const b = (0, import_core.requestBuilder)(input, context);
1552
+ const headers = {};
1553
+ b.bp("/clusters/{clusterName}/insights-refresh");
1554
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
1555
+ let body;
1556
+ b.m("GET").h(headers).b(body);
1557
+ return b.build();
1558
+ }, "se_DescribeInsightsRefreshCommand");
1542
1559
  var se_DescribeNodegroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1543
1560
  const b = (0, import_core.requestBuilder)(input, context);
1544
1561
  const headers = {};
@@ -1794,6 +1811,15 @@ var se_RegisterClusterCommand = /* @__PURE__ */ __name(async (input, context) =>
1794
1811
  b.m("POST").h(headers).b(body);
1795
1812
  return b.build();
1796
1813
  }, "se_RegisterClusterCommand");
1814
+ var se_StartInsightsRefreshCommand = /* @__PURE__ */ __name(async (input, context) => {
1815
+ const b = (0, import_core.requestBuilder)(input, context);
1816
+ const headers = {};
1817
+ b.bp("/clusters/{clusterName}/insights-refresh");
1818
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
1819
+ let body;
1820
+ b.m("POST").h(headers).b(body);
1821
+ return b.build();
1822
+ }, "se_StartInsightsRefreshCommand");
1797
1823
  var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1798
1824
  const b = (0, import_core.requestBuilder)(input, context);
1799
1825
  const headers = {
@@ -2383,6 +2409,23 @@ var de_DescribeInsightCommand = /* @__PURE__ */ __name(async (output, context) =
2383
2409
  Object.assign(contents, doc);
2384
2410
  return contents;
2385
2411
  }, "de_DescribeInsightCommand");
2412
+ var de_DescribeInsightsRefreshCommand = /* @__PURE__ */ __name(async (output, context) => {
2413
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2414
+ return de_CommandError(output, context);
2415
+ }
2416
+ const contents = (0, import_smithy_client.map)({
2417
+ $metadata: deserializeMetadata(output)
2418
+ });
2419
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2420
+ const doc = (0, import_smithy_client.take)(data, {
2421
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endedAt"),
2422
+ message: import_smithy_client.expectString,
2423
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startedAt"),
2424
+ status: import_smithy_client.expectString
2425
+ });
2426
+ Object.assign(contents, doc);
2427
+ return contents;
2428
+ }, "de_DescribeInsightsRefreshCommand");
2386
2429
  var de_DescribeNodegroupCommand = /* @__PURE__ */ __name(async (output, context) => {
2387
2430
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2388
2431
  return de_CommandError(output, context);
@@ -2659,6 +2702,21 @@ var de_RegisterClusterCommand = /* @__PURE__ */ __name(async (output, context) =
2659
2702
  Object.assign(contents, doc);
2660
2703
  return contents;
2661
2704
  }, "de_RegisterClusterCommand");
2705
+ var de_StartInsightsRefreshCommand = /* @__PURE__ */ __name(async (output, context) => {
2706
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2707
+ return de_CommandError(output, context);
2708
+ }
2709
+ const contents = (0, import_smithy_client.map)({
2710
+ $metadata: deserializeMetadata(output)
2711
+ });
2712
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2713
+ const doc = (0, import_smithy_client.take)(data, {
2714
+ message: import_smithy_client.expectString,
2715
+ status: import_smithy_client.expectString
2716
+ });
2717
+ Object.assign(contents, doc);
2718
+ return contents;
2719
+ }, "de_StartInsightsRefreshCommand");
2662
2720
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2663
2721
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2664
2722
  return de_CommandError(output, context);
@@ -3794,6 +3852,21 @@ var DescribeInsightCommand = class extends import_smithy_client.Command.classBui
3794
3852
  }
3795
3853
  };
3796
3854
 
3855
+ // src/commands/DescribeInsightsRefreshCommand.ts
3856
+
3857
+
3858
+
3859
+ var DescribeInsightsRefreshCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3860
+ return [
3861
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3862
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3863
+ ];
3864
+ }).s("AWSWesleyFrontend", "DescribeInsightsRefresh", {}).n("EKSClient", "DescribeInsightsRefreshCommand").f(void 0, void 0).ser(se_DescribeInsightsRefreshCommand).de(de_DescribeInsightsRefreshCommand).build() {
3865
+ static {
3866
+ __name(this, "DescribeInsightsRefreshCommand");
3867
+ }
3868
+ };
3869
+
3797
3870
  // src/commands/DescribeNodegroupCommand.ts
3798
3871
 
3799
3872
 
@@ -4079,6 +4152,21 @@ var RegisterClusterCommand = class extends import_smithy_client.Command.classBui
4079
4152
  }
4080
4153
  };
4081
4154
 
4155
+ // src/commands/StartInsightsRefreshCommand.ts
4156
+
4157
+
4158
+
4159
+ var StartInsightsRefreshCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4160
+ return [
4161
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4162
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4163
+ ];
4164
+ }).s("AWSWesleyFrontend", "StartInsightsRefresh", {}).n("EKSClient", "StartInsightsRefreshCommand").f(void 0, void 0).ser(se_StartInsightsRefreshCommand).de(de_StartInsightsRefreshCommand).build() {
4165
+ static {
4166
+ __name(this, "StartInsightsRefreshCommand");
4167
+ }
4168
+ };
4169
+
4082
4170
  // src/commands/TagResourceCommand.ts
4083
4171
 
4084
4172
 
@@ -4259,6 +4347,7 @@ var commands = {
4259
4347
  DescribeFargateProfileCommand,
4260
4348
  DescribeIdentityProviderConfigCommand,
4261
4349
  DescribeInsightCommand,
4350
+ DescribeInsightsRefreshCommand,
4262
4351
  DescribeNodegroupCommand,
4263
4352
  DescribePodIdentityAssociationCommand,
4264
4353
  DescribeUpdateCommand,
@@ -4278,6 +4367,7 @@ var commands = {
4278
4367
  ListTagsForResourceCommand,
4279
4368
  ListUpdatesCommand,
4280
4369
  RegisterClusterCommand,
4370
+ StartInsightsRefreshCommand,
4281
4371
  TagResourceCommand,
4282
4372
  UntagResourceCommand,
4283
4373
  UpdateAccessEntryCommand,
@@ -4719,6 +4809,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4719
4809
  DescribeFargateProfileCommand,
4720
4810
  DescribeIdentityProviderConfigCommand,
4721
4811
  DescribeInsightCommand,
4812
+ DescribeInsightsRefreshCommand,
4722
4813
  DescribeNodegroupCommand,
4723
4814
  DescribePodIdentityAssociationCommand,
4724
4815
  DescribeUpdateCommand,
@@ -4738,6 +4829,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4738
4829
  ListTagsForResourceCommand,
4739
4830
  ListUpdatesCommand,
4740
4831
  RegisterClusterCommand,
4832
+ StartInsightsRefreshCommand,
4741
4833
  TagResourceCommand,
4742
4834
  UntagResourceCommand,
4743
4835
  UpdateAccessEntryCommand,
@@ -4818,6 +4910,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4818
4910
  ConfigStatus,
4819
4911
  Category,
4820
4912
  InsightStatusValue,
4913
+ InsightsRefreshStatus,
4821
4914
  EksAnywhereSubscriptionStatus,
4822
4915
  BadRequestException,
4823
4916
  NotFoundException,
package/dist-es/EKS.js CHANGED
@@ -27,6 +27,7 @@ import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksA
27
27
  import { DescribeFargateProfileCommand, } from "./commands/DescribeFargateProfileCommand";
28
28
  import { DescribeIdentityProviderConfigCommand, } from "./commands/DescribeIdentityProviderConfigCommand";
29
29
  import { DescribeInsightCommand, } from "./commands/DescribeInsightCommand";
30
+ import { DescribeInsightsRefreshCommand, } from "./commands/DescribeInsightsRefreshCommand";
30
31
  import { DescribeNodegroupCommand, } from "./commands/DescribeNodegroupCommand";
31
32
  import { DescribePodIdentityAssociationCommand, } from "./commands/DescribePodIdentityAssociationCommand";
32
33
  import { DescribeUpdateCommand, } from "./commands/DescribeUpdateCommand";
@@ -46,6 +47,7 @@ import { ListPodIdentityAssociationsCommand, } from "./commands/ListPodIdentityA
46
47
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
47
48
  import { ListUpdatesCommand } from "./commands/ListUpdatesCommand";
48
49
  import { RegisterClusterCommand, } from "./commands/RegisterClusterCommand";
50
+ import { StartInsightsRefreshCommand, } from "./commands/StartInsightsRefreshCommand";
49
51
  import { TagResourceCommand } from "./commands/TagResourceCommand";
50
52
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
51
53
  import { UpdateAccessEntryCommand, } from "./commands/UpdateAccessEntryCommand";
@@ -86,6 +88,7 @@ const commands = {
86
88
  DescribeFargateProfileCommand,
87
89
  DescribeIdentityProviderConfigCommand,
88
90
  DescribeInsightCommand,
91
+ DescribeInsightsRefreshCommand,
89
92
  DescribeNodegroupCommand,
90
93
  DescribePodIdentityAssociationCommand,
91
94
  DescribeUpdateCommand,
@@ -105,6 +108,7 @@ const commands = {
105
108
  ListTagsForResourceCommand,
106
109
  ListUpdatesCommand,
107
110
  RegisterClusterCommand,
111
+ StartInsightsRefreshCommand,
108
112
  TagResourceCommand,
109
113
  UntagResourceCommand,
110
114
  UpdateAccessEntryCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeInsightsRefreshCommand, se_DescribeInsightsRefreshCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeInsightsRefreshCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSWesleyFrontend", "DescribeInsightsRefresh", {})
17
+ .n("EKSClient", "DescribeInsightsRefreshCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeInsightsRefreshCommand)
20
+ .de(de_DescribeInsightsRefreshCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartInsightsRefreshCommand, se_StartInsightsRefreshCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartInsightsRefreshCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSWesleyFrontend", "StartInsightsRefresh", {})
17
+ .n("EKSClient", "StartInsightsRefreshCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartInsightsRefreshCommand)
20
+ .de(de_StartInsightsRefreshCommand)
21
+ .build() {
22
+ }
@@ -26,6 +26,7 @@ export * from "./DescribeEksAnywhereSubscriptionCommand";
26
26
  export * from "./DescribeFargateProfileCommand";
27
27
  export * from "./DescribeIdentityProviderConfigCommand";
28
28
  export * from "./DescribeInsightCommand";
29
+ export * from "./DescribeInsightsRefreshCommand";
29
30
  export * from "./DescribeNodegroupCommand";
30
31
  export * from "./DescribePodIdentityAssociationCommand";
31
32
  export * from "./DescribeUpdateCommand";
@@ -45,6 +46,7 @@ export * from "./ListPodIdentityAssociationsCommand";
45
46
  export * from "./ListTagsForResourceCommand";
46
47
  export * from "./ListUpdatesCommand";
47
48
  export * from "./RegisterClusterCommand";
49
+ export * from "./StartInsightsRefreshCommand";
48
50
  export * from "./TagResourceCommand";
49
51
  export * from "./UntagResourceCommand";
50
52
  export * from "./UpdateAccessEntryCommand";
@@ -482,6 +482,11 @@ export const InsightStatusValue = {
482
482
  UNKNOWN: "UNKNOWN",
483
483
  WARNING: "WARNING",
484
484
  };
485
+ export const InsightsRefreshStatus = {
486
+ COMPLETED: "COMPLETED",
487
+ FAILED: "FAILED",
488
+ IN_PROGRESS: "IN_PROGRESS",
489
+ };
485
490
  export const EksAnywhereSubscriptionStatus = {
486
491
  ACTIVE: "ACTIVE",
487
492
  CREATING: "CREATING",
@@ -410,6 +410,15 @@ export const se_DescribeInsightCommand = async (input, context) => {
410
410
  b.m("GET").h(headers).b(body);
411
411
  return b.build();
412
412
  };
413
+ export const se_DescribeInsightsRefreshCommand = async (input, context) => {
414
+ const b = rb(input, context);
415
+ const headers = {};
416
+ b.bp("/clusters/{clusterName}/insights-refresh");
417
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
418
+ let body;
419
+ b.m("GET").h(headers).b(body);
420
+ return b.build();
421
+ };
413
422
  export const se_DescribeNodegroupCommand = async (input, context) => {
414
423
  const b = rb(input, context);
415
424
  const headers = {};
@@ -659,6 +668,15 @@ export const se_RegisterClusterCommand = async (input, context) => {
659
668
  b.m("POST").h(headers).b(body);
660
669
  return b.build();
661
670
  };
671
+ export const se_StartInsightsRefreshCommand = async (input, context) => {
672
+ const b = rb(input, context);
673
+ const headers = {};
674
+ b.bp("/clusters/{clusterName}/insights-refresh");
675
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
676
+ let body;
677
+ b.m("POST").h(headers).b(body);
678
+ return b.build();
679
+ };
662
680
  export const se_TagResourceCommand = async (input, context) => {
663
681
  const b = rb(input, context);
664
682
  const headers = {
@@ -1230,6 +1248,23 @@ export const de_DescribeInsightCommand = async (output, context) => {
1230
1248
  Object.assign(contents, doc);
1231
1249
  return contents;
1232
1250
  };
1251
+ export const de_DescribeInsightsRefreshCommand = async (output, context) => {
1252
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1253
+ return de_CommandError(output, context);
1254
+ }
1255
+ const contents = map({
1256
+ $metadata: deserializeMetadata(output),
1257
+ });
1258
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1259
+ const doc = take(data, {
1260
+ endedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1261
+ message: __expectString,
1262
+ startedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1263
+ status: __expectString,
1264
+ });
1265
+ Object.assign(contents, doc);
1266
+ return contents;
1267
+ };
1233
1268
  export const de_DescribeNodegroupCommand = async (output, context) => {
1234
1269
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1235
1270
  return de_CommandError(output, context);
@@ -1506,6 +1541,21 @@ export const de_RegisterClusterCommand = async (output, context) => {
1506
1541
  Object.assign(contents, doc);
1507
1542
  return contents;
1508
1543
  };
1544
+ export const de_StartInsightsRefreshCommand = async (output, context) => {
1545
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1546
+ return de_CommandError(output, context);
1547
+ }
1548
+ const contents = map({
1549
+ $metadata: deserializeMetadata(output),
1550
+ });
1551
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1552
+ const doc = take(data, {
1553
+ message: __expectString,
1554
+ status: __expectString,
1555
+ });
1556
+ Object.assign(contents, doc);
1557
+ return contents;
1558
+ };
1509
1559
  export const de_TagResourceCommand = async (output, context) => {
1510
1560
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1511
1561
  return de_CommandError(output, context);
@@ -27,6 +27,7 @@ import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscri
27
27
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
28
28
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
29
29
  import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
30
+ import { DescribeInsightsRefreshCommandInput, DescribeInsightsRefreshCommandOutput } from "./commands/DescribeInsightsRefreshCommand";
30
31
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
31
32
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
32
33
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
@@ -46,6 +47,7 @@ import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCom
46
47
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
47
48
  import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
48
49
  import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
50
+ import { StartInsightsRefreshCommandInput, StartInsightsRefreshCommandOutput } from "./commands/StartInsightsRefreshCommand";
49
51
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
50
52
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
51
53
  import { UpdateAccessEntryCommandInput, UpdateAccessEntryCommandOutput } from "./commands/UpdateAccessEntryCommand";
@@ -228,6 +230,12 @@ export interface EKS {
228
230
  describeInsight(args: DescribeInsightCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightCommandOutput>;
229
231
  describeInsight(args: DescribeInsightCommandInput, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
230
232
  describeInsight(args: DescribeInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
233
+ /**
234
+ * @see {@link DescribeInsightsRefreshCommand}
235
+ */
236
+ describeInsightsRefresh(args: DescribeInsightsRefreshCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightsRefreshCommandOutput>;
237
+ describeInsightsRefresh(args: DescribeInsightsRefreshCommandInput, cb: (err: any, data?: DescribeInsightsRefreshCommandOutput) => void): void;
238
+ describeInsightsRefresh(args: DescribeInsightsRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightsRefreshCommandOutput) => void): void;
231
239
  /**
232
240
  * @see {@link DescribeNodegroupCommand}
233
241
  */
@@ -345,6 +353,12 @@ export interface EKS {
345
353
  registerCluster(args: RegisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClusterCommandOutput>;
346
354
  registerCluster(args: RegisterClusterCommandInput, cb: (err: any, data?: RegisterClusterCommandOutput) => void): void;
347
355
  registerCluster(args: RegisterClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterClusterCommandOutput) => void): void;
356
+ /**
357
+ * @see {@link StartInsightsRefreshCommand}
358
+ */
359
+ startInsightsRefresh(args: StartInsightsRefreshCommandInput, options?: __HttpHandlerOptions): Promise<StartInsightsRefreshCommandOutput>;
360
+ startInsightsRefresh(args: StartInsightsRefreshCommandInput, cb: (err: any, data?: StartInsightsRefreshCommandOutput) => void): void;
361
+ startInsightsRefresh(args: StartInsightsRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartInsightsRefreshCommandOutput) => void): void;
348
362
  /**
349
363
  * @see {@link TagResourceCommand}
350
364
  */
@@ -35,6 +35,7 @@ import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscri
35
35
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
36
36
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
37
37
  import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
38
+ import { DescribeInsightsRefreshCommandInput, DescribeInsightsRefreshCommandOutput } from "./commands/DescribeInsightsRefreshCommand";
38
39
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
39
40
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
40
41
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
@@ -54,6 +55,7 @@ import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCom
54
55
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
55
56
  import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
56
57
  import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
58
+ import { StartInsightsRefreshCommandInput, StartInsightsRefreshCommandOutput } from "./commands/StartInsightsRefreshCommand";
57
59
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
58
60
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
59
61
  import { UpdateAccessEntryCommandInput, UpdateAccessEntryCommandOutput } from "./commands/UpdateAccessEntryCommand";
@@ -70,11 +72,11 @@ export { __Client };
70
72
  /**
71
73
  * @public
72
74
  */
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 | DescribeClusterVersionsCommandInput | 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;
75
+ 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 | DescribeClusterVersionsCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeInsightsRefreshCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | StartInsightsRefreshCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
74
76
  /**
75
77
  * @public
76
78
  */
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 | DescribeClusterVersionsCommandOutput | 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;
79
+ 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 | DescribeClusterVersionsCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeInsightsRefreshCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | StartInsightsRefreshCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
78
80
  /**
79
81
  * @public
80
82
  */
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
4
+ import { DescribeInsightsRefreshRequest, DescribeInsightsRefreshResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeInsightsRefreshCommand}.
14
+ */
15
+ export interface DescribeInsightsRefreshCommandInput extends DescribeInsightsRefreshRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeInsightsRefreshCommand}.
21
+ */
22
+ export interface DescribeInsightsRefreshCommandOutput extends DescribeInsightsRefreshResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeInsightsRefreshCommand_base: {
25
+ new (input: DescribeInsightsRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeInsightsRefreshCommandInput, DescribeInsightsRefreshCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeInsightsRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeInsightsRefreshCommandInput, DescribeInsightsRefreshCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the status of the latest on-demand cluster insights refresh operation.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EKSClient, DescribeInsightsRefreshCommand } from "@aws-sdk/client-eks"; // ES Modules import
35
+ * // const { EKSClient, DescribeInsightsRefreshCommand } = require("@aws-sdk/client-eks"); // CommonJS import
36
+ * const client = new EKSClient(config);
37
+ * const input = { // DescribeInsightsRefreshRequest
38
+ * clusterName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DescribeInsightsRefreshCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DescribeInsightsRefreshResponse
43
+ * // message: "STRING_VALUE",
44
+ * // status: "IN_PROGRESS" || "FAILED" || "COMPLETED",
45
+ * // startedAt: new Date("TIMESTAMP"),
46
+ * // endedAt: new Date("TIMESTAMP"),
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param DescribeInsightsRefreshCommandInput - {@link DescribeInsightsRefreshCommandInput}
52
+ * @returns {@link DescribeInsightsRefreshCommandOutput}
53
+ * @see {@link DescribeInsightsRefreshCommandInput} for command's `input` shape.
54
+ * @see {@link DescribeInsightsRefreshCommandOutput} for command's `response` shape.
55
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
56
+ *
57
+ * @throws {@link InvalidParameterException} (client fault)
58
+ * <p>The specified parameter is invalid. Review the available parameters for the API
59
+ * request.</p>
60
+ *
61
+ * @throws {@link InvalidRequestException} (client fault)
62
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
63
+ * and the associated operations.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The specified resource could not be found. You can view your available clusters with
67
+ * <code>ListClusters</code>. You can view your available managed node groups with
68
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
69
+ * specific.</p>
70
+ *
71
+ * @throws {@link ServerException} (server fault)
72
+ * <p>These errors are usually caused by a server-side issue.</p>
73
+ *
74
+ * @throws {@link EKSServiceException}
75
+ * <p>Base exception class for all service exceptions from EKS service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DescribeInsightsRefreshCommand extends DescribeInsightsRefreshCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DescribeInsightsRefreshRequest;
85
+ output: DescribeInsightsRefreshResponse;
86
+ };
87
+ sdk: {
88
+ input: DescribeInsightsRefreshCommandInput;
89
+ output: DescribeInsightsRefreshCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
4
+ import { StartInsightsRefreshRequest, StartInsightsRefreshResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartInsightsRefreshCommand}.
14
+ */
15
+ export interface StartInsightsRefreshCommandInput extends StartInsightsRefreshRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartInsightsRefreshCommand}.
21
+ */
22
+ export interface StartInsightsRefreshCommandOutput extends StartInsightsRefreshResponse, __MetadataBearer {
23
+ }
24
+ declare const StartInsightsRefreshCommand_base: {
25
+ new (input: StartInsightsRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<StartInsightsRefreshCommandInput, StartInsightsRefreshCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: StartInsightsRefreshCommandInput): import("@smithy/smithy-client").CommandImpl<StartInsightsRefreshCommandInput, StartInsightsRefreshCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates an on-demand refresh operation for cluster insights, getting the latest analysis outside of the standard refresh schedule.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EKSClient, StartInsightsRefreshCommand } from "@aws-sdk/client-eks"; // ES Modules import
35
+ * // const { EKSClient, StartInsightsRefreshCommand } = require("@aws-sdk/client-eks"); // CommonJS import
36
+ * const client = new EKSClient(config);
37
+ * const input = { // StartInsightsRefreshRequest
38
+ * clusterName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new StartInsightsRefreshCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // StartInsightsRefreshResponse
43
+ * // message: "STRING_VALUE",
44
+ * // status: "IN_PROGRESS" || "FAILED" || "COMPLETED",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param StartInsightsRefreshCommandInput - {@link StartInsightsRefreshCommandInput}
50
+ * @returns {@link StartInsightsRefreshCommandOutput}
51
+ * @see {@link StartInsightsRefreshCommandInput} for command's `input` shape.
52
+ * @see {@link StartInsightsRefreshCommandOutput} for command's `response` shape.
53
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
54
+ *
55
+ * @throws {@link InvalidParameterException} (client fault)
56
+ * <p>The specified parameter is invalid. Review the available parameters for the API
57
+ * request.</p>
58
+ *
59
+ * @throws {@link InvalidRequestException} (client fault)
60
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
61
+ * and the associated operations.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource could not be found. You can view your available clusters with
65
+ * <code>ListClusters</code>. You can view your available managed node groups with
66
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
67
+ * specific.</p>
68
+ *
69
+ * @throws {@link ServerException} (server fault)
70
+ * <p>These errors are usually caused by a server-side issue.</p>
71
+ *
72
+ * @throws {@link EKSServiceException}
73
+ * <p>Base exception class for all service exceptions from EKS service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class StartInsightsRefreshCommand extends StartInsightsRefreshCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: StartInsightsRefreshRequest;
83
+ output: StartInsightsRefreshResponse;
84
+ };
85
+ sdk: {
86
+ input: StartInsightsRefreshCommandInput;
87
+ output: StartInsightsRefreshCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -26,6 +26,7 @@ export * from "./DescribeEksAnywhereSubscriptionCommand";
26
26
  export * from "./DescribeFargateProfileCommand";
27
27
  export * from "./DescribeIdentityProviderConfigCommand";
28
28
  export * from "./DescribeInsightCommand";
29
+ export * from "./DescribeInsightsRefreshCommand";
29
30
  export * from "./DescribeNodegroupCommand";
30
31
  export * from "./DescribePodIdentityAssociationCommand";
31
32
  export * from "./DescribeUpdateCommand";
@@ -45,6 +46,7 @@ export * from "./ListPodIdentityAssociationsCommand";
45
46
  export * from "./ListTagsForResourceCommand";
46
47
  export * from "./ListUpdatesCommand";
47
48
  export * from "./RegisterClusterCommand";
49
+ export * from "./StartInsightsRefreshCommand";
48
50
  export * from "./TagResourceCommand";
49
51
  export * from "./UntagResourceCommand";
50
52
  export * from "./UpdateAccessEntryCommand";
@@ -5236,6 +5236,54 @@ export interface DescribeInsightResponse {
5236
5236
  */
5237
5237
  insight?: Insight | undefined;
5238
5238
  }
5239
+ /**
5240
+ * @public
5241
+ */
5242
+ export interface DescribeInsightsRefreshRequest {
5243
+ /**
5244
+ * <p>The name of the cluster associated with the insights refresh operation.</p>
5245
+ * @public
5246
+ */
5247
+ clusterName: string | undefined;
5248
+ }
5249
+ /**
5250
+ * @public
5251
+ * @enum
5252
+ */
5253
+ export declare const InsightsRefreshStatus: {
5254
+ readonly COMPLETED: "COMPLETED";
5255
+ readonly FAILED: "FAILED";
5256
+ readonly IN_PROGRESS: "IN_PROGRESS";
5257
+ };
5258
+ /**
5259
+ * @public
5260
+ */
5261
+ export type InsightsRefreshStatus = (typeof InsightsRefreshStatus)[keyof typeof InsightsRefreshStatus];
5262
+ /**
5263
+ * @public
5264
+ */
5265
+ export interface DescribeInsightsRefreshResponse {
5266
+ /**
5267
+ * <p>The message associated with the insights refresh operation.</p>
5268
+ * @public
5269
+ */
5270
+ message?: string | undefined;
5271
+ /**
5272
+ * <p>The current status of the insights refresh operation.</p>
5273
+ * @public
5274
+ */
5275
+ status?: InsightsRefreshStatus | undefined;
5276
+ /**
5277
+ * <p>The date and time when the insights refresh operation started.</p>
5278
+ * @public
5279
+ */
5280
+ startedAt?: Date | undefined;
5281
+ /**
5282
+ * <p>The date and time when the insights refresh operation ended.</p>
5283
+ * @public
5284
+ */
5285
+ endedAt?: Date | undefined;
5286
+ }
5239
5287
  /**
5240
5288
  * @public
5241
5289
  */
@@ -6384,6 +6432,31 @@ export declare class ResourcePropagationDelayException extends __BaseException {
6384
6432
  */
6385
6433
  constructor(opts: __ExceptionOptionType<ResourcePropagationDelayException, __BaseException>);
6386
6434
  }
6435
+ /**
6436
+ * @public
6437
+ */
6438
+ export interface StartInsightsRefreshRequest {
6439
+ /**
6440
+ * <p>The name of the cluster for the refresh insights operation.</p>
6441
+ * @public
6442
+ */
6443
+ clusterName: string | undefined;
6444
+ }
6445
+ /**
6446
+ * @public
6447
+ */
6448
+ export interface StartInsightsRefreshResponse {
6449
+ /**
6450
+ * <p>The message associated with the insights refresh operation.</p>
6451
+ * @public
6452
+ */
6453
+ message?: string | undefined;
6454
+ /**
6455
+ * <p>The current status of the insights refresh operation.</p>
6456
+ * @public
6457
+ */
6458
+ status?: InsightsRefreshStatus | undefined;
6459
+ }
6387
6460
  /**
6388
6461
  * @public
6389
6462
  */
@@ -28,6 +28,7 @@ import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscri
28
28
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
29
29
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "../commands/DescribeIdentityProviderConfigCommand";
30
30
  import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "../commands/DescribeInsightCommand";
31
+ import { DescribeInsightsRefreshCommandInput, DescribeInsightsRefreshCommandOutput } from "../commands/DescribeInsightsRefreshCommand";
31
32
  import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "../commands/DescribeNodegroupCommand";
32
33
  import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "../commands/DescribePodIdentityAssociationCommand";
33
34
  import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "../commands/DescribeUpdateCommand";
@@ -47,6 +48,7 @@ import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCom
47
48
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
48
49
  import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "../commands/ListUpdatesCommand";
49
50
  import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "../commands/RegisterClusterCommand";
51
+ import { StartInsightsRefreshCommandInput, StartInsightsRefreshCommandOutput } from "../commands/StartInsightsRefreshCommand";
50
52
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
51
53
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
52
54
  import { UpdateAccessEntryCommandInput, UpdateAccessEntryCommandOutput } from "../commands/UpdateAccessEntryCommand";
@@ -169,6 +171,10 @@ export declare const se_DescribeIdentityProviderConfigCommand: (input: DescribeI
169
171
  * serializeAws_restJson1DescribeInsightCommand
170
172
  */
171
173
  export declare const se_DescribeInsightCommand: (input: DescribeInsightCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
174
+ /**
175
+ * serializeAws_restJson1DescribeInsightsRefreshCommand
176
+ */
177
+ export declare const se_DescribeInsightsRefreshCommand: (input: DescribeInsightsRefreshCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
172
178
  /**
173
179
  * serializeAws_restJson1DescribeNodegroupCommand
174
180
  */
@@ -245,6 +251,10 @@ export declare const se_ListUpdatesCommand: (input: ListUpdatesCommandInput, con
245
251
  * serializeAws_restJson1RegisterClusterCommand
246
252
  */
247
253
  export declare const se_RegisterClusterCommand: (input: RegisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
254
+ /**
255
+ * serializeAws_restJson1StartInsightsRefreshCommand
256
+ */
257
+ export declare const se_StartInsightsRefreshCommand: (input: StartInsightsRefreshCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
248
258
  /**
249
259
  * serializeAws_restJson1TagResourceCommand
250
260
  */
@@ -397,6 +407,10 @@ export declare const de_DescribeIdentityProviderConfigCommand: (output: __HttpRe
397
407
  * deserializeAws_restJson1DescribeInsightCommand
398
408
  */
399
409
  export declare const de_DescribeInsightCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInsightCommandOutput>;
410
+ /**
411
+ * deserializeAws_restJson1DescribeInsightsRefreshCommand
412
+ */
413
+ export declare const de_DescribeInsightsRefreshCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInsightsRefreshCommandOutput>;
400
414
  /**
401
415
  * deserializeAws_restJson1DescribeNodegroupCommand
402
416
  */
@@ -473,6 +487,10 @@ export declare const de_ListUpdatesCommand: (output: __HttpResponse, context: __
473
487
  * deserializeAws_restJson1RegisterClusterCommand
474
488
  */
475
489
  export declare const de_RegisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterClusterCommandOutput>;
490
+ /**
491
+ * deserializeAws_restJson1StartInsightsRefreshCommand
492
+ */
493
+ export declare const de_StartInsightsRefreshCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartInsightsRefreshCommandOutput>;
476
494
  /**
477
495
  * deserializeAws_restJson1TagResourceCommand
478
496
  */
@@ -111,6 +111,10 @@ import {
111
111
  DescribeInsightCommandInput,
112
112
  DescribeInsightCommandOutput,
113
113
  } from "./commands/DescribeInsightCommand";
114
+ import {
115
+ DescribeInsightsRefreshCommandInput,
116
+ DescribeInsightsRefreshCommandOutput,
117
+ } from "./commands/DescribeInsightsRefreshCommand";
114
118
  import {
115
119
  DescribeNodegroupCommandInput,
116
120
  DescribeNodegroupCommandOutput,
@@ -187,6 +191,10 @@ import {
187
191
  RegisterClusterCommandInput,
188
192
  RegisterClusterCommandOutput,
189
193
  } from "./commands/RegisterClusterCommand";
194
+ import {
195
+ StartInsightsRefreshCommandInput,
196
+ StartInsightsRefreshCommandOutput,
197
+ } from "./commands/StartInsightsRefreshCommand";
190
198
  import {
191
199
  TagResourceCommandInput,
192
200
  TagResourceCommandOutput,
@@ -595,6 +603,19 @@ export interface EKS {
595
603
  options: __HttpHandlerOptions,
596
604
  cb: (err: any, data?: DescribeInsightCommandOutput) => void
597
605
  ): void;
606
+ describeInsightsRefresh(
607
+ args: DescribeInsightsRefreshCommandInput,
608
+ options?: __HttpHandlerOptions
609
+ ): Promise<DescribeInsightsRefreshCommandOutput>;
610
+ describeInsightsRefresh(
611
+ args: DescribeInsightsRefreshCommandInput,
612
+ cb: (err: any, data?: DescribeInsightsRefreshCommandOutput) => void
613
+ ): void;
614
+ describeInsightsRefresh(
615
+ args: DescribeInsightsRefreshCommandInput,
616
+ options: __HttpHandlerOptions,
617
+ cb: (err: any, data?: DescribeInsightsRefreshCommandOutput) => void
618
+ ): void;
598
619
  describeNodegroup(
599
620
  args: DescribeNodegroupCommandInput,
600
621
  options?: __HttpHandlerOptions
@@ -851,6 +872,19 @@ export interface EKS {
851
872
  options: __HttpHandlerOptions,
852
873
  cb: (err: any, data?: RegisterClusterCommandOutput) => void
853
874
  ): void;
875
+ startInsightsRefresh(
876
+ args: StartInsightsRefreshCommandInput,
877
+ options?: __HttpHandlerOptions
878
+ ): Promise<StartInsightsRefreshCommandOutput>;
879
+ startInsightsRefresh(
880
+ args: StartInsightsRefreshCommandInput,
881
+ cb: (err: any, data?: StartInsightsRefreshCommandOutput) => void
882
+ ): void;
883
+ startInsightsRefresh(
884
+ args: StartInsightsRefreshCommandInput,
885
+ options: __HttpHandlerOptions,
886
+ cb: (err: any, data?: StartInsightsRefreshCommandOutput) => void
887
+ ): void;
854
888
  tagResource(
855
889
  args: TagResourceCommandInput,
856
890
  options?: __HttpHandlerOptions
@@ -157,6 +157,10 @@ import {
157
157
  DescribeInsightCommandInput,
158
158
  DescribeInsightCommandOutput,
159
159
  } from "./commands/DescribeInsightCommand";
160
+ import {
161
+ DescribeInsightsRefreshCommandInput,
162
+ DescribeInsightsRefreshCommandOutput,
163
+ } from "./commands/DescribeInsightsRefreshCommand";
160
164
  import {
161
165
  DescribeNodegroupCommandInput,
162
166
  DescribeNodegroupCommandOutput,
@@ -233,6 +237,10 @@ import {
233
237
  RegisterClusterCommandInput,
234
238
  RegisterClusterCommandOutput,
235
239
  } from "./commands/RegisterClusterCommand";
240
+ import {
241
+ StartInsightsRefreshCommandInput,
242
+ StartInsightsRefreshCommandOutput,
243
+ } from "./commands/StartInsightsRefreshCommand";
236
244
  import {
237
245
  TagResourceCommandInput,
238
246
  TagResourceCommandOutput,
@@ -309,6 +317,7 @@ export type ServiceInputTypes =
309
317
  | DescribeFargateProfileCommandInput
310
318
  | DescribeIdentityProviderConfigCommandInput
311
319
  | DescribeInsightCommandInput
320
+ | DescribeInsightsRefreshCommandInput
312
321
  | DescribeNodegroupCommandInput
313
322
  | DescribePodIdentityAssociationCommandInput
314
323
  | DescribeUpdateCommandInput
@@ -328,6 +337,7 @@ export type ServiceInputTypes =
328
337
  | ListTagsForResourceCommandInput
329
338
  | ListUpdatesCommandInput
330
339
  | RegisterClusterCommandInput
340
+ | StartInsightsRefreshCommandInput
331
341
  | TagResourceCommandInput
332
342
  | UntagResourceCommandInput
333
343
  | UpdateAccessEntryCommandInput
@@ -367,6 +377,7 @@ export type ServiceOutputTypes =
367
377
  | DescribeFargateProfileCommandOutput
368
378
  | DescribeIdentityProviderConfigCommandOutput
369
379
  | DescribeInsightCommandOutput
380
+ | DescribeInsightsRefreshCommandOutput
370
381
  | DescribeNodegroupCommandOutput
371
382
  | DescribePodIdentityAssociationCommandOutput
372
383
  | DescribeUpdateCommandOutput
@@ -386,6 +397,7 @@ export type ServiceOutputTypes =
386
397
  | ListTagsForResourceCommandOutput
387
398
  | ListUpdatesCommandOutput
388
399
  | RegisterClusterCommandOutput
400
+ | StartInsightsRefreshCommandOutput
389
401
  | TagResourceCommandOutput
390
402
  | UntagResourceCommandOutput
391
403
  | UpdateAccessEntryCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EKSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EKSClient";
8
+ import {
9
+ DescribeInsightsRefreshRequest,
10
+ DescribeInsightsRefreshResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeInsightsRefreshCommandInput
15
+ extends DescribeInsightsRefreshRequest {}
16
+ export interface DescribeInsightsRefreshCommandOutput
17
+ extends DescribeInsightsRefreshResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeInsightsRefreshCommand_base: {
20
+ new (
21
+ input: DescribeInsightsRefreshCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeInsightsRefreshCommandInput,
24
+ DescribeInsightsRefreshCommandOutput,
25
+ EKSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeInsightsRefreshCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeInsightsRefreshCommandInput,
33
+ DescribeInsightsRefreshCommandOutput,
34
+ EKSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeInsightsRefreshCommand extends DescribeInsightsRefreshCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeInsightsRefreshRequest;
44
+ output: DescribeInsightsRefreshResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeInsightsRefreshCommandInput;
48
+ output: DescribeInsightsRefreshCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EKSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EKSClient";
8
+ import {
9
+ StartInsightsRefreshRequest,
10
+ StartInsightsRefreshResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartInsightsRefreshCommandInput
15
+ extends StartInsightsRefreshRequest {}
16
+ export interface StartInsightsRefreshCommandOutput
17
+ extends StartInsightsRefreshResponse,
18
+ __MetadataBearer {}
19
+ declare const StartInsightsRefreshCommand_base: {
20
+ new (
21
+ input: StartInsightsRefreshCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartInsightsRefreshCommandInput,
24
+ StartInsightsRefreshCommandOutput,
25
+ EKSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StartInsightsRefreshCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartInsightsRefreshCommandInput,
33
+ StartInsightsRefreshCommandOutput,
34
+ EKSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartInsightsRefreshCommand extends StartInsightsRefreshCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartInsightsRefreshRequest;
44
+ output: StartInsightsRefreshResponse;
45
+ };
46
+ sdk: {
47
+ input: StartInsightsRefreshCommandInput;
48
+ output: StartInsightsRefreshCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -26,6 +26,7 @@ export * from "./DescribeEksAnywhereSubscriptionCommand";
26
26
  export * from "./DescribeFargateProfileCommand";
27
27
  export * from "./DescribeIdentityProviderConfigCommand";
28
28
  export * from "./DescribeInsightCommand";
29
+ export * from "./DescribeInsightsRefreshCommand";
29
30
  export * from "./DescribeNodegroupCommand";
30
31
  export * from "./DescribePodIdentityAssociationCommand";
31
32
  export * from "./DescribeUpdateCommand";
@@ -45,6 +46,7 @@ export * from "./ListPodIdentityAssociationsCommand";
45
46
  export * from "./ListTagsForResourceCommand";
46
47
  export * from "./ListUpdatesCommand";
47
48
  export * from "./RegisterClusterCommand";
49
+ export * from "./StartInsightsRefreshCommand";
48
50
  export * from "./TagResourceCommand";
49
51
  export * from "./UntagResourceCommand";
50
52
  export * from "./UpdateAccessEntryCommand";
@@ -1205,6 +1205,22 @@ export interface Insight {
1205
1205
  export interface DescribeInsightResponse {
1206
1206
  insight?: Insight | undefined;
1207
1207
  }
1208
+ export interface DescribeInsightsRefreshRequest {
1209
+ clusterName: string | undefined;
1210
+ }
1211
+ export declare const InsightsRefreshStatus: {
1212
+ readonly COMPLETED: "COMPLETED";
1213
+ readonly FAILED: "FAILED";
1214
+ readonly IN_PROGRESS: "IN_PROGRESS";
1215
+ };
1216
+ export type InsightsRefreshStatus =
1217
+ (typeof InsightsRefreshStatus)[keyof typeof InsightsRefreshStatus];
1218
+ export interface DescribeInsightsRefreshResponse {
1219
+ message?: string | undefined;
1220
+ status?: InsightsRefreshStatus | undefined;
1221
+ startedAt?: Date | undefined;
1222
+ endedAt?: Date | undefined;
1223
+ }
1208
1224
  export interface DescribeNodegroupRequest {
1209
1225
  clusterName: string | undefined;
1210
1226
  nodegroupName: string | undefined;
@@ -1445,6 +1461,13 @@ export declare class ResourcePropagationDelayException extends __BaseException {
1445
1461
  >
1446
1462
  );
1447
1463
  }
1464
+ export interface StartInsightsRefreshRequest {
1465
+ clusterName: string | undefined;
1466
+ }
1467
+ export interface StartInsightsRefreshResponse {
1468
+ message?: string | undefined;
1469
+ status?: InsightsRefreshStatus | undefined;
1470
+ }
1448
1471
  export interface TagResourceRequest {
1449
1472
  resourceArn: string | undefined;
1450
1473
  tags: Record<string, string> | undefined;
@@ -115,6 +115,10 @@ import {
115
115
  DescribeInsightCommandInput,
116
116
  DescribeInsightCommandOutput,
117
117
  } from "../commands/DescribeInsightCommand";
118
+ import {
119
+ DescribeInsightsRefreshCommandInput,
120
+ DescribeInsightsRefreshCommandOutput,
121
+ } from "../commands/DescribeInsightsRefreshCommand";
118
122
  import {
119
123
  DescribeNodegroupCommandInput,
120
124
  DescribeNodegroupCommandOutput,
@@ -191,6 +195,10 @@ import {
191
195
  RegisterClusterCommandInput,
192
196
  RegisterClusterCommandOutput,
193
197
  } from "../commands/RegisterClusterCommand";
198
+ import {
199
+ StartInsightsRefreshCommandInput,
200
+ StartInsightsRefreshCommandOutput,
201
+ } from "../commands/StartInsightsRefreshCommand";
194
202
  import {
195
203
  TagResourceCommandInput,
196
204
  TagResourceCommandOutput,
@@ -343,6 +351,10 @@ export declare const se_DescribeInsightCommand: (
343
351
  input: DescribeInsightCommandInput,
344
352
  context: __SerdeContext
345
353
  ) => Promise<__HttpRequest>;
354
+ export declare const se_DescribeInsightsRefreshCommand: (
355
+ input: DescribeInsightsRefreshCommandInput,
356
+ context: __SerdeContext
357
+ ) => Promise<__HttpRequest>;
346
358
  export declare const se_DescribeNodegroupCommand: (
347
359
  input: DescribeNodegroupCommandInput,
348
360
  context: __SerdeContext
@@ -419,6 +431,10 @@ export declare const se_RegisterClusterCommand: (
419
431
  input: RegisterClusterCommandInput,
420
432
  context: __SerdeContext
421
433
  ) => Promise<__HttpRequest>;
434
+ export declare const se_StartInsightsRefreshCommand: (
435
+ input: StartInsightsRefreshCommandInput,
436
+ context: __SerdeContext
437
+ ) => Promise<__HttpRequest>;
422
438
  export declare const se_TagResourceCommand: (
423
439
  input: TagResourceCommandInput,
424
440
  context: __SerdeContext
@@ -571,6 +587,10 @@ export declare const de_DescribeInsightCommand: (
571
587
  output: __HttpResponse,
572
588
  context: __SerdeContext
573
589
  ) => Promise<DescribeInsightCommandOutput>;
590
+ export declare const de_DescribeInsightsRefreshCommand: (
591
+ output: __HttpResponse,
592
+ context: __SerdeContext
593
+ ) => Promise<DescribeInsightsRefreshCommandOutput>;
574
594
  export declare const de_DescribeNodegroupCommand: (
575
595
  output: __HttpResponse,
576
596
  context: __SerdeContext
@@ -647,6 +667,10 @@ export declare const de_RegisterClusterCommand: (
647
667
  output: __HttpResponse,
648
668
  context: __SerdeContext
649
669
  ) => Promise<RegisterClusterCommandOutput>;
670
+ export declare const de_StartInsightsRefreshCommand: (
671
+ output: __HttpResponse,
672
+ context: __SerdeContext
673
+ ) => Promise<StartInsightsRefreshCommandOutput>;
650
674
  export declare const de_TagResourceCommand: (
651
675
  output: __HttpResponse,
652
676
  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.876.0",
4
+ "version": "3.877.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eks",