@aws-sdk/client-redshift-data 3.686.0 → 3.691.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.
@@ -3,7 +3,7 @@ import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataS
3
3
  export declare class ActiveSessionsExceededException extends __BaseException {
4
4
  readonly name: "ActiveSessionsExceededException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<
9
9
  ActiveSessionsExceededException,
@@ -14,7 +14,7 @@ export declare class ActiveSessionsExceededException extends __BaseException {
14
14
  export declare class ActiveStatementsExceededException extends __BaseException {
15
15
  readonly name: "ActiveStatementsExceededException";
16
16
  readonly $fault: "client";
17
- Message?: string;
17
+ Message?: string | undefined;
18
18
  constructor(
19
19
  opts: __ExceptionOptionType<
20
20
  ActiveStatementsExceededException,
@@ -39,28 +39,28 @@ export type ResultFormatString =
39
39
  (typeof ResultFormatString)[keyof typeof ResultFormatString];
40
40
  export interface BatchExecuteStatementInput {
41
41
  Sqls: string[] | undefined;
42
- ClusterIdentifier?: string;
43
- SecretArn?: string;
44
- DbUser?: string;
45
- Database?: string;
46
- WithEvent?: boolean;
47
- StatementName?: string;
48
- WorkgroupName?: string;
49
- ClientToken?: string;
50
- SessionKeepAliveSeconds?: number;
51
- SessionId?: string;
52
- ResultFormat?: ResultFormatString;
42
+ ClusterIdentifier?: string | undefined;
43
+ SecretArn?: string | undefined;
44
+ DbUser?: string | undefined;
45
+ Database?: string | undefined;
46
+ WithEvent?: boolean | undefined;
47
+ StatementName?: string | undefined;
48
+ WorkgroupName?: string | undefined;
49
+ ClientToken?: string | undefined;
50
+ SessionKeepAliveSeconds?: number | undefined;
51
+ SessionId?: string | undefined;
52
+ ResultFormat?: ResultFormatString | undefined;
53
53
  }
54
54
  export interface BatchExecuteStatementOutput {
55
- Id?: string;
56
- CreatedAt?: Date;
57
- ClusterIdentifier?: string;
58
- DbUser?: string;
59
- DbGroups?: string[];
60
- Database?: string;
61
- SecretArn?: string;
62
- WorkgroupName?: string;
63
- SessionId?: string;
55
+ Id?: string | undefined;
56
+ CreatedAt?: Date | undefined;
57
+ ClusterIdentifier?: string | undefined;
58
+ DbUser?: string | undefined;
59
+ DbGroups?: string[] | undefined;
60
+ Database?: string | undefined;
61
+ SecretArn?: string | undefined;
62
+ WorkgroupName?: string | undefined;
63
+ SessionId?: string | undefined;
64
64
  }
65
65
  export declare class InternalServerException extends __BaseException {
66
66
  readonly name: "InternalServerException";
@@ -73,7 +73,7 @@ export declare class InternalServerException extends __BaseException {
73
73
  export declare class ValidationException extends __BaseException {
74
74
  readonly name: "ValidationException";
75
75
  readonly $fault: "client";
76
- Message?: string;
76
+ Message?: string | undefined;
77
77
  constructor(
78
78
  opts: __ExceptionOptionType<ValidationException, __BaseException>
79
79
  );
@@ -82,7 +82,7 @@ export interface CancelStatementRequest {
82
82
  Id: string | undefined;
83
83
  }
84
84
  export interface CancelStatementResponse {
85
- Status?: boolean;
85
+ Status?: boolean | undefined;
86
86
  }
87
87
  export declare class DatabaseConnectionException extends __BaseException {
88
88
  readonly name: "DatabaseConnectionException";
@@ -102,19 +102,19 @@ export declare class ResourceNotFoundException extends __BaseException {
102
102
  );
103
103
  }
104
104
  export interface ColumnMetadata {
105
- isCaseSensitive?: boolean;
106
- isCurrency?: boolean;
107
- isSigned?: boolean;
108
- label?: string;
109
- name?: string;
110
- nullable?: number;
111
- precision?: number;
112
- scale?: number;
113
- schemaName?: string;
114
- tableName?: string;
115
- typeName?: string;
116
- length?: number;
117
- columnDefault?: string;
105
+ isCaseSensitive?: boolean | undefined;
106
+ isCurrency?: boolean | undefined;
107
+ isSigned?: boolean | undefined;
108
+ label?: string | undefined;
109
+ name?: string | undefined;
110
+ nullable?: number | undefined;
111
+ precision?: number | undefined;
112
+ scale?: number | undefined;
113
+ schemaName?: string | undefined;
114
+ tableName?: string | undefined;
115
+ typeName?: string | undefined;
116
+ length?: number | undefined;
117
+ columnDefault?: string | undefined;
118
118
  }
119
119
  export interface DescribeStatementRequest {
120
120
  Id: string | undefined;
@@ -145,61 +145,61 @@ export type StatementStatusString =
145
145
  (typeof StatementStatusString)[keyof typeof StatementStatusString];
146
146
  export interface SubStatementData {
147
147
  Id: string | undefined;
148
- Duration?: number;
149
- Error?: string;
150
- Status?: StatementStatusString;
151
- CreatedAt?: Date;
152
- UpdatedAt?: Date;
153
- QueryString?: string;
154
- ResultRows?: number;
155
- ResultSize?: number;
156
- RedshiftQueryId?: number;
157
- HasResultSet?: boolean;
148
+ Duration?: number | undefined;
149
+ Error?: string | undefined;
150
+ Status?: StatementStatusString | undefined;
151
+ CreatedAt?: Date | undefined;
152
+ UpdatedAt?: Date | undefined;
153
+ QueryString?: string | undefined;
154
+ ResultRows?: number | undefined;
155
+ ResultSize?: number | undefined;
156
+ RedshiftQueryId?: number | undefined;
157
+ HasResultSet?: boolean | undefined;
158
158
  }
159
159
  export interface DescribeStatementResponse {
160
160
  Id: string | undefined;
161
- SecretArn?: string;
162
- DbUser?: string;
163
- Database?: string;
164
- ClusterIdentifier?: string;
165
- Duration?: number;
166
- Error?: string;
167
- Status?: StatusString;
168
- CreatedAt?: Date;
169
- UpdatedAt?: Date;
170
- RedshiftPid?: number;
171
- HasResultSet?: boolean;
172
- QueryString?: string;
173
- ResultRows?: number;
174
- ResultSize?: number;
175
- RedshiftQueryId?: number;
176
- QueryParameters?: SqlParameter[];
177
- SubStatements?: SubStatementData[];
178
- WorkgroupName?: string;
179
- SessionId?: string;
180
- ResultFormat?: ResultFormatString;
161
+ SecretArn?: string | undefined;
162
+ DbUser?: string | undefined;
163
+ Database?: string | undefined;
164
+ ClusterIdentifier?: string | undefined;
165
+ Duration?: number | undefined;
166
+ Error?: string | undefined;
167
+ Status?: StatusString | undefined;
168
+ CreatedAt?: Date | undefined;
169
+ UpdatedAt?: Date | undefined;
170
+ RedshiftPid?: number | undefined;
171
+ HasResultSet?: boolean | undefined;
172
+ QueryString?: string | undefined;
173
+ ResultRows?: number | undefined;
174
+ ResultSize?: number | undefined;
175
+ RedshiftQueryId?: number | undefined;
176
+ QueryParameters?: SqlParameter[] | undefined;
177
+ SubStatements?: SubStatementData[] | undefined;
178
+ WorkgroupName?: string | undefined;
179
+ SessionId?: string | undefined;
180
+ ResultFormat?: ResultFormatString | undefined;
181
181
  }
182
182
  export interface DescribeTableRequest {
183
- ClusterIdentifier?: string;
184
- SecretArn?: string;
185
- DbUser?: string;
183
+ ClusterIdentifier?: string | undefined;
184
+ SecretArn?: string | undefined;
185
+ DbUser?: string | undefined;
186
186
  Database: string | undefined;
187
- ConnectedDatabase?: string;
188
- Schema?: string;
189
- Table?: string;
190
- NextToken?: string;
191
- MaxResults?: number;
192
- WorkgroupName?: string;
187
+ ConnectedDatabase?: string | undefined;
188
+ Schema?: string | undefined;
189
+ Table?: string | undefined;
190
+ NextToken?: string | undefined;
191
+ MaxResults?: number | undefined;
192
+ WorkgroupName?: string | undefined;
193
193
  }
194
194
  export interface DescribeTableResponse {
195
- TableName?: string;
196
- ColumnList?: ColumnMetadata[];
197
- NextToken?: string;
195
+ TableName?: string | undefined;
196
+ ColumnList?: ColumnMetadata[] | undefined;
197
+ NextToken?: string | undefined;
198
198
  }
199
199
  export declare class QueryTimeoutException extends __BaseException {
200
200
  readonly name: "QueryTimeoutException";
201
201
  readonly $fault: "client";
202
- Message?: string;
202
+ Message?: string | undefined;
203
203
  constructor(
204
204
  opts: __ExceptionOptionType<QueryTimeoutException, __BaseException>
205
205
  );
@@ -215,29 +215,29 @@ export declare class ExecuteStatementException extends __BaseException {
215
215
  }
216
216
  export interface ExecuteStatementInput {
217
217
  Sql: string | undefined;
218
- ClusterIdentifier?: string;
219
- SecretArn?: string;
220
- DbUser?: string;
221
- Database?: string;
222
- WithEvent?: boolean;
223
- StatementName?: string;
224
- Parameters?: SqlParameter[];
225
- WorkgroupName?: string;
226
- ClientToken?: string;
227
- SessionKeepAliveSeconds?: number;
228
- SessionId?: string;
229
- ResultFormat?: ResultFormatString;
218
+ ClusterIdentifier?: string | undefined;
219
+ SecretArn?: string | undefined;
220
+ DbUser?: string | undefined;
221
+ Database?: string | undefined;
222
+ WithEvent?: boolean | undefined;
223
+ StatementName?: string | undefined;
224
+ Parameters?: SqlParameter[] | undefined;
225
+ WorkgroupName?: string | undefined;
226
+ ClientToken?: string | undefined;
227
+ SessionKeepAliveSeconds?: number | undefined;
228
+ SessionId?: string | undefined;
229
+ ResultFormat?: ResultFormatString | undefined;
230
230
  }
231
231
  export interface ExecuteStatementOutput {
232
- Id?: string;
233
- CreatedAt?: Date;
234
- ClusterIdentifier?: string;
235
- DbUser?: string;
236
- DbGroups?: string[];
237
- Database?: string;
238
- SecretArn?: string;
239
- WorkgroupName?: string;
240
- SessionId?: string;
232
+ Id?: string | undefined;
233
+ CreatedAt?: Date | undefined;
234
+ ClusterIdentifier?: string | undefined;
235
+ DbUser?: string | undefined;
236
+ DbGroups?: string[] | undefined;
237
+ Database?: string | undefined;
238
+ SecretArn?: string | undefined;
239
+ WorkgroupName?: string | undefined;
240
+ SessionId?: string | undefined;
241
241
  }
242
242
  export type Field =
243
243
  | Field.BlobValueMember
@@ -342,96 +342,96 @@ export declare namespace QueryRecords {
342
342
  }
343
343
  export interface GetStatementResultRequest {
344
344
  Id: string | undefined;
345
- NextToken?: string;
345
+ NextToken?: string | undefined;
346
346
  }
347
347
  export interface GetStatementResultResponse {
348
348
  Records: Field[][] | undefined;
349
- ColumnMetadata?: ColumnMetadata[];
350
- TotalNumRows?: number;
351
- NextToken?: string;
349
+ ColumnMetadata?: ColumnMetadata[] | undefined;
350
+ TotalNumRows?: number | undefined;
351
+ NextToken?: string | undefined;
352
352
  }
353
353
  export interface GetStatementResultV2Request {
354
354
  Id: string | undefined;
355
- NextToken?: string;
355
+ NextToken?: string | undefined;
356
356
  }
357
357
  export interface GetStatementResultV2Response {
358
358
  Records: QueryRecords[] | undefined;
359
- ColumnMetadata?: ColumnMetadata[];
360
- TotalNumRows?: number;
361
- ResultFormat?: ResultFormatString;
362
- NextToken?: string;
359
+ ColumnMetadata?: ColumnMetadata[] | undefined;
360
+ TotalNumRows?: number | undefined;
361
+ ResultFormat?: ResultFormatString | undefined;
362
+ NextToken?: string | undefined;
363
363
  }
364
364
  export interface ListDatabasesRequest {
365
- ClusterIdentifier?: string;
365
+ ClusterIdentifier?: string | undefined;
366
366
  Database: string | undefined;
367
- SecretArn?: string;
368
- DbUser?: string;
369
- NextToken?: string;
370
- MaxResults?: number;
371
- WorkgroupName?: string;
367
+ SecretArn?: string | undefined;
368
+ DbUser?: string | undefined;
369
+ NextToken?: string | undefined;
370
+ MaxResults?: number | undefined;
371
+ WorkgroupName?: string | undefined;
372
372
  }
373
373
  export interface ListDatabasesResponse {
374
- Databases?: string[];
375
- NextToken?: string;
374
+ Databases?: string[] | undefined;
375
+ NextToken?: string | undefined;
376
376
  }
377
377
  export interface ListSchemasRequest {
378
- ClusterIdentifier?: string;
379
- SecretArn?: string;
380
- DbUser?: string;
378
+ ClusterIdentifier?: string | undefined;
379
+ SecretArn?: string | undefined;
380
+ DbUser?: string | undefined;
381
381
  Database: string | undefined;
382
- ConnectedDatabase?: string;
383
- SchemaPattern?: string;
384
- NextToken?: string;
385
- MaxResults?: number;
386
- WorkgroupName?: string;
382
+ ConnectedDatabase?: string | undefined;
383
+ SchemaPattern?: string | undefined;
384
+ NextToken?: string | undefined;
385
+ MaxResults?: number | undefined;
386
+ WorkgroupName?: string | undefined;
387
387
  }
388
388
  export interface ListSchemasResponse {
389
- Schemas?: string[];
390
- NextToken?: string;
389
+ Schemas?: string[] | undefined;
390
+ NextToken?: string | undefined;
391
391
  }
392
392
  export interface ListStatementsRequest {
393
- NextToken?: string;
394
- MaxResults?: number;
395
- StatementName?: string;
396
- Status?: StatusString;
397
- RoleLevel?: boolean;
393
+ NextToken?: string | undefined;
394
+ MaxResults?: number | undefined;
395
+ StatementName?: string | undefined;
396
+ Status?: StatusString | undefined;
397
+ RoleLevel?: boolean | undefined;
398
398
  }
399
399
  export interface StatementData {
400
400
  Id: string | undefined;
401
- QueryString?: string;
402
- QueryStrings?: string[];
403
- SecretArn?: string;
404
- Status?: StatusString;
405
- StatementName?: string;
406
- CreatedAt?: Date;
407
- UpdatedAt?: Date;
408
- QueryParameters?: SqlParameter[];
409
- IsBatchStatement?: boolean;
410
- SessionId?: string;
411
- ResultFormat?: ResultFormatString;
401
+ QueryString?: string | undefined;
402
+ QueryStrings?: string[] | undefined;
403
+ SecretArn?: string | undefined;
404
+ Status?: StatusString | undefined;
405
+ StatementName?: string | undefined;
406
+ CreatedAt?: Date | undefined;
407
+ UpdatedAt?: Date | undefined;
408
+ QueryParameters?: SqlParameter[] | undefined;
409
+ IsBatchStatement?: boolean | undefined;
410
+ SessionId?: string | undefined;
411
+ ResultFormat?: ResultFormatString | undefined;
412
412
  }
413
413
  export interface ListStatementsResponse {
414
414
  Statements: StatementData[] | undefined;
415
- NextToken?: string;
415
+ NextToken?: string | undefined;
416
416
  }
417
417
  export interface ListTablesRequest {
418
- ClusterIdentifier?: string;
419
- SecretArn?: string;
420
- DbUser?: string;
418
+ ClusterIdentifier?: string | undefined;
419
+ SecretArn?: string | undefined;
420
+ DbUser?: string | undefined;
421
421
  Database: string | undefined;
422
- ConnectedDatabase?: string;
423
- SchemaPattern?: string;
424
- TablePattern?: string;
425
- NextToken?: string;
426
- MaxResults?: number;
427
- WorkgroupName?: string;
422
+ ConnectedDatabase?: string | undefined;
423
+ SchemaPattern?: string | undefined;
424
+ TablePattern?: string | undefined;
425
+ NextToken?: string | undefined;
426
+ MaxResults?: number | undefined;
427
+ WorkgroupName?: string | undefined;
428
428
  }
429
429
  export interface TableMember {
430
- name?: string;
431
- type?: string;
432
- schema?: string;
430
+ name?: string | undefined;
431
+ type?: string | undefined;
432
+ schema?: string | undefined;
433
433
  }
434
434
  export interface ListTablesResponse {
435
- Tables?: TableMember[];
436
- NextToken?: string;
435
+ Tables?: TableMember[] | undefined;
436
+ NextToken?: string | undefined;
437
437
  }
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.686.0",
4
+ "version": "3.691.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,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",