@aws-sdk/client-redshift-data 3.170.0 → 3.171.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-redshift-data
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-redshift-data
@@ -40,7 +40,6 @@ import {
40
40
  ListTablesCommandOutput,
41
41
  } from "./commands/ListTablesCommand";
42
42
  import { RedshiftDataClient } from "./RedshiftDataClient";
43
-
44
43
  export declare class RedshiftData extends RedshiftDataClient {
45
44
  batchExecuteStatement(
46
45
  args: BatchExecuteStatementCommandInput,
@@ -55,7 +54,6 @@ export declare class RedshiftData extends RedshiftDataClient {
55
54
  options: __HttpHandlerOptions,
56
55
  cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
57
56
  ): void;
58
-
59
57
  cancelStatement(
60
58
  args: CancelStatementCommandInput,
61
59
  options?: __HttpHandlerOptions
@@ -69,7 +67,6 @@ export declare class RedshiftData extends RedshiftDataClient {
69
67
  options: __HttpHandlerOptions,
70
68
  cb: (err: any, data?: CancelStatementCommandOutput) => void
71
69
  ): void;
72
-
73
70
  describeStatement(
74
71
  args: DescribeStatementCommandInput,
75
72
  options?: __HttpHandlerOptions
@@ -83,7 +80,6 @@ export declare class RedshiftData extends RedshiftDataClient {
83
80
  options: __HttpHandlerOptions,
84
81
  cb: (err: any, data?: DescribeStatementCommandOutput) => void
85
82
  ): void;
86
-
87
83
  describeTable(
88
84
  args: DescribeTableCommandInput,
89
85
  options?: __HttpHandlerOptions
@@ -97,7 +93,6 @@ export declare class RedshiftData extends RedshiftDataClient {
97
93
  options: __HttpHandlerOptions,
98
94
  cb: (err: any, data?: DescribeTableCommandOutput) => void
99
95
  ): void;
100
-
101
96
  executeStatement(
102
97
  args: ExecuteStatementCommandInput,
103
98
  options?: __HttpHandlerOptions
@@ -111,7 +106,6 @@ export declare class RedshiftData extends RedshiftDataClient {
111
106
  options: __HttpHandlerOptions,
112
107
  cb: (err: any, data?: ExecuteStatementCommandOutput) => void
113
108
  ): void;
114
-
115
109
  getStatementResult(
116
110
  args: GetStatementResultCommandInput,
117
111
  options?: __HttpHandlerOptions
@@ -125,7 +119,6 @@ export declare class RedshiftData extends RedshiftDataClient {
125
119
  options: __HttpHandlerOptions,
126
120
  cb: (err: any, data?: GetStatementResultCommandOutput) => void
127
121
  ): void;
128
-
129
122
  listDatabases(
130
123
  args: ListDatabasesCommandInput,
131
124
  options?: __HttpHandlerOptions
@@ -139,7 +132,6 @@ export declare class RedshiftData extends RedshiftDataClient {
139
132
  options: __HttpHandlerOptions,
140
133
  cb: (err: any, data?: ListDatabasesCommandOutput) => void
141
134
  ): void;
142
-
143
135
  listSchemas(
144
136
  args: ListSchemasCommandInput,
145
137
  options?: __HttpHandlerOptions
@@ -153,7 +145,6 @@ export declare class RedshiftData extends RedshiftDataClient {
153
145
  options: __HttpHandlerOptions,
154
146
  cb: (err: any, data?: ListSchemasCommandOutput) => void
155
147
  ): void;
156
-
157
148
  listStatements(
158
149
  args: ListStatementsCommandInput,
159
150
  options?: __HttpHandlerOptions
@@ -167,7 +158,6 @@ export declare class RedshiftData extends RedshiftDataClient {
167
158
  options: __HttpHandlerOptions,
168
159
  cb: (err: any, data?: ListStatementsCommandOutput) => void
169
160
  ): void;
170
-
171
161
  listTables(
172
162
  args: ListTablesCommandInput,
173
163
  options?: __HttpHandlerOptions
@@ -107,47 +107,26 @@ export declare type ServiceOutputTypes =
107
107
  export interface ClientDefaults
108
108
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
109
109
  requestHandler?: __HttpHandler;
110
-
111
110
  sha256?: __HashConstructor;
112
-
113
111
  urlParser?: __UrlParser;
114
-
115
112
  bodyLengthChecker?: __BodyLengthCalculator;
116
-
117
113
  streamCollector?: __StreamCollector;
118
-
119
114
  base64Decoder?: __Decoder;
120
-
121
115
  base64Encoder?: __Encoder;
122
-
123
116
  utf8Decoder?: __Decoder;
124
-
125
117
  utf8Encoder?: __Encoder;
126
-
127
118
  runtime?: string;
128
-
129
119
  disableHostPrefix?: boolean;
130
-
131
120
  maxAttempts?: number | __Provider<number>;
132
-
133
121
  retryMode?: string | __Provider<string>;
134
-
135
122
  logger?: __Logger;
136
-
137
123
  useDualstackEndpoint?: boolean | __Provider<boolean>;
138
-
139
124
  useFipsEndpoint?: boolean | __Provider<boolean>;
140
-
141
125
  serviceId?: string;
142
-
143
126
  region?: string | __Provider<string>;
144
-
145
127
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
146
-
147
128
  regionInfoProvider?: RegionInfoProvider;
148
-
149
129
  defaultUserAgentProvider?: Provider<__UserAgent>;
150
-
151
130
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
152
131
  }
153
132
  declare type RedshiftDataClientConfigType = Partial<
@@ -160,7 +139,6 @@ declare type RedshiftDataClientConfigType = Partial<
160
139
  HostHeaderInputConfig &
161
140
  AwsAuthInputConfig &
162
141
  UserAgentInputConfig;
163
-
164
142
  export interface RedshiftDataClientConfig
165
143
  extends RedshiftDataClientConfigType {}
166
144
  declare type RedshiftDataClientResolvedConfigType =
@@ -172,10 +150,8 @@ declare type RedshiftDataClientResolvedConfigType =
172
150
  HostHeaderResolvedConfig &
173
151
  AwsAuthResolvedConfig &
174
152
  UserAgentResolvedConfig;
175
-
176
153
  export interface RedshiftDataClientResolvedConfig
177
154
  extends RedshiftDataClientResolvedConfigType {}
178
-
179
155
  export declare class RedshiftDataClient extends __Client<
180
156
  __HttpHandlerOptions,
181
157
  ServiceInputTypes,
@@ -184,7 +160,6 @@ export declare class RedshiftDataClient extends __Client<
184
160
  > {
185
161
  readonly config: RedshiftDataClientResolvedConfig;
186
162
  constructor(configuration: RedshiftDataClientConfig);
187
-
188
163
  destroy(): void;
189
164
  }
190
165
  export {};
@@ -19,7 +19,6 @@ export interface BatchExecuteStatementCommandInput
19
19
  export interface BatchExecuteStatementCommandOutput
20
20
  extends BatchExecuteStatementOutput,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class BatchExecuteStatementCommand extends $Command<
24
23
  BatchExecuteStatementCommandInput,
25
24
  BatchExecuteStatementCommandOutput,
@@ -27,7 +26,6 @@ export declare class BatchExecuteStatementCommand extends $Command<
27
26
  > {
28
27
  readonly input: BatchExecuteStatementCommandInput;
29
28
  constructor(input: BatchExecuteStatementCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: RedshiftDataClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface CancelStatementCommandInput extends CancelStatementRequest {}
18
18
  export interface CancelStatementCommandOutput
19
19
  extends CancelStatementResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class CancelStatementCommand extends $Command<
23
22
  CancelStatementCommandInput,
24
23
  CancelStatementCommandOutput,
@@ -26,7 +25,6 @@ export declare class CancelStatementCommand extends $Command<
26
25
  > {
27
26
  readonly input: CancelStatementCommandInput;
28
27
  constructor(input: CancelStatementCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: RedshiftDataClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeStatementCommandInput
19
19
  export interface DescribeStatementCommandOutput
20
20
  extends DescribeStatementResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeStatementCommand extends $Command<
24
23
  DescribeStatementCommandInput,
25
24
  DescribeStatementCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeStatementCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeStatementCommandInput;
29
28
  constructor(input: DescribeStatementCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: RedshiftDataClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface DescribeTableCommandInput extends DescribeTableRequest {}
18
18
  export interface DescribeTableCommandOutput
19
19
  extends DescribeTableResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class DescribeTableCommand extends $Command<
23
22
  DescribeTableCommandInput,
24
23
  DescribeTableCommandOutput,
@@ -26,7 +25,6 @@ export declare class DescribeTableCommand extends $Command<
26
25
  > {
27
26
  readonly input: DescribeTableCommandInput;
28
27
  constructor(input: DescribeTableCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: RedshiftDataClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementInput {}
18
18
  export interface ExecuteStatementCommandOutput
19
19
  extends ExecuteStatementOutput,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class ExecuteStatementCommand extends $Command<
23
22
  ExecuteStatementCommandInput,
24
23
  ExecuteStatementCommandOutput,
@@ -26,7 +25,6 @@ export declare class ExecuteStatementCommand extends $Command<
26
25
  > {
27
26
  readonly input: ExecuteStatementCommandInput;
28
27
  constructor(input: ExecuteStatementCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: RedshiftDataClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetStatementResultCommandInput
19
19
  export interface GetStatementResultCommandOutput
20
20
  extends GetStatementResultResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetStatementResultCommand extends $Command<
24
23
  GetStatementResultCommandInput,
25
24
  GetStatementResultCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetStatementResultCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetStatementResultCommandInput;
29
28
  constructor(input: GetStatementResultCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: RedshiftDataClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface ListDatabasesCommandInput extends ListDatabasesRequest {}
18
18
  export interface ListDatabasesCommandOutput
19
19
  extends ListDatabasesResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class ListDatabasesCommand extends $Command<
23
22
  ListDatabasesCommandInput,
24
23
  ListDatabasesCommandOutput,
@@ -26,7 +25,6 @@ export declare class ListDatabasesCommand extends $Command<
26
25
  > {
27
26
  readonly input: ListDatabasesCommandInput;
28
27
  constructor(input: ListDatabasesCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: RedshiftDataClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface ListSchemasCommandInput extends ListSchemasRequest {}
15
15
  export interface ListSchemasCommandOutput
16
16
  extends ListSchemasResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class ListSchemasCommand extends $Command<
20
19
  ListSchemasCommandInput,
21
20
  ListSchemasCommandOutput,
@@ -23,7 +22,6 @@ export declare class ListSchemasCommand extends $Command<
23
22
  > {
24
23
  readonly input: ListSchemasCommandInput;
25
24
  constructor(input: ListSchemasCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: RedshiftDataClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface ListStatementsCommandInput extends ListStatementsRequest {}
18
18
  export interface ListStatementsCommandOutput
19
19
  extends ListStatementsResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class ListStatementsCommand extends $Command<
23
22
  ListStatementsCommandInput,
24
23
  ListStatementsCommandOutput,
@@ -26,7 +25,6 @@ export declare class ListStatementsCommand extends $Command<
26
25
  > {
27
26
  readonly input: ListStatementsCommandInput;
28
27
  constructor(input: ListStatementsCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: RedshiftDataClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface ListTablesCommandInput extends ListTablesRequest {}
15
15
  export interface ListTablesCommandOutput
16
16
  extends ListTablesResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class ListTablesCommand extends $Command<
20
19
  ListTablesCommandInput,
21
20
  ListTablesCommandOutput,
@@ -23,7 +22,6 @@ export declare class ListTablesCommand extends $Command<
23
22
  > {
24
23
  readonly input: ListTablesCommandInput;
25
24
  constructor(input: ListTablesCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: RedshiftDataClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class RedshiftDataServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,11 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { RedshiftDataServiceException as __BaseException } from "./RedshiftDataServiceException";
3
-
4
3
  export declare class ActiveStatementsExceededException extends __BaseException {
5
4
  readonly name: "ActiveStatementsExceededException";
6
5
  readonly $fault: "client";
7
6
  Message?: string;
8
-
9
7
  constructor(
10
8
  opts: __ExceptionOptionType<
11
9
  ActiveStatementsExceededException,
@@ -13,57 +11,38 @@ export declare class ActiveStatementsExceededException extends __BaseException {
13
11
  >
14
12
  );
15
13
  }
16
-
17
14
  export declare class BatchExecuteStatementException extends __BaseException {
18
15
  readonly name: "BatchExecuteStatementException";
19
16
  readonly $fault: "server";
20
17
  Message: string | undefined;
21
-
22
18
  StatementId: string | undefined;
23
-
24
19
  constructor(
25
20
  opts: __ExceptionOptionType<BatchExecuteStatementException, __BaseException>
26
21
  );
27
22
  }
28
23
  export interface BatchExecuteStatementInput {
29
24
  Sqls: string[] | undefined;
30
-
31
25
  ClusterIdentifier?: string;
32
-
33
26
  SecretArn?: string;
34
-
35
27
  DbUser?: string;
36
-
37
28
  Database: string | undefined;
38
-
39
29
  WithEvent?: boolean;
40
-
41
30
  StatementName?: string;
42
-
43
31
  WorkgroupName?: string;
44
32
  }
45
33
  export interface BatchExecuteStatementOutput {
46
34
  Id?: string;
47
-
48
35
  CreatedAt?: Date;
49
-
50
36
  ClusterIdentifier?: string;
51
-
52
37
  DbUser?: string;
53
-
54
38
  Database?: string;
55
-
56
39
  SecretArn?: string;
57
-
58
40
  WorkgroupName?: string;
59
41
  }
60
-
61
42
  export declare class ValidationException extends __BaseException {
62
43
  readonly name: "ValidationException";
63
44
  readonly $fault: "client";
64
-
65
45
  Message?: string;
66
-
67
46
  constructor(
68
47
  opts: __ExceptionOptionType<ValidationException, __BaseException>
69
48
  );
@@ -74,75 +53,51 @@ export interface CancelStatementRequest {
74
53
  export interface CancelStatementResponse {
75
54
  Status?: boolean;
76
55
  }
77
-
78
56
  export declare class DatabaseConnectionException extends __BaseException {
79
57
  readonly name: "DatabaseConnectionException";
80
58
  readonly $fault: "server";
81
59
  Message: string | undefined;
82
-
83
60
  constructor(
84
61
  opts: __ExceptionOptionType<DatabaseConnectionException, __BaseException>
85
62
  );
86
63
  }
87
-
88
64
  export declare class InternalServerException extends __BaseException {
89
65
  readonly name: "InternalServerException";
90
66
  readonly $fault: "server";
91
-
92
67
  Message: string | undefined;
93
-
94
68
  constructor(
95
69
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
96
70
  );
97
71
  }
98
-
99
72
  export declare class ResourceNotFoundException extends __BaseException {
100
73
  readonly name: "ResourceNotFoundException";
101
74
  readonly $fault: "client";
102
-
103
75
  Message: string | undefined;
104
-
105
76
  ResourceId: string | undefined;
106
-
107
77
  constructor(
108
78
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
109
79
  );
110
80
  }
111
-
112
81
  export interface ColumnMetadata {
113
82
  isCaseSensitive?: boolean;
114
-
115
83
  isCurrency?: boolean;
116
-
117
84
  isSigned?: boolean;
118
-
119
85
  label?: string;
120
-
121
86
  name?: string;
122
-
123
87
  nullable?: number;
124
-
125
88
  precision?: number;
126
-
127
89
  scale?: number;
128
-
129
90
  schemaName?: string;
130
-
131
91
  tableName?: string;
132
-
133
92
  typeName?: string;
134
-
135
93
  length?: number;
136
-
137
94
  columnDefault?: string;
138
95
  }
139
96
  export interface DescribeStatementRequest {
140
97
  Id: string | undefined;
141
98
  }
142
-
143
99
  export interface SqlParameter {
144
100
  name: string | undefined;
145
-
146
101
  value: string | undefined;
147
102
  }
148
103
  export declare enum StatusString {
@@ -162,145 +117,86 @@ export declare enum StatementStatusString {
162
117
  STARTED = "STARTED",
163
118
  SUBMITTED = "SUBMITTED",
164
119
  }
165
-
166
120
  export interface SubStatementData {
167
121
  Id: string | undefined;
168
-
169
122
  Duration?: number;
170
-
171
123
  Error?: string;
172
-
173
124
  Status?: StatementStatusString | string;
174
-
175
125
  CreatedAt?: Date;
176
-
177
126
  UpdatedAt?: Date;
178
-
179
127
  QueryString?: string;
180
-
181
128
  ResultRows?: number;
182
-
183
129
  ResultSize?: number;
184
-
185
130
  RedshiftQueryId?: number;
186
-
187
131
  HasResultSet?: boolean;
188
132
  }
189
133
  export interface DescribeStatementResponse {
190
134
  Id: string | undefined;
191
-
192
135
  SecretArn?: string;
193
-
194
136
  DbUser?: string;
195
-
196
137
  Database?: string;
197
-
198
138
  ClusterIdentifier?: string;
199
-
200
139
  Duration?: number;
201
-
202
140
  Error?: string;
203
-
204
141
  Status?: StatusString | string;
205
-
206
142
  CreatedAt?: Date;
207
-
208
143
  UpdatedAt?: Date;
209
-
210
144
  RedshiftPid?: number;
211
-
212
145
  HasResultSet?: boolean;
213
-
214
146
  QueryString?: string;
215
-
216
147
  ResultRows?: number;
217
-
218
148
  ResultSize?: number;
219
-
220
149
  RedshiftQueryId?: number;
221
-
222
150
  QueryParameters?: SqlParameter[];
223
-
224
151
  SubStatements?: SubStatementData[];
225
-
226
152
  WorkgroupName?: string;
227
153
  }
228
154
  export interface DescribeTableRequest {
229
155
  ClusterIdentifier?: string;
230
-
231
156
  SecretArn?: string;
232
-
233
157
  DbUser?: string;
234
-
235
158
  Database: string | undefined;
236
-
237
159
  ConnectedDatabase?: string;
238
-
239
160
  Schema?: string;
240
-
241
161
  Table?: string;
242
-
243
162
  NextToken?: string;
244
-
245
163
  MaxResults?: number;
246
-
247
164
  WorkgroupName?: string;
248
165
  }
249
166
  export interface DescribeTableResponse {
250
167
  TableName?: string;
251
-
252
168
  ColumnList?: ColumnMetadata[];
253
-
254
169
  NextToken?: string;
255
170
  }
256
-
257
171
  export declare class ExecuteStatementException extends __BaseException {
258
172
  readonly name: "ExecuteStatementException";
259
173
  readonly $fault: "server";
260
-
261
174
  Message: string | undefined;
262
-
263
175
  StatementId: string | undefined;
264
-
265
176
  constructor(
266
177
  opts: __ExceptionOptionType<ExecuteStatementException, __BaseException>
267
178
  );
268
179
  }
269
180
  export interface ExecuteStatementInput {
270
181
  Sql: string | undefined;
271
-
272
182
  ClusterIdentifier?: string;
273
-
274
183
  SecretArn?: string;
275
-
276
184
  DbUser?: string;
277
-
278
185
  Database: string | undefined;
279
-
280
186
  WithEvent?: boolean;
281
-
282
187
  StatementName?: string;
283
-
284
188
  Parameters?: SqlParameter[];
285
-
286
189
  WorkgroupName?: string;
287
190
  }
288
191
  export interface ExecuteStatementOutput {
289
192
  Id?: string;
290
-
291
193
  CreatedAt?: Date;
292
-
293
194
  ClusterIdentifier?: string;
294
-
295
195
  DbUser?: string;
296
-
297
196
  Database?: string;
298
-
299
197
  SecretArn?: string;
300
-
301
198
  WorkgroupName?: string;
302
199
  }
303
-
304
200
  export declare type Field =
305
201
  | Field.BlobValueMember
306
202
  | Field.BooleanValueMember
@@ -319,7 +215,6 @@ export declare namespace Field {
319
215
  blobValue?: never;
320
216
  $unknown?: never;
321
217
  }
322
-
323
218
  interface BooleanValueMember {
324
219
  isNull?: never;
325
220
  booleanValue: boolean;
@@ -329,7 +224,6 @@ export declare namespace Field {
329
224
  blobValue?: never;
330
225
  $unknown?: never;
331
226
  }
332
-
333
227
  interface LongValueMember {
334
228
  isNull?: never;
335
229
  booleanValue?: never;
@@ -339,7 +233,6 @@ export declare namespace Field {
339
233
  blobValue?: never;
340
234
  $unknown?: never;
341
235
  }
342
-
343
236
  interface DoubleValueMember {
344
237
  isNull?: never;
345
238
  booleanValue?: never;
@@ -349,7 +242,6 @@ export declare namespace Field {
349
242
  blobValue?: never;
350
243
  $unknown?: never;
351
244
  }
352
-
353
245
  interface StringValueMember {
354
246
  isNull?: never;
355
247
  booleanValue?: never;
@@ -359,7 +251,6 @@ export declare namespace Field {
359
251
  blobValue?: never;
360
252
  $unknown?: never;
361
253
  }
362
-
363
254
  interface BlobValueMember {
364
255
  isNull?: never;
365
256
  booleanValue?: never;
@@ -391,229 +282,155 @@ export declare namespace Field {
391
282
  }
392
283
  export interface GetStatementResultRequest {
393
284
  Id: string | undefined;
394
-
395
285
  NextToken?: string;
396
286
  }
397
287
  export interface GetStatementResultResponse {
398
288
  Records: Field[][] | undefined;
399
-
400
289
  ColumnMetadata?: ColumnMetadata[];
401
-
402
290
  TotalNumRows?: number;
403
-
404
291
  NextToken?: string;
405
292
  }
406
293
  export interface ListDatabasesRequest {
407
294
  ClusterIdentifier?: string;
408
-
409
295
  Database: string | undefined;
410
-
411
296
  SecretArn?: string;
412
-
413
297
  DbUser?: string;
414
-
415
298
  NextToken?: string;
416
-
417
299
  MaxResults?: number;
418
-
419
300
  WorkgroupName?: string;
420
301
  }
421
302
  export interface ListDatabasesResponse {
422
303
  Databases?: string[];
423
-
424
304
  NextToken?: string;
425
305
  }
426
306
  export interface ListSchemasRequest {
427
307
  ClusterIdentifier?: string;
428
-
429
308
  SecretArn?: string;
430
-
431
309
  DbUser?: string;
432
-
433
310
  Database: string | undefined;
434
-
435
311
  ConnectedDatabase?: string;
436
-
437
312
  SchemaPattern?: string;
438
-
439
313
  NextToken?: string;
440
-
441
314
  MaxResults?: number;
442
-
443
315
  WorkgroupName?: string;
444
316
  }
445
317
  export interface ListSchemasResponse {
446
318
  Schemas?: string[];
447
-
448
319
  NextToken?: string;
449
320
  }
450
321
  export interface ListStatementsRequest {
451
322
  NextToken?: string;
452
-
453
323
  MaxResults?: number;
454
-
455
324
  StatementName?: string;
456
-
457
325
  Status?: StatusString | string;
458
-
459
326
  RoleLevel?: boolean;
460
327
  }
461
-
462
328
  export interface StatementData {
463
329
  Id: string | undefined;
464
-
465
330
  QueryString?: string;
466
-
467
331
  QueryStrings?: string[];
468
-
469
332
  SecretArn?: string;
470
-
471
333
  Status?: StatusString | string;
472
-
473
334
  StatementName?: string;
474
-
475
335
  CreatedAt?: Date;
476
-
477
336
  UpdatedAt?: Date;
478
-
479
337
  QueryParameters?: SqlParameter[];
480
-
481
338
  IsBatchStatement?: boolean;
482
339
  }
483
340
  export interface ListStatementsResponse {
484
341
  Statements: StatementData[] | undefined;
485
-
486
342
  NextToken?: string;
487
343
  }
488
344
  export interface ListTablesRequest {
489
345
  ClusterIdentifier?: string;
490
-
491
346
  SecretArn?: string;
492
-
493
347
  DbUser?: string;
494
-
495
348
  Database: string | undefined;
496
-
497
349
  ConnectedDatabase?: string;
498
-
499
350
  SchemaPattern?: string;
500
-
501
351
  TablePattern?: string;
502
-
503
352
  NextToken?: string;
504
-
505
353
  MaxResults?: number;
506
-
507
354
  WorkgroupName?: string;
508
355
  }
509
-
510
356
  export interface TableMember {
511
357
  name?: string;
512
-
513
358
  type?: string;
514
-
515
359
  schema?: string;
516
360
  }
517
361
  export interface ListTablesResponse {
518
362
  Tables?: TableMember[];
519
-
520
363
  NextToken?: string;
521
364
  }
522
-
523
365
  export declare const BatchExecuteStatementInputFilterSensitiveLog: (
524
366
  obj: BatchExecuteStatementInput
525
367
  ) => any;
526
-
527
368
  export declare const BatchExecuteStatementOutputFilterSensitiveLog: (
528
369
  obj: BatchExecuteStatementOutput
529
370
  ) => any;
530
-
531
371
  export declare const CancelStatementRequestFilterSensitiveLog: (
532
372
  obj: CancelStatementRequest
533
373
  ) => any;
534
-
535
374
  export declare const CancelStatementResponseFilterSensitiveLog: (
536
375
  obj: CancelStatementResponse
537
376
  ) => any;
538
-
539
377
  export declare const ColumnMetadataFilterSensitiveLog: (
540
378
  obj: ColumnMetadata
541
379
  ) => any;
542
-
543
380
  export declare const DescribeStatementRequestFilterSensitiveLog: (
544
381
  obj: DescribeStatementRequest
545
382
  ) => any;
546
-
547
383
  export declare const SqlParameterFilterSensitiveLog: (obj: SqlParameter) => any;
548
-
549
384
  export declare const SubStatementDataFilterSensitiveLog: (
550
385
  obj: SubStatementData
551
386
  ) => any;
552
-
553
387
  export declare const DescribeStatementResponseFilterSensitiveLog: (
554
388
  obj: DescribeStatementResponse
555
389
  ) => any;
556
-
557
390
  export declare const DescribeTableRequestFilterSensitiveLog: (
558
391
  obj: DescribeTableRequest
559
392
  ) => any;
560
-
561
393
  export declare const DescribeTableResponseFilterSensitiveLog: (
562
394
  obj: DescribeTableResponse
563
395
  ) => any;
564
-
565
396
  export declare const ExecuteStatementInputFilterSensitiveLog: (
566
397
  obj: ExecuteStatementInput
567
398
  ) => any;
568
-
569
399
  export declare const ExecuteStatementOutputFilterSensitiveLog: (
570
400
  obj: ExecuteStatementOutput
571
401
  ) => any;
572
-
573
402
  export declare const FieldFilterSensitiveLog: (obj: Field) => any;
574
-
575
403
  export declare const GetStatementResultRequestFilterSensitiveLog: (
576
404
  obj: GetStatementResultRequest
577
405
  ) => any;
578
-
579
406
  export declare const GetStatementResultResponseFilterSensitiveLog: (
580
407
  obj: GetStatementResultResponse
581
408
  ) => any;
582
-
583
409
  export declare const ListDatabasesRequestFilterSensitiveLog: (
584
410
  obj: ListDatabasesRequest
585
411
  ) => any;
586
-
587
412
  export declare const ListDatabasesResponseFilterSensitiveLog: (
588
413
  obj: ListDatabasesResponse
589
414
  ) => any;
590
-
591
415
  export declare const ListSchemasRequestFilterSensitiveLog: (
592
416
  obj: ListSchemasRequest
593
417
  ) => any;
594
-
595
418
  export declare const ListSchemasResponseFilterSensitiveLog: (
596
419
  obj: ListSchemasResponse
597
420
  ) => any;
598
-
599
421
  export declare const ListStatementsRequestFilterSensitiveLog: (
600
422
  obj: ListStatementsRequest
601
423
  ) => any;
602
-
603
424
  export declare const StatementDataFilterSensitiveLog: (
604
425
  obj: StatementData
605
426
  ) => any;
606
-
607
427
  export declare const ListStatementsResponseFilterSensitiveLog: (
608
428
  obj: ListStatementsResponse
609
429
  ) => any;
610
-
611
430
  export declare const ListTablesRequestFilterSensitiveLog: (
612
431
  obj: ListTablesRequest
613
432
  ) => any;
614
-
615
433
  export declare const TableMemberFilterSensitiveLog: (obj: TableMember) => any;
616
-
617
434
  export declare const ListTablesResponseFilterSensitiveLog: (
618
435
  obj: ListTablesResponse
619
436
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -1,5 +1,4 @@
1
1
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { RedshiftDataClientConfig } from "./RedshiftDataClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: RedshiftDataClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.171.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"