@aws-sdk/client-dynamodb 3.245.0 → 3.252.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.
@@ -3568,7 +3568,7 @@ const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
3568
3568
  return {
3569
3569
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
3570
3570
  ...(input.ExportFormat != null && { ExportFormat: input.ExportFormat }),
3571
- ...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
3571
+ ...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000).toString() }),
3572
3572
  ...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
3573
3573
  ...(input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner }),
3574
3574
  ...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
@@ -3791,10 +3791,10 @@ const serializeAws_json1_0ListBackupsInput = (input, context) => {
3791
3791
  ...(input.Limit != null && { Limit: input.Limit }),
3792
3792
  ...(input.TableName != null && { TableName: input.TableName }),
3793
3793
  ...(input.TimeRangeLowerBound != null && {
3794
- TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000),
3794
+ TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000).toString(),
3795
3795
  }),
3796
3796
  ...(input.TimeRangeUpperBound != null && {
3797
- TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000),
3797
+ TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000).toString(),
3798
3798
  }),
3799
3799
  };
3800
3800
  };
@@ -4177,7 +4177,9 @@ const serializeAws_json1_0RestoreTableToPointInTimeInput = (input, context) => {
4177
4177
  ...(input.ProvisionedThroughputOverride != null && {
4178
4178
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
4179
4179
  }),
4180
- ...(input.RestoreDateTime != null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) }),
4180
+ ...(input.RestoreDateTime != null && {
4181
+ RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000).toString(),
4182
+ }),
4181
4183
  ...(input.SSESpecificationOverride != null && {
4182
4184
  SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
4183
4185
  }),
@@ -3457,7 +3457,7 @@ const serializeAws_json1_0ExportTableToPointInTimeInput = (input, context) => {
3457
3457
  return {
3458
3458
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
3459
3459
  ...(input.ExportFormat != null && { ExportFormat: input.ExportFormat }),
3460
- ...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) }),
3460
+ ...(input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000).toString() }),
3461
3461
  ...(input.S3Bucket != null && { S3Bucket: input.S3Bucket }),
3462
3462
  ...(input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner }),
3463
3463
  ...(input.S3Prefix != null && { S3Prefix: input.S3Prefix }),
@@ -3680,10 +3680,10 @@ const serializeAws_json1_0ListBackupsInput = (input, context) => {
3680
3680
  ...(input.Limit != null && { Limit: input.Limit }),
3681
3681
  ...(input.TableName != null && { TableName: input.TableName }),
3682
3682
  ...(input.TimeRangeLowerBound != null && {
3683
- TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000),
3683
+ TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000).toString(),
3684
3684
  }),
3685
3685
  ...(input.TimeRangeUpperBound != null && {
3686
- TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000),
3686
+ TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000).toString(),
3687
3687
  }),
3688
3688
  };
3689
3689
  };
@@ -4066,7 +4066,9 @@ const serializeAws_json1_0RestoreTableToPointInTimeInput = (input, context) => {
4066
4066
  ...(input.ProvisionedThroughputOverride != null && {
4067
4067
  ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
4068
4068
  }),
4069
- ...(input.RestoreDateTime != null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) }),
4069
+ ...(input.RestoreDateTime != null && {
4070
+ RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000).toString(),
4071
+ }),
4070
4072
  ...(input.SSESpecificationOverride != null && {
4071
4073
  SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
4072
4074
  }),
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.245.0",
4
+ "version": "3.252.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",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/dynamodb.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo dynamodb"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.245.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",