@aws-sdk/client-redshift-data 3.929.0 → 3.930.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-cjs/index.js CHANGED
@@ -270,32 +270,6 @@ let ExecuteStatementException$1 = class ExecuteStatementException extends Redshi
270
270
  this.StatementId = opts.StatementId;
271
271
  }
272
272
  };
273
- exports.Field = void 0;
274
- (function (Field) {
275
- Field.visit = (value, visitor) => {
276
- if (value.isNull !== undefined)
277
- return visitor.isNull(value.isNull);
278
- if (value.booleanValue !== undefined)
279
- return visitor.booleanValue(value.booleanValue);
280
- if (value.longValue !== undefined)
281
- return visitor.longValue(value.longValue);
282
- if (value.doubleValue !== undefined)
283
- return visitor.doubleValue(value.doubleValue);
284
- if (value.stringValue !== undefined)
285
- return visitor.stringValue(value.stringValue);
286
- if (value.blobValue !== undefined)
287
- return visitor.blobValue(value.blobValue);
288
- return visitor._(value.$unknown[0], value.$unknown[1]);
289
- };
290
- })(exports.Field || (exports.Field = {}));
291
- exports.QueryRecords = void 0;
292
- (function (QueryRecords) {
293
- QueryRecords.visit = (value, visitor) => {
294
- if (value.CSVRecords !== undefined)
295
- return visitor.CSVRecords(value.CSVRecords);
296
- return visitor._(value.$unknown[0], value.$unknown[1]);
297
- };
298
- })(exports.QueryRecords || (exports.QueryRecords = {}));
299
273
 
300
274
  const _ASEE = "ActiveSessionsExceededException";
301
275
  const _ASEEc = "ActiveStatementsExceededException";
@@ -152,29 +152,3 @@ export class ExecuteStatementException extends __BaseException {
152
152
  this.StatementId = opts.StatementId;
153
153
  }
154
154
  }
155
- export var Field;
156
- (function (Field) {
157
- Field.visit = (value, visitor) => {
158
- if (value.isNull !== undefined)
159
- return visitor.isNull(value.isNull);
160
- if (value.booleanValue !== undefined)
161
- return visitor.booleanValue(value.booleanValue);
162
- if (value.longValue !== undefined)
163
- return visitor.longValue(value.longValue);
164
- if (value.doubleValue !== undefined)
165
- return visitor.doubleValue(value.doubleValue);
166
- if (value.stringValue !== undefined)
167
- return visitor.stringValue(value.stringValue);
168
- if (value.blobValue !== undefined)
169
- return visitor.blobValue(value.blobValue);
170
- return visitor._(value.$unknown[0], value.$unknown[1]);
171
- };
172
- })(Field || (Field = {}));
173
- export var QueryRecords;
174
- (function (QueryRecords) {
175
- QueryRecords.visit = (value, visitor) => {
176
- if (value.CSVRecords !== undefined)
177
- return visitor.CSVRecords(value.CSVRecords);
178
- return visitor._(value.$unknown[0], value.$unknown[1]);
179
- };
180
- })(QueryRecords || (QueryRecords = {}));
@@ -939,6 +939,10 @@ export declare namespace Field {
939
939
  blobValue?: never;
940
940
  $unknown: [string, any];
941
941
  }
942
+ /**
943
+ * @deprecated unused in schema-serde mode.
944
+ *
945
+ */
942
946
  interface Visitor<T> {
943
947
  isNull: (value: boolean) => T;
944
948
  booleanValue: (value: boolean) => T;
@@ -948,7 +952,6 @@ export declare namespace Field {
948
952
  blobValue: (value: Uint8Array) => T;
949
953
  _: (name: string, value: any) => T;
950
954
  }
951
- const visit: <T>(value: Field, visitor: Visitor<T>) => T;
952
955
  }
953
956
  /**
954
957
  * <p>The results of the SQL statement.</p>
@@ -974,11 +977,14 @@ export declare namespace QueryRecords {
974
977
  CSVRecords?: never;
975
978
  $unknown: [string, any];
976
979
  }
980
+ /**
981
+ * @deprecated unused in schema-serde mode.
982
+ *
983
+ */
977
984
  interface Visitor<T> {
978
985
  CSVRecords: (value: string) => T;
979
986
  _: (name: string, value: any) => T;
980
987
  }
981
- const visit: <T>(value: QueryRecords, visitor: Visitor<T>) => T;
982
988
  }
983
989
  /**
984
990
  * @public
@@ -320,7 +320,6 @@ export declare namespace Field {
320
320
  blobValue: (value: Uint8Array) => T;
321
321
  _: (name: string, value: any) => T;
322
322
  }
323
- const visit: <T>(value: Field, visitor: Visitor<T>) => T;
324
323
  }
325
324
  export type QueryRecords =
326
325
  | QueryRecords.CSVRecordsMember
@@ -338,7 +337,6 @@ export declare namespace QueryRecords {
338
337
  CSVRecords: (value: string) => T;
339
338
  _: (name: string, value: any) => T;
340
339
  }
341
- const visit: <T>(value: QueryRecords, visitor: Visitor<T>) => T;
342
340
  }
343
341
  export interface GetStatementResultRequest {
344
342
  Id: string | 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.929.0",
4
+ "version": "3.930.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,41 +20,41 @@
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.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },