@aws-sdk/client-redshift 3.42.0 → 3.47.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/CHANGELOG.md +51 -0
- package/dist-cjs/Redshift.js +30 -0
- package/dist-cjs/commands/DescribeHsmConfigurationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeLoggingStatusCommand.js +1 -2
- package/dist-cjs/commands/DescribeReservedNodeExchangeStatusCommand.js +36 -0
- package/dist-cjs/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +1 -20
- package/dist-cjs/models/models_0.js +19 -660
- package/dist-cjs/models/models_1.js +48 -109
- package/dist-cjs/pagination/DescribeDataSharesForConsumerPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeDataSharesForProducerPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeDataSharesPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeReservedNodeExchangeStatusPaginator.js +35 -0
- package/dist-cjs/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +6 -1
- package/dist-cjs/protocols/Aws_query.js +508 -4
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Redshift.js +30 -0
- package/dist-es/commands/DescribeHsmConfigurationsCommand.js +2 -1
- package/dist-es/commands/DescribeLoggingStatusCommand.js +1 -2
- package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +39 -0
- package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +1 -20
- package/dist-es/models/models_0.js +13 -436
- package/dist-es/models/models_1.js +33 -72
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +74 -0
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +74 -0
- package/dist-es/pagination/DescribeDataSharesPaginator.js +74 -0
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +74 -0
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +6 -1
- package/dist-es/protocols/Aws_query.js +675 -161
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Redshift.d.ts +18 -1
- package/dist-types/RedshiftClient.d.ts +9 -3
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +36 -0
- package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +90 -691
- package/dist-types/models/models_1.d.ts +196 -109
- package/dist-types/pagination/DescribeDataSharesForConsumerPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeDataSharesForProducerPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeDataSharesPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +4 -0
- package/dist-types/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -1
- package/dist-types/protocols/Aws_query.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Redshift.d.ts +10 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +7 -3
- package/dist-types/ts3.4/commands/DescribeHsmConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLoggingStatusCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -448
- package/dist-types/ts3.4/models/models_1.d.ts +102 -73
- package/dist-types/ts3.4/pagination/DescribeDataSharesForConsumerPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeDataSharesForProducerPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeDataSharesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/Redshift.js
CHANGED
|
@@ -68,6 +68,7 @@ import { DescribeLoggingStatusCommand, } from "./commands/DescribeLoggingStatusC
|
|
|
68
68
|
import { DescribeNodeConfigurationOptionsCommand, } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
69
69
|
import { DescribeOrderableClusterOptionsCommand, } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
70
70
|
import { DescribePartnersCommand, } from "./commands/DescribePartnersCommand";
|
|
71
|
+
import { DescribeReservedNodeExchangeStatusCommand, } from "./commands/DescribeReservedNodeExchangeStatusCommand";
|
|
71
72
|
import { DescribeReservedNodeOfferingsCommand, } from "./commands/DescribeReservedNodeOfferingsCommand";
|
|
72
73
|
import { DescribeReservedNodesCommand, } from "./commands/DescribeReservedNodesCommand";
|
|
73
74
|
import { DescribeResizeCommand, } from "./commands/DescribeResizeCommand";
|
|
@@ -84,6 +85,7 @@ import { DisassociateDataShareConsumerCommand, } from "./commands/DisassociateDa
|
|
|
84
85
|
import { EnableLoggingCommand, } from "./commands/EnableLoggingCommand";
|
|
85
86
|
import { EnableSnapshotCopyCommand, } from "./commands/EnableSnapshotCopyCommand";
|
|
86
87
|
import { GetClusterCredentialsCommand, } from "./commands/GetClusterCredentialsCommand";
|
|
88
|
+
import { GetReservedNodeExchangeConfigurationOptionsCommand, } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
87
89
|
import { GetReservedNodeExchangeOfferingsCommand, } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
88
90
|
import { ModifyAquaConfigurationCommand, } from "./commands/ModifyAquaConfigurationCommand";
|
|
89
91
|
import { ModifyAuthenticationProfileCommand, } from "./commands/ModifyAuthenticationProfileCommand";
|
|
@@ -1087,6 +1089,20 @@ var Redshift = (function (_super) {
|
|
|
1087
1089
|
return this.send(command, optionsOrCb);
|
|
1088
1090
|
}
|
|
1089
1091
|
};
|
|
1092
|
+
Redshift.prototype.describeReservedNodeExchangeStatus = function (args, optionsOrCb, cb) {
|
|
1093
|
+
var command = new DescribeReservedNodeExchangeStatusCommand(args);
|
|
1094
|
+
if (typeof optionsOrCb === "function") {
|
|
1095
|
+
this.send(command, optionsOrCb);
|
|
1096
|
+
}
|
|
1097
|
+
else if (typeof cb === "function") {
|
|
1098
|
+
if (typeof optionsOrCb !== "object")
|
|
1099
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1100
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1101
|
+
}
|
|
1102
|
+
else {
|
|
1103
|
+
return this.send(command, optionsOrCb);
|
|
1104
|
+
}
|
|
1105
|
+
};
|
|
1090
1106
|
Redshift.prototype.describeReservedNodeOfferings = function (args, optionsOrCb, cb) {
|
|
1091
1107
|
var command = new DescribeReservedNodeOfferingsCommand(args);
|
|
1092
1108
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1311,6 +1327,20 @@ var Redshift = (function (_super) {
|
|
|
1311
1327
|
return this.send(command, optionsOrCb);
|
|
1312
1328
|
}
|
|
1313
1329
|
};
|
|
1330
|
+
Redshift.prototype.getReservedNodeExchangeConfigurationOptions = function (args, optionsOrCb, cb) {
|
|
1331
|
+
var command = new GetReservedNodeExchangeConfigurationOptionsCommand(args);
|
|
1332
|
+
if (typeof optionsOrCb === "function") {
|
|
1333
|
+
this.send(command, optionsOrCb);
|
|
1334
|
+
}
|
|
1335
|
+
else if (typeof cb === "function") {
|
|
1336
|
+
if (typeof optionsOrCb !== "object")
|
|
1337
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1338
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1339
|
+
}
|
|
1340
|
+
else {
|
|
1341
|
+
return this.send(command, optionsOrCb);
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1314
1344
|
Redshift.prototype.getReservedNodeExchangeOfferings = function (args, optionsOrCb, cb) {
|
|
1315
1345
|
var command = new GetReservedNodeExchangeOfferingsCommand(args);
|
|
1316
1346
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeHsmConfigurationsMessage
|
|
4
|
+
import { DescribeHsmConfigurationsMessage } from "../models/models_0";
|
|
5
|
+
import { HsmConfigurationMessage } from "../models/models_1";
|
|
5
6
|
import { deserializeAws_queryDescribeHsmConfigurationsCommand, serializeAws_queryDescribeHsmConfigurationsCommand, } from "../protocols/Aws_query";
|
|
6
7
|
var DescribeHsmConfigurationsCommand = (function (_super) {
|
|
7
8
|
__extends(DescribeHsmConfigurationsCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeLoggingStatusMessage } from "../models/
|
|
5
|
-
import { LoggingStatus } from "../models/models_1";
|
|
4
|
+
import { DescribeLoggingStatusMessage, LoggingStatus } from "../models/models_1";
|
|
6
5
|
import { deserializeAws_queryDescribeLoggingStatusCommand, serializeAws_queryDescribeLoggingStatusCommand, } from "../protocols/Aws_query";
|
|
7
6
|
var DescribeLoggingStatusCommand = (function (_super) {
|
|
8
7
|
__extends(DescribeLoggingStatusCommand, _super);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeReservedNodeExchangeStatusInputMessage, DescribeReservedNodeExchangeStatusOutputMessage, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_queryDescribeReservedNodeExchangeStatusCommand, serializeAws_queryDescribeReservedNodeExchangeStatusCommand, } from "../protocols/Aws_query";
|
|
6
|
+
var DescribeReservedNodeExchangeStatusCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeReservedNodeExchangeStatusCommand, _super);
|
|
8
|
+
function DescribeReservedNodeExchangeStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeReservedNodeExchangeStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftClient";
|
|
18
|
+
var commandName = "DescribeReservedNodeExchangeStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeReservedNodeExchangeStatusInputMessage.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeReservedNodeExchangeStatusOutputMessage.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeReservedNodeExchangeStatusCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_queryDescribeReservedNodeExchangeStatusCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeReservedNodeExchangeStatusCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_queryDescribeReservedNodeExchangeStatusCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeReservedNodeExchangeStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeReservedNodeExchangeStatusCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetReservedNodeExchangeConfigurationOptionsInputMessage, GetReservedNodeExchangeConfigurationOptionsOutputMessage, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand, serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand, } from "../protocols/Aws_query";
|
|
6
|
+
var GetReservedNodeExchangeConfigurationOptionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetReservedNodeExchangeConfigurationOptionsCommand, _super);
|
|
8
|
+
function GetReservedNodeExchangeConfigurationOptionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetReservedNodeExchangeConfigurationOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "RedshiftClient";
|
|
18
|
+
var commandName = "GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetReservedNodeExchangeConfigurationOptionsInputMessage.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetReservedNodeExchangeConfigurationOptionsOutputMessage.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetReservedNodeExchangeConfigurationOptionsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetReservedNodeExchangeConfigurationOptionsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetReservedNodeExchangeConfigurationOptionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetReservedNodeExchangeConfigurationOptionsCommand };
|
|
@@ -67,6 +67,7 @@ export * from "./DescribeLoggingStatusCommand";
|
|
|
67
67
|
export * from "./DescribeNodeConfigurationOptionsCommand";
|
|
68
68
|
export * from "./DescribeOrderableClusterOptionsCommand";
|
|
69
69
|
export * from "./DescribePartnersCommand";
|
|
70
|
+
export * from "./DescribeReservedNodeExchangeStatusCommand";
|
|
70
71
|
export * from "./DescribeReservedNodeOfferingsCommand";
|
|
71
72
|
export * from "./DescribeReservedNodesCommand";
|
|
72
73
|
export * from "./DescribeResizeCommand";
|
|
@@ -83,6 +84,7 @@ export * from "./DisassociateDataShareConsumerCommand";
|
|
|
83
84
|
export * from "./EnableLoggingCommand";
|
|
84
85
|
export * from "./EnableSnapshotCopyCommand";
|
|
85
86
|
export * from "./GetClusterCredentialsCommand";
|
|
87
|
+
export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
86
88
|
export * from "./GetReservedNodeExchangeOfferingsCommand";
|
|
87
89
|
export * from "./ModifyAquaConfigurationCommand";
|
|
88
90
|
export * from "./ModifyAuthenticationProfileCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"ca-central-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "redshift.ca-central-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "redshift-fips.ca-central-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-1": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "redshift.us-east-1.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "redshift-fips.us-east-1.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-east-2": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "redshift.us-east-2.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "redshift-fips.us-east-2.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -57,10 +45,6 @@ var regionHash = {
|
|
|
57
45
|
},
|
|
58
46
|
"us-west-1": {
|
|
59
47
|
variants: [
|
|
60
|
-
{
|
|
61
|
-
hostname: "redshift.us-west-1.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "redshift-fips.us-west-1.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|
|
@@ -69,10 +53,6 @@ var regionHash = {
|
|
|
69
53
|
},
|
|
70
54
|
"us-west-2": {
|
|
71
55
|
variants: [
|
|
72
|
-
{
|
|
73
|
-
hostname: "redshift.us-west-2.amazonaws.com",
|
|
74
|
-
tags: [],
|
|
75
|
-
},
|
|
76
56
|
{
|
|
77
57
|
hostname: "redshift-fips.us-west-2.amazonaws.com",
|
|
78
58
|
tags: ["fips"],
|
|
@@ -91,6 +71,7 @@ var partitionHash = {
|
|
|
91
71
|
"ap-south-1",
|
|
92
72
|
"ap-southeast-1",
|
|
93
73
|
"ap-southeast-2",
|
|
74
|
+
"ap-southeast-3",
|
|
94
75
|
"ca-central-1",
|
|
95
76
|
"eu-central-1",
|
|
96
77
|
"eu-north-1",
|