@aws-sdk/client-redshift-data 3.763.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +23 -30
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  ActiveSessionsExceededException: () => ActiveSessionsExceededException,
25
25
  ActiveStatementsExceededException: () => ActiveStatementsExceededException,
26
26
  BatchExecuteStatementCommand: () => BatchExecuteStatementCommand,
@@ -58,7 +58,7 @@ __export(src_exports, {
58
58
  paginateListStatements: () => paginateListStatements,
59
59
  paginateListTables: () => paginateListTables
60
60
  });
61
- module.exports = __toCommonJS(src_exports);
61
+ module.exports = __toCommonJS(index_exports);
62
62
 
63
63
  // src/RedshiftDataClient.ts
64
64
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -185,9 +185,9 @@ var RedshiftDataClient = class extends import_smithy_client.Client {
185
185
  this.middlewareStack.use(
186
186
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
187
187
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRedshiftDataHttpAuthSchemeParametersProvider,
188
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
188
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
189
189
  "aws.auth#sigv4": config.credentials
190
- })
190
+ }), "identityProviderConfigProvider")
191
191
  })
192
192
  );
193
193
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -470,26 +470,19 @@ var ExecuteStatementException = class _ExecuteStatementException extends Redshif
470
470
  var Field;
471
471
  ((Field3) => {
472
472
  Field3.visit = /* @__PURE__ */ __name((value, visitor) => {
473
- if (value.isNull !== void 0)
474
- return visitor.isNull(value.isNull);
475
- if (value.booleanValue !== void 0)
476
- return visitor.booleanValue(value.booleanValue);
477
- if (value.longValue !== void 0)
478
- return visitor.longValue(value.longValue);
479
- if (value.doubleValue !== void 0)
480
- return visitor.doubleValue(value.doubleValue);
481
- if (value.stringValue !== void 0)
482
- return visitor.stringValue(value.stringValue);
483
- if (value.blobValue !== void 0)
484
- return visitor.blobValue(value.blobValue);
473
+ if (value.isNull !== void 0) return visitor.isNull(value.isNull);
474
+ if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue);
475
+ if (value.longValue !== void 0) return visitor.longValue(value.longValue);
476
+ if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
477
+ if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
478
+ if (value.blobValue !== void 0) return visitor.blobValue(value.blobValue);
485
479
  return visitor._(value.$unknown[0], value.$unknown[1]);
486
480
  }, "visit");
487
481
  })(Field || (Field = {}));
488
482
  var QueryRecords;
489
483
  ((QueryRecords2) => {
490
484
  QueryRecords2.visit = /* @__PURE__ */ __name((value, visitor) => {
491
- if (value.CSVRecords !== void 0)
492
- return visitor.CSVRecords(value.CSVRecords);
485
+ if (value.CSVRecords !== void 0) return visitor.CSVRecords(value.CSVRecords);
493
486
  return visitor._(value.$unknown[0], value.$unknown[1]);
494
487
  }, "visit");
495
488
  })(QueryRecords || (QueryRecords = {}));
@@ -864,7 +857,7 @@ var se_ExecuteStatementInput = /* @__PURE__ */ __name((input, context) => {
864
857
  var de_BatchExecuteStatementOutput = /* @__PURE__ */ __name((output, context) => {
865
858
  return (0, import_smithy_client.take)(output, {
866
859
  ClusterIdentifier: import_smithy_client.expectString,
867
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
860
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
868
861
  Database: import_smithy_client.expectString,
869
862
  DbGroups: import_smithy_client._json,
870
863
  DbUser: import_smithy_client.expectString,
@@ -877,7 +870,7 @@ var de_BatchExecuteStatementOutput = /* @__PURE__ */ __name((output, context) =>
877
870
  var de_DescribeStatementResponse = /* @__PURE__ */ __name((output, context) => {
878
871
  return (0, import_smithy_client.take)(output, {
879
872
  ClusterIdentifier: import_smithy_client.expectString,
880
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
873
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
881
874
  Database: import_smithy_client.expectString,
882
875
  DbUser: import_smithy_client.expectString,
883
876
  Duration: import_smithy_client.expectLong,
@@ -894,15 +887,15 @@ var de_DescribeStatementResponse = /* @__PURE__ */ __name((output, context) => {
894
887
  SecretArn: import_smithy_client.expectString,
895
888
  SessionId: import_smithy_client.expectString,
896
889
  Status: import_smithy_client.expectString,
897
- SubStatements: (_) => de_SubStatementList(_, context),
898
- UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
890
+ SubStatements: /* @__PURE__ */ __name((_) => de_SubStatementList(_, context), "SubStatements"),
891
+ UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt"),
899
892
  WorkgroupName: import_smithy_client.expectString
900
893
  });
901
894
  }, "de_DescribeStatementResponse");
902
895
  var de_ExecuteStatementOutput = /* @__PURE__ */ __name((output, context) => {
903
896
  return (0, import_smithy_client.take)(output, {
904
897
  ClusterIdentifier: import_smithy_client.expectString,
905
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
898
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
906
899
  Database: import_smithy_client.expectString,
907
900
  DbGroups: import_smithy_client._json,
908
901
  DbUser: import_smithy_client.expectString,
@@ -945,14 +938,14 @@ var de_GetStatementResultResponse = /* @__PURE__ */ __name((output, context) =>
945
938
  return (0, import_smithy_client.take)(output, {
946
939
  ColumnMetadata: import_smithy_client._json,
947
940
  NextToken: import_smithy_client.expectString,
948
- Records: (_) => de_SqlRecords(_, context),
941
+ Records: /* @__PURE__ */ __name((_) => de_SqlRecords(_, context), "Records"),
949
942
  TotalNumRows: import_smithy_client.expectLong
950
943
  });
951
944
  }, "de_GetStatementResultResponse");
952
945
  var de_ListStatementsResponse = /* @__PURE__ */ __name((output, context) => {
953
946
  return (0, import_smithy_client.take)(output, {
954
947
  NextToken: import_smithy_client.expectString,
955
- Statements: (_) => de_StatementList(_, context)
948
+ Statements: /* @__PURE__ */ __name((_) => de_StatementList(_, context), "Statements")
956
949
  });
957
950
  }, "de_ListStatementsResponse");
958
951
  var de_SqlRecords = /* @__PURE__ */ __name((output, context) => {
@@ -963,7 +956,7 @@ var de_SqlRecords = /* @__PURE__ */ __name((output, context) => {
963
956
  }, "de_SqlRecords");
964
957
  var de_StatementData = /* @__PURE__ */ __name((output, context) => {
965
958
  return (0, import_smithy_client.take)(output, {
966
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
959
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
967
960
  Id: import_smithy_client.expectString,
968
961
  IsBatchStatement: import_smithy_client.expectBoolean,
969
962
  QueryParameters: import_smithy_client._json,
@@ -974,7 +967,7 @@ var de_StatementData = /* @__PURE__ */ __name((output, context) => {
974
967
  SessionId: import_smithy_client.expectString,
975
968
  StatementName: import_smithy_client.expectString,
976
969
  Status: import_smithy_client.expectString,
977
- UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
970
+ UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
978
971
  });
979
972
  }, "de_StatementData");
980
973
  var de_StatementList = /* @__PURE__ */ __name((output, context) => {
@@ -985,7 +978,7 @@ var de_StatementList = /* @__PURE__ */ __name((output, context) => {
985
978
  }, "de_StatementList");
986
979
  var de_SubStatementData = /* @__PURE__ */ __name((output, context) => {
987
980
  return (0, import_smithy_client.take)(output, {
988
- CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
981
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
989
982
  Duration: import_smithy_client.expectLong,
990
983
  Error: import_smithy_client.expectString,
991
984
  HasResultSet: import_smithy_client.expectBoolean,
@@ -995,7 +988,7 @@ var de_SubStatementData = /* @__PURE__ */ __name((output, context) => {
995
988
  ResultRows: import_smithy_client.expectLong,
996
989
  ResultSize: import_smithy_client.expectLong,
997
990
  Status: import_smithy_client.expectString,
998
- UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
991
+ UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
999
992
  });
1000
993
  }, "de_SubStatementData");
1001
994
  var de_SubStatementList = /* @__PURE__ */ __name((output, context) => {
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.763.0",
4
+ "version": "3.772.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
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",