@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,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { RedshiftDataClientConfig } from "./RedshiftDataClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|
package/package.json
CHANGED
|
@@ -1,64 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.36.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "jest --coverage --passWithNoTests",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"test": "jest --coverage --passWithNoTests"
|
|
25
16
|
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.36.1",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.36.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.36.1",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.36.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.36.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.36.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.36.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.36.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.36.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.36.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.36.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.36.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.36.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.36.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.36.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.36.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.36.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.36.0",
|
|
42
|
+
"@aws-sdk/types": "3.36.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.36.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.36.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.36.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.36.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.36.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.36.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.36.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.36.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.36.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.36.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
@@ -72,16 +66,25 @@
|
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist-*"
|
|
76
|
+
],
|
|
80
77
|
"author": {
|
|
81
78
|
"name": "AWS SDK for JavaScript Team",
|
|
82
79
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
80
|
},
|
|
84
81
|
"license": "Apache-2.0",
|
|
82
|
+
"browser": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
84
|
+
},
|
|
85
|
+
"react-native": {
|
|
86
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
87
|
+
},
|
|
85
88
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-redshift-data",
|
|
86
89
|
"repository": {
|
|
87
90
|
"type": "git",
|
package/RedshiftData.ts
DELETED
|
@@ -1,451 +0,0 @@
|
|
|
1
|
-
import { RedshiftDataClient } from "./RedshiftDataClient";
|
|
2
|
-
import {
|
|
3
|
-
BatchExecuteStatementCommand,
|
|
4
|
-
BatchExecuteStatementCommandInput,
|
|
5
|
-
BatchExecuteStatementCommandOutput,
|
|
6
|
-
} from "./commands/BatchExecuteStatementCommand";
|
|
7
|
-
import {
|
|
8
|
-
CancelStatementCommand,
|
|
9
|
-
CancelStatementCommandInput,
|
|
10
|
-
CancelStatementCommandOutput,
|
|
11
|
-
} from "./commands/CancelStatementCommand";
|
|
12
|
-
import {
|
|
13
|
-
DescribeStatementCommand,
|
|
14
|
-
DescribeStatementCommandInput,
|
|
15
|
-
DescribeStatementCommandOutput,
|
|
16
|
-
} from "./commands/DescribeStatementCommand";
|
|
17
|
-
import {
|
|
18
|
-
DescribeTableCommand,
|
|
19
|
-
DescribeTableCommandInput,
|
|
20
|
-
DescribeTableCommandOutput,
|
|
21
|
-
} from "./commands/DescribeTableCommand";
|
|
22
|
-
import {
|
|
23
|
-
ExecuteStatementCommand,
|
|
24
|
-
ExecuteStatementCommandInput,
|
|
25
|
-
ExecuteStatementCommandOutput,
|
|
26
|
-
} from "./commands/ExecuteStatementCommand";
|
|
27
|
-
import {
|
|
28
|
-
GetStatementResultCommand,
|
|
29
|
-
GetStatementResultCommandInput,
|
|
30
|
-
GetStatementResultCommandOutput,
|
|
31
|
-
} from "./commands/GetStatementResultCommand";
|
|
32
|
-
import {
|
|
33
|
-
ListDatabasesCommand,
|
|
34
|
-
ListDatabasesCommandInput,
|
|
35
|
-
ListDatabasesCommandOutput,
|
|
36
|
-
} from "./commands/ListDatabasesCommand";
|
|
37
|
-
import { ListSchemasCommand, ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
38
|
-
import {
|
|
39
|
-
ListStatementsCommand,
|
|
40
|
-
ListStatementsCommandInput,
|
|
41
|
-
ListStatementsCommandOutput,
|
|
42
|
-
} from "./commands/ListStatementsCommand";
|
|
43
|
-
import { ListTablesCommand, ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
44
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* <p>You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You
|
|
48
|
-
* can run SQL statements, which are committed if the statement succeeds. </p>
|
|
49
|
-
* <p>For more information about the Amazon Redshift Data API, see
|
|
50
|
-
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
51
|
-
* <i>Amazon Redshift Cluster Management Guide</i>. </p>
|
|
52
|
-
*/
|
|
53
|
-
export class RedshiftData extends RedshiftDataClient {
|
|
54
|
-
/**
|
|
55
|
-
* <p>Runs one or more SQL statements, which can be data manipulation language (DML) or data definition
|
|
56
|
-
* language (DDL).
|
|
57
|
-
* Depending on the authorization
|
|
58
|
-
* method, use one of the following combinations of request parameters: </p>
|
|
59
|
-
* <ul>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
62
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the
|
|
66
|
-
* database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
|
|
67
|
-
* operation is required to use this method. </p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
*/
|
|
71
|
-
public batchExecuteStatement(
|
|
72
|
-
args: BatchExecuteStatementCommandInput,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Promise<BatchExecuteStatementCommandOutput>;
|
|
75
|
-
public batchExecuteStatement(
|
|
76
|
-
args: BatchExecuteStatementCommandInput,
|
|
77
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
78
|
-
): void;
|
|
79
|
-
public batchExecuteStatement(
|
|
80
|
-
args: BatchExecuteStatementCommandInput,
|
|
81
|
-
options: __HttpHandlerOptions,
|
|
82
|
-
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
83
|
-
): void;
|
|
84
|
-
public batchExecuteStatement(
|
|
85
|
-
args: BatchExecuteStatementCommandInput,
|
|
86
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchExecuteStatementCommandOutput) => void),
|
|
87
|
-
cb?: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
88
|
-
): Promise<BatchExecuteStatementCommandOutput> | void {
|
|
89
|
-
const command = new BatchExecuteStatementCommand(args);
|
|
90
|
-
if (typeof optionsOrCb === "function") {
|
|
91
|
-
this.send(command, optionsOrCb);
|
|
92
|
-
} else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
-
} else {
|
|
96
|
-
return this.send(command, optionsOrCb);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* <p>Cancels a running query. To be canceled, a query must be running. </p>
|
|
102
|
-
*/
|
|
103
|
-
public cancelStatement(
|
|
104
|
-
args: CancelStatementCommandInput,
|
|
105
|
-
options?: __HttpHandlerOptions
|
|
106
|
-
): Promise<CancelStatementCommandOutput>;
|
|
107
|
-
public cancelStatement(
|
|
108
|
-
args: CancelStatementCommandInput,
|
|
109
|
-
cb: (err: any, data?: CancelStatementCommandOutput) => void
|
|
110
|
-
): void;
|
|
111
|
-
public cancelStatement(
|
|
112
|
-
args: CancelStatementCommandInput,
|
|
113
|
-
options: __HttpHandlerOptions,
|
|
114
|
-
cb: (err: any, data?: CancelStatementCommandOutput) => void
|
|
115
|
-
): void;
|
|
116
|
-
public cancelStatement(
|
|
117
|
-
args: CancelStatementCommandInput,
|
|
118
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelStatementCommandOutput) => void),
|
|
119
|
-
cb?: (err: any, data?: CancelStatementCommandOutput) => void
|
|
120
|
-
): Promise<CancelStatementCommandOutput> | void {
|
|
121
|
-
const command = new CancelStatementCommand(args);
|
|
122
|
-
if (typeof optionsOrCb === "function") {
|
|
123
|
-
this.send(command, optionsOrCb);
|
|
124
|
-
} else if (typeof cb === "function") {
|
|
125
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
126
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
127
|
-
} else {
|
|
128
|
-
return this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* <p>Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information
|
|
134
|
-
* includes when the query started, when it finished, the query status, the number of rows returned, and the SQL
|
|
135
|
-
* statement. </p>
|
|
136
|
-
*/
|
|
137
|
-
public describeStatement(
|
|
138
|
-
args: DescribeStatementCommandInput,
|
|
139
|
-
options?: __HttpHandlerOptions
|
|
140
|
-
): Promise<DescribeStatementCommandOutput>;
|
|
141
|
-
public describeStatement(
|
|
142
|
-
args: DescribeStatementCommandInput,
|
|
143
|
-
cb: (err: any, data?: DescribeStatementCommandOutput) => void
|
|
144
|
-
): void;
|
|
145
|
-
public describeStatement(
|
|
146
|
-
args: DescribeStatementCommandInput,
|
|
147
|
-
options: __HttpHandlerOptions,
|
|
148
|
-
cb: (err: any, data?: DescribeStatementCommandOutput) => void
|
|
149
|
-
): void;
|
|
150
|
-
public describeStatement(
|
|
151
|
-
args: DescribeStatementCommandInput,
|
|
152
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeStatementCommandOutput) => void),
|
|
153
|
-
cb?: (err: any, data?: DescribeStatementCommandOutput) => void
|
|
154
|
-
): Promise<DescribeStatementCommandOutput> | void {
|
|
155
|
-
const command = new DescribeStatementCommand(args);
|
|
156
|
-
if (typeof optionsOrCb === "function") {
|
|
157
|
-
this.send(command, optionsOrCb);
|
|
158
|
-
} else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
161
|
-
} else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* <p>Describes the detailed information about a table from metadata in the cluster. The
|
|
168
|
-
* information includes its columns.
|
|
169
|
-
* A token is returned to page through the column list.
|
|
170
|
-
* Depending on the authorization method, use one of the
|
|
171
|
-
* following combinations of request parameters: </p>
|
|
172
|
-
* <ul>
|
|
173
|
-
* <li>
|
|
174
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
175
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
176
|
-
* </li>
|
|
177
|
-
* <li>
|
|
178
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the database
|
|
179
|
-
* user name. Permission to call the <code>redshift:GetClusterCredentials</code> operation is
|
|
180
|
-
* required to use this method. </p>
|
|
181
|
-
* </li>
|
|
182
|
-
* </ul>
|
|
183
|
-
*/
|
|
184
|
-
public describeTable(
|
|
185
|
-
args: DescribeTableCommandInput,
|
|
186
|
-
options?: __HttpHandlerOptions
|
|
187
|
-
): Promise<DescribeTableCommandOutput>;
|
|
188
|
-
public describeTable(
|
|
189
|
-
args: DescribeTableCommandInput,
|
|
190
|
-
cb: (err: any, data?: DescribeTableCommandOutput) => void
|
|
191
|
-
): void;
|
|
192
|
-
public describeTable(
|
|
193
|
-
args: DescribeTableCommandInput,
|
|
194
|
-
options: __HttpHandlerOptions,
|
|
195
|
-
cb: (err: any, data?: DescribeTableCommandOutput) => void
|
|
196
|
-
): void;
|
|
197
|
-
public describeTable(
|
|
198
|
-
args: DescribeTableCommandInput,
|
|
199
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTableCommandOutput) => void),
|
|
200
|
-
cb?: (err: any, data?: DescribeTableCommandOutput) => void
|
|
201
|
-
): Promise<DescribeTableCommandOutput> | void {
|
|
202
|
-
const command = new DescribeTableCommand(args);
|
|
203
|
-
if (typeof optionsOrCb === "function") {
|
|
204
|
-
this.send(command, optionsOrCb);
|
|
205
|
-
} else if (typeof cb === "function") {
|
|
206
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
} else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* <p>Runs an SQL statement, which can be data manipulation language (DML) or data definition
|
|
215
|
-
* language (DDL). This statement must be a single SQL statement.
|
|
216
|
-
* Depending on the authorization
|
|
217
|
-
* method, use one of the following combinations of request parameters: </p>
|
|
218
|
-
* <ul>
|
|
219
|
-
* <li>
|
|
220
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
221
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
222
|
-
* </li>
|
|
223
|
-
* <li>
|
|
224
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the
|
|
225
|
-
* database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
|
|
226
|
-
* operation is required to use this method. </p>
|
|
227
|
-
* </li>
|
|
228
|
-
* </ul>
|
|
229
|
-
*/
|
|
230
|
-
public executeStatement(
|
|
231
|
-
args: ExecuteStatementCommandInput,
|
|
232
|
-
options?: __HttpHandlerOptions
|
|
233
|
-
): Promise<ExecuteStatementCommandOutput>;
|
|
234
|
-
public executeStatement(
|
|
235
|
-
args: ExecuteStatementCommandInput,
|
|
236
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
237
|
-
): void;
|
|
238
|
-
public executeStatement(
|
|
239
|
-
args: ExecuteStatementCommandInput,
|
|
240
|
-
options: __HttpHandlerOptions,
|
|
241
|
-
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
242
|
-
): void;
|
|
243
|
-
public executeStatement(
|
|
244
|
-
args: ExecuteStatementCommandInput,
|
|
245
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ExecuteStatementCommandOutput) => void),
|
|
246
|
-
cb?: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
247
|
-
): Promise<ExecuteStatementCommandOutput> | void {
|
|
248
|
-
const command = new ExecuteStatementCommand(args);
|
|
249
|
-
if (typeof optionsOrCb === "function") {
|
|
250
|
-
this.send(command, optionsOrCb);
|
|
251
|
-
} else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
253
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
254
|
-
} else {
|
|
255
|
-
return this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* <p>Fetches the temporarily cached result of an SQL statement.
|
|
261
|
-
* A token is returned to page through the statement results. </p>
|
|
262
|
-
*/
|
|
263
|
-
public getStatementResult(
|
|
264
|
-
args: GetStatementResultCommandInput,
|
|
265
|
-
options?: __HttpHandlerOptions
|
|
266
|
-
): Promise<GetStatementResultCommandOutput>;
|
|
267
|
-
public getStatementResult(
|
|
268
|
-
args: GetStatementResultCommandInput,
|
|
269
|
-
cb: (err: any, data?: GetStatementResultCommandOutput) => void
|
|
270
|
-
): void;
|
|
271
|
-
public getStatementResult(
|
|
272
|
-
args: GetStatementResultCommandInput,
|
|
273
|
-
options: __HttpHandlerOptions,
|
|
274
|
-
cb: (err: any, data?: GetStatementResultCommandOutput) => void
|
|
275
|
-
): void;
|
|
276
|
-
public getStatementResult(
|
|
277
|
-
args: GetStatementResultCommandInput,
|
|
278
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStatementResultCommandOutput) => void),
|
|
279
|
-
cb?: (err: any, data?: GetStatementResultCommandOutput) => void
|
|
280
|
-
): Promise<GetStatementResultCommandOutput> | void {
|
|
281
|
-
const command = new GetStatementResultCommand(args);
|
|
282
|
-
if (typeof optionsOrCb === "function") {
|
|
283
|
-
this.send(command, optionsOrCb);
|
|
284
|
-
} else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
} else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <p>List the databases in a cluster.
|
|
294
|
-
* A token is returned to page through the database list.
|
|
295
|
-
* Depending on the authorization method, use one of the
|
|
296
|
-
* following combinations of request parameters: </p>
|
|
297
|
-
* <ul>
|
|
298
|
-
* <li>
|
|
299
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
300
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
301
|
-
* </li>
|
|
302
|
-
* <li>
|
|
303
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the
|
|
304
|
-
* database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
|
|
305
|
-
* operation is required to use this method. </p>
|
|
306
|
-
* </li>
|
|
307
|
-
* </ul>
|
|
308
|
-
*/
|
|
309
|
-
public listDatabases(
|
|
310
|
-
args: ListDatabasesCommandInput,
|
|
311
|
-
options?: __HttpHandlerOptions
|
|
312
|
-
): Promise<ListDatabasesCommandOutput>;
|
|
313
|
-
public listDatabases(
|
|
314
|
-
args: ListDatabasesCommandInput,
|
|
315
|
-
cb: (err: any, data?: ListDatabasesCommandOutput) => void
|
|
316
|
-
): void;
|
|
317
|
-
public listDatabases(
|
|
318
|
-
args: ListDatabasesCommandInput,
|
|
319
|
-
options: __HttpHandlerOptions,
|
|
320
|
-
cb: (err: any, data?: ListDatabasesCommandOutput) => void
|
|
321
|
-
): void;
|
|
322
|
-
public listDatabases(
|
|
323
|
-
args: ListDatabasesCommandInput,
|
|
324
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDatabasesCommandOutput) => void),
|
|
325
|
-
cb?: (err: any, data?: ListDatabasesCommandOutput) => void
|
|
326
|
-
): Promise<ListDatabasesCommandOutput> | void {
|
|
327
|
-
const command = new ListDatabasesCommand(args);
|
|
328
|
-
if (typeof optionsOrCb === "function") {
|
|
329
|
-
this.send(command, optionsOrCb);
|
|
330
|
-
} else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
} else {
|
|
334
|
-
return this.send(command, optionsOrCb);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* <p>Lists the schemas in a database.
|
|
340
|
-
* A token is returned to page through the schema list.
|
|
341
|
-
* Depending on the authorization method, use one of the
|
|
342
|
-
* following combinations of request parameters: </p>
|
|
343
|
-
* <ul>
|
|
344
|
-
* <li>
|
|
345
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
346
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
347
|
-
* </li>
|
|
348
|
-
* <li>
|
|
349
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the
|
|
350
|
-
* database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
|
|
351
|
-
* operation is required to use this method. </p>
|
|
352
|
-
* </li>
|
|
353
|
-
* </ul>
|
|
354
|
-
*/
|
|
355
|
-
public listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
|
|
356
|
-
public listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
357
|
-
public listSchemas(
|
|
358
|
-
args: ListSchemasCommandInput,
|
|
359
|
-
options: __HttpHandlerOptions,
|
|
360
|
-
cb: (err: any, data?: ListSchemasCommandOutput) => void
|
|
361
|
-
): void;
|
|
362
|
-
public listSchemas(
|
|
363
|
-
args: ListSchemasCommandInput,
|
|
364
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSchemasCommandOutput) => void),
|
|
365
|
-
cb?: (err: any, data?: ListSchemasCommandOutput) => void
|
|
366
|
-
): Promise<ListSchemasCommandOutput> | void {
|
|
367
|
-
const command = new ListSchemasCommand(args);
|
|
368
|
-
if (typeof optionsOrCb === "function") {
|
|
369
|
-
this.send(command, optionsOrCb);
|
|
370
|
-
} else if (typeof cb === "function") {
|
|
371
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
373
|
-
} else {
|
|
374
|
-
return this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* <p>List of SQL statements. By default, only finished statements are shown.
|
|
380
|
-
* A token is returned to page through the statement list. </p>
|
|
381
|
-
*/
|
|
382
|
-
public listStatements(
|
|
383
|
-
args: ListStatementsCommandInput,
|
|
384
|
-
options?: __HttpHandlerOptions
|
|
385
|
-
): Promise<ListStatementsCommandOutput>;
|
|
386
|
-
public listStatements(
|
|
387
|
-
args: ListStatementsCommandInput,
|
|
388
|
-
cb: (err: any, data?: ListStatementsCommandOutput) => void
|
|
389
|
-
): void;
|
|
390
|
-
public listStatements(
|
|
391
|
-
args: ListStatementsCommandInput,
|
|
392
|
-
options: __HttpHandlerOptions,
|
|
393
|
-
cb: (err: any, data?: ListStatementsCommandOutput) => void
|
|
394
|
-
): void;
|
|
395
|
-
public listStatements(
|
|
396
|
-
args: ListStatementsCommandInput,
|
|
397
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStatementsCommandOutput) => void),
|
|
398
|
-
cb?: (err: any, data?: ListStatementsCommandOutput) => void
|
|
399
|
-
): Promise<ListStatementsCommandOutput> | void {
|
|
400
|
-
const command = new ListStatementsCommand(args);
|
|
401
|
-
if (typeof optionsOrCb === "function") {
|
|
402
|
-
this.send(command, optionsOrCb);
|
|
403
|
-
} else if (typeof cb === "function") {
|
|
404
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
405
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
406
|
-
} else {
|
|
407
|
-
return this.send(command, optionsOrCb);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* <p>List the tables in a database. If neither <code>SchemaPattern</code> nor <code>TablePattern</code> are specified, then
|
|
413
|
-
* all tables in the database are returned.
|
|
414
|
-
* A token is returned to page through the table list.
|
|
415
|
-
* Depending on the authorization method, use one of the
|
|
416
|
-
* following combinations of request parameters: </p>
|
|
417
|
-
* <ul>
|
|
418
|
-
* <li>
|
|
419
|
-
* <p>Secrets Manager - specify the Amazon Resource Name (ARN) of the secret, the database name, and the
|
|
420
|
-
* cluster identifier that matches the cluster in the secret. </p>
|
|
421
|
-
* </li>
|
|
422
|
-
* <li>
|
|
423
|
-
* <p>Temporary credentials - specify the cluster identifier, the database name, and the
|
|
424
|
-
* database user name. Permission to call the <code>redshift:GetClusterCredentials</code>
|
|
425
|
-
* operation is required to use this method. </p>
|
|
426
|
-
* </li>
|
|
427
|
-
* </ul>
|
|
428
|
-
*/
|
|
429
|
-
public listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
430
|
-
public listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
431
|
-
public listTables(
|
|
432
|
-
args: ListTablesCommandInput,
|
|
433
|
-
options: __HttpHandlerOptions,
|
|
434
|
-
cb: (err: any, data?: ListTablesCommandOutput) => void
|
|
435
|
-
): void;
|
|
436
|
-
public listTables(
|
|
437
|
-
args: ListTablesCommandInput,
|
|
438
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTablesCommandOutput) => void),
|
|
439
|
-
cb?: (err: any, data?: ListTablesCommandOutput) => void
|
|
440
|
-
): Promise<ListTablesCommandOutput> | void {
|
|
441
|
-
const command = new ListTablesCommand(args);
|
|
442
|
-
if (typeof optionsOrCb === "function") {
|
|
443
|
-
this.send(command, optionsOrCb);
|
|
444
|
-
} else if (typeof cb === "function") {
|
|
445
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
446
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
447
|
-
} else {
|
|
448
|
-
return this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|