@aws-sdk/client-redshift 3.39.0 → 3.43.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 +41 -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 +143 -24
- package/dist-cjs/models/models_0.js +20 -17
- package/dist-cjs/models/models_1.js +56 -3
- 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 +504 -4
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -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 +143 -24
- package/dist-es/models/models_0.js +13 -8
- package/dist-es/models/models_1.js +37 -0
- 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 +671 -161
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Redshift.d.ts +17 -0
- package/dist-types/RedshiftClient.d.ts +12 -2
- package/dist-types/commands/AcceptReservedNodeExchangeCommand.d.ts +1 -1
- package/dist-types/commands/AddPartnerCommand.d.ts +1 -1
- package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeClusterSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSnapshotAccessCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/BatchModifyClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CancelResizeCommand.d.ts +1 -1
- package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateHsmClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateHsmConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCopyGrantCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePartnerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCopyGrantCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterTracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +2 -3
- package/dist-types/commands/DescribeNodeConfigurationOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrderableClusterOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePartnersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +36 -0
- package/dist-types/commands/DescribeReservedNodeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedNodesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResizeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotCopyGrantsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotSchedulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStorageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTableRestoreStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DisableLoggingCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -1
- package/dist-types/commands/EnableLoggingCommand.d.ts +1 -1
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -1
- package/dist-types/commands/GetClusterCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +37 -0
- package/dist-types/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAquaConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/PauseClusterCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedNodeOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RebootClusterCommand.d.ts +1 -1
- package/dist-types/commands/RejectDataShareCommand.d.ts +1 -1
- package/dist-types/commands/ResetClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResizeClusterCommand.d.ts +1 -1
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableFromClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ResumeClusterCommand.d.ts +1 -1
- package/dist-types/commands/RevokeClusterSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/RevokeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSnapshotAccessCommand.d.ts +1 -1
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +86 -49
- package/dist-types/models/models_1.d.ts +202 -1
- 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 +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Redshift.d.ts +10 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +8 -2
- 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 +43 -20
- package/dist-types/ts3.4/models/models_1.d.ts +106 -1
- 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 +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
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)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ 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
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
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),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
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
|
@@ -1,34 +1,84 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"ca-central-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "redshift.ca-central-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "redshift-fips.ca-central-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
"us-east-1": {
|
|
17
|
+
variants: [
|
|
18
|
+
{
|
|
19
|
+
hostname: "redshift.us-east-1.amazonaws.com",
|
|
20
|
+
tags: [],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
hostname: "redshift-fips.us-east-1.amazonaws.com",
|
|
24
|
+
tags: ["fips"],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
19
27
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
28
|
+
"us-east-2": {
|
|
29
|
+
variants: [
|
|
30
|
+
{
|
|
31
|
+
hostname: "redshift.us-east-2.amazonaws.com",
|
|
32
|
+
tags: [],
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
hostname: "redshift-fips.us-east-2.amazonaws.com",
|
|
36
|
+
tags: ["fips"],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
23
39
|
},
|
|
24
40
|
"us-gov-east-1": {
|
|
25
|
-
|
|
41
|
+
variants: [
|
|
42
|
+
{
|
|
43
|
+
hostname: "redshift.us-gov-east-1.amazonaws.com",
|
|
44
|
+
tags: [],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
26
47
|
signingRegion: "us-gov-east-1",
|
|
27
48
|
},
|
|
28
49
|
"us-gov-west-1": {
|
|
29
|
-
|
|
50
|
+
variants: [
|
|
51
|
+
{
|
|
52
|
+
hostname: "redshift.us-gov-west-1.amazonaws.com",
|
|
53
|
+
tags: [],
|
|
54
|
+
},
|
|
55
|
+
],
|
|
30
56
|
signingRegion: "us-gov-west-1",
|
|
31
57
|
},
|
|
58
|
+
"us-west-1": {
|
|
59
|
+
variants: [
|
|
60
|
+
{
|
|
61
|
+
hostname: "redshift.us-west-1.amazonaws.com",
|
|
62
|
+
tags: [],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hostname: "redshift-fips.us-west-1.amazonaws.com",
|
|
66
|
+
tags: ["fips"],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
"us-west-2": {
|
|
71
|
+
variants: [
|
|
72
|
+
{
|
|
73
|
+
hostname: "redshift.us-west-2.amazonaws.com",
|
|
74
|
+
tags: [],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
hostname: "redshift-fips.us-west-2.amazonaws.com",
|
|
78
|
+
tags: ["fips"],
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
32
82
|
};
|
|
33
83
|
var partitionHash = {
|
|
34
84
|
aws: {
|
|
@@ -61,27 +111,96 @@ var partitionHash = {
|
|
|
61
111
|
"us-west-2",
|
|
62
112
|
],
|
|
63
113
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
64
|
-
|
|
114
|
+
variants: [
|
|
115
|
+
{
|
|
116
|
+
hostname: "redshift.{region}.amazonaws.com",
|
|
117
|
+
tags: [],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
hostname: "redshift-fips.{region}.amazonaws.com",
|
|
121
|
+
tags: ["fips"],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
hostname: "redshift-fips.{region}.api.aws",
|
|
125
|
+
tags: ["dualstack", "fips"],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
hostname: "redshift.{region}.api.aws",
|
|
129
|
+
tags: ["dualstack"],
|
|
130
|
+
},
|
|
131
|
+
],
|
|
65
132
|
},
|
|
66
133
|
"aws-cn": {
|
|
67
134
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
68
135
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
69
|
-
|
|
136
|
+
variants: [
|
|
137
|
+
{
|
|
138
|
+
hostname: "redshift.{region}.amazonaws.com.cn",
|
|
139
|
+
tags: [],
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
hostname: "redshift-fips.{region}.amazonaws.com.cn",
|
|
143
|
+
tags: ["fips"],
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
hostname: "redshift-fips.{region}.api.amazonwebservices.com.cn",
|
|
147
|
+
tags: ["dualstack", "fips"],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
hostname: "redshift.{region}.api.amazonwebservices.com.cn",
|
|
151
|
+
tags: ["dualstack"],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
70
154
|
},
|
|
71
155
|
"aws-iso": {
|
|
72
156
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
73
157
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
74
|
-
|
|
158
|
+
variants: [
|
|
159
|
+
{
|
|
160
|
+
hostname: "redshift.{region}.c2s.ic.gov",
|
|
161
|
+
tags: [],
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
hostname: "redshift-fips.{region}.c2s.ic.gov",
|
|
165
|
+
tags: ["fips"],
|
|
166
|
+
},
|
|
167
|
+
],
|
|
75
168
|
},
|
|
76
169
|
"aws-iso-b": {
|
|
77
170
|
regions: ["us-isob-east-1"],
|
|
78
171
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
79
|
-
|
|
172
|
+
variants: [
|
|
173
|
+
{
|
|
174
|
+
hostname: "redshift.{region}.sc2s.sgov.gov",
|
|
175
|
+
tags: [],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
hostname: "redshift-fips.{region}.sc2s.sgov.gov",
|
|
179
|
+
tags: ["fips"],
|
|
180
|
+
},
|
|
181
|
+
],
|
|
80
182
|
},
|
|
81
183
|
"aws-us-gov": {
|
|
82
184
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
83
185
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
84
|
-
|
|
186
|
+
variants: [
|
|
187
|
+
{
|
|
188
|
+
hostname: "redshift.{region}.amazonaws.com",
|
|
189
|
+
tags: [],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
hostname: "redshift-fips.{region}.amazonaws.com",
|
|
193
|
+
tags: ["fips"],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
hostname: "redshift-fips.{region}.api.aws",
|
|
197
|
+
tags: ["dualstack", "fips"],
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
hostname: "redshift.{region}.api.aws",
|
|
201
|
+
tags: ["dualstack"],
|
|
202
|
+
},
|
|
203
|
+
],
|
|
85
204
|
},
|
|
86
205
|
};
|
|
87
206
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -380,6 +380,19 @@ export var PendingModifiedValues;
|
|
|
380
380
|
(function (PendingModifiedValues) {
|
|
381
381
|
PendingModifiedValues.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
382
382
|
})(PendingModifiedValues || (PendingModifiedValues = {}));
|
|
383
|
+
export var ReservedNodeExchangeStatusType;
|
|
384
|
+
(function (ReservedNodeExchangeStatusType) {
|
|
385
|
+
ReservedNodeExchangeStatusType["FAILED"] = "FAILED";
|
|
386
|
+
ReservedNodeExchangeStatusType["IN_PROGRESS"] = "IN_PROGRESS";
|
|
387
|
+
ReservedNodeExchangeStatusType["PENDING"] = "PENDING";
|
|
388
|
+
ReservedNodeExchangeStatusType["REQUESTED"] = "REQUESTED";
|
|
389
|
+
ReservedNodeExchangeStatusType["RETRYING"] = "RETRYING";
|
|
390
|
+
ReservedNodeExchangeStatusType["SUCCEEDED"] = "SUCCEEDED";
|
|
391
|
+
})(ReservedNodeExchangeStatusType || (ReservedNodeExchangeStatusType = {}));
|
|
392
|
+
export var ReservedNodeExchangeStatus;
|
|
393
|
+
(function (ReservedNodeExchangeStatus) {
|
|
394
|
+
ReservedNodeExchangeStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
395
|
+
})(ReservedNodeExchangeStatus || (ReservedNodeExchangeStatus = {}));
|
|
383
396
|
export var ResizeInfo;
|
|
384
397
|
(function (ResizeInfo) {
|
|
385
398
|
ResizeInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1203,11 +1216,3 @@ export var DescribeHsmConfigurationsMessage;
|
|
|
1203
1216
|
(function (DescribeHsmConfigurationsMessage) {
|
|
1204
1217
|
DescribeHsmConfigurationsMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1205
1218
|
})(DescribeHsmConfigurationsMessage || (DescribeHsmConfigurationsMessage = {}));
|
|
1206
|
-
export var HsmConfigurationMessage;
|
|
1207
|
-
(function (HsmConfigurationMessage) {
|
|
1208
|
-
HsmConfigurationMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1209
|
-
})(HsmConfigurationMessage || (HsmConfigurationMessage = {}));
|
|
1210
|
-
export var DescribeLoggingStatusMessage;
|
|
1211
|
-
(function (DescribeLoggingStatusMessage) {
|
|
1212
|
-
DescribeLoggingStatusMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1213
|
-
})(DescribeLoggingStatusMessage || (DescribeLoggingStatusMessage = {}));
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var HsmConfigurationMessage;
|
|
3
|
+
(function (HsmConfigurationMessage) {
|
|
4
|
+
HsmConfigurationMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(HsmConfigurationMessage || (HsmConfigurationMessage = {}));
|
|
6
|
+
export var DescribeLoggingStatusMessage;
|
|
7
|
+
(function (DescribeLoggingStatusMessage) {
|
|
8
|
+
DescribeLoggingStatusMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(DescribeLoggingStatusMessage || (DescribeLoggingStatusMessage = {}));
|
|
2
10
|
export var LoggingStatus;
|
|
3
11
|
(function (LoggingStatus) {
|
|
4
12
|
LoggingStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -72,6 +80,18 @@ export var DescribePartnersOutputMessage;
|
|
|
72
80
|
(function (DescribePartnersOutputMessage) {
|
|
73
81
|
DescribePartnersOutputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
74
82
|
})(DescribePartnersOutputMessage || (DescribePartnersOutputMessage = {}));
|
|
83
|
+
export var DescribeReservedNodeExchangeStatusInputMessage;
|
|
84
|
+
(function (DescribeReservedNodeExchangeStatusInputMessage) {
|
|
85
|
+
DescribeReservedNodeExchangeStatusInputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
86
|
+
})(DescribeReservedNodeExchangeStatusInputMessage || (DescribeReservedNodeExchangeStatusInputMessage = {}));
|
|
87
|
+
export var DescribeReservedNodeExchangeStatusOutputMessage;
|
|
88
|
+
(function (DescribeReservedNodeExchangeStatusOutputMessage) {
|
|
89
|
+
DescribeReservedNodeExchangeStatusOutputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
})(DescribeReservedNodeExchangeStatusOutputMessage || (DescribeReservedNodeExchangeStatusOutputMessage = {}));
|
|
91
|
+
export var ReservedNodeExchangeNotFoundFault;
|
|
92
|
+
(function (ReservedNodeExchangeNotFoundFault) {
|
|
93
|
+
ReservedNodeExchangeNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
+
})(ReservedNodeExchangeNotFoundFault || (ReservedNodeExchangeNotFoundFault = {}));
|
|
75
95
|
export var DescribeReservedNodeOfferingsMessage;
|
|
76
96
|
(function (DescribeReservedNodeOfferingsMessage) {
|
|
77
97
|
DescribeReservedNodeOfferingsMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -235,6 +255,23 @@ export var GetClusterCredentialsMessage;
|
|
|
235
255
|
(function (GetClusterCredentialsMessage) {
|
|
236
256
|
GetClusterCredentialsMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
257
|
})(GetClusterCredentialsMessage || (GetClusterCredentialsMessage = {}));
|
|
258
|
+
export var ReservedNodeExchangeActionType;
|
|
259
|
+
(function (ReservedNodeExchangeActionType) {
|
|
260
|
+
ReservedNodeExchangeActionType["RESIZE_CLUSTER"] = "resize-cluster";
|
|
261
|
+
ReservedNodeExchangeActionType["RESTORE_CLUSTER"] = "restore-cluster";
|
|
262
|
+
})(ReservedNodeExchangeActionType || (ReservedNodeExchangeActionType = {}));
|
|
263
|
+
export var GetReservedNodeExchangeConfigurationOptionsInputMessage;
|
|
264
|
+
(function (GetReservedNodeExchangeConfigurationOptionsInputMessage) {
|
|
265
|
+
GetReservedNodeExchangeConfigurationOptionsInputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
|
+
})(GetReservedNodeExchangeConfigurationOptionsInputMessage || (GetReservedNodeExchangeConfigurationOptionsInputMessage = {}));
|
|
267
|
+
export var ReservedNodeConfigurationOption;
|
|
268
|
+
(function (ReservedNodeConfigurationOption) {
|
|
269
|
+
ReservedNodeConfigurationOption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
270
|
+
})(ReservedNodeConfigurationOption || (ReservedNodeConfigurationOption = {}));
|
|
271
|
+
export var GetReservedNodeExchangeConfigurationOptionsOutputMessage;
|
|
272
|
+
(function (GetReservedNodeExchangeConfigurationOptionsOutputMessage) {
|
|
273
|
+
GetReservedNodeExchangeConfigurationOptionsOutputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
+
})(GetReservedNodeExchangeConfigurationOptionsOutputMessage || (GetReservedNodeExchangeConfigurationOptionsOutputMessage = {}));
|
|
238
275
|
export var GetReservedNodeExchangeOfferingsInputMessage;
|
|
239
276
|
(function (GetReservedNodeExchangeOfferingsInputMessage) {
|
|
240
277
|
GetReservedNodeExchangeOfferingsInputMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { DescribeDataSharesForConsumerCommand, } from "../commands/DescribeDataSharesForConsumerCommand";
|
|
3
|
+
import { Redshift } from "../Redshift";
|
|
4
|
+
import { RedshiftClient } from "../RedshiftClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDataSharesForConsumerCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describeDataSharesForConsumer.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateDescribeDataSharesForConsumer(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribeDataSharesForConsumer_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.Marker = token;
|
|
49
|
+
input["MaxRecords"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Redshift)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof RedshiftClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.Marker;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|