@aws-sdk/client-rds-data 3.751.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 +54 -76
  2. package/package.json +13 -13
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
  AccessDeniedException: () => AccessDeniedException,
25
25
  ArrayValue: () => ArrayValue,
26
26
  BadRequestException: () => BadRequestException,
@@ -56,7 +56,7 @@ __export(src_exports, {
56
56
  Value: () => Value,
57
57
  __Client: () => import_smithy_client.Client
58
58
  });
59
- module.exports = __toCommonJS(src_exports);
59
+ module.exports = __toCommonJS(index_exports);
60
60
 
61
61
  // src/RDSDataClient.ts
62
62
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -183,9 +183,9 @@ var RDSDataClient = class extends import_smithy_client.Client {
183
183
  this.middlewareStack.use(
184
184
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
185
185
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRDSDataHttpAuthSchemeParametersProvider,
186
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
186
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
187
187
  "aws.auth#sigv4": config.credentials
188
- })
188
+ }), "identityProviderConfigProvider")
189
189
  })
190
190
  );
191
191
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -564,62 +564,40 @@ var UnsupportedResultException = class _UnsupportedResultException extends RDSDa
564
564
  var ArrayValue;
565
565
  ((ArrayValue2) => {
566
566
  ArrayValue2.visit = /* @__PURE__ */ __name((value, visitor) => {
567
- if (value.booleanValues !== void 0)
568
- return visitor.booleanValues(value.booleanValues);
569
- if (value.longValues !== void 0)
570
- return visitor.longValues(value.longValues);
571
- if (value.doubleValues !== void 0)
572
- return visitor.doubleValues(value.doubleValues);
573
- if (value.stringValues !== void 0)
574
- return visitor.stringValues(value.stringValues);
575
- if (value.arrayValues !== void 0)
576
- return visitor.arrayValues(value.arrayValues);
567
+ if (value.booleanValues !== void 0) return visitor.booleanValues(value.booleanValues);
568
+ if (value.longValues !== void 0) return visitor.longValues(value.longValues);
569
+ if (value.doubleValues !== void 0) return visitor.doubleValues(value.doubleValues);
570
+ if (value.stringValues !== void 0) return visitor.stringValues(value.stringValues);
571
+ if (value.arrayValues !== void 0) return visitor.arrayValues(value.arrayValues);
577
572
  return visitor._(value.$unknown[0], value.$unknown[1]);
578
573
  }, "visit");
579
574
  })(ArrayValue || (ArrayValue = {}));
580
575
  var Field;
581
576
  ((Field2) => {
582
577
  Field2.visit = /* @__PURE__ */ __name((value, visitor) => {
583
- if (value.isNull !== void 0)
584
- return visitor.isNull(value.isNull);
585
- if (value.booleanValue !== void 0)
586
- return visitor.booleanValue(value.booleanValue);
587
- if (value.longValue !== void 0)
588
- return visitor.longValue(value.longValue);
589
- if (value.doubleValue !== void 0)
590
- return visitor.doubleValue(value.doubleValue);
591
- if (value.stringValue !== void 0)
592
- return visitor.stringValue(value.stringValue);
593
- if (value.blobValue !== void 0)
594
- return visitor.blobValue(value.blobValue);
595
- if (value.arrayValue !== void 0)
596
- return visitor.arrayValue(value.arrayValue);
578
+ if (value.isNull !== void 0) return visitor.isNull(value.isNull);
579
+ if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue);
580
+ if (value.longValue !== void 0) return visitor.longValue(value.longValue);
581
+ if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
582
+ if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
583
+ if (value.blobValue !== void 0) return visitor.blobValue(value.blobValue);
584
+ if (value.arrayValue !== void 0) return visitor.arrayValue(value.arrayValue);
597
585
  return visitor._(value.$unknown[0], value.$unknown[1]);
598
586
  }, "visit");
599
587
  })(Field || (Field = {}));
600
588
  var Value;
601
589
  ((Value3) => {
602
590
  Value3.visit = /* @__PURE__ */ __name((value, visitor) => {
603
- if (value.isNull !== void 0)
604
- return visitor.isNull(value.isNull);
605
- if (value.bitValue !== void 0)
606
- return visitor.bitValue(value.bitValue);
607
- if (value.bigIntValue !== void 0)
608
- return visitor.bigIntValue(value.bigIntValue);
609
- if (value.intValue !== void 0)
610
- return visitor.intValue(value.intValue);
611
- if (value.doubleValue !== void 0)
612
- return visitor.doubleValue(value.doubleValue);
613
- if (value.realValue !== void 0)
614
- return visitor.realValue(value.realValue);
615
- if (value.stringValue !== void 0)
616
- return visitor.stringValue(value.stringValue);
617
- if (value.blobValue !== void 0)
618
- return visitor.blobValue(value.blobValue);
619
- if (value.arrayValues !== void 0)
620
- return visitor.arrayValues(value.arrayValues);
621
- if (value.structValue !== void 0)
622
- return visitor.structValue(value.structValue);
591
+ if (value.isNull !== void 0) return visitor.isNull(value.isNull);
592
+ if (value.bitValue !== void 0) return visitor.bitValue(value.bitValue);
593
+ if (value.bigIntValue !== void 0) return visitor.bigIntValue(value.bigIntValue);
594
+ if (value.intValue !== void 0) return visitor.intValue(value.intValue);
595
+ if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
596
+ if (value.realValue !== void 0) return visitor.realValue(value.realValue);
597
+ if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
598
+ if (value.blobValue !== void 0) return visitor.blobValue(value.blobValue);
599
+ if (value.arrayValues !== void 0) return visitor.arrayValues(value.arrayValues);
600
+ if (value.structValue !== void 0) return visitor.structValue(value.structValue);
623
601
  return visitor._(value.$unknown[0], value.$unknown[1]);
624
602
  }, "visit");
625
603
  })(Value || (Value = {}));
@@ -635,7 +613,7 @@ var se_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (input, conte
635
613
  body = JSON.stringify(
636
614
  (0, import_smithy_client.take)(input, {
637
615
  database: [],
638
- parameterSets: (_) => se_SqlParameterSets(_, context),
616
+ parameterSets: /* @__PURE__ */ __name((_) => se_SqlParameterSets(_, context), "parameterSets"),
639
617
  resourceArn: [],
640
618
  schema: [],
641
619
  secretArn: [],
@@ -713,9 +691,9 @@ var se_ExecuteStatementCommand = /* @__PURE__ */ __name(async (input, context) =
713
691
  database: [],
714
692
  formatRecordsAs: [],
715
693
  includeResultMetadata: [],
716
- parameters: (_) => se_SqlParametersList(_, context),
694
+ parameters: /* @__PURE__ */ __name((_) => se_SqlParametersList(_, context), "parameters"),
717
695
  resourceArn: [],
718
- resultSetOptions: (_) => (0, import_smithy_client._json)(_),
696
+ resultSetOptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resultSetOptions"),
719
697
  schema: [],
720
698
  secretArn: [],
721
699
  sql: [],
@@ -751,7 +729,7 @@ var de_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (output, cont
751
729
  });
752
730
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
753
731
  const doc = (0, import_smithy_client.take)(data, {
754
- updateResults: (_) => de_UpdateResults(_, context)
732
+ updateResults: /* @__PURE__ */ __name((_) => de_UpdateResults(_, context), "updateResults")
755
733
  });
756
734
  Object.assign(contents, doc);
757
735
  return contents;
@@ -793,7 +771,7 @@ var de_ExecuteSqlCommand = /* @__PURE__ */ __name(async (output, context) => {
793
771
  });
794
772
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
795
773
  const doc = (0, import_smithy_client.take)(data, {
796
- sqlStatementResults: (_) => de_SqlStatementResults(_, context)
774
+ sqlStatementResults: /* @__PURE__ */ __name((_) => de_SqlStatementResults(_, context), "sqlStatementResults")
797
775
  });
798
776
  Object.assign(contents, doc);
799
777
  return contents;
@@ -809,9 +787,9 @@ var de_ExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context)
809
787
  const doc = (0, import_smithy_client.take)(data, {
810
788
  columnMetadata: import_smithy_client._json,
811
789
  formattedRecords: import_smithy_client.expectString,
812
- generatedFields: (_) => de_FieldList(_, context),
790
+ generatedFields: /* @__PURE__ */ __name((_) => de_FieldList(_, context), "generatedFields"),
813
791
  numberOfRecordsUpdated: import_smithy_client.expectLong,
814
- records: (_) => de_SqlRecords(_, context)
792
+ records: /* @__PURE__ */ __name((_) => de_SqlRecords(_, context), "records")
815
793
  });
816
794
  Object.assign(contents, doc);
817
795
  return contents;
@@ -1121,12 +1099,12 @@ var se_ArrayOfArray = /* @__PURE__ */ __name((input, context) => {
1121
1099
  }, "se_ArrayOfArray");
1122
1100
  var se_ArrayValue = /* @__PURE__ */ __name((input, context) => {
1123
1101
  return ArrayValue.visit(input, {
1124
- arrayValues: (value) => ({ arrayValues: se_ArrayOfArray(value, context) }),
1125
- booleanValues: (value) => ({ booleanValues: (0, import_smithy_client._json)(value) }),
1126
- doubleValues: (value) => ({ doubleValues: se_DoubleArray(value, context) }),
1127
- longValues: (value) => ({ longValues: (0, import_smithy_client._json)(value) }),
1128
- stringValues: (value) => ({ stringValues: (0, import_smithy_client._json)(value) }),
1129
- _: (name, value) => ({ [name]: value })
1102
+ arrayValues: /* @__PURE__ */ __name((value) => ({ arrayValues: se_ArrayOfArray(value, context) }), "arrayValues"),
1103
+ booleanValues: /* @__PURE__ */ __name((value) => ({ booleanValues: (0, import_smithy_client._json)(value) }), "booleanValues"),
1104
+ doubleValues: /* @__PURE__ */ __name((value) => ({ doubleValues: se_DoubleArray(value, context) }), "doubleValues"),
1105
+ longValues: /* @__PURE__ */ __name((value) => ({ longValues: (0, import_smithy_client._json)(value) }), "longValues"),
1106
+ stringValues: /* @__PURE__ */ __name((value) => ({ stringValues: (0, import_smithy_client._json)(value) }), "stringValues"),
1107
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1130
1108
  });
1131
1109
  }, "se_ArrayValue");
1132
1110
  var se_DoubleArray = /* @__PURE__ */ __name((input, context) => {
@@ -1136,21 +1114,21 @@ var se_DoubleArray = /* @__PURE__ */ __name((input, context) => {
1136
1114
  }, "se_DoubleArray");
1137
1115
  var se_Field = /* @__PURE__ */ __name((input, context) => {
1138
1116
  return Field.visit(input, {
1139
- arrayValue: (value) => ({ arrayValue: se_ArrayValue(value, context) }),
1140
- blobValue: (value) => ({ blobValue: context.base64Encoder(value) }),
1141
- booleanValue: (value) => ({ booleanValue: value }),
1142
- doubleValue: (value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }),
1143
- isNull: (value) => ({ isNull: value }),
1144
- longValue: (value) => ({ longValue: value }),
1145
- stringValue: (value) => ({ stringValue: value }),
1146
- _: (name, value) => ({ [name]: value })
1117
+ arrayValue: /* @__PURE__ */ __name((value) => ({ arrayValue: se_ArrayValue(value, context) }), "arrayValue"),
1118
+ blobValue: /* @__PURE__ */ __name((value) => ({ blobValue: context.base64Encoder(value) }), "blobValue"),
1119
+ booleanValue: /* @__PURE__ */ __name((value) => ({ booleanValue: value }), "booleanValue"),
1120
+ doubleValue: /* @__PURE__ */ __name((value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }), "doubleValue"),
1121
+ isNull: /* @__PURE__ */ __name((value) => ({ isNull: value }), "isNull"),
1122
+ longValue: /* @__PURE__ */ __name((value) => ({ longValue: value }), "longValue"),
1123
+ stringValue: /* @__PURE__ */ __name((value) => ({ stringValue: value }), "stringValue"),
1124
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1147
1125
  });
1148
1126
  }, "se_Field");
1149
1127
  var se_SqlParameter = /* @__PURE__ */ __name((input, context) => {
1150
1128
  return (0, import_smithy_client.take)(input, {
1151
1129
  name: [],
1152
1130
  typeHint: [],
1153
- value: (_) => se_Field(_, context)
1131
+ value: /* @__PURE__ */ __name((_) => se_Field(_, context), "value")
1154
1132
  });
1155
1133
  }, "se_SqlParameter");
1156
1134
  var se_SqlParameterSets = /* @__PURE__ */ __name((input, context) => {
@@ -1245,7 +1223,7 @@ var de_FieldList = /* @__PURE__ */ __name((output, context) => {
1245
1223
  }, "de_FieldList");
1246
1224
  var de__Record = /* @__PURE__ */ __name((output, context) => {
1247
1225
  return (0, import_smithy_client.take)(output, {
1248
- values: (_) => de_Row(_, context)
1226
+ values: /* @__PURE__ */ __name((_) => de_Row(_, context), "values")
1249
1227
  });
1250
1228
  }, "de__Record");
1251
1229
  var de_Records = /* @__PURE__ */ __name((output, context) => {
@@ -1256,7 +1234,7 @@ var de_Records = /* @__PURE__ */ __name((output, context) => {
1256
1234
  }, "de_Records");
1257
1235
  var de_ResultFrame = /* @__PURE__ */ __name((output, context) => {
1258
1236
  return (0, import_smithy_client.take)(output, {
1259
- records: (_) => de_Records(_, context),
1237
+ records: /* @__PURE__ */ __name((_) => de_Records(_, context), "records"),
1260
1238
  resultSetMetadata: import_smithy_client._json
1261
1239
  });
1262
1240
  }, "de_ResultFrame");
@@ -1275,7 +1253,7 @@ var de_SqlRecords = /* @__PURE__ */ __name((output, context) => {
1275
1253
  var de_SqlStatementResult = /* @__PURE__ */ __name((output, context) => {
1276
1254
  return (0, import_smithy_client.take)(output, {
1277
1255
  numberOfRecordsUpdated: import_smithy_client.expectLong,
1278
- resultFrame: (_) => de_ResultFrame(_, context)
1256
+ resultFrame: /* @__PURE__ */ __name((_) => de_ResultFrame(_, context), "resultFrame")
1279
1257
  });
1280
1258
  }, "de_SqlStatementResult");
1281
1259
  var de_SqlStatementResults = /* @__PURE__ */ __name((output, context) => {
@@ -1286,12 +1264,12 @@ var de_SqlStatementResults = /* @__PURE__ */ __name((output, context) => {
1286
1264
  }, "de_SqlStatementResults");
1287
1265
  var de_StructValue = /* @__PURE__ */ __name((output, context) => {
1288
1266
  return (0, import_smithy_client.take)(output, {
1289
- attributes: (_) => de_ArrayValueList(_, context)
1267
+ attributes: /* @__PURE__ */ __name((_) => de_ArrayValueList(_, context), "attributes")
1290
1268
  });
1291
1269
  }, "de_StructValue");
1292
1270
  var de_UpdateResult = /* @__PURE__ */ __name((output, context) => {
1293
1271
  return (0, import_smithy_client.take)(output, {
1294
- generatedFields: (_) => de_FieldList(_, context)
1272
+ generatedFields: /* @__PURE__ */ __name((_) => de_FieldList(_, context), "generatedFields")
1295
1273
  });
1296
1274
  }, "de_UpdateResult");
1297
1275
  var de_UpdateResults = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds-data",
3
3
  "description": "AWS SDK for JavaScript Rds Data Client for Node.js, Browser and React Native",
4
- "version": "3.751.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-rds-data",
@@ -20,38 +20,38 @@
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.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "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",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
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",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",