@aws-sdk/client-redshift-data 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/RedshiftData.js +1 -2
- package/{dist/cjs → dist-cjs}/RedshiftDataClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/BatchExecuteStatementCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CancelStatementCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeStatementCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeTableCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ExecuteStatementCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetStatementResultCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDatabasesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListSchemasCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListStatementsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTablesCommand.js +2 -3
- 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 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeTablePaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/GetStatementResultPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDatabasesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListSchemasPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListStatementsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListTablesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/RedshiftData.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/RedshiftDataClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/CancelStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetStatementResultCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListDatabasesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListSchemasCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListStatementsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/ListTablesCommand.d.ts +3 -3
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- 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.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.map +0 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +0 -1
- package/dist/cjs/commands/GetStatementResultCommand.js.map +0 -1
- package/dist/cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListSchemasCommand.js.map +0 -1
- package/dist/cjs/commands/ListStatementsCommand.js.map +0 -1
- 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/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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
12
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
13
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
25
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @aws-sdk/client-redshift-data
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
51
|
|
|
8
52
|
**Note:** Version bump only for package @aws-sdk/client-redshift-data
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RedshiftData = void 0;
|
|
4
|
-
const RedshiftDataClient_1 = require("./RedshiftDataClient");
|
|
5
4
|
const BatchExecuteStatementCommand_1 = require("./commands/BatchExecuteStatementCommand");
|
|
6
5
|
const CancelStatementCommand_1 = require("./commands/CancelStatementCommand");
|
|
7
6
|
const DescribeStatementCommand_1 = require("./commands/DescribeStatementCommand");
|
|
@@ -12,6 +11,7 @@ const ListDatabasesCommand_1 = require("./commands/ListDatabasesCommand");
|
|
|
12
11
|
const ListSchemasCommand_1 = require("./commands/ListSchemasCommand");
|
|
13
12
|
const ListStatementsCommand_1 = require("./commands/ListStatementsCommand");
|
|
14
13
|
const ListTablesCommand_1 = require("./commands/ListTablesCommand");
|
|
14
|
+
const RedshiftDataClient_1 = require("./RedshiftDataClient");
|
|
15
15
|
/**
|
|
16
16
|
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
17
17
|
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
@@ -162,4 +162,3 @@ class RedshiftData extends RedshiftDataClient_1.RedshiftDataClient {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
exports.RedshiftData = RedshiftData;
|
|
165
|
-
//# sourceMappingURL=RedshiftData.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RedshiftDataClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
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>
|
|
@@ -19,13 +19,13 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
*/
|
|
20
20
|
class RedshiftDataClient extends smithy_client_1.Client {
|
|
21
21
|
constructor(configuration) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
23
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
24
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
25
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
26
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
27
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
28
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
29
29
|
super(_config_6);
|
|
30
30
|
this.config = _config_6;
|
|
31
31
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -45,4 +45,3 @@ class RedshiftDataClient extends smithy_client_1.Client {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.RedshiftDataClient = RedshiftDataClient;
|
|
48
|
-
//# sourceMappingURL=RedshiftDataClient.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchExecuteStatementCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
|
|
10
10
|
* language (DDL).
|
|
@@ -72,4 +72,3 @@ class BatchExecuteStatementCommand extends smithy_client_1.Command {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand;
|
|
75
|
-
//# sourceMappingURL=BatchExecuteStatementCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CancelStatementCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Cancels a running query. To be canceled, a query must be running. </p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class CancelStatementCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.CancelStatementCommand = CancelStatementCommand;
|
|
61
|
-
//# sourceMappingURL=CancelStatementCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeStatementCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
|
|
10
10
|
* includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
|
|
@@ -60,4 +60,3 @@ class DescribeStatementCommand extends smithy_client_1.Command {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.DescribeStatementCommand = DescribeStatementCommand;
|
|
63
|
-
//# sourceMappingURL=DescribeStatementCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeTableCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Describes the detailed information about a table from metadata in the cluster. The
|
|
10
10
|
* information includes its columns.
|
|
@@ -73,4 +73,3 @@ class DescribeTableCommand extends smithy_client_1.Command {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.DescribeTableCommand = DescribeTableCommand;
|
|
76
|
-
//# sourceMappingURL=DescribeTableCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExecuteStatementCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
|
|
10
10
|
* language (DDL). This statement must be a single SQL statement.
|
|
@@ -72,4 +72,3 @@ class ExecuteStatementCommand extends smithy_client_1.Command {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
exports.ExecuteStatementCommand = ExecuteStatementCommand;
|
|
75
|
-
//# sourceMappingURL=ExecuteStatementCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetStatementResultCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Fetches the temporarily cached result of an SQL statement.
|
|
10
10
|
* A token is returned to page through the statement results. </p>
|
|
@@ -59,4 +59,3 @@ class GetStatementResultCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.GetStatementResultCommand = GetStatementResultCommand;
|
|
62
|
-
//# sourceMappingURL=GetStatementResultCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListDatabasesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>List the databases in a cluster.
|
|
10
10
|
* A token is returned to page through the database list.
|
|
@@ -72,4 +72,3 @@ class ListDatabasesCommand extends smithy_client_1.Command {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
75
|
-
//# sourceMappingURL=ListDatabasesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListSchemasCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Lists the schemas in a database.
|
|
10
10
|
* A token is returned to page through the schema list.
|
|
@@ -72,4 +72,3 @@ class ListSchemasCommand extends smithy_client_1.Command {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
exports.ListSchemasCommand = ListSchemasCommand;
|
|
75
|
-
//# sourceMappingURL=ListSchemasCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListStatementsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>List of SQL statements. By default, only finished statements are shown.
|
|
10
10
|
* A token is returned to page through the statement list. </p>
|
|
@@ -59,4 +59,3 @@ class ListStatementsCommand extends smithy_client_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.ListStatementsCommand = ListStatementsCommand;
|
|
62
|
-
//# sourceMappingURL=ListStatementsCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTablesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
|
|
10
10
|
* all tables in the database are returned.
|
|
@@ -73,4 +73,3 @@ class ListTablesCommand extends smithy_client_1.Command {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.ListTablesCommand = ListTablesCommand;
|
|
76
|
-
//# sourceMappingURL=ListTablesCommand.js.map
|
|
@@ -21,4 +21,3 @@ tslib_1.__exportStar(require("./commands/ListTablesCommand"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./pagination/ListTablesPaginator"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTable = void 0;
|
|
4
|
+
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateDescribeTable(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateDescribeTable = paginateDescribeTable;
|
|
46
|
-
//# sourceMappingURL=DescribeTablePaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetStatementResult = void 0;
|
|
4
|
+
const GetStatementResultCommand_1 = require("../commands/GetStatementResultCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const GetStatementResultCommand_1 = require("../commands/GetStatementResultCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -42,4 +42,3 @@ async function* paginateGetStatementResult(config, input, ...additionalArguments
|
|
|
42
42
|
return undefined;
|
|
43
43
|
}
|
|
44
44
|
exports.paginateGetStatementResult = paginateGetStatementResult;
|
|
45
|
-
//# sourceMappingURL=GetStatementResultPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDatabases = void 0;
|
|
4
|
+
const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const ListDatabasesCommand_1 = require("../commands/ListDatabasesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListDatabases(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListDatabases = paginateListDatabases;
|
|
46
|
-
//# sourceMappingURL=ListDatabasesPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSchemas = void 0;
|
|
4
|
+
const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const ListSchemasCommand_1 = require("../commands/ListSchemasCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListSchemas(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListSchemas = paginateListSchemas;
|
|
46
|
-
//# sourceMappingURL=ListSchemasPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListStatements = void 0;
|
|
4
|
+
const ListStatementsCommand_1 = require("../commands/ListStatementsCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const ListStatementsCommand_1 = require("../commands/ListStatementsCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListStatements(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListStatements = paginateListStatements;
|
|
46
|
-
//# sourceMappingURL=ListStatementsPaginator.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTables = void 0;
|
|
4
|
+
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
4
5
|
const RedshiftData_1 = require("../RedshiftData");
|
|
5
6
|
const RedshiftDataClient_1 = require("../RedshiftDataClient");
|
|
6
|
-
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
7
7
|
/**
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
@@ -43,4 +43,3 @@ async function* paginateListTables(config, input, ...additionalArguments) {
|
|
|
43
43
|
return undefined;
|
|
44
44
|
}
|
|
45
45
|
exports.paginateListTables = paginateListTables;
|
|
46
|
-
//# sourceMappingURL=ListTablesPaginator.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
8
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
3
2
|
import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand";
|
|
4
3
|
import { CancelStatementCommand, } from "./commands/CancelStatementCommand";
|
|
5
4
|
import { DescribeStatementCommand, } from "./commands/DescribeStatementCommand";
|
|
@@ -10,14 +9,8 @@ import { ListDatabasesCommand, } from "./commands/ListDatabasesCommand";
|
|
|
10
9
|
import { ListSchemasCommand } from "./commands/ListSchemasCommand";
|
|
11
10
|
import { ListStatementsCommand, } from "./commands/ListStatementsCommand";
|
|
12
11
|
import { ListTablesCommand } from "./commands/ListTablesCommand";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
16
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
18
|
-
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
19
|
-
*/
|
|
20
|
-
var RedshiftData = /** @class */ (function (_super) {
|
|
12
|
+
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
13
|
+
var RedshiftData = (function (_super) {
|
|
21
14
|
__extends(RedshiftData, _super);
|
|
22
15
|
function RedshiftData() {
|
|
23
16
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -165,4 +158,3 @@ var RedshiftData = /** @class */ (function (_super) {
|
|
|
165
158
|
return RedshiftData;
|
|
166
159
|
}(RedshiftDataClient));
|
|
167
160
|
export { RedshiftData };
|
|
168
|
-
//# sourceMappingURL=RedshiftData.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,14 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
14
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
16
|
-
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
17
|
-
*/
|
|
18
|
-
var RedshiftDataClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var RedshiftDataClient = (function (_super) {
|
|
19
12
|
__extends(RedshiftDataClient, _super);
|
|
20
13
|
function RedshiftDataClient(configuration) {
|
|
21
14
|
var _this = this;
|
|
@@ -36,15 +29,9 @@ var RedshiftDataClient = /** @class */ (function (_super) {
|
|
|
36
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
37
30
|
return _this;
|
|
38
31
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
32
|
RedshiftDataClient.prototype.destroy = function () {
|
|
45
33
|
_super.prototype.destroy.call(this);
|
|
46
34
|
};
|
|
47
35
|
return RedshiftDataClient;
|
|
48
36
|
}(__Client));
|
|
49
37
|
export { RedshiftDataClient };
|
|
50
|
-
//# sourceMappingURL=RedshiftDataClient.js.map
|
|
@@ -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 { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1BatchExecuteStatementCommand, serializeAws_json1_1BatchExecuteStatementCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var BatchExecuteStatementCommand = (function (_super) {
|
|
7
|
+
__extends(BatchExecuteStatementCommand, _super);
|
|
8
|
+
function BatchExecuteStatementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BatchExecuteStatementCommand.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 = "RedshiftDataClient";
|
|
18
|
+
var commandName = "BatchExecuteStatementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: BatchExecuteStatementInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: BatchExecuteStatementOutput.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
BatchExecuteStatementCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1BatchExecuteStatementCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
BatchExecuteStatementCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1BatchExecuteStatementCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return BatchExecuteStatementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchExecuteStatementCommand };
|