@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
package/dist-types/Redshift.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ import { DescribeLoggingStatusCommandInput, DescribeLoggingStatusCommandOutput }
|
|
|
68
68
|
import { DescribeNodeConfigurationOptionsCommandInput, DescribeNodeConfigurationOptionsCommandOutput } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
69
69
|
import { DescribeOrderableClusterOptionsCommandInput, DescribeOrderableClusterOptionsCommandOutput } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
70
70
|
import { DescribePartnersCommandInput, DescribePartnersCommandOutput } from "./commands/DescribePartnersCommand";
|
|
71
|
+
import { DescribeReservedNodeExchangeStatusCommandInput, DescribeReservedNodeExchangeStatusCommandOutput } from "./commands/DescribeReservedNodeExchangeStatusCommand";
|
|
71
72
|
import { DescribeReservedNodeOfferingsCommandInput, DescribeReservedNodeOfferingsCommandOutput } from "./commands/DescribeReservedNodeOfferingsCommand";
|
|
72
73
|
import { DescribeReservedNodesCommandInput, DescribeReservedNodesCommandOutput } from "./commands/DescribeReservedNodesCommand";
|
|
73
74
|
import { DescribeResizeCommandInput, DescribeResizeCommandOutput } from "./commands/DescribeResizeCommand";
|
|
@@ -84,6 +85,7 @@ import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsume
|
|
|
84
85
|
import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
|
|
85
86
|
import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
|
|
86
87
|
import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
|
|
88
|
+
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
87
89
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
88
90
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "./commands/ModifyAquaConfigurationCommand";
|
|
89
91
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "./commands/ModifyAuthenticationProfileCommand";
|
|
@@ -188,7 +190,7 @@ export declare class Redshift extends RedshiftClient {
|
|
|
188
190
|
authorizeClusterSecurityGroupIngress(args: AuthorizeClusterSecurityGroupIngressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AuthorizeClusterSecurityGroupIngressCommandOutput) => void): void;
|
|
189
191
|
/**
|
|
190
192
|
* <p>From a data producer account, authorizes the sharing of a datashare with one or more
|
|
191
|
-
* consumer accounts. To authorize a datashare for a data consumer, the producer account
|
|
193
|
+
* consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account
|
|
192
194
|
* must have the correct access privileges.</p>
|
|
193
195
|
*/
|
|
194
196
|
authorizeDataShare(args: AuthorizeDataShareCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeDataShareCommandOutput>;
|
|
@@ -832,6 +834,13 @@ export declare class Redshift extends RedshiftClient {
|
|
|
832
834
|
describePartners(args: DescribePartnersCommandInput, options?: __HttpHandlerOptions): Promise<DescribePartnersCommandOutput>;
|
|
833
835
|
describePartners(args: DescribePartnersCommandInput, cb: (err: any, data?: DescribePartnersCommandOutput) => void): void;
|
|
834
836
|
describePartners(args: DescribePartnersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePartnersCommandOutput) => void): void;
|
|
837
|
+
/**
|
|
838
|
+
* <p>Returns exchange status details and associated metadata for a reserved-node
|
|
839
|
+
* exchange. Statuses include such values as in progress and requested.</p>
|
|
840
|
+
*/
|
|
841
|
+
describeReservedNodeExchangeStatus(args: DescribeReservedNodeExchangeStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedNodeExchangeStatusCommandOutput>;
|
|
842
|
+
describeReservedNodeExchangeStatus(args: DescribeReservedNodeExchangeStatusCommandInput, cb: (err: any, data?: DescribeReservedNodeExchangeStatusCommandOutput) => void): void;
|
|
843
|
+
describeReservedNodeExchangeStatus(args: DescribeReservedNodeExchangeStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReservedNodeExchangeStatusCommandOutput) => void): void;
|
|
835
844
|
/**
|
|
836
845
|
* <p>Returns a list of the available reserved node offerings by Amazon Redshift with their
|
|
837
846
|
* descriptions including the node type, the fixed and recurring costs of reserving the
|
|
@@ -1025,6 +1034,14 @@ export declare class Redshift extends RedshiftClient {
|
|
|
1025
1034
|
getClusterCredentials(args: GetClusterCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterCredentialsCommandOutput>;
|
|
1026
1035
|
getClusterCredentials(args: GetClusterCredentialsCommandInput, cb: (err: any, data?: GetClusterCredentialsCommandOutput) => void): void;
|
|
1027
1036
|
getClusterCredentials(args: GetClusterCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCredentialsCommandOutput) => void): void;
|
|
1037
|
+
/**
|
|
1038
|
+
* <p>Gets the configuration options for the reserved-node exchange. These options
|
|
1039
|
+
* include information about the source reserved node and target reserved node offering.
|
|
1040
|
+
* Details include the node type, the price, the node count, and the offering type.</p>
|
|
1041
|
+
*/
|
|
1042
|
+
getReservedNodeExchangeConfigurationOptions(args: GetReservedNodeExchangeConfigurationOptionsCommandInput, options?: __HttpHandlerOptions): Promise<GetReservedNodeExchangeConfigurationOptionsCommandOutput>;
|
|
1043
|
+
getReservedNodeExchangeConfigurationOptions(args: GetReservedNodeExchangeConfigurationOptionsCommandInput, cb: (err: any, data?: GetReservedNodeExchangeConfigurationOptionsCommandOutput) => void): void;
|
|
1044
|
+
getReservedNodeExchangeConfigurationOptions(args: GetReservedNodeExchangeConfigurationOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReservedNodeExchangeConfigurationOptionsCommandOutput) => void): void;
|
|
1028
1045
|
/**
|
|
1029
1046
|
* <p>Returns an array of DC2 ReservedNodeOfferings that matches the payment type, term,
|
|
1030
1047
|
* and usage price of the given DC1 reserved node.</p>
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptReservedNodeExchangeCommandInput, AcceptReservedNodeExchangeCommandOutput } from "./commands/AcceptReservedNodeExchangeCommand";
|
|
10
10
|
import { AddPartnerCommandInput, AddPartnerCommandOutput } from "./commands/AddPartnerCommand";
|
|
@@ -75,6 +75,7 @@ import { DescribeLoggingStatusCommandInput, DescribeLoggingStatusCommandOutput }
|
|
|
75
75
|
import { DescribeNodeConfigurationOptionsCommandInput, DescribeNodeConfigurationOptionsCommandOutput } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
76
76
|
import { DescribeOrderableClusterOptionsCommandInput, DescribeOrderableClusterOptionsCommandOutput } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
77
77
|
import { DescribePartnersCommandInput, DescribePartnersCommandOutput } from "./commands/DescribePartnersCommand";
|
|
78
|
+
import { DescribeReservedNodeExchangeStatusCommandInput, DescribeReservedNodeExchangeStatusCommandOutput } from "./commands/DescribeReservedNodeExchangeStatusCommand";
|
|
78
79
|
import { DescribeReservedNodeOfferingsCommandInput, DescribeReservedNodeOfferingsCommandOutput } from "./commands/DescribeReservedNodeOfferingsCommand";
|
|
79
80
|
import { DescribeReservedNodesCommandInput, DescribeReservedNodesCommandOutput } from "./commands/DescribeReservedNodesCommand";
|
|
80
81
|
import { DescribeResizeCommandInput, DescribeResizeCommandOutput } from "./commands/DescribeResizeCommand";
|
|
@@ -91,6 +92,7 @@ import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsume
|
|
|
91
92
|
import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
|
|
92
93
|
import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
|
|
93
94
|
import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
|
|
95
|
+
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
94
96
|
import { GetReservedNodeExchangeOfferingsCommandInput, GetReservedNodeExchangeOfferingsCommandOutput } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
95
97
|
import { ModifyAquaConfigurationCommandInput, ModifyAquaConfigurationCommandOutput } from "./commands/ModifyAquaConfigurationCommand";
|
|
96
98
|
import { ModifyAuthenticationProfileCommandInput, ModifyAuthenticationProfileCommandOutput } from "./commands/ModifyAuthenticationProfileCommand";
|
|
@@ -122,8 +124,8 @@ import { RevokeEndpointAccessCommandInput, RevokeEndpointAccessCommandOutput } f
|
|
|
122
124
|
import { RevokeSnapshotAccessCommandInput, RevokeSnapshotAccessCommandOutput } from "./commands/RevokeSnapshotAccessCommand";
|
|
123
125
|
import { RotateEncryptionKeyCommandInput, RotateEncryptionKeyCommandOutput } from "./commands/RotateEncryptionKeyCommand";
|
|
124
126
|
import { UpdatePartnerStatusCommandInput, UpdatePartnerStatusCommandOutput } from "./commands/UpdatePartnerStatusCommand";
|
|
125
|
-
export declare type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
126
|
-
export declare type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
127
|
+
export declare type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
128
|
+
export declare type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
127
129
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
128
130
|
/**
|
|
129
131
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -224,6 +226,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
224
226
|
* @internal
|
|
225
227
|
*/
|
|
226
228
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
229
|
+
/**
|
|
230
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
231
|
+
*/
|
|
232
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
227
233
|
}
|
|
228
234
|
declare type RedshiftClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
229
235
|
/**
|
|
@@ -8,7 +8,7 @@ export interface AuthorizeDataShareCommandOutput extends DataShare, __MetadataBe
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>From a data producer account, authorizes the sharing of a datashare with one or more
|
|
11
|
-
* consumer accounts. To authorize a datashare for a data consumer, the producer account
|
|
11
|
+
* consumer accounts or managing entities. To authorize a datashare for a data consumer, the producer account
|
|
12
12
|
* must have the correct access privileges.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { DescribeHsmConfigurationsMessage
|
|
3
|
+
import { DescribeHsmConfigurationsMessage } from "../models/models_0";
|
|
4
|
+
import { HsmConfigurationMessage } from "../models/models_1";
|
|
4
5
|
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
6
|
export interface DescribeHsmConfigurationsCommandInput extends DescribeHsmConfigurationsMessage {
|
|
6
7
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { DescribeLoggingStatusMessage } from "../models/
|
|
4
|
-
import { LoggingStatus } from "../models/models_1";
|
|
3
|
+
import { DescribeLoggingStatusMessage, LoggingStatus } from "../models/models_1";
|
|
5
4
|
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
6
5
|
export interface DescribeLoggingStatusCommandInput extends DescribeLoggingStatusMessage {
|
|
7
6
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeReservedNodeExchangeStatusInputMessage, DescribeReservedNodeExchangeStatusOutputMessage } from "../models/models_1";
|
|
4
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
|
+
export interface DescribeReservedNodeExchangeStatusCommandInput extends DescribeReservedNodeExchangeStatusInputMessage {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeReservedNodeExchangeStatusCommandOutput extends DescribeReservedNodeExchangeStatusOutputMessage, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns exchange status details and associated metadata for a reserved-node
|
|
11
|
+
* exchange. Statuses include such values as in progress and requested.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { RedshiftClient, DescribeReservedNodeExchangeStatusCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
16
|
+
* // const { RedshiftClient, DescribeReservedNodeExchangeStatusCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
17
|
+
* const client = new RedshiftClient(config);
|
|
18
|
+
* const command = new DescribeReservedNodeExchangeStatusCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeReservedNodeExchangeStatusCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeReservedNodeExchangeStatusCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeReservedNodeExchangeStatusCommand extends $Command<DescribeReservedNodeExchangeStatusCommandInput, DescribeReservedNodeExchangeStatusCommandOutput, RedshiftClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeReservedNodeExchangeStatusCommandInput;
|
|
29
|
+
constructor(input: DescribeReservedNodeExchangeStatusCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeReservedNodeExchangeStatusCommandInput, DescribeReservedNodeExchangeStatusCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetReservedNodeExchangeConfigurationOptionsInputMessage, GetReservedNodeExchangeConfigurationOptionsOutputMessage } from "../models/models_1";
|
|
4
|
+
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
|
|
5
|
+
export interface GetReservedNodeExchangeConfigurationOptionsCommandInput extends GetReservedNodeExchangeConfigurationOptionsInputMessage {
|
|
6
|
+
}
|
|
7
|
+
export interface GetReservedNodeExchangeConfigurationOptionsCommandOutput extends GetReservedNodeExchangeConfigurationOptionsOutputMessage, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets the configuration options for the reserved-node exchange. These options
|
|
11
|
+
* include information about the source reserved node and target reserved node offering.
|
|
12
|
+
* Details include the node type, the price, the node count, and the offering type.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { RedshiftClient, GetReservedNodeExchangeConfigurationOptionsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
|
|
17
|
+
* // const { RedshiftClient, GetReservedNodeExchangeConfigurationOptionsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
|
|
18
|
+
* const client = new RedshiftClient(config);
|
|
19
|
+
* const command = new GetReservedNodeExchangeConfigurationOptionsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetReservedNodeExchangeConfigurationOptionsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetReservedNodeExchangeConfigurationOptionsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetReservedNodeExchangeConfigurationOptionsCommand extends $Command<GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput, RedshiftClientResolvedConfig> {
|
|
29
|
+
readonly input: GetReservedNodeExchangeConfigurationOptionsCommandInput;
|
|
30
|
+
constructor(input: GetReservedNodeExchangeConfigurationOptionsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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";
|