@aws-sdk/client-redshift-data 3.299.0 → 3.300.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/dist-types/commands/BatchExecuteStatementCommand.d.ts +13 -0
- package/dist-types/commands/CancelStatementCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStatementCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +12 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +17 -0
- package/dist-types/commands/GetStatementResultCommand.d.ts +4 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +9 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +11 -0
- package/dist-types/commands/ListStatementsCommand.d.ts +7 -0
- package/dist-types/commands/ListTablesCommand.d.ts +12 -0
- package/package.json +8 -8
|
@@ -43,6 +43,19 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
43
43
|
* import { RedshiftDataClient, BatchExecuteStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
44
44
|
* // const { RedshiftDataClient, BatchExecuteStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
45
45
|
* const client = new RedshiftDataClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* Sqls: [ // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
51
|
+
* SecretArn: "STRING_VALUE",
|
|
52
|
+
* DbUser: "STRING_VALUE",
|
|
53
|
+
* Database: "STRING_VALUE", // required
|
|
54
|
+
* WithEvent: true || false,
|
|
55
|
+
* StatementName: "STRING_VALUE",
|
|
56
|
+
* WorkgroupName: "STRING_VALUE",
|
|
57
|
+
* ClientToken: "STRING_VALUE",
|
|
58
|
+
* };
|
|
46
59
|
* const command = new BatchExecuteStatementCommand(input);
|
|
47
60
|
* const response = await client.send(command);
|
|
48
61
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface CancelStatementCommandOutput extends CancelStatementResponse, _
|
|
|
29
29
|
* import { RedshiftDataClient, CancelStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
30
30
|
* // const { RedshiftDataClient, CancelStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
31
31
|
* const client = new RedshiftDataClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelStatementCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DescribeStatementCommandOutput extends DescribeStatementRespons
|
|
|
31
31
|
* import { RedshiftDataClient, DescribeStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
32
32
|
* // const { RedshiftDataClient, DescribeStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
33
33
|
* const client = new RedshiftDataClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* Id: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DescribeStatementCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -44,6 +44,18 @@ export interface DescribeTableCommandOutput extends DescribeTableResponse, __Met
|
|
|
44
44
|
* import { RedshiftDataClient, DescribeTableCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
45
45
|
* // const { RedshiftDataClient, DescribeTableCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
46
46
|
* const client = new RedshiftDataClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
49
|
+
* SecretArn: "STRING_VALUE",
|
|
50
|
+
* DbUser: "STRING_VALUE",
|
|
51
|
+
* Database: "STRING_VALUE", // required
|
|
52
|
+
* ConnectedDatabase: "STRING_VALUE",
|
|
53
|
+
* Schema: "STRING_VALUE",
|
|
54
|
+
* Table: "STRING_VALUE",
|
|
55
|
+
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
|
+
* WorkgroupName: "STRING_VALUE",
|
|
58
|
+
* };
|
|
47
59
|
* const command = new DescribeTableCommand(input);
|
|
48
60
|
* const response = await client.send(command);
|
|
49
61
|
* ```
|
|
@@ -43,6 +43,23 @@ export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, _
|
|
|
43
43
|
* import { RedshiftDataClient, ExecuteStatementCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
44
44
|
* // const { RedshiftDataClient, ExecuteStatementCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
45
45
|
* const client = new RedshiftDataClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* Sql: "STRING_VALUE", // required
|
|
48
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
49
|
+
* SecretArn: "STRING_VALUE",
|
|
50
|
+
* DbUser: "STRING_VALUE",
|
|
51
|
+
* Database: "STRING_VALUE", // required
|
|
52
|
+
* WithEvent: true || false,
|
|
53
|
+
* StatementName: "STRING_VALUE",
|
|
54
|
+
* Parameters: [
|
|
55
|
+
* {
|
|
56
|
+
* name: "STRING_VALUE", // required
|
|
57
|
+
* value: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* WorkgroupName: "STRING_VALUE",
|
|
61
|
+
* ClientToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
46
63
|
* const command = new ExecuteStatementCommand(input);
|
|
47
64
|
* const response = await client.send(command);
|
|
48
65
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface GetStatementResultCommandOutput extends GetStatementResultRespo
|
|
|
30
30
|
* import { RedshiftDataClient, GetStatementResultCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
31
31
|
* // const { RedshiftDataClient, GetStatementResultCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
32
32
|
* const client = new RedshiftDataClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new GetStatementResultCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -43,6 +43,15 @@ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __Met
|
|
|
43
43
|
* import { RedshiftDataClient, ListDatabasesCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
44
44
|
* // const { RedshiftDataClient, ListDatabasesCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
45
45
|
* const client = new RedshiftDataClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
48
|
+
* Database: "STRING_VALUE", // required
|
|
49
|
+
* SecretArn: "STRING_VALUE",
|
|
50
|
+
* DbUser: "STRING_VALUE",
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* MaxResults: Number("int"),
|
|
53
|
+
* WorkgroupName: "STRING_VALUE",
|
|
54
|
+
* };
|
|
46
55
|
* const command = new ListDatabasesCommand(input);
|
|
47
56
|
* const response = await client.send(command);
|
|
48
57
|
* ```
|
|
@@ -43,6 +43,17 @@ export interface ListSchemasCommandOutput extends ListSchemasResponse, __Metadat
|
|
|
43
43
|
* import { RedshiftDataClient, ListSchemasCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
44
44
|
* // const { RedshiftDataClient, ListSchemasCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
45
45
|
* const client = new RedshiftDataClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
48
|
+
* SecretArn: "STRING_VALUE",
|
|
49
|
+
* DbUser: "STRING_VALUE",
|
|
50
|
+
* Database: "STRING_VALUE", // required
|
|
51
|
+
* ConnectedDatabase: "STRING_VALUE",
|
|
52
|
+
* SchemaPattern: "STRING_VALUE",
|
|
53
|
+
* NextToken: "STRING_VALUE",
|
|
54
|
+
* MaxResults: Number("int"),
|
|
55
|
+
* WorkgroupName: "STRING_VALUE",
|
|
56
|
+
* };
|
|
46
57
|
* const command = new ListSchemasCommand(input);
|
|
47
58
|
* const response = await client.send(command);
|
|
48
59
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface ListStatementsCommandOutput extends ListStatementsResponse, __M
|
|
|
30
30
|
* import { RedshiftDataClient, ListStatementsCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
31
31
|
* // const { RedshiftDataClient, ListStatementsCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
32
32
|
* const client = new RedshiftDataClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* StatementName: "STRING_VALUE",
|
|
37
|
+
* Status: "STRING_VALUE",
|
|
38
|
+
* RoleLevel: true || false,
|
|
39
|
+
* };
|
|
33
40
|
* const command = new ListStatementsCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -44,6 +44,18 @@ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataB
|
|
|
44
44
|
* import { RedshiftDataClient, ListTablesCommand } from "@aws-sdk/client-redshift-data"; // ES Modules import
|
|
45
45
|
* // const { RedshiftDataClient, ListTablesCommand } = require("@aws-sdk/client-redshift-data"); // CommonJS import
|
|
46
46
|
* const client = new RedshiftDataClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
49
|
+
* SecretArn: "STRING_VALUE",
|
|
50
|
+
* DbUser: "STRING_VALUE",
|
|
51
|
+
* Database: "STRING_VALUE", // required
|
|
52
|
+
* ConnectedDatabase: "STRING_VALUE",
|
|
53
|
+
* SchemaPattern: "STRING_VALUE",
|
|
54
|
+
* TablePattern: "STRING_VALUE",
|
|
55
|
+
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxResults: Number("int"),
|
|
57
|
+
* WorkgroupName: "STRING_VALUE",
|
|
58
|
+
* };
|
|
47
59
|
* const command = new ListTablesCommand(input);
|
|
48
60
|
* const response = await client.send(command);
|
|
49
61
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|