@aws-sdk/client-dynamodb-streams 3.429.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_ListStreamsCommand = exports.de_GetShardIteratorCommand = exports.de_GetRecordsCommand = exports.de_DescribeStreamCommand = exports.se_ListStreamsCommand = exports.se_GetShardIteratorCommand = exports.se_GetRecordsCommand = exports.se_DescribeStreamCommand = 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 DynamoDBStreamsServiceException_1 = require("../models/DynamoDBStreamsServiceException");
@@ -239,7 +240,7 @@ const de_AttributeMap = (output, context) => {
239
240
  if (value === null) {
240
241
  return acc;
241
242
  }
242
- acc[key] = de_AttributeValue((0, smithy_client_1.expectUnion)(value), context);
243
+ acc[key] = de_AttributeValue((0, core_1.awsExpectUnion)(value), context);
243
244
  return acc;
244
245
  }, {});
245
246
  };
@@ -311,7 +312,7 @@ const de_ListAttributeValue = (output, context) => {
311
312
  const retVal = (output || [])
312
313
  .filter((e) => e != null)
313
314
  .map((entry) => {
314
- return de_AttributeValue((0, smithy_client_1.expectUnion)(entry), context);
315
+ return de_AttributeValue((0, core_1.awsExpectUnion)(entry), context);
315
316
  });
316
317
  return retVal;
317
318
  };
@@ -320,7 +321,7 @@ const de_MapAttributeValue = (output, context) => {
320
321
  if (value === null) {
321
322
  return acc;
322
323
  }
323
- acc[key] = de_AttributeValue((0, smithy_client_1.expectUnion)(value), context);
324
+ acc[key] = de_AttributeValue((0, core_1.awsExpectUnion)(value), context);
324
325
  return acc;
325
326
  }, {});
326
327
  };
@@ -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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { DynamoDBStreamsServiceException as __BaseException } from "../models/DynamoDBStreamsServiceException";
4
5
  import { ExpiredIteratorException, InternalServerError, LimitExceededException, ResourceNotFoundException, TrimmedDataAccessException, } from "../models/models_0";
5
6
  export const se_DescribeStreamCommand = async (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
4
- "version": "3.429.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,28 +21,29 @@
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.429.0",
25
- "@aws-sdk/credential-provider-node": "3.429.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",
30
31
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
33
  "@aws-sdk/types": "3.428.0",
33
34
  "@aws-sdk/util-endpoints": "3.428.0",
34
35
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
36
+ "@aws-sdk/util-user-agent-node": "3.430.0",
37
+ "@smithy/config-resolver": "^2.0.15",
37
38
  "@smithy/fetch-http-handler": "^2.2.3",
38
39
  "@smithy/hash-node": "^2.0.11",
39
40
  "@smithy/invalid-dependency": "^2.0.11",
40
41
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.1",
42
- "@smithy/middleware-retry": "^2.0.16",
42
+ "@smithy/middleware-endpoint": "^2.1.2",
43
+ "@smithy/middleware-retry": "^2.0.17",
43
44
  "@smithy/middleware-serde": "^2.0.11",
44
45
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-config-provider": "^2.1.2",
46
47
  "@smithy/node-http-handler": "^2.1.7",
47
48
  "@smithy/protocol-http": "^3.0.7",
48
49
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +53,7 @@
52
53
  "@smithy/util-body-length-browser": "^2.0.0",
53
54
  "@smithy/util-body-length-node": "^2.1.0",
54
55
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
57
  "@smithy/util-retry": "^2.0.4",
57
58
  "@smithy/util-utf8": "^2.0.0",
58
59
  "tslib": "^2.5.0"