@aws-sdk/client-kinesis 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +35 -35
- package/dist/cjs/protocols/Aws_json1_1.js +17 -17
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +35 -35
- package/dist/es/protocols/Aws_json1_1.js +18 -18
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +35 -35
- package/protocols/Aws_json1_1.ts +23 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,49 +27,49 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
34
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
35
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
36
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
37
|
-
"@aws-sdk/hash-node": "3.
|
|
38
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
39
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
40
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
41
|
-
"@aws-sdk/middleware-logger": "3.
|
|
42
|
-
"@aws-sdk/middleware-retry": "3.
|
|
43
|
-
"@aws-sdk/middleware-serde": "3.
|
|
44
|
-
"@aws-sdk/middleware-signing": "3.
|
|
45
|
-
"@aws-sdk/middleware-stack": "3.
|
|
46
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
47
|
-
"@aws-sdk/node-config-provider": "3.
|
|
48
|
-
"@aws-sdk/node-http-handler": "3.
|
|
49
|
-
"@aws-sdk/protocol-http": "3.
|
|
50
|
-
"@aws-sdk/smithy-client": "3.
|
|
51
|
-
"@aws-sdk/types": "3.
|
|
52
|
-
"@aws-sdk/url-parser": "3.
|
|
53
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
54
|
-
"@aws-sdk/util-base64-node": "3.
|
|
55
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
56
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
59
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
60
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
61
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/eventstream-serde-browser": "3.32.0",
|
|
34
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.32.0",
|
|
35
|
+
"@aws-sdk/eventstream-serde-node": "3.32.0",
|
|
36
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
37
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
38
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
44
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
45
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
46
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
47
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
48
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
49
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
50
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
51
|
+
"@aws-sdk/types": "3.32.0",
|
|
52
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
59
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
60
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
61
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
62
62
|
"tslib": "^2.3.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
65
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
66
66
|
"@types/node": "^12.7.5",
|
|
67
67
|
"downlevel-dts": "0.7.0",
|
|
68
68
|
"jest": "^26.1.0",
|
|
69
69
|
"rimraf": "^3.0.0",
|
|
70
70
|
"ts-jest": "^26.4.1",
|
|
71
71
|
"typedoc": "^0.19.2",
|
|
72
|
-
"typescript": "~4.3.
|
|
72
|
+
"typescript": "~4.3.5"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=10.0.0"
|
|
@@ -2758,7 +2758,7 @@ const deserializeAws_json1_1Consumer = (output, context) => {
|
|
|
2758
2758
|
return {
|
|
2759
2759
|
ConsumerARN: smithy_client_1.expectString(output.ConsumerARN),
|
|
2760
2760
|
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
|
|
2761
|
-
?
|
|
2761
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConsumerCreationTimestamp)))
|
|
2762
2762
|
: undefined,
|
|
2763
2763
|
ConsumerName: smithy_client_1.expectString(output.ConsumerName),
|
|
2764
2764
|
ConsumerStatus: smithy_client_1.expectString(output.ConsumerStatus),
|
|
@@ -2768,7 +2768,7 @@ const deserializeAws_json1_1ConsumerDescription = (output, context) => {
|
|
|
2768
2768
|
return {
|
|
2769
2769
|
ConsumerARN: smithy_client_1.expectString(output.ConsumerARN),
|
|
2770
2770
|
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
|
|
2771
|
-
?
|
|
2771
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConsumerCreationTimestamp)))
|
|
2772
2772
|
: undefined,
|
|
2773
2773
|
ConsumerName: smithy_client_1.expectString(output.ConsumerName),
|
|
2774
2774
|
ConsumerStatus: smithy_client_1.expectString(output.ConsumerStatus),
|
|
@@ -2787,8 +2787,8 @@ const deserializeAws_json1_1ConsumerList = (output, context) => {
|
|
|
2787
2787
|
};
|
|
2788
2788
|
const deserializeAws_json1_1DescribeLimitsOutput = (output, context) => {
|
|
2789
2789
|
return {
|
|
2790
|
-
OpenShardCount: smithy_client_1.
|
|
2791
|
-
ShardLimit: smithy_client_1.
|
|
2790
|
+
OpenShardCount: smithy_client_1.expectInt32(output.OpenShardCount),
|
|
2791
|
+
ShardLimit: smithy_client_1.expectInt32(output.ShardLimit),
|
|
2792
2792
|
};
|
|
2793
2793
|
};
|
|
2794
2794
|
const deserializeAws_json1_1DescribeStreamConsumerOutput = (output, context) => {
|
|
@@ -2855,7 +2855,7 @@ const deserializeAws_json1_1GetRecordsOutput = (output, context) => {
|
|
|
2855
2855
|
ChildShards: output.ChildShards !== undefined && output.ChildShards !== null
|
|
2856
2856
|
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
2857
2857
|
: undefined,
|
|
2858
|
-
MillisBehindLatest: smithy_client_1.
|
|
2858
|
+
MillisBehindLatest: smithy_client_1.expectLong(output.MillisBehindLatest),
|
|
2859
2859
|
NextShardIterator: smithy_client_1.expectString(output.NextShardIterator),
|
|
2860
2860
|
Records: output.Records !== undefined && output.Records !== null
|
|
2861
2861
|
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
@@ -2975,7 +2975,7 @@ const deserializeAws_json1_1PutRecordOutput = (output, context) => {
|
|
|
2975
2975
|
const deserializeAws_json1_1PutRecordsOutput = (output, context) => {
|
|
2976
2976
|
return {
|
|
2977
2977
|
EncryptionType: smithy_client_1.expectString(output.EncryptionType),
|
|
2978
|
-
FailedRecordCount: smithy_client_1.
|
|
2978
|
+
FailedRecordCount: smithy_client_1.expectInt32(output.FailedRecordCount),
|
|
2979
2979
|
Records: output.Records !== undefined && output.Records !== null
|
|
2980
2980
|
? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context)
|
|
2981
2981
|
: undefined,
|
|
@@ -3002,7 +3002,7 @@ const deserializeAws_json1_1PutRecordsResultEntryList = (output, context) => {
|
|
|
3002
3002
|
const deserializeAws_json1_1_Record = (output, context) => {
|
|
3003
3003
|
return {
|
|
3004
3004
|
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp !== undefined && output.ApproximateArrivalTimestamp !== null
|
|
3005
|
-
?
|
|
3005
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApproximateArrivalTimestamp)))
|
|
3006
3006
|
: undefined,
|
|
3007
3007
|
Data: output.Data !== undefined && output.Data !== null ? context.base64Decoder(output.Data) : undefined,
|
|
3008
3008
|
EncryptionType: smithy_client_1.expectString(output.EncryptionType),
|
|
@@ -3084,13 +3084,13 @@ const deserializeAws_json1_1StreamDescription = (output, context) => {
|
|
|
3084
3084
|
: undefined,
|
|
3085
3085
|
HasMoreShards: smithy_client_1.expectBoolean(output.HasMoreShards),
|
|
3086
3086
|
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3087
|
-
RetentionPeriodHours: smithy_client_1.
|
|
3087
|
+
RetentionPeriodHours: smithy_client_1.expectInt32(output.RetentionPeriodHours),
|
|
3088
3088
|
Shards: output.Shards !== undefined && output.Shards !== null
|
|
3089
3089
|
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
3090
3090
|
: undefined,
|
|
3091
3091
|
StreamARN: smithy_client_1.expectString(output.StreamARN),
|
|
3092
3092
|
StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
|
|
3093
|
-
?
|
|
3093
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StreamCreationTimestamp)))
|
|
3094
3094
|
: undefined,
|
|
3095
3095
|
StreamName: smithy_client_1.expectString(output.StreamName),
|
|
3096
3096
|
StreamStatus: smithy_client_1.expectString(output.StreamStatus),
|
|
@@ -3098,17 +3098,17 @@ const deserializeAws_json1_1StreamDescription = (output, context) => {
|
|
|
3098
3098
|
};
|
|
3099
3099
|
const deserializeAws_json1_1StreamDescriptionSummary = (output, context) => {
|
|
3100
3100
|
return {
|
|
3101
|
-
ConsumerCount: smithy_client_1.
|
|
3101
|
+
ConsumerCount: smithy_client_1.expectInt32(output.ConsumerCount),
|
|
3102
3102
|
EncryptionType: smithy_client_1.expectString(output.EncryptionType),
|
|
3103
3103
|
EnhancedMonitoring: output.EnhancedMonitoring !== undefined && output.EnhancedMonitoring !== null
|
|
3104
3104
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
3105
3105
|
: undefined,
|
|
3106
3106
|
KeyId: smithy_client_1.expectString(output.KeyId),
|
|
3107
|
-
OpenShardCount: smithy_client_1.
|
|
3108
|
-
RetentionPeriodHours: smithy_client_1.
|
|
3107
|
+
OpenShardCount: smithy_client_1.expectInt32(output.OpenShardCount),
|
|
3108
|
+
RetentionPeriodHours: smithy_client_1.expectInt32(output.RetentionPeriodHours),
|
|
3109
3109
|
StreamARN: smithy_client_1.expectString(output.StreamARN),
|
|
3110
3110
|
StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
|
|
3111
|
-
?
|
|
3111
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StreamCreationTimestamp)))
|
|
3112
3112
|
: undefined,
|
|
3113
3113
|
StreamName: smithy_client_1.expectString(output.StreamName),
|
|
3114
3114
|
StreamStatus: smithy_client_1.expectString(output.StreamStatus),
|
|
@@ -3130,7 +3130,7 @@ const deserializeAws_json1_1SubscribeToShardEvent = (output, context) => {
|
|
|
3130
3130
|
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
3131
3131
|
: undefined,
|
|
3132
3132
|
ContinuationSequenceNumber: smithy_client_1.expectString(output.ContinuationSequenceNumber),
|
|
3133
|
-
MillisBehindLatest: smithy_client_1.
|
|
3133
|
+
MillisBehindLatest: smithy_client_1.expectLong(output.MillisBehindLatest),
|
|
3134
3134
|
Records: output.Records !== undefined && output.Records !== null
|
|
3135
3135
|
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
3136
3136
|
: undefined,
|
|
@@ -3192,7 +3192,7 @@ const deserializeAws_json1_1SubscribeToShardEventStream = (output, context) => {
|
|
|
3192
3192
|
const deserializeAws_json1_1SubscribeToShardOutput = (output, context) => {
|
|
3193
3193
|
return {
|
|
3194
3194
|
EventStream: output.EventStream !== undefined && output.EventStream !== null
|
|
3195
|
-
? deserializeAws_json1_1SubscribeToShardEventStream(output.EventStream, context)
|
|
3195
|
+
? deserializeAws_json1_1SubscribeToShardEventStream(smithy_client_1.expectUnion(output.EventStream), context)
|
|
3196
3196
|
: undefined,
|
|
3197
3197
|
};
|
|
3198
3198
|
};
|
|
@@ -3214,9 +3214,9 @@ const deserializeAws_json1_1TagList = (output, context) => {
|
|
|
3214
3214
|
};
|
|
3215
3215
|
const deserializeAws_json1_1UpdateShardCountOutput = (output, context) => {
|
|
3216
3216
|
return {
|
|
3217
|
-
CurrentShardCount: smithy_client_1.
|
|
3217
|
+
CurrentShardCount: smithy_client_1.expectInt32(output.CurrentShardCount),
|
|
3218
3218
|
StreamName: smithy_client_1.expectString(output.StreamName),
|
|
3219
|
-
TargetShardCount: smithy_client_1.
|
|
3219
|
+
TargetShardCount: smithy_client_1.expectInt32(output.TargetShardCount),
|
|
3220
3220
|
};
|
|
3221
3221
|
};
|
|
3222
3222
|
const deserializeMetadata = (output) => {
|