@aws-sdk/client-kinesis 3.121.0 → 3.130.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +123 -179
- package/dist-es/protocols/Aws_json1_1.js +71 -127
- package/package.json +30 -30
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -1755,39 +1755,36 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
1755
1755
|
};
|
|
1756
1756
|
const serializeAws_json1_1AddTagsToStreamInput = (input, context) => {
|
|
1757
1757
|
return {
|
|
1758
|
-
...(input.StreamName
|
|
1759
|
-
...(input.Tags
|
|
1758
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1759
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagMap(input.Tags, context) }),
|
|
1760
1760
|
};
|
|
1761
1761
|
};
|
|
1762
1762
|
const serializeAws_json1_1CreateStreamInput = (input, context) => {
|
|
1763
1763
|
return {
|
|
1764
|
-
...(input.ShardCount
|
|
1765
|
-
...(input.StreamModeDetails
|
|
1766
|
-
input.StreamModeDetails !== null && {
|
|
1764
|
+
...(input.ShardCount != null && { ShardCount: input.ShardCount }),
|
|
1765
|
+
...(input.StreamModeDetails != null && {
|
|
1767
1766
|
StreamModeDetails: serializeAws_json1_1StreamModeDetails(input.StreamModeDetails, context),
|
|
1768
1767
|
}),
|
|
1769
|
-
...(input.StreamName
|
|
1768
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1770
1769
|
};
|
|
1771
1770
|
};
|
|
1772
1771
|
const serializeAws_json1_1DecreaseStreamRetentionPeriodInput = (input, context) => {
|
|
1773
1772
|
return {
|
|
1774
|
-
...(input.RetentionPeriodHours
|
|
1775
|
-
|
|
1776
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1773
|
+
...(input.RetentionPeriodHours != null && { RetentionPeriodHours: input.RetentionPeriodHours }),
|
|
1774
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1777
1775
|
};
|
|
1778
1776
|
};
|
|
1779
1777
|
const serializeAws_json1_1DeleteStreamInput = (input, context) => {
|
|
1780
1778
|
return {
|
|
1781
|
-
...(input.EnforceConsumerDeletion
|
|
1782
|
-
|
|
1783
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1779
|
+
...(input.EnforceConsumerDeletion != null && { EnforceConsumerDeletion: input.EnforceConsumerDeletion }),
|
|
1780
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1784
1781
|
};
|
|
1785
1782
|
};
|
|
1786
1783
|
const serializeAws_json1_1DeregisterStreamConsumerInput = (input, context) => {
|
|
1787
1784
|
return {
|
|
1788
|
-
...(input.ConsumerARN
|
|
1789
|
-
...(input.ConsumerName
|
|
1790
|
-
...(input.StreamARN
|
|
1785
|
+
...(input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN }),
|
|
1786
|
+
...(input.ConsumerName != null && { ConsumerName: input.ConsumerName }),
|
|
1787
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
1791
1788
|
};
|
|
1792
1789
|
};
|
|
1793
1790
|
const serializeAws_json1_1DescribeLimitsInput = (input, context) => {
|
|
@@ -1795,114 +1792,100 @@ const serializeAws_json1_1DescribeLimitsInput = (input, context) => {
|
|
|
1795
1792
|
};
|
|
1796
1793
|
const serializeAws_json1_1DescribeStreamConsumerInput = (input, context) => {
|
|
1797
1794
|
return {
|
|
1798
|
-
...(input.ConsumerARN
|
|
1799
|
-
...(input.ConsumerName
|
|
1800
|
-
...(input.StreamARN
|
|
1795
|
+
...(input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN }),
|
|
1796
|
+
...(input.ConsumerName != null && { ConsumerName: input.ConsumerName }),
|
|
1797
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
1801
1798
|
};
|
|
1802
1799
|
};
|
|
1803
1800
|
const serializeAws_json1_1DescribeStreamInput = (input, context) => {
|
|
1804
1801
|
return {
|
|
1805
|
-
...(input.ExclusiveStartShardId
|
|
1806
|
-
|
|
1807
|
-
...(input.
|
|
1808
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1802
|
+
...(input.ExclusiveStartShardId != null && { ExclusiveStartShardId: input.ExclusiveStartShardId }),
|
|
1803
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1804
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1809
1805
|
};
|
|
1810
1806
|
};
|
|
1811
1807
|
const serializeAws_json1_1DescribeStreamSummaryInput = (input, context) => {
|
|
1812
1808
|
return {
|
|
1813
|
-
...(input.StreamName
|
|
1809
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1814
1810
|
};
|
|
1815
1811
|
};
|
|
1816
1812
|
const serializeAws_json1_1DisableEnhancedMonitoringInput = (input, context) => {
|
|
1817
1813
|
return {
|
|
1818
|
-
...(input.ShardLevelMetrics
|
|
1819
|
-
input.ShardLevelMetrics !== null && {
|
|
1814
|
+
...(input.ShardLevelMetrics != null && {
|
|
1820
1815
|
ShardLevelMetrics: serializeAws_json1_1MetricsNameList(input.ShardLevelMetrics, context),
|
|
1821
1816
|
}),
|
|
1822
|
-
...(input.StreamName
|
|
1817
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1823
1818
|
};
|
|
1824
1819
|
};
|
|
1825
1820
|
const serializeAws_json1_1EnableEnhancedMonitoringInput = (input, context) => {
|
|
1826
1821
|
return {
|
|
1827
|
-
...(input.ShardLevelMetrics
|
|
1828
|
-
input.ShardLevelMetrics !== null && {
|
|
1822
|
+
...(input.ShardLevelMetrics != null && {
|
|
1829
1823
|
ShardLevelMetrics: serializeAws_json1_1MetricsNameList(input.ShardLevelMetrics, context),
|
|
1830
1824
|
}),
|
|
1831
|
-
...(input.StreamName
|
|
1825
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1832
1826
|
};
|
|
1833
1827
|
};
|
|
1834
1828
|
const serializeAws_json1_1GetRecordsInput = (input, context) => {
|
|
1835
1829
|
return {
|
|
1836
|
-
...(input.Limit
|
|
1837
|
-
...(input.ShardIterator
|
|
1830
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1831
|
+
...(input.ShardIterator != null && { ShardIterator: input.ShardIterator }),
|
|
1838
1832
|
};
|
|
1839
1833
|
};
|
|
1840
1834
|
const serializeAws_json1_1GetShardIteratorInput = (input, context) => {
|
|
1841
1835
|
return {
|
|
1842
|
-
...(input.ShardId
|
|
1843
|
-
...(input.ShardIteratorType
|
|
1844
|
-
|
|
1845
|
-
...(input.
|
|
1846
|
-
|
|
1847
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1848
|
-
...(input.Timestamp !== undefined &&
|
|
1849
|
-
input.Timestamp !== null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
1836
|
+
...(input.ShardId != null && { ShardId: input.ShardId }),
|
|
1837
|
+
...(input.ShardIteratorType != null && { ShardIteratorType: input.ShardIteratorType }),
|
|
1838
|
+
...(input.StartingSequenceNumber != null && { StartingSequenceNumber: input.StartingSequenceNumber }),
|
|
1839
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1840
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
1850
1841
|
};
|
|
1851
1842
|
};
|
|
1852
1843
|
const serializeAws_json1_1IncreaseStreamRetentionPeriodInput = (input, context) => {
|
|
1853
1844
|
return {
|
|
1854
|
-
...(input.RetentionPeriodHours
|
|
1855
|
-
|
|
1856
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1845
|
+
...(input.RetentionPeriodHours != null && { RetentionPeriodHours: input.RetentionPeriodHours }),
|
|
1846
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1857
1847
|
};
|
|
1858
1848
|
};
|
|
1859
1849
|
const serializeAws_json1_1ListShardsInput = (input, context) => {
|
|
1860
1850
|
return {
|
|
1861
|
-
...(input.ExclusiveStartShardId
|
|
1862
|
-
|
|
1863
|
-
...(input.
|
|
1864
|
-
...(input.
|
|
1865
|
-
...(input.
|
|
1866
|
-
input.ShardFilter !== null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) }),
|
|
1867
|
-
...(input.StreamCreationTimestamp !== undefined &&
|
|
1868
|
-
input.StreamCreationTimestamp !== null && {
|
|
1851
|
+
...(input.ExclusiveStartShardId != null && { ExclusiveStartShardId: input.ExclusiveStartShardId }),
|
|
1852
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1853
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1854
|
+
...(input.ShardFilter != null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) }),
|
|
1855
|
+
...(input.StreamCreationTimestamp != null && {
|
|
1869
1856
|
StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
|
|
1870
1857
|
}),
|
|
1871
|
-
...(input.StreamName
|
|
1858
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1872
1859
|
};
|
|
1873
1860
|
};
|
|
1874
1861
|
const serializeAws_json1_1ListStreamConsumersInput = (input, context) => {
|
|
1875
1862
|
return {
|
|
1876
|
-
...(input.MaxResults
|
|
1877
|
-
...(input.NextToken
|
|
1878
|
-
...(input.StreamARN
|
|
1879
|
-
...(input.StreamCreationTimestamp
|
|
1880
|
-
input.StreamCreationTimestamp !== null && {
|
|
1863
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1864
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1865
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
1866
|
+
...(input.StreamCreationTimestamp != null && {
|
|
1881
1867
|
StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
|
|
1882
1868
|
}),
|
|
1883
1869
|
};
|
|
1884
1870
|
};
|
|
1885
1871
|
const serializeAws_json1_1ListStreamsInput = (input, context) => {
|
|
1886
1872
|
return {
|
|
1887
|
-
...(input.ExclusiveStartStreamName
|
|
1888
|
-
|
|
1889
|
-
...(input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }),
|
|
1873
|
+
...(input.ExclusiveStartStreamName != null && { ExclusiveStartStreamName: input.ExclusiveStartStreamName }),
|
|
1874
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1890
1875
|
};
|
|
1891
1876
|
};
|
|
1892
1877
|
const serializeAws_json1_1ListTagsForStreamInput = (input, context) => {
|
|
1893
1878
|
return {
|
|
1894
|
-
...(input.ExclusiveStartTagKey
|
|
1895
|
-
|
|
1896
|
-
...(input.
|
|
1897
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1879
|
+
...(input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey }),
|
|
1880
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
1881
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1898
1882
|
};
|
|
1899
1883
|
};
|
|
1900
1884
|
const serializeAws_json1_1MergeShardsInput = (input, context) => {
|
|
1901
1885
|
return {
|
|
1902
|
-
...(input.AdjacentShardToMerge
|
|
1903
|
-
|
|
1904
|
-
...(input.
|
|
1905
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1886
|
+
...(input.AdjacentShardToMerge != null && { AdjacentShardToMerge: input.AdjacentShardToMerge }),
|
|
1887
|
+
...(input.ShardToMerge != null && { ShardToMerge: input.ShardToMerge }),
|
|
1888
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1906
1889
|
};
|
|
1907
1890
|
};
|
|
1908
1891
|
const serializeAws_json1_1MetricsNameList = (input, context) => {
|
|
@@ -1917,28 +1900,24 @@ const serializeAws_json1_1MetricsNameList = (input, context) => {
|
|
|
1917
1900
|
};
|
|
1918
1901
|
const serializeAws_json1_1PutRecordInput = (input, context) => {
|
|
1919
1902
|
return {
|
|
1920
|
-
...(input.Data
|
|
1921
|
-
...(input.ExplicitHashKey
|
|
1922
|
-
|
|
1923
|
-
...(input.
|
|
1924
|
-
...(input.
|
|
1925
|
-
input.SequenceNumberForOrdering !== null && { SequenceNumberForOrdering: input.SequenceNumberForOrdering }),
|
|
1926
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1903
|
+
...(input.Data != null && { Data: context.base64Encoder(input.Data) }),
|
|
1904
|
+
...(input.ExplicitHashKey != null && { ExplicitHashKey: input.ExplicitHashKey }),
|
|
1905
|
+
...(input.PartitionKey != null && { PartitionKey: input.PartitionKey }),
|
|
1906
|
+
...(input.SequenceNumberForOrdering != null && { SequenceNumberForOrdering: input.SequenceNumberForOrdering }),
|
|
1907
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1927
1908
|
};
|
|
1928
1909
|
};
|
|
1929
1910
|
const serializeAws_json1_1PutRecordsInput = (input, context) => {
|
|
1930
1911
|
return {
|
|
1931
|
-
...(input.Records
|
|
1932
|
-
|
|
1933
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1912
|
+
...(input.Records != null && { Records: serializeAws_json1_1PutRecordsRequestEntryList(input.Records, context) }),
|
|
1913
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1934
1914
|
};
|
|
1935
1915
|
};
|
|
1936
1916
|
const serializeAws_json1_1PutRecordsRequestEntry = (input, context) => {
|
|
1937
1917
|
return {
|
|
1938
|
-
...(input.Data
|
|
1939
|
-
...(input.ExplicitHashKey
|
|
1940
|
-
|
|
1941
|
-
...(input.PartitionKey !== undefined && input.PartitionKey !== null && { PartitionKey: input.PartitionKey }),
|
|
1918
|
+
...(input.Data != null && { Data: context.base64Encoder(input.Data) }),
|
|
1919
|
+
...(input.ExplicitHashKey != null && { ExplicitHashKey: input.ExplicitHashKey }),
|
|
1920
|
+
...(input.PartitionKey != null && { PartitionKey: input.PartitionKey }),
|
|
1942
1921
|
};
|
|
1943
1922
|
};
|
|
1944
1923
|
const serializeAws_json1_1PutRecordsRequestEntryList = (input, context) => {
|
|
@@ -1953,69 +1932,61 @@ const serializeAws_json1_1PutRecordsRequestEntryList = (input, context) => {
|
|
|
1953
1932
|
};
|
|
1954
1933
|
const serializeAws_json1_1RegisterStreamConsumerInput = (input, context) => {
|
|
1955
1934
|
return {
|
|
1956
|
-
...(input.ConsumerName
|
|
1957
|
-
...(input.StreamARN
|
|
1935
|
+
...(input.ConsumerName != null && { ConsumerName: input.ConsumerName }),
|
|
1936
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
1958
1937
|
};
|
|
1959
1938
|
};
|
|
1960
1939
|
const serializeAws_json1_1RemoveTagsFromStreamInput = (input, context) => {
|
|
1961
1940
|
return {
|
|
1962
|
-
...(input.StreamName
|
|
1963
|
-
...(input.TagKeys
|
|
1964
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
1941
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1942
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
1965
1943
|
};
|
|
1966
1944
|
};
|
|
1967
1945
|
const serializeAws_json1_1ShardFilter = (input, context) => {
|
|
1968
1946
|
return {
|
|
1969
|
-
...(input.ShardId
|
|
1970
|
-
...(input.Timestamp
|
|
1971
|
-
|
|
1972
|
-
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
1947
|
+
...(input.ShardId != null && { ShardId: input.ShardId }),
|
|
1948
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
1949
|
+
...(input.Type != null && { Type: input.Type }),
|
|
1973
1950
|
};
|
|
1974
1951
|
};
|
|
1975
1952
|
const serializeAws_json1_1SplitShardInput = (input, context) => {
|
|
1976
1953
|
return {
|
|
1977
|
-
...(input.NewStartingHashKey
|
|
1978
|
-
|
|
1979
|
-
...(input.
|
|
1980
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1954
|
+
...(input.NewStartingHashKey != null && { NewStartingHashKey: input.NewStartingHashKey }),
|
|
1955
|
+
...(input.ShardToSplit != null && { ShardToSplit: input.ShardToSplit }),
|
|
1956
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1981
1957
|
};
|
|
1982
1958
|
};
|
|
1983
1959
|
const serializeAws_json1_1StartingPosition = (input, context) => {
|
|
1984
1960
|
return {
|
|
1985
|
-
...(input.SequenceNumber
|
|
1986
|
-
|
|
1987
|
-
...(input.
|
|
1988
|
-
input.Timestamp !== null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
1989
|
-
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
1961
|
+
...(input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber }),
|
|
1962
|
+
...(input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }),
|
|
1963
|
+
...(input.Type != null && { Type: input.Type }),
|
|
1990
1964
|
};
|
|
1991
1965
|
};
|
|
1992
1966
|
const serializeAws_json1_1StartStreamEncryptionInput = (input, context) => {
|
|
1993
1967
|
return {
|
|
1994
|
-
...(input.EncryptionType
|
|
1995
|
-
|
|
1996
|
-
...(input.
|
|
1997
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1968
|
+
...(input.EncryptionType != null && { EncryptionType: input.EncryptionType }),
|
|
1969
|
+
...(input.KeyId != null && { KeyId: input.KeyId }),
|
|
1970
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
1998
1971
|
};
|
|
1999
1972
|
};
|
|
2000
1973
|
const serializeAws_json1_1StopStreamEncryptionInput = (input, context) => {
|
|
2001
1974
|
return {
|
|
2002
|
-
...(input.EncryptionType
|
|
2003
|
-
|
|
2004
|
-
...(input.
|
|
2005
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
1975
|
+
...(input.EncryptionType != null && { EncryptionType: input.EncryptionType }),
|
|
1976
|
+
...(input.KeyId != null && { KeyId: input.KeyId }),
|
|
1977
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
2006
1978
|
};
|
|
2007
1979
|
};
|
|
2008
1980
|
const serializeAws_json1_1StreamModeDetails = (input, context) => {
|
|
2009
1981
|
return {
|
|
2010
|
-
...(input.StreamMode
|
|
1982
|
+
...(input.StreamMode != null && { StreamMode: input.StreamMode }),
|
|
2011
1983
|
};
|
|
2012
1984
|
};
|
|
2013
1985
|
const serializeAws_json1_1SubscribeToShardInput = (input, context) => {
|
|
2014
1986
|
return {
|
|
2015
|
-
...(input.ConsumerARN
|
|
2016
|
-
...(input.ShardId
|
|
2017
|
-
...(input.StartingPosition
|
|
2018
|
-
input.StartingPosition !== null && {
|
|
1987
|
+
...(input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN }),
|
|
1988
|
+
...(input.ShardId != null && { ShardId: input.ShardId }),
|
|
1989
|
+
...(input.StartingPosition != null && {
|
|
2019
1990
|
StartingPosition: serializeAws_json1_1StartingPosition(input.StartingPosition, context),
|
|
2020
1991
|
}),
|
|
2021
1992
|
};
|
|
@@ -2043,29 +2014,23 @@ const serializeAws_json1_1TagMap = (input, context) => {
|
|
|
2043
2014
|
};
|
|
2044
2015
|
const serializeAws_json1_1UpdateShardCountInput = (input, context) => {
|
|
2045
2016
|
return {
|
|
2046
|
-
...(input.ScalingType
|
|
2047
|
-
...(input.StreamName
|
|
2048
|
-
...(input.TargetShardCount
|
|
2049
|
-
input.TargetShardCount !== null && { TargetShardCount: input.TargetShardCount }),
|
|
2017
|
+
...(input.ScalingType != null && { ScalingType: input.ScalingType }),
|
|
2018
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
2019
|
+
...(input.TargetShardCount != null && { TargetShardCount: input.TargetShardCount }),
|
|
2050
2020
|
};
|
|
2051
2021
|
};
|
|
2052
2022
|
const serializeAws_json1_1UpdateStreamModeInput = (input, context) => {
|
|
2053
2023
|
return {
|
|
2054
|
-
...(input.StreamARN
|
|
2055
|
-
...(input.StreamModeDetails
|
|
2056
|
-
input.StreamModeDetails !== null && {
|
|
2024
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
2025
|
+
...(input.StreamModeDetails != null && {
|
|
2057
2026
|
StreamModeDetails: serializeAws_json1_1StreamModeDetails(input.StreamModeDetails, context),
|
|
2058
2027
|
}),
|
|
2059
2028
|
};
|
|
2060
2029
|
};
|
|
2061
2030
|
const deserializeAws_json1_1ChildShard = (output, context) => {
|
|
2062
2031
|
return {
|
|
2063
|
-
HashKeyRange: output.HashKeyRange
|
|
2064
|
-
|
|
2065
|
-
: undefined,
|
|
2066
|
-
ParentShards: output.ParentShards !== undefined && output.ParentShards !== null
|
|
2067
|
-
? deserializeAws_json1_1ShardIdList(output.ParentShards, context)
|
|
2068
|
-
: undefined,
|
|
2032
|
+
HashKeyRange: output.HashKeyRange != null ? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context) : undefined,
|
|
2033
|
+
ParentShards: output.ParentShards != null ? deserializeAws_json1_1ShardIdList(output.ParentShards, context) : undefined,
|
|
2069
2034
|
ShardId: (0, smithy_client_1.expectString)(output.ShardId),
|
|
2070
2035
|
};
|
|
2071
2036
|
};
|
|
@@ -2083,7 +2048,7 @@ const deserializeAws_json1_1ChildShardList = (output, context) => {
|
|
|
2083
2048
|
const deserializeAws_json1_1Consumer = (output, context) => {
|
|
2084
2049
|
return {
|
|
2085
2050
|
ConsumerARN: (0, smithy_client_1.expectString)(output.ConsumerARN),
|
|
2086
|
-
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp
|
|
2051
|
+
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp != null
|
|
2087
2052
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConsumerCreationTimestamp)))
|
|
2088
2053
|
: undefined,
|
|
2089
2054
|
ConsumerName: (0, smithy_client_1.expectString)(output.ConsumerName),
|
|
@@ -2093,7 +2058,7 @@ const deserializeAws_json1_1Consumer = (output, context) => {
|
|
|
2093
2058
|
const deserializeAws_json1_1ConsumerDescription = (output, context) => {
|
|
2094
2059
|
return {
|
|
2095
2060
|
ConsumerARN: (0, smithy_client_1.expectString)(output.ConsumerARN),
|
|
2096
|
-
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp
|
|
2061
|
+
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp != null
|
|
2097
2062
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConsumerCreationTimestamp)))
|
|
2098
2063
|
: undefined,
|
|
2099
2064
|
ConsumerName: (0, smithy_client_1.expectString)(output.ConsumerName),
|
|
@@ -2122,28 +2087,28 @@ const deserializeAws_json1_1DescribeLimitsOutput = (output, context) => {
|
|
|
2122
2087
|
};
|
|
2123
2088
|
const deserializeAws_json1_1DescribeStreamConsumerOutput = (output, context) => {
|
|
2124
2089
|
return {
|
|
2125
|
-
ConsumerDescription: output.ConsumerDescription
|
|
2090
|
+
ConsumerDescription: output.ConsumerDescription != null
|
|
2126
2091
|
? deserializeAws_json1_1ConsumerDescription(output.ConsumerDescription, context)
|
|
2127
2092
|
: undefined,
|
|
2128
2093
|
};
|
|
2129
2094
|
};
|
|
2130
2095
|
const deserializeAws_json1_1DescribeStreamOutput = (output, context) => {
|
|
2131
2096
|
return {
|
|
2132
|
-
StreamDescription: output.StreamDescription
|
|
2097
|
+
StreamDescription: output.StreamDescription != null
|
|
2133
2098
|
? deserializeAws_json1_1StreamDescription(output.StreamDescription, context)
|
|
2134
2099
|
: undefined,
|
|
2135
2100
|
};
|
|
2136
2101
|
};
|
|
2137
2102
|
const deserializeAws_json1_1DescribeStreamSummaryOutput = (output, context) => {
|
|
2138
2103
|
return {
|
|
2139
|
-
StreamDescriptionSummary: output.StreamDescriptionSummary
|
|
2104
|
+
StreamDescriptionSummary: output.StreamDescriptionSummary != null
|
|
2140
2105
|
? deserializeAws_json1_1StreamDescriptionSummary(output.StreamDescriptionSummary, context)
|
|
2141
2106
|
: undefined,
|
|
2142
2107
|
};
|
|
2143
2108
|
};
|
|
2144
2109
|
const deserializeAws_json1_1EnhancedMetrics = (output, context) => {
|
|
2145
2110
|
return {
|
|
2146
|
-
ShardLevelMetrics: output.ShardLevelMetrics
|
|
2111
|
+
ShardLevelMetrics: output.ShardLevelMetrics != null
|
|
2147
2112
|
? deserializeAws_json1_1MetricsNameList(output.ShardLevelMetrics, context)
|
|
2148
2113
|
: undefined,
|
|
2149
2114
|
};
|
|
@@ -2161,10 +2126,10 @@ const deserializeAws_json1_1EnhancedMonitoringList = (output, context) => {
|
|
|
2161
2126
|
};
|
|
2162
2127
|
const deserializeAws_json1_1EnhancedMonitoringOutput = (output, context) => {
|
|
2163
2128
|
return {
|
|
2164
|
-
CurrentShardLevelMetrics: output.CurrentShardLevelMetrics
|
|
2129
|
+
CurrentShardLevelMetrics: output.CurrentShardLevelMetrics != null
|
|
2165
2130
|
? deserializeAws_json1_1MetricsNameList(output.CurrentShardLevelMetrics, context)
|
|
2166
2131
|
: undefined,
|
|
2167
|
-
DesiredShardLevelMetrics: output.DesiredShardLevelMetrics
|
|
2132
|
+
DesiredShardLevelMetrics: output.DesiredShardLevelMetrics != null
|
|
2168
2133
|
? deserializeAws_json1_1MetricsNameList(output.DesiredShardLevelMetrics, context)
|
|
2169
2134
|
: undefined,
|
|
2170
2135
|
StreamName: (0, smithy_client_1.expectString)(output.StreamName),
|
|
@@ -2182,14 +2147,10 @@ const deserializeAws_json1_1ExpiredNextTokenException = (output, context) => {
|
|
|
2182
2147
|
};
|
|
2183
2148
|
const deserializeAws_json1_1GetRecordsOutput = (output, context) => {
|
|
2184
2149
|
return {
|
|
2185
|
-
ChildShards: output.ChildShards
|
|
2186
|
-
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
2187
|
-
: undefined,
|
|
2150
|
+
ChildShards: output.ChildShards != null ? deserializeAws_json1_1ChildShardList(output.ChildShards, context) : undefined,
|
|
2188
2151
|
MillisBehindLatest: (0, smithy_client_1.expectLong)(output.MillisBehindLatest),
|
|
2189
2152
|
NextShardIterator: (0, smithy_client_1.expectString)(output.NextShardIterator),
|
|
2190
|
-
Records: output.Records
|
|
2191
|
-
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
2192
|
-
: undefined,
|
|
2153
|
+
Records: output.Records != null ? deserializeAws_json1_1RecordList(output.Records, context) : undefined,
|
|
2193
2154
|
};
|
|
2194
2155
|
};
|
|
2195
2156
|
const deserializeAws_json1_1GetShardIteratorOutput = (output, context) => {
|
|
@@ -2251,33 +2212,25 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
2251
2212
|
const deserializeAws_json1_1ListShardsOutput = (output, context) => {
|
|
2252
2213
|
return {
|
|
2253
2214
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2254
|
-
Shards: output.Shards
|
|
2255
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
2256
|
-
: undefined,
|
|
2215
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
2257
2216
|
};
|
|
2258
2217
|
};
|
|
2259
2218
|
const deserializeAws_json1_1ListStreamConsumersOutput = (output, context) => {
|
|
2260
2219
|
return {
|
|
2261
|
-
Consumers: output.Consumers
|
|
2262
|
-
? deserializeAws_json1_1ConsumerList(output.Consumers, context)
|
|
2263
|
-
: undefined,
|
|
2220
|
+
Consumers: output.Consumers != null ? deserializeAws_json1_1ConsumerList(output.Consumers, context) : undefined,
|
|
2264
2221
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2265
2222
|
};
|
|
2266
2223
|
};
|
|
2267
2224
|
const deserializeAws_json1_1ListStreamsOutput = (output, context) => {
|
|
2268
2225
|
return {
|
|
2269
2226
|
HasMoreStreams: (0, smithy_client_1.expectBoolean)(output.HasMoreStreams),
|
|
2270
|
-
StreamNames: output.StreamNames
|
|
2271
|
-
? deserializeAws_json1_1StreamNameList(output.StreamNames, context)
|
|
2272
|
-
: undefined,
|
|
2227
|
+
StreamNames: output.StreamNames != null ? deserializeAws_json1_1StreamNameList(output.StreamNames, context) : undefined,
|
|
2273
2228
|
};
|
|
2274
2229
|
};
|
|
2275
2230
|
const deserializeAws_json1_1ListTagsForStreamOutput = (output, context) => {
|
|
2276
2231
|
return {
|
|
2277
2232
|
HasMoreTags: (0, smithy_client_1.expectBoolean)(output.HasMoreTags),
|
|
2278
|
-
Tags: output.Tags
|
|
2279
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2280
|
-
: undefined,
|
|
2233
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2281
2234
|
};
|
|
2282
2235
|
};
|
|
2283
2236
|
const deserializeAws_json1_1MetricsNameList = (output, context) => {
|
|
@@ -2307,9 +2260,7 @@ const deserializeAws_json1_1PutRecordsOutput = (output, context) => {
|
|
|
2307
2260
|
return {
|
|
2308
2261
|
EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
|
|
2309
2262
|
FailedRecordCount: (0, smithy_client_1.expectInt32)(output.FailedRecordCount),
|
|
2310
|
-
Records: output.Records
|
|
2311
|
-
? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context)
|
|
2312
|
-
: undefined,
|
|
2263
|
+
Records: output.Records != null ? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context) : undefined,
|
|
2313
2264
|
};
|
|
2314
2265
|
};
|
|
2315
2266
|
const deserializeAws_json1_1PutRecordsResultEntry = (output, context) => {
|
|
@@ -2333,10 +2284,10 @@ const deserializeAws_json1_1PutRecordsResultEntryList = (output, context) => {
|
|
|
2333
2284
|
};
|
|
2334
2285
|
const deserializeAws_json1_1_Record = (output, context) => {
|
|
2335
2286
|
return {
|
|
2336
|
-
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp
|
|
2287
|
+
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp != null
|
|
2337
2288
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ApproximateArrivalTimestamp)))
|
|
2338
2289
|
: undefined,
|
|
2339
|
-
Data: output.Data
|
|
2290
|
+
Data: output.Data != null ? context.base64Decoder(output.Data) : undefined,
|
|
2340
2291
|
EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
|
|
2341
2292
|
PartitionKey: (0, smithy_client_1.expectString)(output.PartitionKey),
|
|
2342
2293
|
SequenceNumber: (0, smithy_client_1.expectString)(output.SequenceNumber),
|
|
@@ -2355,9 +2306,7 @@ const deserializeAws_json1_1RecordList = (output, context) => {
|
|
|
2355
2306
|
};
|
|
2356
2307
|
const deserializeAws_json1_1RegisterStreamConsumerOutput = (output, context) => {
|
|
2357
2308
|
return {
|
|
2358
|
-
Consumer: output.Consumer
|
|
2359
|
-
? deserializeAws_json1_1Consumer(output.Consumer, context)
|
|
2360
|
-
: undefined,
|
|
2309
|
+
Consumer: output.Consumer != null ? deserializeAws_json1_1Consumer(output.Consumer, context) : undefined,
|
|
2361
2310
|
};
|
|
2362
2311
|
};
|
|
2363
2312
|
const deserializeAws_json1_1ResourceInUseException = (output, context) => {
|
|
@@ -2379,11 +2328,9 @@ const deserializeAws_json1_1SequenceNumberRange = (output, context) => {
|
|
|
2379
2328
|
const deserializeAws_json1_1Shard = (output, context) => {
|
|
2380
2329
|
return {
|
|
2381
2330
|
AdjacentParentShardId: (0, smithy_client_1.expectString)(output.AdjacentParentShardId),
|
|
2382
|
-
HashKeyRange: output.HashKeyRange
|
|
2383
|
-
? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context)
|
|
2384
|
-
: undefined,
|
|
2331
|
+
HashKeyRange: output.HashKeyRange != null ? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context) : undefined,
|
|
2385
2332
|
ParentShardId: (0, smithy_client_1.expectString)(output.ParentShardId),
|
|
2386
|
-
SequenceNumberRange: output.SequenceNumberRange
|
|
2333
|
+
SequenceNumberRange: output.SequenceNumberRange != null
|
|
2387
2334
|
? deserializeAws_json1_1SequenceNumberRange(output.SequenceNumberRange, context)
|
|
2388
2335
|
: undefined,
|
|
2389
2336
|
ShardId: (0, smithy_client_1.expectString)(output.ShardId),
|
|
@@ -2414,20 +2361,18 @@ const deserializeAws_json1_1ShardList = (output, context) => {
|
|
|
2414
2361
|
const deserializeAws_json1_1StreamDescription = (output, context) => {
|
|
2415
2362
|
return {
|
|
2416
2363
|
EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
|
|
2417
|
-
EnhancedMonitoring: output.EnhancedMonitoring
|
|
2364
|
+
EnhancedMonitoring: output.EnhancedMonitoring != null
|
|
2418
2365
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
2419
2366
|
: undefined,
|
|
2420
2367
|
HasMoreShards: (0, smithy_client_1.expectBoolean)(output.HasMoreShards),
|
|
2421
2368
|
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
2422
2369
|
RetentionPeriodHours: (0, smithy_client_1.expectInt32)(output.RetentionPeriodHours),
|
|
2423
|
-
Shards: output.Shards
|
|
2424
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
2425
|
-
: undefined,
|
|
2370
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
2426
2371
|
StreamARN: (0, smithy_client_1.expectString)(output.StreamARN),
|
|
2427
|
-
StreamCreationTimestamp: output.StreamCreationTimestamp
|
|
2372
|
+
StreamCreationTimestamp: output.StreamCreationTimestamp != null
|
|
2428
2373
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StreamCreationTimestamp)))
|
|
2429
2374
|
: undefined,
|
|
2430
|
-
StreamModeDetails: output.StreamModeDetails
|
|
2375
|
+
StreamModeDetails: output.StreamModeDetails != null
|
|
2431
2376
|
? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
|
|
2432
2377
|
: undefined,
|
|
2433
2378
|
StreamName: (0, smithy_client_1.expectString)(output.StreamName),
|
|
@@ -2438,17 +2383,17 @@ const deserializeAws_json1_1StreamDescriptionSummary = (output, context) => {
|
|
|
2438
2383
|
return {
|
|
2439
2384
|
ConsumerCount: (0, smithy_client_1.expectInt32)(output.ConsumerCount),
|
|
2440
2385
|
EncryptionType: (0, smithy_client_1.expectString)(output.EncryptionType),
|
|
2441
|
-
EnhancedMonitoring: output.EnhancedMonitoring
|
|
2386
|
+
EnhancedMonitoring: output.EnhancedMonitoring != null
|
|
2442
2387
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
2443
2388
|
: undefined,
|
|
2444
2389
|
KeyId: (0, smithy_client_1.expectString)(output.KeyId),
|
|
2445
2390
|
OpenShardCount: (0, smithy_client_1.expectInt32)(output.OpenShardCount),
|
|
2446
2391
|
RetentionPeriodHours: (0, smithy_client_1.expectInt32)(output.RetentionPeriodHours),
|
|
2447
2392
|
StreamARN: (0, smithy_client_1.expectString)(output.StreamARN),
|
|
2448
|
-
StreamCreationTimestamp: output.StreamCreationTimestamp
|
|
2393
|
+
StreamCreationTimestamp: output.StreamCreationTimestamp != null
|
|
2449
2394
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StreamCreationTimestamp)))
|
|
2450
2395
|
: undefined,
|
|
2451
|
-
StreamModeDetails: output.StreamModeDetails
|
|
2396
|
+
StreamModeDetails: output.StreamModeDetails != null
|
|
2452
2397
|
? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
|
|
2453
2398
|
: undefined,
|
|
2454
2399
|
StreamName: (0, smithy_client_1.expectString)(output.StreamName),
|
|
@@ -2473,14 +2418,10 @@ const deserializeAws_json1_1StreamNameList = (output, context) => {
|
|
|
2473
2418
|
};
|
|
2474
2419
|
const deserializeAws_json1_1SubscribeToShardEvent = (output, context) => {
|
|
2475
2420
|
return {
|
|
2476
|
-
ChildShards: output.ChildShards
|
|
2477
|
-
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
2478
|
-
: undefined,
|
|
2421
|
+
ChildShards: output.ChildShards != null ? deserializeAws_json1_1ChildShardList(output.ChildShards, context) : undefined,
|
|
2479
2422
|
ContinuationSequenceNumber: (0, smithy_client_1.expectString)(output.ContinuationSequenceNumber),
|
|
2480
2423
|
MillisBehindLatest: (0, smithy_client_1.expectLong)(output.MillisBehindLatest),
|
|
2481
|
-
Records: output.Records
|
|
2482
|
-
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
2483
|
-
: undefined,
|
|
2424
|
+
Records: output.Records != null ? deserializeAws_json1_1RecordList(output.Records, context) : undefined,
|
|
2484
2425
|
};
|
|
2485
2426
|
};
|
|
2486
2427
|
const deserializeAws_json1_1SubscribeToShardEventStream = (output, context) => {
|
|
@@ -2538,7 +2479,7 @@ const deserializeAws_json1_1SubscribeToShardEventStream = (output, context) => {
|
|
|
2538
2479
|
};
|
|
2539
2480
|
const deserializeAws_json1_1SubscribeToShardOutput = (output, context) => {
|
|
2540
2481
|
return {
|
|
2541
|
-
EventStream: output.EventStream
|
|
2482
|
+
EventStream: output.EventStream != null
|
|
2542
2483
|
? deserializeAws_json1_1SubscribeToShardEventStream((0, smithy_client_1.expectUnion)(output.EventStream), context)
|
|
2543
2484
|
: undefined,
|
|
2544
2485
|
};
|
|
@@ -2616,6 +2557,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2616
2557
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2617
2558
|
const sanitizeErrorCode = (rawValue) => {
|
|
2618
2559
|
let cleanValue = rawValue;
|
|
2560
|
+
if (typeof cleanValue === "number") {
|
|
2561
|
+
cleanValue = cleanValue.toString();
|
|
2562
|
+
}
|
|
2619
2563
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2620
2564
|
cleanValue = cleanValue.split(":")[0];
|
|
2621
2565
|
}
|
|
@@ -2320,88 +2320,71 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
2320
2320
|
});
|
|
2321
2321
|
}); };
|
|
2322
2322
|
var serializeAws_json1_1AddTagsToStreamInput = function (input, context) {
|
|
2323
|
-
return __assign(__assign({}, (input.StreamName
|
|
2323
|
+
return __assign(__assign({}, (input.StreamName != null && { StreamName: input.StreamName })), (input.Tags != null && { Tags: serializeAws_json1_1TagMap(input.Tags, context) }));
|
|
2324
2324
|
};
|
|
2325
2325
|
var serializeAws_json1_1CreateStreamInput = function (input, context) {
|
|
2326
|
-
return __assign(__assign(__assign({}, (input.ShardCount
|
|
2327
|
-
input.StreamModeDetails !== null && {
|
|
2326
|
+
return __assign(__assign(__assign({}, (input.ShardCount != null && { ShardCount: input.ShardCount })), (input.StreamModeDetails != null && {
|
|
2328
2327
|
StreamModeDetails: serializeAws_json1_1StreamModeDetails(input.StreamModeDetails, context),
|
|
2329
|
-
})), (input.StreamName
|
|
2328
|
+
})), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2330
2329
|
};
|
|
2331
2330
|
var serializeAws_json1_1DecreaseStreamRetentionPeriodInput = function (input, context) {
|
|
2332
|
-
return __assign(__assign({}, (input.RetentionPeriodHours
|
|
2333
|
-
input.RetentionPeriodHours !== null && { RetentionPeriodHours: input.RetentionPeriodHours })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2331
|
+
return __assign(__assign({}, (input.RetentionPeriodHours != null && { RetentionPeriodHours: input.RetentionPeriodHours })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2334
2332
|
};
|
|
2335
2333
|
var serializeAws_json1_1DeleteStreamInput = function (input, context) {
|
|
2336
|
-
return __assign(__assign({}, (input.EnforceConsumerDeletion
|
|
2337
|
-
input.EnforceConsumerDeletion !== null && { EnforceConsumerDeletion: input.EnforceConsumerDeletion })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2334
|
+
return __assign(__assign({}, (input.EnforceConsumerDeletion != null && { EnforceConsumerDeletion: input.EnforceConsumerDeletion })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2338
2335
|
};
|
|
2339
2336
|
var serializeAws_json1_1DeregisterStreamConsumerInput = function (input, context) {
|
|
2340
|
-
return __assign(__assign(__assign({}, (input.ConsumerARN
|
|
2337
|
+
return __assign(__assign(__assign({}, (input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN })), (input.ConsumerName != null && { ConsumerName: input.ConsumerName })), (input.StreamARN != null && { StreamARN: input.StreamARN }));
|
|
2341
2338
|
};
|
|
2342
2339
|
var serializeAws_json1_1DescribeLimitsInput = function (input, context) {
|
|
2343
2340
|
return {};
|
|
2344
2341
|
};
|
|
2345
2342
|
var serializeAws_json1_1DescribeStreamConsumerInput = function (input, context) {
|
|
2346
|
-
return __assign(__assign(__assign({}, (input.ConsumerARN
|
|
2343
|
+
return __assign(__assign(__assign({}, (input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN })), (input.ConsumerName != null && { ConsumerName: input.ConsumerName })), (input.StreamARN != null && { StreamARN: input.StreamARN }));
|
|
2347
2344
|
};
|
|
2348
2345
|
var serializeAws_json1_1DescribeStreamInput = function (input, context) {
|
|
2349
|
-
return __assign(__assign(__assign({}, (input.ExclusiveStartShardId
|
|
2350
|
-
input.ExclusiveStartShardId !== null && { ExclusiveStartShardId: input.ExclusiveStartShardId })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2346
|
+
return __assign(__assign(__assign({}, (input.ExclusiveStartShardId != null && { ExclusiveStartShardId: input.ExclusiveStartShardId })), (input.Limit != null && { Limit: input.Limit })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2351
2347
|
};
|
|
2352
2348
|
var serializeAws_json1_1DescribeStreamSummaryInput = function (input, context) {
|
|
2353
|
-
return __assign({}, (input.StreamName
|
|
2349
|
+
return __assign({}, (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2354
2350
|
};
|
|
2355
2351
|
var serializeAws_json1_1DisableEnhancedMonitoringInput = function (input, context) {
|
|
2356
|
-
return __assign(__assign({}, (input.ShardLevelMetrics
|
|
2357
|
-
input.ShardLevelMetrics !== null && {
|
|
2352
|
+
return __assign(__assign({}, (input.ShardLevelMetrics != null && {
|
|
2358
2353
|
ShardLevelMetrics: serializeAws_json1_1MetricsNameList(input.ShardLevelMetrics, context),
|
|
2359
|
-
})), (input.StreamName
|
|
2354
|
+
})), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2360
2355
|
};
|
|
2361
2356
|
var serializeAws_json1_1EnableEnhancedMonitoringInput = function (input, context) {
|
|
2362
|
-
return __assign(__assign({}, (input.ShardLevelMetrics
|
|
2363
|
-
input.ShardLevelMetrics !== null && {
|
|
2357
|
+
return __assign(__assign({}, (input.ShardLevelMetrics != null && {
|
|
2364
2358
|
ShardLevelMetrics: serializeAws_json1_1MetricsNameList(input.ShardLevelMetrics, context),
|
|
2365
|
-
})), (input.StreamName
|
|
2359
|
+
})), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2366
2360
|
};
|
|
2367
2361
|
var serializeAws_json1_1GetRecordsInput = function (input, context) {
|
|
2368
|
-
return __assign(__assign({}, (input.Limit
|
|
2362
|
+
return __assign(__assign({}, (input.Limit != null && { Limit: input.Limit })), (input.ShardIterator != null && { ShardIterator: input.ShardIterator }));
|
|
2369
2363
|
};
|
|
2370
2364
|
var serializeAws_json1_1GetShardIteratorInput = function (input, context) {
|
|
2371
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ShardId
|
|
2372
|
-
input.ShardIteratorType !== null && { ShardIteratorType: input.ShardIteratorType })), (input.StartingSequenceNumber !== undefined &&
|
|
2373
|
-
input.StartingSequenceNumber !== null && { StartingSequenceNumber: input.StartingSequenceNumber })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName })), (input.Timestamp !== undefined &&
|
|
2374
|
-
input.Timestamp !== null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }));
|
|
2365
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ShardId != null && { ShardId: input.ShardId })), (input.ShardIteratorType != null && { ShardIteratorType: input.ShardIteratorType })), (input.StartingSequenceNumber != null && { StartingSequenceNumber: input.StartingSequenceNumber })), (input.StreamName != null && { StreamName: input.StreamName })), (input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) }));
|
|
2375
2366
|
};
|
|
2376
2367
|
var serializeAws_json1_1IncreaseStreamRetentionPeriodInput = function (input, context) {
|
|
2377
|
-
return __assign(__assign({}, (input.RetentionPeriodHours
|
|
2378
|
-
input.RetentionPeriodHours !== null && { RetentionPeriodHours: input.RetentionPeriodHours })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2368
|
+
return __assign(__assign({}, (input.RetentionPeriodHours != null && { RetentionPeriodHours: input.RetentionPeriodHours })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2379
2369
|
};
|
|
2380
2370
|
var serializeAws_json1_1ListShardsInput = function (input, context) {
|
|
2381
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusiveStartShardId
|
|
2382
|
-
input.ExclusiveStartShardId !== null && { ExclusiveStartShardId: input.ExclusiveStartShardId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ShardFilter !== undefined &&
|
|
2383
|
-
input.ShardFilter !== null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) })), (input.StreamCreationTimestamp !== undefined &&
|
|
2384
|
-
input.StreamCreationTimestamp !== null && {
|
|
2371
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExclusiveStartShardId != null && { ExclusiveStartShardId: input.ExclusiveStartShardId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ShardFilter != null && { ShardFilter: serializeAws_json1_1ShardFilter(input.ShardFilter, context) })), (input.StreamCreationTimestamp != null && {
|
|
2385
2372
|
StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
|
|
2386
|
-
})), (input.StreamName
|
|
2373
|
+
})), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2387
2374
|
};
|
|
2388
2375
|
var serializeAws_json1_1ListStreamConsumersInput = function (input, context) {
|
|
2389
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
2390
|
-
input.StreamCreationTimestamp !== null && {
|
|
2376
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamCreationTimestamp != null && {
|
|
2391
2377
|
StreamCreationTimestamp: Math.round(input.StreamCreationTimestamp.getTime() / 1000),
|
|
2392
2378
|
}));
|
|
2393
2379
|
};
|
|
2394
2380
|
var serializeAws_json1_1ListStreamsInput = function (input, context) {
|
|
2395
|
-
return __assign(__assign({}, (input.ExclusiveStartStreamName
|
|
2396
|
-
input.ExclusiveStartStreamName !== null && { ExclusiveStartStreamName: input.ExclusiveStartStreamName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }));
|
|
2381
|
+
return __assign(__assign({}, (input.ExclusiveStartStreamName != null && { ExclusiveStartStreamName: input.ExclusiveStartStreamName })), (input.Limit != null && { Limit: input.Limit }));
|
|
2397
2382
|
};
|
|
2398
2383
|
var serializeAws_json1_1ListTagsForStreamInput = function (input, context) {
|
|
2399
|
-
return __assign(__assign(__assign({}, (input.ExclusiveStartTagKey
|
|
2400
|
-
input.ExclusiveStartTagKey !== null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2384
|
+
return __assign(__assign(__assign({}, (input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey })), (input.Limit != null && { Limit: input.Limit })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2401
2385
|
};
|
|
2402
2386
|
var serializeAws_json1_1MergeShardsInput = function (input, context) {
|
|
2403
|
-
return __assign(__assign(__assign({}, (input.AdjacentShardToMerge
|
|
2404
|
-
input.AdjacentShardToMerge !== null && { AdjacentShardToMerge: input.AdjacentShardToMerge })), (input.ShardToMerge !== undefined && input.ShardToMerge !== null && { ShardToMerge: input.ShardToMerge })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2387
|
+
return __assign(__assign(__assign({}, (input.AdjacentShardToMerge != null && { AdjacentShardToMerge: input.AdjacentShardToMerge })), (input.ShardToMerge != null && { ShardToMerge: input.ShardToMerge })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2405
2388
|
};
|
|
2406
2389
|
var serializeAws_json1_1MetricsNameList = function (input, context) {
|
|
2407
2390
|
return input
|
|
@@ -2414,17 +2397,13 @@ var serializeAws_json1_1MetricsNameList = function (input, context) {
|
|
|
2414
2397
|
});
|
|
2415
2398
|
};
|
|
2416
2399
|
var serializeAws_json1_1PutRecordInput = function (input, context) {
|
|
2417
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Data
|
|
2418
|
-
input.ExplicitHashKey !== null && { ExplicitHashKey: input.ExplicitHashKey })), (input.PartitionKey !== undefined && input.PartitionKey !== null && { PartitionKey: input.PartitionKey })), (input.SequenceNumberForOrdering !== undefined &&
|
|
2419
|
-
input.SequenceNumberForOrdering !== null && { SequenceNumberForOrdering: input.SequenceNumberForOrdering })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2400
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Data != null && { Data: context.base64Encoder(input.Data) })), (input.ExplicitHashKey != null && { ExplicitHashKey: input.ExplicitHashKey })), (input.PartitionKey != null && { PartitionKey: input.PartitionKey })), (input.SequenceNumberForOrdering != null && { SequenceNumberForOrdering: input.SequenceNumberForOrdering })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2420
2401
|
};
|
|
2421
2402
|
var serializeAws_json1_1PutRecordsInput = function (input, context) {
|
|
2422
|
-
return __assign(__assign({}, (input.Records
|
|
2423
|
-
input.Records !== null && { Records: serializeAws_json1_1PutRecordsRequestEntryList(input.Records, context) })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2403
|
+
return __assign(__assign({}, (input.Records != null && { Records: serializeAws_json1_1PutRecordsRequestEntryList(input.Records, context) })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2424
2404
|
};
|
|
2425
2405
|
var serializeAws_json1_1PutRecordsRequestEntry = function (input, context) {
|
|
2426
|
-
return __assign(__assign(__assign({}, (input.Data
|
|
2427
|
-
input.ExplicitHashKey !== null && { ExplicitHashKey: input.ExplicitHashKey })), (input.PartitionKey !== undefined && input.PartitionKey !== null && { PartitionKey: input.PartitionKey }));
|
|
2406
|
+
return __assign(__assign(__assign({}, (input.Data != null && { Data: context.base64Encoder(input.Data) })), (input.ExplicitHashKey != null && { ExplicitHashKey: input.ExplicitHashKey })), (input.PartitionKey != null && { PartitionKey: input.PartitionKey }));
|
|
2428
2407
|
};
|
|
2429
2408
|
var serializeAws_json1_1PutRecordsRequestEntryList = function (input, context) {
|
|
2430
2409
|
return input
|
|
@@ -2437,39 +2416,31 @@ var serializeAws_json1_1PutRecordsRequestEntryList = function (input, context) {
|
|
|
2437
2416
|
});
|
|
2438
2417
|
};
|
|
2439
2418
|
var serializeAws_json1_1RegisterStreamConsumerInput = function (input, context) {
|
|
2440
|
-
return __assign(__assign({}, (input.ConsumerName
|
|
2419
|
+
return __assign(__assign({}, (input.ConsumerName != null && { ConsumerName: input.ConsumerName })), (input.StreamARN != null && { StreamARN: input.StreamARN }));
|
|
2441
2420
|
};
|
|
2442
2421
|
var serializeAws_json1_1RemoveTagsFromStreamInput = function (input, context) {
|
|
2443
|
-
return __assign(__assign({}, (input.StreamName
|
|
2444
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2422
|
+
return __assign(__assign({}, (input.StreamName != null && { StreamName: input.StreamName })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2445
2423
|
};
|
|
2446
2424
|
var serializeAws_json1_1ShardFilter = function (input, context) {
|
|
2447
|
-
return __assign(__assign(__assign({}, (input.ShardId
|
|
2448
|
-
input.Timestamp !== null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
2425
|
+
return __assign(__assign(__assign({}, (input.ShardId != null && { ShardId: input.ShardId })), (input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) })), (input.Type != null && { Type: input.Type }));
|
|
2449
2426
|
};
|
|
2450
2427
|
var serializeAws_json1_1SplitShardInput = function (input, context) {
|
|
2451
|
-
return __assign(__assign(__assign({}, (input.NewStartingHashKey
|
|
2452
|
-
input.NewStartingHashKey !== null && { NewStartingHashKey: input.NewStartingHashKey })), (input.ShardToSplit !== undefined && input.ShardToSplit !== null && { ShardToSplit: input.ShardToSplit })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2428
|
+
return __assign(__assign(__assign({}, (input.NewStartingHashKey != null && { NewStartingHashKey: input.NewStartingHashKey })), (input.ShardToSplit != null && { ShardToSplit: input.ShardToSplit })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2453
2429
|
};
|
|
2454
2430
|
var serializeAws_json1_1StartingPosition = function (input, context) {
|
|
2455
|
-
return __assign(__assign(__assign({}, (input.SequenceNumber
|
|
2456
|
-
input.SequenceNumber !== null && { SequenceNumber: input.SequenceNumber })), (input.Timestamp !== undefined &&
|
|
2457
|
-
input.Timestamp !== null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
2431
|
+
return __assign(__assign(__assign({}, (input.SequenceNumber != null && { SequenceNumber: input.SequenceNumber })), (input.Timestamp != null && { Timestamp: Math.round(input.Timestamp.getTime() / 1000) })), (input.Type != null && { Type: input.Type }));
|
|
2458
2432
|
};
|
|
2459
2433
|
var serializeAws_json1_1StartStreamEncryptionInput = function (input, context) {
|
|
2460
|
-
return __assign(__assign(__assign({}, (input.EncryptionType
|
|
2461
|
-
input.EncryptionType !== null && { EncryptionType: input.EncryptionType })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2434
|
+
return __assign(__assign(__assign({}, (input.EncryptionType != null && { EncryptionType: input.EncryptionType })), (input.KeyId != null && { KeyId: input.KeyId })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2462
2435
|
};
|
|
2463
2436
|
var serializeAws_json1_1StopStreamEncryptionInput = function (input, context) {
|
|
2464
|
-
return __assign(__assign(__assign({}, (input.EncryptionType
|
|
2465
|
-
input.EncryptionType !== null && { EncryptionType: input.EncryptionType })), (input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }));
|
|
2437
|
+
return __assign(__assign(__assign({}, (input.EncryptionType != null && { EncryptionType: input.EncryptionType })), (input.KeyId != null && { KeyId: input.KeyId })), (input.StreamName != null && { StreamName: input.StreamName }));
|
|
2466
2438
|
};
|
|
2467
2439
|
var serializeAws_json1_1StreamModeDetails = function (input, context) {
|
|
2468
|
-
return __assign({}, (input.StreamMode
|
|
2440
|
+
return __assign({}, (input.StreamMode != null && { StreamMode: input.StreamMode }));
|
|
2469
2441
|
};
|
|
2470
2442
|
var serializeAws_json1_1SubscribeToShardInput = function (input, context) {
|
|
2471
|
-
return __assign(__assign(__assign({}, (input.ConsumerARN
|
|
2472
|
-
input.StartingPosition !== null && {
|
|
2443
|
+
return __assign(__assign(__assign({}, (input.ConsumerARN != null && { ConsumerARN: input.ConsumerARN })), (input.ShardId != null && { ShardId: input.ShardId })), (input.StartingPosition != null && {
|
|
2473
2444
|
StartingPosition: serializeAws_json1_1StartingPosition(input.StartingPosition, context),
|
|
2474
2445
|
}));
|
|
2475
2446
|
};
|
|
@@ -2494,23 +2465,17 @@ var serializeAws_json1_1TagMap = function (input, context) {
|
|
|
2494
2465
|
}, {});
|
|
2495
2466
|
};
|
|
2496
2467
|
var serializeAws_json1_1UpdateShardCountInput = function (input, context) {
|
|
2497
|
-
return __assign(__assign(__assign({}, (input.ScalingType
|
|
2498
|
-
input.TargetShardCount !== null && { TargetShardCount: input.TargetShardCount }));
|
|
2468
|
+
return __assign(__assign(__assign({}, (input.ScalingType != null && { ScalingType: input.ScalingType })), (input.StreamName != null && { StreamName: input.StreamName })), (input.TargetShardCount != null && { TargetShardCount: input.TargetShardCount }));
|
|
2499
2469
|
};
|
|
2500
2470
|
var serializeAws_json1_1UpdateStreamModeInput = function (input, context) {
|
|
2501
|
-
return __assign(__assign({}, (input.StreamARN
|
|
2502
|
-
input.StreamModeDetails !== null && {
|
|
2471
|
+
return __assign(__assign({}, (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamModeDetails != null && {
|
|
2503
2472
|
StreamModeDetails: serializeAws_json1_1StreamModeDetails(input.StreamModeDetails, context),
|
|
2504
2473
|
}));
|
|
2505
2474
|
};
|
|
2506
2475
|
var deserializeAws_json1_1ChildShard = function (output, context) {
|
|
2507
2476
|
return {
|
|
2508
|
-
HashKeyRange: output.HashKeyRange
|
|
2509
|
-
|
|
2510
|
-
: undefined,
|
|
2511
|
-
ParentShards: output.ParentShards !== undefined && output.ParentShards !== null
|
|
2512
|
-
? deserializeAws_json1_1ShardIdList(output.ParentShards, context)
|
|
2513
|
-
: undefined,
|
|
2477
|
+
HashKeyRange: output.HashKeyRange != null ? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context) : undefined,
|
|
2478
|
+
ParentShards: output.ParentShards != null ? deserializeAws_json1_1ShardIdList(output.ParentShards, context) : undefined,
|
|
2514
2479
|
ShardId: __expectString(output.ShardId),
|
|
2515
2480
|
};
|
|
2516
2481
|
};
|
|
@@ -2528,7 +2493,7 @@ var deserializeAws_json1_1ChildShardList = function (output, context) {
|
|
|
2528
2493
|
var deserializeAws_json1_1Consumer = function (output, context) {
|
|
2529
2494
|
return {
|
|
2530
2495
|
ConsumerARN: __expectString(output.ConsumerARN),
|
|
2531
|
-
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp
|
|
2496
|
+
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp != null
|
|
2532
2497
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConsumerCreationTimestamp)))
|
|
2533
2498
|
: undefined,
|
|
2534
2499
|
ConsumerName: __expectString(output.ConsumerName),
|
|
@@ -2538,7 +2503,7 @@ var deserializeAws_json1_1Consumer = function (output, context) {
|
|
|
2538
2503
|
var deserializeAws_json1_1ConsumerDescription = function (output, context) {
|
|
2539
2504
|
return {
|
|
2540
2505
|
ConsumerARN: __expectString(output.ConsumerARN),
|
|
2541
|
-
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp
|
|
2506
|
+
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp != null
|
|
2542
2507
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConsumerCreationTimestamp)))
|
|
2543
2508
|
: undefined,
|
|
2544
2509
|
ConsumerName: __expectString(output.ConsumerName),
|
|
@@ -2567,28 +2532,28 @@ var deserializeAws_json1_1DescribeLimitsOutput = function (output, context) {
|
|
|
2567
2532
|
};
|
|
2568
2533
|
var deserializeAws_json1_1DescribeStreamConsumerOutput = function (output, context) {
|
|
2569
2534
|
return {
|
|
2570
|
-
ConsumerDescription: output.ConsumerDescription
|
|
2535
|
+
ConsumerDescription: output.ConsumerDescription != null
|
|
2571
2536
|
? deserializeAws_json1_1ConsumerDescription(output.ConsumerDescription, context)
|
|
2572
2537
|
: undefined,
|
|
2573
2538
|
};
|
|
2574
2539
|
};
|
|
2575
2540
|
var deserializeAws_json1_1DescribeStreamOutput = function (output, context) {
|
|
2576
2541
|
return {
|
|
2577
|
-
StreamDescription: output.StreamDescription
|
|
2542
|
+
StreamDescription: output.StreamDescription != null
|
|
2578
2543
|
? deserializeAws_json1_1StreamDescription(output.StreamDescription, context)
|
|
2579
2544
|
: undefined,
|
|
2580
2545
|
};
|
|
2581
2546
|
};
|
|
2582
2547
|
var deserializeAws_json1_1DescribeStreamSummaryOutput = function (output, context) {
|
|
2583
2548
|
return {
|
|
2584
|
-
StreamDescriptionSummary: output.StreamDescriptionSummary
|
|
2549
|
+
StreamDescriptionSummary: output.StreamDescriptionSummary != null
|
|
2585
2550
|
? deserializeAws_json1_1StreamDescriptionSummary(output.StreamDescriptionSummary, context)
|
|
2586
2551
|
: undefined,
|
|
2587
2552
|
};
|
|
2588
2553
|
};
|
|
2589
2554
|
var deserializeAws_json1_1EnhancedMetrics = function (output, context) {
|
|
2590
2555
|
return {
|
|
2591
|
-
ShardLevelMetrics: output.ShardLevelMetrics
|
|
2556
|
+
ShardLevelMetrics: output.ShardLevelMetrics != null
|
|
2592
2557
|
? deserializeAws_json1_1MetricsNameList(output.ShardLevelMetrics, context)
|
|
2593
2558
|
: undefined,
|
|
2594
2559
|
};
|
|
@@ -2606,10 +2571,10 @@ var deserializeAws_json1_1EnhancedMonitoringList = function (output, context) {
|
|
|
2606
2571
|
};
|
|
2607
2572
|
var deserializeAws_json1_1EnhancedMonitoringOutput = function (output, context) {
|
|
2608
2573
|
return {
|
|
2609
|
-
CurrentShardLevelMetrics: output.CurrentShardLevelMetrics
|
|
2574
|
+
CurrentShardLevelMetrics: output.CurrentShardLevelMetrics != null
|
|
2610
2575
|
? deserializeAws_json1_1MetricsNameList(output.CurrentShardLevelMetrics, context)
|
|
2611
2576
|
: undefined,
|
|
2612
|
-
DesiredShardLevelMetrics: output.DesiredShardLevelMetrics
|
|
2577
|
+
DesiredShardLevelMetrics: output.DesiredShardLevelMetrics != null
|
|
2613
2578
|
? deserializeAws_json1_1MetricsNameList(output.DesiredShardLevelMetrics, context)
|
|
2614
2579
|
: undefined,
|
|
2615
2580
|
StreamName: __expectString(output.StreamName),
|
|
@@ -2627,14 +2592,10 @@ var deserializeAws_json1_1ExpiredNextTokenException = function (output, context)
|
|
|
2627
2592
|
};
|
|
2628
2593
|
var deserializeAws_json1_1GetRecordsOutput = function (output, context) {
|
|
2629
2594
|
return {
|
|
2630
|
-
ChildShards: output.ChildShards
|
|
2631
|
-
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
2632
|
-
: undefined,
|
|
2595
|
+
ChildShards: output.ChildShards != null ? deserializeAws_json1_1ChildShardList(output.ChildShards, context) : undefined,
|
|
2633
2596
|
MillisBehindLatest: __expectLong(output.MillisBehindLatest),
|
|
2634
2597
|
NextShardIterator: __expectString(output.NextShardIterator),
|
|
2635
|
-
Records: output.Records
|
|
2636
|
-
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
2637
|
-
: undefined,
|
|
2598
|
+
Records: output.Records != null ? deserializeAws_json1_1RecordList(output.Records, context) : undefined,
|
|
2638
2599
|
};
|
|
2639
2600
|
};
|
|
2640
2601
|
var deserializeAws_json1_1GetShardIteratorOutput = function (output, context) {
|
|
@@ -2696,33 +2657,25 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2696
2657
|
var deserializeAws_json1_1ListShardsOutput = function (output, context) {
|
|
2697
2658
|
return {
|
|
2698
2659
|
NextToken: __expectString(output.NextToken),
|
|
2699
|
-
Shards: output.Shards
|
|
2700
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
2701
|
-
: undefined,
|
|
2660
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
2702
2661
|
};
|
|
2703
2662
|
};
|
|
2704
2663
|
var deserializeAws_json1_1ListStreamConsumersOutput = function (output, context) {
|
|
2705
2664
|
return {
|
|
2706
|
-
Consumers: output.Consumers
|
|
2707
|
-
? deserializeAws_json1_1ConsumerList(output.Consumers, context)
|
|
2708
|
-
: undefined,
|
|
2665
|
+
Consumers: output.Consumers != null ? deserializeAws_json1_1ConsumerList(output.Consumers, context) : undefined,
|
|
2709
2666
|
NextToken: __expectString(output.NextToken),
|
|
2710
2667
|
};
|
|
2711
2668
|
};
|
|
2712
2669
|
var deserializeAws_json1_1ListStreamsOutput = function (output, context) {
|
|
2713
2670
|
return {
|
|
2714
2671
|
HasMoreStreams: __expectBoolean(output.HasMoreStreams),
|
|
2715
|
-
StreamNames: output.StreamNames
|
|
2716
|
-
? deserializeAws_json1_1StreamNameList(output.StreamNames, context)
|
|
2717
|
-
: undefined,
|
|
2672
|
+
StreamNames: output.StreamNames != null ? deserializeAws_json1_1StreamNameList(output.StreamNames, context) : undefined,
|
|
2718
2673
|
};
|
|
2719
2674
|
};
|
|
2720
2675
|
var deserializeAws_json1_1ListTagsForStreamOutput = function (output, context) {
|
|
2721
2676
|
return {
|
|
2722
2677
|
HasMoreTags: __expectBoolean(output.HasMoreTags),
|
|
2723
|
-
Tags: output.Tags
|
|
2724
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2725
|
-
: undefined,
|
|
2678
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2726
2679
|
};
|
|
2727
2680
|
};
|
|
2728
2681
|
var deserializeAws_json1_1MetricsNameList = function (output, context) {
|
|
@@ -2752,9 +2705,7 @@ var deserializeAws_json1_1PutRecordsOutput = function (output, context) {
|
|
|
2752
2705
|
return {
|
|
2753
2706
|
EncryptionType: __expectString(output.EncryptionType),
|
|
2754
2707
|
FailedRecordCount: __expectInt32(output.FailedRecordCount),
|
|
2755
|
-
Records: output.Records
|
|
2756
|
-
? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context)
|
|
2757
|
-
: undefined,
|
|
2708
|
+
Records: output.Records != null ? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context) : undefined,
|
|
2758
2709
|
};
|
|
2759
2710
|
};
|
|
2760
2711
|
var deserializeAws_json1_1PutRecordsResultEntry = function (output, context) {
|
|
@@ -2778,10 +2729,10 @@ var deserializeAws_json1_1PutRecordsResultEntryList = function (output, context)
|
|
|
2778
2729
|
};
|
|
2779
2730
|
var deserializeAws_json1_1_Record = function (output, context) {
|
|
2780
2731
|
return {
|
|
2781
|
-
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp
|
|
2732
|
+
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp != null
|
|
2782
2733
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ApproximateArrivalTimestamp)))
|
|
2783
2734
|
: undefined,
|
|
2784
|
-
Data: output.Data
|
|
2735
|
+
Data: output.Data != null ? context.base64Decoder(output.Data) : undefined,
|
|
2785
2736
|
EncryptionType: __expectString(output.EncryptionType),
|
|
2786
2737
|
PartitionKey: __expectString(output.PartitionKey),
|
|
2787
2738
|
SequenceNumber: __expectString(output.SequenceNumber),
|
|
@@ -2800,9 +2751,7 @@ var deserializeAws_json1_1RecordList = function (output, context) {
|
|
|
2800
2751
|
};
|
|
2801
2752
|
var deserializeAws_json1_1RegisterStreamConsumerOutput = function (output, context) {
|
|
2802
2753
|
return {
|
|
2803
|
-
Consumer: output.Consumer
|
|
2804
|
-
? deserializeAws_json1_1Consumer(output.Consumer, context)
|
|
2805
|
-
: undefined,
|
|
2754
|
+
Consumer: output.Consumer != null ? deserializeAws_json1_1Consumer(output.Consumer, context) : undefined,
|
|
2806
2755
|
};
|
|
2807
2756
|
};
|
|
2808
2757
|
var deserializeAws_json1_1ResourceInUseException = function (output, context) {
|
|
@@ -2824,11 +2773,9 @@ var deserializeAws_json1_1SequenceNumberRange = function (output, context) {
|
|
|
2824
2773
|
var deserializeAws_json1_1Shard = function (output, context) {
|
|
2825
2774
|
return {
|
|
2826
2775
|
AdjacentParentShardId: __expectString(output.AdjacentParentShardId),
|
|
2827
|
-
HashKeyRange: output.HashKeyRange
|
|
2828
|
-
? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context)
|
|
2829
|
-
: undefined,
|
|
2776
|
+
HashKeyRange: output.HashKeyRange != null ? deserializeAws_json1_1HashKeyRange(output.HashKeyRange, context) : undefined,
|
|
2830
2777
|
ParentShardId: __expectString(output.ParentShardId),
|
|
2831
|
-
SequenceNumberRange: output.SequenceNumberRange
|
|
2778
|
+
SequenceNumberRange: output.SequenceNumberRange != null
|
|
2832
2779
|
? deserializeAws_json1_1SequenceNumberRange(output.SequenceNumberRange, context)
|
|
2833
2780
|
: undefined,
|
|
2834
2781
|
ShardId: __expectString(output.ShardId),
|
|
@@ -2859,20 +2806,18 @@ var deserializeAws_json1_1ShardList = function (output, context) {
|
|
|
2859
2806
|
var deserializeAws_json1_1StreamDescription = function (output, context) {
|
|
2860
2807
|
return {
|
|
2861
2808
|
EncryptionType: __expectString(output.EncryptionType),
|
|
2862
|
-
EnhancedMonitoring: output.EnhancedMonitoring
|
|
2809
|
+
EnhancedMonitoring: output.EnhancedMonitoring != null
|
|
2863
2810
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
2864
2811
|
: undefined,
|
|
2865
2812
|
HasMoreShards: __expectBoolean(output.HasMoreShards),
|
|
2866
2813
|
KeyId: __expectString(output.KeyId),
|
|
2867
2814
|
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
2868
|
-
Shards: output.Shards
|
|
2869
|
-
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
2870
|
-
: undefined,
|
|
2815
|
+
Shards: output.Shards != null ? deserializeAws_json1_1ShardList(output.Shards, context) : undefined,
|
|
2871
2816
|
StreamARN: __expectString(output.StreamARN),
|
|
2872
|
-
StreamCreationTimestamp: output.StreamCreationTimestamp
|
|
2817
|
+
StreamCreationTimestamp: output.StreamCreationTimestamp != null
|
|
2873
2818
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StreamCreationTimestamp)))
|
|
2874
2819
|
: undefined,
|
|
2875
|
-
StreamModeDetails: output.StreamModeDetails
|
|
2820
|
+
StreamModeDetails: output.StreamModeDetails != null
|
|
2876
2821
|
? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
|
|
2877
2822
|
: undefined,
|
|
2878
2823
|
StreamName: __expectString(output.StreamName),
|
|
@@ -2883,17 +2828,17 @@ var deserializeAws_json1_1StreamDescriptionSummary = function (output, context)
|
|
|
2883
2828
|
return {
|
|
2884
2829
|
ConsumerCount: __expectInt32(output.ConsumerCount),
|
|
2885
2830
|
EncryptionType: __expectString(output.EncryptionType),
|
|
2886
|
-
EnhancedMonitoring: output.EnhancedMonitoring
|
|
2831
|
+
EnhancedMonitoring: output.EnhancedMonitoring != null
|
|
2887
2832
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
2888
2833
|
: undefined,
|
|
2889
2834
|
KeyId: __expectString(output.KeyId),
|
|
2890
2835
|
OpenShardCount: __expectInt32(output.OpenShardCount),
|
|
2891
2836
|
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
2892
2837
|
StreamARN: __expectString(output.StreamARN),
|
|
2893
|
-
StreamCreationTimestamp: output.StreamCreationTimestamp
|
|
2838
|
+
StreamCreationTimestamp: output.StreamCreationTimestamp != null
|
|
2894
2839
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StreamCreationTimestamp)))
|
|
2895
2840
|
: undefined,
|
|
2896
|
-
StreamModeDetails: output.StreamModeDetails
|
|
2841
|
+
StreamModeDetails: output.StreamModeDetails != null
|
|
2897
2842
|
? deserializeAws_json1_1StreamModeDetails(output.StreamModeDetails, context)
|
|
2898
2843
|
: undefined,
|
|
2899
2844
|
StreamName: __expectString(output.StreamName),
|
|
@@ -2918,14 +2863,10 @@ var deserializeAws_json1_1StreamNameList = function (output, context) {
|
|
|
2918
2863
|
};
|
|
2919
2864
|
var deserializeAws_json1_1SubscribeToShardEvent = function (output, context) {
|
|
2920
2865
|
return {
|
|
2921
|
-
ChildShards: output.ChildShards
|
|
2922
|
-
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
2923
|
-
: undefined,
|
|
2866
|
+
ChildShards: output.ChildShards != null ? deserializeAws_json1_1ChildShardList(output.ChildShards, context) : undefined,
|
|
2924
2867
|
ContinuationSequenceNumber: __expectString(output.ContinuationSequenceNumber),
|
|
2925
2868
|
MillisBehindLatest: __expectLong(output.MillisBehindLatest),
|
|
2926
|
-
Records: output.Records
|
|
2927
|
-
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
2928
|
-
: undefined,
|
|
2869
|
+
Records: output.Records != null ? deserializeAws_json1_1RecordList(output.Records, context) : undefined,
|
|
2929
2870
|
};
|
|
2930
2871
|
};
|
|
2931
2872
|
var deserializeAws_json1_1SubscribeToShardEventStream = function (output, context) {
|
|
@@ -2983,7 +2924,7 @@ var deserializeAws_json1_1SubscribeToShardEventStream = function (output, contex
|
|
|
2983
2924
|
};
|
|
2984
2925
|
var deserializeAws_json1_1SubscribeToShardOutput = function (output, context) {
|
|
2985
2926
|
return {
|
|
2986
|
-
EventStream: output.EventStream
|
|
2927
|
+
EventStream: output.EventStream != null
|
|
2987
2928
|
? deserializeAws_json1_1SubscribeToShardEventStream(__expectUnion(output.EventStream), context)
|
|
2988
2929
|
: undefined,
|
|
2989
2930
|
};
|
|
@@ -3073,6 +3014,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
3073
3014
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
3074
3015
|
var sanitizeErrorCode = function (rawValue) {
|
|
3075
3016
|
var cleanValue = rawValue;
|
|
3017
|
+
if (typeof cleanValue === "number") {
|
|
3018
|
+
cleanValue = cleanValue.toString();
|
|
3019
|
+
}
|
|
3076
3020
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3077
3021
|
cleanValue = cleanValue.split(":")[0];
|
|
3078
3022
|
}
|
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.
|
|
4
|
+
"version": "3.130.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",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
25
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
26
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.130.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.130.0",
|
|
24
|
+
"@aws-sdk/eventstream-serde-browser": "3.127.0",
|
|
25
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
|
|
26
|
+
"@aws-sdk/eventstream-serde-node": "3.127.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
43
|
+
"@aws-sdk/types": "3.127.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
45
45
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
46
46
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
54
54
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.127.0",
|
|
56
56
|
"tslib": "^2.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|