@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.
- package/README.md +15 -7
- package/dist-cjs/commands/ListRecommendationsCommand.js +1 -0
- package/dist-cjs/index.js +805 -3862
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -0
- package/dist-es/Redshift.js +2 -0
- package/dist-es/commands/ListRecommendationsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +801 -3888
- package/dist-types/Redshift.d.ts +7 -0
- package/dist-types/RedshiftClient.d.ts +3 -2
- package/dist-types/commands/ListRecommendationsCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_1.d.ts +187 -0
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/Redshift.d.ts +17 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-es/Redshift.js
CHANGED
|
@@ -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";
|