@aws-sdk/client-kinesis 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.
@@ -1977,7 +1977,7 @@ const serializeAws_json1_1GetShardIteratorInput = (input, context) => {
1977
1977
  ...(input.StartingSequenceNumber != null && { StartingSequenceNumber: input.StartingSequenceNumber }),
1978
1978
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
1979
1979
  ...(input.StreamName != null && { StreamName: input.StreamName }),
1980
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
1980
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
1981
1981
  };
1982
1982
  };
1983
1983
  const serializeAws_json1_1IncreaseStreamRetentionPeriodInput = (input, context) => {
@@ -1995,7 +1995,7 @@ const serializeAws_json1_1ListShardsInput = (input, context) => {
1995
1995
  ...(input.ShardFilter != null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) }),
1996
1996
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
1997
1997
  ...(input.StreamCreationTimestamp != null && {
1998
- StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
1998
+ StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000).toString(),
1999
1999
  }),
2000
2000
  ...(input.StreamName != null && { StreamName: input.StreamName }),
2001
2001
  };
@@ -2006,7 +2006,7 @@ const serializeAws_json1_1ListStreamConsumersInput = (input, context) => {
2006
2006
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2007
2007
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
2008
2008
  ...(input.StreamCreationTimestamp != null && {
2009
- StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
2009
+ StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000).toString(),
2010
2010
  }),
2011
2011
  };
2012
2012
  };
@@ -2087,7 +2087,7 @@ const serializeAws_json1_1RemoveTagsFromStreamInput = (input, context) => {
2087
2087
  const serializeAws_json1_1ShardFilter = (input, context) => {
2088
2088
  return {
2089
2089
  ...(input.ShardId != null && { ShardId: input.ShardId }),
2090
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2090
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
2091
2091
  ...(input.Type != null && { Type: input.Type }),
2092
2092
  };
2093
2093
  };
@@ -2102,7 +2102,7 @@ const serializeAws_json1_1SplitShardInput = (input, context) => {
2102
2102
  const serializeAws_json1_1StartingPosition = (input, context) => {
2103
2103
  return {
2104
2104
  ...(input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber }),
2105
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2105
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
2106
2106
  ...(input.Type != null && { Type: input.Type }),
2107
2107
  };
2108
2108
  };
@@ -1915,7 +1915,7 @@ const serializeAws_json1_1GetShardIteratorInput = (input, context) => {
1915
1915
  ...(input.StartingSequenceNumber != null && { StartingSequenceNumber: input.StartingSequenceNumber }),
1916
1916
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
1917
1917
  ...(input.StreamName != null && { StreamName: input.StreamName }),
1918
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
1918
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
1919
1919
  };
1920
1920
  };
1921
1921
  const serializeAws_json1_1IncreaseStreamRetentionPeriodInput = (input, context) => {
@@ -1933,7 +1933,7 @@ const serializeAws_json1_1ListShardsInput = (input, context) => {
1933
1933
  ...(input.ShardFilter != null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) }),
1934
1934
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
1935
1935
  ...(input.StreamCreationTimestamp != null && {
1936
- StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
1936
+ StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000).toString(),
1937
1937
  }),
1938
1938
  ...(input.StreamName != null && { StreamName: input.StreamName }),
1939
1939
  };
@@ -1944,7 +1944,7 @@ const serializeAws_json1_1ListStreamConsumersInput = (input, context) => {
1944
1944
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1945
1945
  ...(input.StreamARN != null && { StreamARN: input.StreamARN }),
1946
1946
  ...(input.StreamCreationTimestamp != null && {
1947
- StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
1947
+ StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000).toString(),
1948
1948
  }),
1949
1949
  };
1950
1950
  };
@@ -2025,7 +2025,7 @@ const serializeAws_json1_1RemoveTagsFromStreamInput = (input, context) => {
2025
2025
  const serializeAws_json1_1ShardFilter = (input, context) => {
2026
2026
  return {
2027
2027
  ...(input.ShardId != null && { ShardId: input.ShardId }),
2028
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2028
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
2029
2029
  ...(input.Type != null && { Type: input.Type }),
2030
2030
  };
2031
2031
  };
@@ -2040,7 +2040,7 @@ const serializeAws_json1_1SplitShardInput = (input, context) => {
2040
2040
  const serializeAws_json1_1StartingPosition = (input, context) => {
2041
2041
  return {
2042
2042
  ...(input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber }),
2043
- ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
2043
+ ...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000).toString() }),
2044
2044
  ...(input.Type != null && { Type: input.Type }),
2045
2045
  };
2046
2046
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis 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/kinesis.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo kinesis"
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/eventstream-serde-browser": "3.226.0",
27
27
  "@aws-sdk/eventstream-serde-config-resolver": "3.226.0",
28
28
  "@aws-sdk/eventstream-serde-node": "3.226.0",