@aws-sdk/client-redshift-data 3.1027.0 → 3.1028.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.
|
@@ -205,8 +205,8 @@ exports.errorTypeRegistries = [
|
|
|
205
205
|
];
|
|
206
206
|
exports.BatchExecuteStatementInput$ = [3, n0, _BESI,
|
|
207
207
|
0,
|
|
208
|
-
[_S, _CI, _SA, _DU, _D, _WE, _SN, _WN, _CT, _RF, _SKAS, _SIe],
|
|
209
|
-
[64 | 0, 0, 0, 0, 0, 2, 0, 0, [0, 4], 0, 1, 0], 1
|
|
208
|
+
[_S, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
|
|
209
|
+
[64 | 0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0], 1
|
|
210
210
|
];
|
|
211
211
|
exports.BatchExecuteStatementOutput$ = [3, n0, _BESO,
|
|
212
212
|
0,
|
|
@@ -201,8 +201,8 @@ export const errorTypeRegistries = [
|
|
|
201
201
|
];
|
|
202
202
|
export var BatchExecuteStatementInput$ = [3, n0, _BESI,
|
|
203
203
|
0,
|
|
204
|
-
[_S, _CI, _SA, _DU, _D, _WE, _SN, _WN, _CT, _RF, _SKAS, _SIe],
|
|
205
|
-
[64 | 0, 0, 0, 0, 0, 2, 0, 0, [0, 4], 0, 1, 0], 1
|
|
204
|
+
[_S, _CI, _SA, _DU, _D, _WE, _SN, _P, _WN, _CT, _RF, _SKAS, _SIe],
|
|
205
|
+
[64 | 0, 0, 0, 0, 0, 2, 0, () => SqlParametersList, 0, [0, 4], 0, 1, 0], 1
|
|
206
206
|
];
|
|
207
207
|
export var BatchExecuteStatementOutput$ = [3, n0, _BESO,
|
|
208
208
|
0,
|
|
@@ -46,6 +46,12 @@ declare const BatchExecuteStatementCommand_base: {
|
|
|
46
46
|
* Database: "STRING_VALUE",
|
|
47
47
|
* WithEvent: true || false,
|
|
48
48
|
* StatementName: "STRING_VALUE",
|
|
49
|
+
* Parameters: [ // SqlParametersList
|
|
50
|
+
* { // SqlParameter
|
|
51
|
+
* name: "STRING_VALUE", // required
|
|
52
|
+
* value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
49
55
|
* WorkgroupName: "STRING_VALUE",
|
|
50
56
|
* ClientToken: "STRING_VALUE",
|
|
51
57
|
* ResultFormat: "STRING_VALUE",
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import type { ResultFormatString, StatementStatusString, StatusString } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* <p>A parameter used in a SQL statement.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface SqlParameter {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The name of the parameter.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
name: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/c_Supported_data_types.html">Data types</a> in the <i>Amazon Redshift Database Developer Guide</i>. </p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
value: string | undefined;
|
|
17
|
+
}
|
|
2
18
|
/**
|
|
3
19
|
* @public
|
|
4
20
|
*/
|
|
@@ -38,6 +54,11 @@ export interface BatchExecuteStatementInput {
|
|
|
38
54
|
* @public
|
|
39
55
|
*/
|
|
40
56
|
StatementName?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The parameters for the SQL statements. The parameters are shared across all SQL statements in the batch.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
Parameters?: SqlParameter[] | undefined;
|
|
41
62
|
/**
|
|
42
63
|
* <p>The serverless workgroup name or Amazon Resource Name (ARN). This parameter is required when connecting to a serverless workgroup and authenticating using either Secrets Manager or temporary credentials.</p>
|
|
43
64
|
* @public
|
|
@@ -170,7 +191,7 @@ export interface ColumnMetadata {
|
|
|
170
191
|
*/
|
|
171
192
|
nullable?: number | undefined;
|
|
172
193
|
/**
|
|
173
|
-
* <p>The precision value of a decimal number column. </p>
|
|
194
|
+
* <p>The precision value of a decimal number column, or the column length for a non-numeric column. </p>
|
|
174
195
|
* @public
|
|
175
196
|
*/
|
|
176
197
|
precision?: number | undefined;
|
|
@@ -215,22 +236,6 @@ export interface DescribeStatementRequest {
|
|
|
215
236
|
*/
|
|
216
237
|
Id: string | undefined;
|
|
217
238
|
}
|
|
218
|
-
/**
|
|
219
|
-
* <p>A parameter used in a SQL statement.</p>
|
|
220
|
-
* @public
|
|
221
|
-
*/
|
|
222
|
-
export interface SqlParameter {
|
|
223
|
-
/**
|
|
224
|
-
* <p>The name of the parameter.</p>
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
name: string | undefined;
|
|
228
|
-
/**
|
|
229
|
-
* <p>The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more information, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/c_Supported_data_types.html">Data types</a> in the <i>Amazon Redshift Database Developer Guide</i>. </p>
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
value: string | undefined;
|
|
233
|
-
}
|
|
234
239
|
/**
|
|
235
240
|
* <p>Information about an SQL statement.</p>
|
|
236
241
|
* @public
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
StatementStatusString,
|
|
4
4
|
StatusString,
|
|
5
5
|
} from "./enums";
|
|
6
|
+
export interface SqlParameter {
|
|
7
|
+
name: string | undefined;
|
|
8
|
+
value: string | undefined;
|
|
9
|
+
}
|
|
6
10
|
export interface BatchExecuteStatementInput {
|
|
7
11
|
Sqls: string[] | undefined;
|
|
8
12
|
ClusterIdentifier?: string | undefined;
|
|
@@ -11,6 +15,7 @@ export interface BatchExecuteStatementInput {
|
|
|
11
15
|
Database?: string | undefined;
|
|
12
16
|
WithEvent?: boolean | undefined;
|
|
13
17
|
StatementName?: string | undefined;
|
|
18
|
+
Parameters?: SqlParameter[] | undefined;
|
|
14
19
|
WorkgroupName?: string | undefined;
|
|
15
20
|
ClientToken?: string | undefined;
|
|
16
21
|
ResultFormat?: ResultFormatString | undefined;
|
|
@@ -52,10 +57,6 @@ export interface ColumnMetadata {
|
|
|
52
57
|
export interface DescribeStatementRequest {
|
|
53
58
|
Id: string | undefined;
|
|
54
59
|
}
|
|
55
|
-
export interface SqlParameter {
|
|
56
|
-
name: string | undefined;
|
|
57
|
-
value: string | undefined;
|
|
58
|
-
}
|
|
59
60
|
export interface SubStatementData {
|
|
60
61
|
Id: string | undefined;
|
|
61
62
|
Duration?: number | 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.1028.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift-data",
|