@aws-sdk/client-dynamodb-streams 3.758.0 → 3.774.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 -33
  2. package/package.json +7 -7
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
  AttributeValue: () => AttributeValue,
25
25
  DescribeStreamCommand: () => DescribeStreamCommand,
26
26
  DynamoDBStreams: () => DynamoDBStreams,
@@ -41,7 +41,7 @@ __export(src_exports, {
41
41
  TrimmedDataAccessException: () => TrimmedDataAccessException,
42
42
  __Client: () => import_smithy_client.Client
43
43
  });
44
- module.exports = __toCommonJS(src_exports);
44
+ module.exports = __toCommonJS(index_exports);
45
45
 
46
46
  // src/DynamoDBStreamsClient.ts
47
47
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -168,9 +168,9 @@ var DynamoDBStreamsClient = class extends import_smithy_client.Client {
168
168
  this.middlewareStack.use(
169
169
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
170
170
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultDynamoDBStreamsHttpAuthSchemeParametersProvider,
171
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
171
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
172
172
  "aws.auth#sigv4": config.credentials
173
- })
173
+ }), "identityProviderConfigProvider")
174
174
  })
175
175
  );
176
176
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -334,26 +334,16 @@ var ShardIteratorType = {
334
334
  var AttributeValue;
335
335
  ((AttributeValue3) => {
336
336
  AttributeValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
337
- if (value.S !== void 0)
338
- return visitor.S(value.S);
339
- if (value.N !== void 0)
340
- return visitor.N(value.N);
341
- if (value.B !== void 0)
342
- return visitor.B(value.B);
343
- if (value.SS !== void 0)
344
- return visitor.SS(value.SS);
345
- if (value.NS !== void 0)
346
- return visitor.NS(value.NS);
347
- if (value.BS !== void 0)
348
- return visitor.BS(value.BS);
349
- if (value.M !== void 0)
350
- return visitor.M(value.M);
351
- if (value.L !== void 0)
352
- return visitor.L(value.L);
353
- if (value.NULL !== void 0)
354
- return visitor.NULL(value.NULL);
355
- if (value.BOOL !== void 0)
356
- return visitor.BOOL(value.BOOL);
337
+ if (value.S !== void 0) return visitor.S(value.S);
338
+ if (value.N !== void 0) return visitor.N(value.N);
339
+ if (value.B !== void 0) return visitor.B(value.B);
340
+ if (value.SS !== void 0) return visitor.SS(value.SS);
341
+ if (value.NS !== void 0) return visitor.NS(value.NS);
342
+ if (value.BS !== void 0) return visitor.BS(value.BS);
343
+ if (value.M !== void 0) return visitor.M(value.M);
344
+ if (value.L !== void 0) return visitor.L(value.L);
345
+ if (value.NULL !== void 0) return visitor.NULL(value.NULL);
346
+ if (value.BOOL !== void 0) return visitor.BOOL(value.BOOL);
357
347
  return visitor._(value.$unknown[0], value.$unknown[1]);
358
348
  }, "visit");
359
349
  })(AttributeValue || (AttributeValue = {}));
@@ -573,13 +563,13 @@ var de_BinarySetAttributeValue = /* @__PURE__ */ __name((output, context) => {
573
563
  }, "de_BinarySetAttributeValue");
574
564
  var de_DescribeStreamOutput = /* @__PURE__ */ __name((output, context) => {
575
565
  return (0, import_smithy_client.take)(output, {
576
- StreamDescription: (_) => de_StreamDescription(_, context)
566
+ StreamDescription: /* @__PURE__ */ __name((_) => de_StreamDescription(_, context), "StreamDescription")
577
567
  });
578
568
  }, "de_DescribeStreamOutput");
579
569
  var de_GetRecordsOutput = /* @__PURE__ */ __name((output, context) => {
580
570
  return (0, import_smithy_client.take)(output, {
581
571
  NextShardIterator: import_smithy_client.expectString,
582
- Records: (_) => de_RecordList(_, context)
572
+ Records: /* @__PURE__ */ __name((_) => de_RecordList(_, context), "Records")
583
573
  });
584
574
  }, "de_GetRecordsOutput");
585
575
  var de_ListAttributeValue = /* @__PURE__ */ __name((output, context) => {
@@ -600,7 +590,7 @@ var de_MapAttributeValue = /* @__PURE__ */ __name((output, context) => {
600
590
  var de__Record = /* @__PURE__ */ __name((output, context) => {
601
591
  return (0, import_smithy_client.take)(output, {
602
592
  awsRegion: import_smithy_client.expectString,
603
- dynamodb: (_) => de_StreamRecord(_, context),
593
+ dynamodb: /* @__PURE__ */ __name((_) => de_StreamRecord(_, context), "dynamodb"),
604
594
  eventID: import_smithy_client.expectString,
605
595
  eventName: import_smithy_client.expectString,
606
596
  eventSource: import_smithy_client.expectString,
@@ -616,7 +606,7 @@ var de_RecordList = /* @__PURE__ */ __name((output, context) => {
616
606
  }, "de_RecordList");
617
607
  var de_StreamDescription = /* @__PURE__ */ __name((output, context) => {
618
608
  return (0, import_smithy_client.take)(output, {
619
- CreationRequestDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
609
+ CreationRequestDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationRequestDateTime"),
620
610
  KeySchema: import_smithy_client._json,
621
611
  LastEvaluatedShardId: import_smithy_client.expectString,
622
612
  Shards: import_smithy_client._json,
@@ -629,10 +619,10 @@ var de_StreamDescription = /* @__PURE__ */ __name((output, context) => {
629
619
  }, "de_StreamDescription");
630
620
  var de_StreamRecord = /* @__PURE__ */ __name((output, context) => {
631
621
  return (0, import_smithy_client.take)(output, {
632
- ApproximateCreationDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
633
- Keys: (_) => de_AttributeMap(_, context),
634
- NewImage: (_) => de_AttributeMap(_, context),
635
- OldImage: (_) => de_AttributeMap(_, context),
622
+ ApproximateCreationDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ApproximateCreationDateTime"),
623
+ Keys: /* @__PURE__ */ __name((_) => de_AttributeMap(_, context), "Keys"),
624
+ NewImage: /* @__PURE__ */ __name((_) => de_AttributeMap(_, context), "NewImage"),
625
+ OldImage: /* @__PURE__ */ __name((_) => de_AttributeMap(_, context), "OldImage"),
636
626
  SequenceNumber: import_smithy_client.expectString,
637
627
  SizeBytes: import_smithy_client.expectLong,
638
628
  StreamViewType: import_smithy_client.expectString
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.758.0",
4
+ "version": "3.774.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-dynamodb-streams",
@@ -20,17 +20,17 @@
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.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
25
- "@aws-sdk/middleware-host-header": "3.734.0",
23
+ "@aws-sdk/core": "3.774.0",
24
+ "@aws-sdk/credential-provider-node": "3.774.0",
25
+ "@aws-sdk/middleware-host-header": "3.774.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.758.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.774.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.758.0",
33
+ "@aws-sdk/util-user-agent-node": "3.774.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
35
  "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",