@aws-sdk/client-rds-data 3.430.0 → 3.431.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_RollbackTransactionCommand = exports.de_ExecuteStatementCommand = exports.de_ExecuteSqlCommand = exports.de_CommitTransactionCommand = exports.de_BeginTransactionCommand = exports.de_BatchExecuteStatementCommand = exports.se_RollbackTransactionCommand = exports.se_ExecuteStatementCommand = exports.se_ExecuteSqlCommand = exports.se_CommitTransactionCommand = exports.se_BeginTransactionCommand = exports.se_BatchExecuteStatementCommand = void 0;
4
+ const core_1 = require("@aws-sdk/core");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -609,7 +610,7 @@ const de_ArrayOfArray = (output, context) => {
609
610
  const retVal = (output || [])
610
611
  .filter((e) => e != null)
611
612
  .map((entry) => {
612
- return de_ArrayValue((0, smithy_client_1.expectUnion)(entry), context);
613
+ return de_ArrayValue((0, core_1.awsExpectUnion)(entry), context);
613
614
  });
614
615
  return retVal;
615
616
  };
@@ -645,7 +646,7 @@ const de_ArrayValueList = (output, context) => {
645
646
  const retVal = (output || [])
646
647
  .filter((e) => e != null)
647
648
  .map((entry) => {
648
- return de_Value((0, smithy_client_1.expectUnion)(entry), context);
649
+ return de_Value((0, core_1.awsExpectUnion)(entry), context);
649
650
  });
650
651
  return retVal;
651
652
  };
@@ -660,7 +661,7 @@ const de_DoubleArray = (output, context) => {
660
661
  const de_Field = (output, context) => {
661
662
  if (output.arrayValue != null) {
662
663
  return {
663
- arrayValue: de_ArrayValue((0, smithy_client_1.expectUnion)(output.arrayValue), context),
664
+ arrayValue: de_ArrayValue((0, core_1.awsExpectUnion)(output.arrayValue), context),
664
665
  };
665
666
  }
666
667
  if (output.blobValue != null) {
@@ -689,7 +690,7 @@ const de_FieldList = (output, context) => {
689
690
  const retVal = (output || [])
690
691
  .filter((e) => e != null)
691
692
  .map((entry) => {
692
- return de_Field((0, smithy_client_1.expectUnion)(entry), context);
693
+ return de_Field((0, core_1.awsExpectUnion)(entry), context);
693
694
  });
694
695
  return retVal;
695
696
  };
@@ -716,7 +717,7 @@ const de_Row = (output, context) => {
716
717
  const retVal = (output || [])
717
718
  .filter((e) => e != null)
718
719
  .map((entry) => {
719
- return de_Value((0, smithy_client_1.expectUnion)(entry), context);
720
+ return de_Value((0, core_1.awsExpectUnion)(entry), context);
720
721
  });
721
722
  return retVal;
722
723
  };
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { AccessDeniedException, ArrayValue, BadRequestException, Field, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableError, StatementTimeoutException, } from "../models/models_0";
4
5
  import { RDSDataServiceException as __BaseException } from "../models/RDSDataServiceException";
5
6
  export const se_BatchExecuteStatementCommand = async (input, 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.430.0",
4
+ "version": "3.431.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",
@@ -21,9 +21,10 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.431.0",
25
+ "@aws-sdk/core": "3.431.0",
26
+ "@aws-sdk/credential-provider-node": "3.431.0",
27
+ "@aws-sdk/middleware-host-header": "3.431.0",
27
28
  "@aws-sdk/middleware-logger": "3.428.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
30
  "@aws-sdk/middleware-signing": "3.428.0",