@aws-sdk/client-dynamodb 3.585.0 → 3.587.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.
package/dist-cjs/index.js CHANGED
@@ -2725,7 +2725,7 @@ var se_ExportTableToPointInTimeInput = /* @__PURE__ */ __name((input, context) =
2725
2725
  return (0, import_smithy_client.take)(input, {
2726
2726
  ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
2727
2727
  ExportFormat: [],
2728
- ExportTime: (_) => Math.round(_.getTime() / 1e3),
2728
+ ExportTime: (_) => _.getTime() / 1e3,
2729
2729
  ExportType: [],
2730
2730
  IncrementalExportSpecification: (_) => se_IncrementalExportSpecification(_, context),
2731
2731
  S3Bucket: [],
@@ -2808,8 +2808,8 @@ var se_ImportTableInput = /* @__PURE__ */ __name((input, context) => {
2808
2808
  }, "se_ImportTableInput");
2809
2809
  var se_IncrementalExportSpecification = /* @__PURE__ */ __name((input, context) => {
2810
2810
  return (0, import_smithy_client.take)(input, {
2811
- ExportFromTime: (_) => Math.round(_.getTime() / 1e3),
2812
- ExportToTime: (_) => Math.round(_.getTime() / 1e3),
2811
+ ExportFromTime: (_) => _.getTime() / 1e3,
2812
+ ExportToTime: (_) => _.getTime() / 1e3,
2813
2813
  ExportViewType: []
2814
2814
  });
2815
2815
  }, "se_IncrementalExportSpecification");
@@ -2856,8 +2856,8 @@ var se_ListBackupsInput = /* @__PURE__ */ __name((input, context) => {
2856
2856
  ExclusiveStartBackupArn: [],
2857
2857
  Limit: [],
2858
2858
  TableName: [],
2859
- TimeRangeLowerBound: (_) => Math.round(_.getTime() / 1e3),
2860
- TimeRangeUpperBound: (_) => Math.round(_.getTime() / 1e3)
2859
+ TimeRangeLowerBound: (_) => _.getTime() / 1e3,
2860
+ TimeRangeUpperBound: (_) => _.getTime() / 1e3
2861
2861
  });
2862
2862
  }, "se_ListBackupsInput");
2863
2863
  var se_MapAttributeValue = /* @__PURE__ */ __name((input, context) => {
@@ -3007,7 +3007,7 @@ var se_RestoreTableToPointInTimeInput = /* @__PURE__ */ __name((input, context)
3007
3007
  LocalSecondaryIndexOverride: import_smithy_client._json,
3008
3008
  OnDemandThroughputOverride: import_smithy_client._json,
3009
3009
  ProvisionedThroughputOverride: import_smithy_client._json,
3010
- RestoreDateTime: (_) => Math.round(_.getTime() / 1e3),
3010
+ RestoreDateTime: (_) => _.getTime() / 1e3,
3011
3011
  SSESpecificationOverride: import_smithy_client._json,
3012
3012
  SourceTableArn: [],
3013
3013
  SourceTableName: [],
@@ -1690,7 +1690,7 @@ const se_ExportTableToPointInTimeInput = (input, context) => {
1690
1690
  return take(input, {
1691
1691
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1692
1692
  ExportFormat: [],
1693
- ExportTime: (_) => Math.round(_.getTime() / 1000),
1693
+ ExportTime: (_) => _.getTime() / 1000,
1694
1694
  ExportType: [],
1695
1695
  IncrementalExportSpecification: (_) => se_IncrementalExportSpecification(_, context),
1696
1696
  S3Bucket: [],
@@ -1777,8 +1777,8 @@ const se_ImportTableInput = (input, context) => {
1777
1777
  };
1778
1778
  const se_IncrementalExportSpecification = (input, context) => {
1779
1779
  return take(input, {
1780
- ExportFromTime: (_) => Math.round(_.getTime() / 1000),
1781
- ExportToTime: (_) => Math.round(_.getTime() / 1000),
1780
+ ExportFromTime: (_) => _.getTime() / 1000,
1781
+ ExportToTime: (_) => _.getTime() / 1000,
1782
1782
  ExportViewType: [],
1783
1783
  });
1784
1784
  };
@@ -1829,8 +1829,8 @@ const se_ListBackupsInput = (input, context) => {
1829
1829
  ExclusiveStartBackupArn: [],
1830
1830
  Limit: [],
1831
1831
  TableName: [],
1832
- TimeRangeLowerBound: (_) => Math.round(_.getTime() / 1000),
1833
- TimeRangeUpperBound: (_) => Math.round(_.getTime() / 1000),
1832
+ TimeRangeLowerBound: (_) => _.getTime() / 1000,
1833
+ TimeRangeUpperBound: (_) => _.getTime() / 1000,
1834
1834
  });
1835
1835
  };
1836
1836
  const se_MapAttributeValue = (input, context) => {
@@ -1994,7 +1994,7 @@ const se_RestoreTableToPointInTimeInput = (input, context) => {
1994
1994
  LocalSecondaryIndexOverride: _json,
1995
1995
  OnDemandThroughputOverride: _json,
1996
1996
  ProvisionedThroughputOverride: _json,
1997
- RestoreDateTime: (_) => Math.round(_.getTime() / 1000),
1997
+ RestoreDateTime: (_) => _.getTime() / 1000,
1998
1998
  SSESpecificationOverride: _json,
1999
1999
  SourceTableArn: [],
2000
2000
  SourceTableName: [],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.585.0",
4
+ "version": "3.587.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",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
27
- "@aws-sdk/middleware-endpoint-discovery": "3.577.0",
23
+ "@aws-sdk/client-sso-oidc": "3.587.0",
24
+ "@aws-sdk/client-sts": "3.587.0",
25
+ "@aws-sdk/core": "3.587.0",
26
+ "@aws-sdk/credential-provider-node": "3.587.0",
27
+ "@aws-sdk/middleware-endpoint-discovery": "3.587.0",
28
28
  "@aws-sdk/middleware-host-header": "3.577.0",
29
29
  "@aws-sdk/middleware-logger": "3.577.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
31
- "@aws-sdk/middleware-user-agent": "3.583.0",
32
- "@aws-sdk/region-config-resolver": "3.577.0",
31
+ "@aws-sdk/middleware-user-agent": "3.587.0",
32
+ "@aws-sdk/region-config-resolver": "3.587.0",
33
33
  "@aws-sdk/types": "3.577.0",
34
- "@aws-sdk/util-endpoints": "3.583.0",
34
+ "@aws-sdk/util-endpoints": "3.587.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.577.0",
36
- "@aws-sdk/util-user-agent-node": "3.577.0",
37
- "@smithy/config-resolver": "^3.0.0",
38
- "@smithy/core": "^2.0.1",
36
+ "@aws-sdk/util-user-agent-node": "3.587.0",
37
+ "@smithy/config-resolver": "^3.0.1",
38
+ "@smithy/core": "^2.1.1",
39
39
  "@smithy/fetch-http-handler": "^3.0.1",
40
40
  "@smithy/hash-node": "^3.0.0",
41
41
  "@smithy/invalid-dependency": "^3.0.0",
42
42
  "@smithy/middleware-content-length": "^3.0.0",
43
- "@smithy/middleware-endpoint": "^3.0.0",
44
- "@smithy/middleware-retry": "^3.0.1",
43
+ "@smithy/middleware-endpoint": "^3.0.1",
44
+ "@smithy/middleware-retry": "^3.0.3",
45
45
  "@smithy/middleware-serde": "^3.0.0",
46
46
  "@smithy/middleware-stack": "^3.0.0",
47
- "@smithy/node-config-provider": "^3.0.0",
47
+ "@smithy/node-config-provider": "^3.1.0",
48
48
  "@smithy/node-http-handler": "^3.0.0",
49
49
  "@smithy/protocol-http": "^4.0.0",
50
- "@smithy/smithy-client": "^3.0.1",
50
+ "@smithy/smithy-client": "^3.1.1",
51
51
  "@smithy/types": "^3.0.0",
52
52
  "@smithy/url-parser": "^3.0.0",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.1",
57
- "@smithy/util-defaults-mode-node": "^3.0.1",
58
- "@smithy/util-endpoints": "^2.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
57
+ "@smithy/util-defaults-mode-node": "^3.0.3",
58
+ "@smithy/util-endpoints": "^2.0.1",
59
59
  "@smithy/util-middleware": "^3.0.0",
60
60
  "@smithy/util-retry": "^3.0.0",
61
61
  "@smithy/util-utf8": "^3.0.0",