@aws-sdk/client-redshift 3.504.0 → 3.509.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.
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
@@ -98,6 +98,7 @@ import { GetClusterCredentialsWithIAMCommand, } from "./commands/GetClusterCrede
98
98
  import { GetReservedNodeExchangeConfigurationOptionsCommand, } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
99
99
  import { GetReservedNodeExchangeOfferingsCommand, } from "./commands/GetReservedNodeExchangeOfferingsCommand";
100
100
  import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
101
+ import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
101
102
  import { ModifyAquaConfigurationCommand, } from "./commands/ModifyAquaConfigurationCommand";
102
103
  import { ModifyAuthenticationProfileCommand, } from "./commands/ModifyAuthenticationProfileCommand";
103
104
  import { ModifyClusterCommand, } from "./commands/ModifyClusterCommand";
@@ -232,6 +233,7 @@ const commands = {
232
233
  GetReservedNodeExchangeConfigurationOptionsCommand,
233
234
  GetReservedNodeExchangeOfferingsCommand,
234
235
  GetResourcePolicyCommand,
236
+ ListRecommendationsCommand,
235
237
  ModifyAquaConfigurationCommand,
236
238
  ModifyAuthenticationProfileCommand,
237
239
  ModifyClusterCommand,
@@ -0,0 +1,24 @@
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_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class ListRecommendationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("RedshiftServiceVersion20121201", "ListRecommendations", {})
19
+ .n("RedshiftClient", "ListRecommendationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRecommendationsCommand)
22
+ .de(de_ListRecommendationsCommand)
23
+ .build() {
24
+ }
@@ -97,6 +97,7 @@ export * from "./GetClusterCredentialsWithIAMCommand";
97
97
  export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
98
98
  export * from "./GetReservedNodeExchangeOfferingsCommand";
99
99
  export * from "./GetResourcePolicyCommand";
100
+ export * from "./ListRecommendationsCommand";
100
101
  export * from "./ModifyAquaConfigurationCommand";
101
102
  export * from "./ModifyAuthenticationProfileCommand";
102
103
  export * from "./ModifyClusterCommand";
@@ -210,6 +210,11 @@ export class InvalidPolicyFault extends __BaseException {
210
210
  Object.setPrototypeOf(this, InvalidPolicyFault.prototype);
211
211
  }
212
212
  }
213
+ export const ImpactRankingType = {
214
+ HIGH: "HIGH",
215
+ LOW: "LOW",
216
+ MEDIUM: "MEDIUM",
217
+ };
213
218
  export class InProgressTableRestoreQuotaExceededFault extends __BaseException {
214
219
  constructor(opts) {
215
220
  super({
@@ -246,6 +251,10 @@ export class InvalidTableRestoreArgumentFault extends __BaseException {
246
251
  Object.setPrototypeOf(this, InvalidTableRestoreArgumentFault.prototype);
247
252
  }
248
253
  }
254
+ export const RecommendedActionType = {
255
+ CLI: "CLI",
256
+ SQL: "SQL",
257
+ };
249
258
  export class TableLimitExceededFault extends __BaseException {
250
259
  constructor(opts) {
251
260
  super({
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListRecommendationsCommand, } from "../commands/ListRecommendationsCommand";
3
+ import { RedshiftClient } from "../RedshiftClient";
4
+ export const paginateListRecommendations = createPaginator(RedshiftClient, ListRecommendationsCommand, "Marker", "Marker", "MaxRecords");
@@ -34,3 +34,4 @@ export * from "./DescribeTagsPaginator";
34
34
  export * from "./DescribeUsageLimitsPaginator";
35
35
  export * from "./GetReservedNodeExchangeConfigurationOptionsPaginator";
36
36
  export * from "./GetReservedNodeExchangeOfferingsPaginator";
37
+ export * from "./ListRecommendationsPaginator";