@aws-sdk/client-redshift-data 3.750.0 → 3.763.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.
|
@@ -29,6 +29,11 @@ declare const ListStatementsCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>List of SQL statements. By default, only finished statements are shown.
|
|
31
31
|
* A token is returned to page through the statement list. </p>
|
|
32
|
+
* <p>When you use identity-enhanced role sessions to list statements, you must provide either the
|
|
33
|
+
* <code>cluster-identifier</code> or <code>workgroup-name</code> parameter. This ensures that the IdC user
|
|
34
|
+
* can only access the Amazon Redshift IdC applications they are assigned. For more information, see
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html">
|
|
36
|
+
* Trusted identity propagation overview</a>.</p>
|
|
32
37
|
* <p>For more information about the Amazon Redshift Data API and CLI usage examples, see
|
|
33
38
|
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html">Using the Amazon Redshift Data API</a> in the
|
|
34
39
|
* <i>Amazon Redshift Management Guide</i>. </p>
|
|
@@ -44,6 +49,9 @@ declare const ListStatementsCommand_base: {
|
|
|
44
49
|
* StatementName: "STRING_VALUE",
|
|
45
50
|
* Status: "STRING_VALUE",
|
|
46
51
|
* RoleLevel: true || false,
|
|
52
|
+
* Database: "STRING_VALUE",
|
|
53
|
+
* ClusterIdentifier: "STRING_VALUE",
|
|
54
|
+
* WorkgroupName: "STRING_VALUE",
|
|
47
55
|
* };
|
|
48
56
|
* const command = new ListStatementsCommand(input);
|
|
49
57
|
* const response = await client.send(command);
|
|
@@ -67,8 +75,8 @@ declare const ListStatementsCommand_base: {
|
|
|
67
75
|
* // },
|
|
68
76
|
* // ],
|
|
69
77
|
* // IsBatchStatement: true || false,
|
|
70
|
-
* // SessionId: "STRING_VALUE",
|
|
71
78
|
* // ResultFormat: "STRING_VALUE",
|
|
79
|
+
* // SessionId: "STRING_VALUE",
|
|
72
80
|
* // },
|
|
73
81
|
* // ],
|
|
74
82
|
* // NextToken: "STRING_VALUE",
|
|
@@ -1255,6 +1255,24 @@ export interface ListStatementsRequest {
|
|
|
1255
1255
|
* @public
|
|
1256
1256
|
*/
|
|
1257
1257
|
RoleLevel?: boolean | undefined;
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>The name of the database when listing statements run against a <code>ClusterIdentifier</code> or <code>WorkgroupName</code>.
|
|
1260
|
+
* </p>
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
Database?: string | undefined;
|
|
1264
|
+
/**
|
|
1265
|
+
* <p>The cluster identifier. Only statements that ran on this cluster are returned.
|
|
1266
|
+
* When providing <code>ClusterIdentifier</code>, then <code>WorkgroupName</code> can't be specified.</p>
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
ClusterIdentifier?: string | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>The serverless workgroup name or Amazon Resource Name (ARN). Only statements that ran on this workgroup are returned.
|
|
1272
|
+
* When providing <code>WorkgroupName</code>, then <code>ClusterIdentifier</code> can't be specified.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
WorkgroupName?: string | undefined;
|
|
1258
1276
|
}
|
|
1259
1277
|
/**
|
|
1260
1278
|
* <p>The SQL statement to run.</p>
|
|
@@ -1314,15 +1332,15 @@ export interface StatementData {
|
|
|
1314
1332
|
*/
|
|
1315
1333
|
IsBatchStatement?: boolean | undefined;
|
|
1316
1334
|
/**
|
|
1317
|
-
* <p>The
|
|
1335
|
+
* <p>The data format of the result of the SQL statement.</p>
|
|
1318
1336
|
* @public
|
|
1319
1337
|
*/
|
|
1320
|
-
|
|
1338
|
+
ResultFormat?: ResultFormatString | undefined;
|
|
1321
1339
|
/**
|
|
1322
|
-
* <p>The
|
|
1340
|
+
* <p>The session identifier of the query.</p>
|
|
1323
1341
|
* @public
|
|
1324
1342
|
*/
|
|
1325
|
-
|
|
1343
|
+
SessionId?: string | undefined;
|
|
1326
1344
|
}
|
|
1327
1345
|
/**
|
|
1328
1346
|
* @public
|
|
@@ -395,6 +395,9 @@ export interface ListStatementsRequest {
|
|
|
395
395
|
StatementName?: string | undefined;
|
|
396
396
|
Status?: StatusString | undefined;
|
|
397
397
|
RoleLevel?: boolean | undefined;
|
|
398
|
+
Database?: string | undefined;
|
|
399
|
+
ClusterIdentifier?: string | undefined;
|
|
400
|
+
WorkgroupName?: string | undefined;
|
|
398
401
|
}
|
|
399
402
|
export interface StatementData {
|
|
400
403
|
Id: string | undefined;
|
|
@@ -407,8 +410,8 @@ export interface StatementData {
|
|
|
407
410
|
UpdatedAt?: Date | undefined;
|
|
408
411
|
QueryParameters?: SqlParameter[] | undefined;
|
|
409
412
|
IsBatchStatement?: boolean | undefined;
|
|
410
|
-
SessionId?: string | undefined;
|
|
411
413
|
ResultFormat?: ResultFormatString | undefined;
|
|
414
|
+
SessionId?: string | undefined;
|
|
412
415
|
}
|
|
413
416
|
export interface ListStatementsResponse {
|
|
414
417
|
Statements: StatementData[] | undefined;
|
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.763.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift-data",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|