@aws-sdk/client-redshift-data 3.33.0 → 3.36.1
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 +47 -0
- package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -9
- package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +8 -21
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +2 -29
- package/dist-cjs/commands/DescribeTableCommand.js +36 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +2 -28
- package/dist-cjs/commands/ListDatabasesCommand.js +36 -0
- package/dist-cjs/commands/ListSchemasCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +2 -28
- package/dist-cjs/commands/ListTablesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -97
- package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/RedshiftData.js +2 -10
- package/{dist/es → dist-es}/RedshiftDataClient.js +2 -15
- package/dist-es/commands/BatchExecuteStatementCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CancelStatementCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeStatementCommand.js +4 -32
- package/dist-es/commands/DescribeTableCommand.js +39 -0
- package/dist-es/commands/ExecuteStatementCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetStatementResultCommand.js +4 -31
- package/dist-es/commands/ListDatabasesCommand.js +39 -0
- package/dist-es/commands/ListSchemasCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListStatementsCommand.js +4 -31
- package/dist-es/commands/ListTablesCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -97
- package/{dist/es → dist-es}/pagination/DescribeTablePaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/GetStatementResultPaginator.js +17 -30
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListDatabasesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListSchemasPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListStatementsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTablesPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +178 -184
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/RedshiftData.d.ts +2 -2
- package/{dist/types → dist-types}/RedshiftDataClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CancelStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeTableCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetStatementResultCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListDatabasesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSchemasCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListStatementsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTablesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeTablePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetStatementResultPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDatabasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSchemasPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListStatementsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTablesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/RedshiftData.d.ts +55 -0
- package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +32 -101
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStatementResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStatementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +613 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeTablePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetStatementResultPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDatabasesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSchemasPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListStatementsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/RedshiftData.ts +0 -451
- package/RedshiftDataClient.ts +0 -272
- package/commands/BatchExecuteStatementCommand.ts +0 -108
- package/commands/CancelStatementCommand.ts +0 -94
- package/commands/DescribeStatementCommand.ts +0 -96
- package/commands/DescribeTableCommand.ts +0 -109
- package/commands/ExecuteStatementCommand.ts +0 -108
- package/commands/GetStatementResultCommand.ts +0 -95
- package/commands/ListDatabasesCommand.ts +0 -108
- package/commands/ListSchemasCommand.ts +0 -108
- package/commands/ListStatementsCommand.ts +0 -95
- package/commands/ListTablesCommand.ts +0 -109
- package/dist/cjs/RedshiftData.js.map +0 -1
- package/dist/cjs/RedshiftDataClient.js.map +0 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +0 -75
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/CancelStatementCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeStatementCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTableCommand.js +0 -76
- package/dist/cjs/commands/DescribeTableCommand.js.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js +0 -75
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/cjs/commands/ListDatabasesCommand.js +0 -75
- package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListSchemasCommand.js +0 -75
- package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTablesCommand.js +0 -76
- package/dist/cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeTablePaginator.js.map +0 -1
- package/dist/cjs/pagination/GetStatementResultPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListStatementsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/RedshiftData.js.map +0 -1
- package/dist/es/RedshiftDataClient.js.map +0 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js +0 -79
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/CancelStatementCommand.js.map +0 -1
- package/dist/es/commands/DescribeStatementCommand.js.map +0 -1
- package/dist/es/commands/DescribeTableCommand.js +0 -80
- package/dist/es/commands/DescribeTableCommand.js.map +0 -1
- package/dist/es/commands/ExecuteStatementCommand.js +0 -79
- package/dist/es/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/es/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/es/commands/ListDatabasesCommand.js +0 -79
- package/dist/es/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/es/commands/ListSchemasCommand.js +0 -79
- package/dist/es/commands/ListSchemasCommand.js.map +0 -1
- package/dist/es/commands/ListStatementsCommand.js.map +0 -1
- package/dist/es/commands/ListTablesCommand.js +0 -80
- package/dist/es/commands/ListTablesCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeTablePaginator.js.map +0 -1
- package/dist/es/pagination/GetStatementResultPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListSchemasPaginator.js.map +0 -1
- package/dist/es/pagination/ListStatementsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTablesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/RedshiftData.d.ts +0 -171
- package/dist/types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/CancelStatementCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeStatementCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeTableCommand.d.ts +0 -50
- package/dist/types/ts3.4/commands/ExecuteStatementCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/GetStatementResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListDatabasesCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/ListSchemasCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/ListStatementsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListTablesCommand.d.ts +0 -50
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1103
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1379
- package/pagination/DescribeTablePaginator.ts +0 -58
- package/pagination/GetStatementResultPaginator.ts +0 -57
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListDatabasesPaginator.ts +0 -58
- package/pagination/ListSchemasPaginator.ts +0 -54
- package/pagination/ListStatementsPaginator.ts +0 -58
- package/pagination/ListTablesPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -1614
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
9
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
12
|
export var getRuntimeConfig = function (config) {
|
|
16
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
15
|
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 FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), 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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
19
16
|
};
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
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 } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -13,13 +13,9 @@ 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
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
16
|
export var getRuntimeConfig = function (config) {
|
|
20
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
22
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
23
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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
24
21
|
};
|
|
25
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
export var getRuntimeConfig = function (config) {
|
|
8
5
|
var _a;
|
|
9
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
10
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
11
8
|
};
|
|
12
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
6
3
|
export var getRuntimeConfig = function (config) {
|
|
7
4
|
var _a, _b, _c, _d, _e;
|
|
8
5
|
return ({
|
|
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
15
12
|
});
|
|
16
13
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
3
3
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
4
4
|
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
@@ -9,7 +9,7 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./command
|
|
|
9
9
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
10
10
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
11
11
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
12
|
-
import {
|
|
12
|
+
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
13
13
|
/**
|
|
14
14
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
15
15
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
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";
|
|
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";
|
|
1
9
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
2
10
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
3
11
|
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
@@ -8,14 +16,6 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./command
|
|
|
8
16
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
9
17
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
10
18
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
11
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
12
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
13
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
14
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
15
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
16
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
17
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
18
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
19
19
|
export declare type ServiceInputTypes = BatchExecuteStatementCommandInput | CancelStatementCommandInput | DescribeStatementCommandInput | DescribeTableCommandInput | ExecuteStatementCommandInput | GetStatementResultCommandInput | ListDatabasesCommandInput | ListSchemasCommandInput | ListStatementsCommandInput | ListTablesCommandInput;
|
|
20
20
|
export declare type ServiceOutputTypes = BatchExecuteStatementCommandOutput | CancelStatementCommandOutput | DescribeStatementCommandOutput | DescribeTableCommandOutput | ExecuteStatementCommandOutput | GetStatementResultCommandOutput | ListDatabasesCommandOutput | ListSchemasCommandOutput | ListStatementsCommandOutput | ListTablesCommandOutput;
|
|
21
21
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
|
|
6
6
|
}
|
|
7
7
|
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CancelStatementRequest, CancelStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface CancelStatementCommandInput extends CancelStatementRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface CancelStatementCommandOutput extends CancelStatementResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeStatementRequest, DescribeStatementResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface DescribeStatementCommandInput extends DescribeStatementRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeStatementCommandOutput extends DescribeStatementResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ExecuteStatementCommandInput extends ExecuteStatementInput {
|
|
6
6
|
}
|
|
7
7
|
export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetStatementResultRequest, GetStatementResultResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface GetStatementResultCommandInput extends GetStatementResultRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetStatementResultCommandOutput extends GetStatementResultResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListDatabasesCommandInput extends ListDatabasesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListSchemasRequest, ListSchemasResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListSchemasCommandInput extends ListSchemasRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListSchemasCommandOutput extends ListSchemasResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListStatementsRequest, ListStatementsResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListStatementsCommandInput extends ListStatementsRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListStatementsCommandOutput extends ListStatementsResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
2
|
-
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
5
|
export interface ListTablesCommandInput extends ListTablesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "../commands/DescribeTableCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateDescribeTable(config: RedshiftDataPaginationConfiguration, input: DescribeTableCommandInput, ...additionalArguments: any): Paginator<DescribeTableCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "../commands/GetStatementResultCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateGetStatementResult(config: RedshiftDataPaginationConfiguration, input: GetStatementResultCommandInput, ...additionalArguments: any): Paginator<GetStatementResultCommandOutput>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { RedshiftData } from "../RedshiftData";
|
|
2
3
|
import { RedshiftDataClient } from "../RedshiftDataClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
4
|
export interface RedshiftDataPaginationConfiguration extends PaginationConfiguration {
|
|
5
5
|
client: RedshiftData | RedshiftDataClient;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListDatabases(config: RedshiftDataPaginationConfiguration, input: ListDatabasesCommandInput, ...additionalArguments: any): Paginator<ListDatabasesCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListSchemas(config: RedshiftDataPaginationConfiguration, input: ListSchemasCommandInput, ...additionalArguments: any): Paginator<ListSchemasCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListStatements(config: RedshiftDataPaginationConfiguration, input: ListStatementsCommandInput, ...additionalArguments: any): Paginator<ListStatementsCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
2
3
|
import { RedshiftDataPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListTables(config: RedshiftDataPaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "../commands/BatchExecuteStatementCommand";
|
|
2
4
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "../commands/CancelStatementCommand";
|
|
3
5
|
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "../commands/DescribeStatementCommand";
|
|
@@ -8,8 +10,6 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../comman
|
|
|
8
10
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
|
|
9
11
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "../commands/ListStatementsCommand";
|
|
10
12
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
13
13
|
export declare const serializeAws_json1_1BatchExecuteStatementCommand: (input: BatchExecuteStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
14
|
export declare const serializeAws_json1_1CancelStatementCommand: (input: CancelStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
15
|
export declare const serializeAws_json1_1DescribeStatementCommand: (input: DescribeStatementCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
|
8
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
3
|
+
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
4
|
+
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
5
|
+
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
6
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
7
|
+
import { GetStatementResultCommandInput, GetStatementResultCommandOutput } from "./commands/GetStatementResultCommand";
|
|
8
|
+
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
9
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
10
|
+
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
11
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
12
|
+
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
13
|
+
|
|
14
|
+
export declare class RedshiftData extends RedshiftDataClient {
|
|
15
|
+
|
|
16
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
|
|
17
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
18
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
19
|
+
|
|
20
|
+
cancelStatement(args: CancelStatementCommandInput, options?: __HttpHandlerOptions): Promise<CancelStatementCommandOutput>;
|
|
21
|
+
cancelStatement(args: CancelStatementCommandInput, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
|
|
22
|
+
cancelStatement(args: CancelStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelStatementCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
describeStatement(args: DescribeStatementCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStatementCommandOutput>;
|
|
25
|
+
describeStatement(args: DescribeStatementCommandInput, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
|
|
26
|
+
describeStatement(args: DescribeStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStatementCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
|
|
29
|
+
describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
30
|
+
describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
|
|
33
|
+
executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
34
|
+
executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
35
|
+
|
|
36
|
+
getStatementResult(args: GetStatementResultCommandInput, options?: __HttpHandlerOptions): Promise<GetStatementResultCommandOutput>;
|
|
37
|
+
getStatementResult(args: GetStatementResultCommandInput, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
|
|
38
|
+
getStatementResult(args: GetStatementResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStatementResultCommandOutput) => void): void;
|
|
39
|
+
|
|
40
|
+
listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
|
|
41
|
+
listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
42
|
+
listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
43
|
+
|
|
44
|
+
listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
|
|
45
|
+
listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
46
|
+
listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
47
|
+
|
|
48
|
+
listStatements(args: ListStatementsCommandInput, options?: __HttpHandlerOptions): Promise<ListStatementsCommandOutput>;
|
|
49
|
+
listStatements(args: ListStatementsCommandInput, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
|
|
50
|
+
listStatements(args: ListStatementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStatementsCommandOutput) => void): void;
|
|
51
|
+
|
|
52
|
+
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
53
|
+
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
54
|
+
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
55
|
+
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
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";
|
|
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";
|
|
1
9
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
2
10
|
import { CancelStatementCommandInput, CancelStatementCommandOutput } from "./commands/CancelStatementCommand";
|
|
3
11
|
import { DescribeStatementCommandInput, DescribeStatementCommandOutput } from "./commands/DescribeStatementCommand";
|
|
@@ -8,139 +16,62 @@ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./command
|
|
|
8
16
|
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
9
17
|
import { ListStatementsCommandInput, ListStatementsCommandOutput } from "./commands/ListStatementsCommand";
|
|
10
18
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
11
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
12
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
13
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
14
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
15
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
16
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
17
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
18
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
19
19
|
export declare type ServiceInputTypes = BatchExecuteStatementCommandInput | CancelStatementCommandInput | DescribeStatementCommandInput | DescribeTableCommandInput | ExecuteStatementCommandInput | GetStatementResultCommandInput | ListDatabasesCommandInput | ListSchemasCommandInput | ListStatementsCommandInput | ListTablesCommandInput;
|
|
20
20
|
export declare type ServiceOutputTypes = BatchExecuteStatementCommandOutput | CancelStatementCommandOutput | DescribeStatementCommandOutput | DescribeTableCommandOutput | ExecuteStatementCommandOutput | GetStatementResultCommandOutput | ListDatabasesCommandOutput | ListSchemasCommandOutput | ListStatementsCommandOutput | ListTablesCommandOutput;
|
|
21
21
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
|
-
|
|
23
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
24
|
-
*/
|
|
22
|
+
|
|
25
23
|
requestHandler?: __HttpHandler;
|
|
26
|
-
|
|
27
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
28
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
24
|
+
|
|
31
25
|
sha256?: __HashConstructor;
|
|
32
|
-
|
|
33
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
26
|
+
|
|
36
27
|
urlParser?: __UrlParser;
|
|
37
|
-
|
|
38
|
-
* A function that can calculate the length of a request body.
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
28
|
+
|
|
41
29
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
42
|
-
|
|
43
|
-
* A function that converts a stream into an array of bytes.
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
30
|
+
|
|
46
31
|
streamCollector?: __StreamCollector;
|
|
47
|
-
|
|
48
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
32
|
+
|
|
51
33
|
base64Decoder?: __Decoder;
|
|
52
|
-
|
|
53
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
34
|
+
|
|
56
35
|
base64Encoder?: __Encoder;
|
|
57
|
-
|
|
58
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
36
|
+
|
|
61
37
|
utf8Decoder?: __Decoder;
|
|
62
|
-
|
|
63
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
38
|
+
|
|
66
39
|
utf8Encoder?: __Encoder;
|
|
67
|
-
|
|
68
|
-
* The runtime environment.
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
40
|
+
|
|
71
41
|
runtime?: string;
|
|
72
|
-
|
|
73
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
74
|
-
* trait of an operation.
|
|
75
|
-
*/
|
|
42
|
+
|
|
76
43
|
disableHostPrefix?: boolean;
|
|
77
|
-
|
|
78
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
79
|
-
*/
|
|
44
|
+
|
|
80
45
|
maxAttempts?: number | __Provider<number>;
|
|
81
|
-
|
|
82
|
-
* Specifies which retry algorithm to use.
|
|
83
|
-
*/
|
|
46
|
+
|
|
84
47
|
retryMode?: string | __Provider<string>;
|
|
85
|
-
|
|
86
|
-
* Optional logger for logging debug/info/warn/error.
|
|
87
|
-
*/
|
|
48
|
+
|
|
88
49
|
logger?: __Logger;
|
|
89
|
-
|
|
90
|
-
* Unique service identifier.
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
50
|
+
|
|
93
51
|
serviceId?: string;
|
|
94
|
-
|
|
95
|
-
* The AWS region to which this client will send requests
|
|
96
|
-
*/
|
|
52
|
+
|
|
97
53
|
region?: string | __Provider<string>;
|
|
98
|
-
|
|
99
|
-
* Default credentials provider; Not available in browser runtime.
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
54
|
+
|
|
102
55
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
103
|
-
|
|
104
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
56
|
+
|
|
107
57
|
regionInfoProvider?: RegionInfoProvider;
|
|
108
|
-
|
|
109
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
58
|
+
|
|
112
59
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
113
60
|
}
|
|
114
61
|
declare type RedshiftDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
115
|
-
|
|
116
|
-
* The configuration interface of RedshiftDataClient class constructor that set the region, credentials and other options.
|
|
117
|
-
*/
|
|
62
|
+
|
|
118
63
|
export interface RedshiftDataClientConfig extends RedshiftDataClientConfigType {
|
|
119
64
|
}
|
|
120
65
|
declare type RedshiftDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
121
|
-
|
|
122
|
-
* The resolved configuration interface of RedshiftDataClient class. This is resolved and normalized from the {@link RedshiftDataClientConfig | constructor configuration interface}.
|
|
123
|
-
*/
|
|
66
|
+
|
|
124
67
|
export interface RedshiftDataClientResolvedConfig extends RedshiftDataClientResolvedConfigType {
|
|
125
68
|
}
|
|
126
|
-
|
|
127
|
-
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
128
|
-
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
129
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
130
|
-
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
131
|
-
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
132
|
-
*/
|
|
69
|
+
|
|
133
70
|
export declare class RedshiftDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RedshiftDataClientResolvedConfig> {
|
|
134
|
-
|
|
135
|
-
* The resolved configuration of RedshiftDataClient class. This is resolved and normalized from the {@link RedshiftDataClientConfig | constructor configuration interface}.
|
|
136
|
-
*/
|
|
71
|
+
|
|
137
72
|
readonly config: RedshiftDataClientResolvedConfig;
|
|
138
73
|
constructor(configuration: RedshiftDataClientConfig);
|
|
139
|
-
|
|
140
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
141
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
142
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
143
|
-
*/
|
|
74
|
+
|
|
144
75
|
destroy(): void;
|
|
145
76
|
}
|
|
146
77
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
4
|
+
import { RedshiftDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftDataClient";
|
|
5
|
+
export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig> {
|
|
11
|
+
readonly input: BatchExecuteStatementCommandInput;
|
|
12
|
+
constructor(input: BatchExecuteStatementCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|