@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/dist/es/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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1AddTagsToStreamCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -2927,7 +2927,7 @@ var deserializeAws_json1_1Consumer = function (output, context) {
|
|
|
2927
2927
|
return {
|
|
2928
2928
|
ConsumerARN: __expectString(output.ConsumerARN),
|
|
2929
2929
|
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
|
|
2930
|
-
?
|
|
2930
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConsumerCreationTimestamp)))
|
|
2931
2931
|
: undefined,
|
|
2932
2932
|
ConsumerName: __expectString(output.ConsumerName),
|
|
2933
2933
|
ConsumerStatus: __expectString(output.ConsumerStatus),
|
|
@@ -2937,7 +2937,7 @@ var deserializeAws_json1_1ConsumerDescription = function (output, context) {
|
|
|
2937
2937
|
return {
|
|
2938
2938
|
ConsumerARN: __expectString(output.ConsumerARN),
|
|
2939
2939
|
ConsumerCreationTimestamp: output.ConsumerCreationTimestamp !== undefined && output.ConsumerCreationTimestamp !== null
|
|
2940
|
-
?
|
|
2940
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ConsumerCreationTimestamp)))
|
|
2941
2941
|
: undefined,
|
|
2942
2942
|
ConsumerName: __expectString(output.ConsumerName),
|
|
2943
2943
|
ConsumerStatus: __expectString(output.ConsumerStatus),
|
|
@@ -2956,8 +2956,8 @@ var deserializeAws_json1_1ConsumerList = function (output, context) {
|
|
|
2956
2956
|
};
|
|
2957
2957
|
var deserializeAws_json1_1DescribeLimitsOutput = function (output, context) {
|
|
2958
2958
|
return {
|
|
2959
|
-
OpenShardCount:
|
|
2960
|
-
ShardLimit:
|
|
2959
|
+
OpenShardCount: __expectInt32(output.OpenShardCount),
|
|
2960
|
+
ShardLimit: __expectInt32(output.ShardLimit),
|
|
2961
2961
|
};
|
|
2962
2962
|
};
|
|
2963
2963
|
var deserializeAws_json1_1DescribeStreamConsumerOutput = function (output, context) {
|
|
@@ -3024,7 +3024,7 @@ var deserializeAws_json1_1GetRecordsOutput = function (output, context) {
|
|
|
3024
3024
|
ChildShards: output.ChildShards !== undefined && output.ChildShards !== null
|
|
3025
3025
|
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
3026
3026
|
: undefined,
|
|
3027
|
-
MillisBehindLatest:
|
|
3027
|
+
MillisBehindLatest: __expectLong(output.MillisBehindLatest),
|
|
3028
3028
|
NextShardIterator: __expectString(output.NextShardIterator),
|
|
3029
3029
|
Records: output.Records !== undefined && output.Records !== null
|
|
3030
3030
|
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
@@ -3144,7 +3144,7 @@ var deserializeAws_json1_1PutRecordOutput = function (output, context) {
|
|
|
3144
3144
|
var deserializeAws_json1_1PutRecordsOutput = function (output, context) {
|
|
3145
3145
|
return {
|
|
3146
3146
|
EncryptionType: __expectString(output.EncryptionType),
|
|
3147
|
-
FailedRecordCount:
|
|
3147
|
+
FailedRecordCount: __expectInt32(output.FailedRecordCount),
|
|
3148
3148
|
Records: output.Records !== undefined && output.Records !== null
|
|
3149
3149
|
? deserializeAws_json1_1PutRecordsResultEntryList(output.Records, context)
|
|
3150
3150
|
: undefined,
|
|
@@ -3171,7 +3171,7 @@ var deserializeAws_json1_1PutRecordsResultEntryList = function (output, context)
|
|
|
3171
3171
|
var deserializeAws_json1_1_Record = function (output, context) {
|
|
3172
3172
|
return {
|
|
3173
3173
|
ApproximateArrivalTimestamp: output.ApproximateArrivalTimestamp !== undefined && output.ApproximateArrivalTimestamp !== null
|
|
3174
|
-
?
|
|
3174
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ApproximateArrivalTimestamp)))
|
|
3175
3175
|
: undefined,
|
|
3176
3176
|
Data: output.Data !== undefined && output.Data !== null ? context.base64Decoder(output.Data) : undefined,
|
|
3177
3177
|
EncryptionType: __expectString(output.EncryptionType),
|
|
@@ -3253,13 +3253,13 @@ var deserializeAws_json1_1StreamDescription = function (output, context) {
|
|
|
3253
3253
|
: undefined,
|
|
3254
3254
|
HasMoreShards: __expectBoolean(output.HasMoreShards),
|
|
3255
3255
|
KeyId: __expectString(output.KeyId),
|
|
3256
|
-
RetentionPeriodHours:
|
|
3256
|
+
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
3257
3257
|
Shards: output.Shards !== undefined && output.Shards !== null
|
|
3258
3258
|
? deserializeAws_json1_1ShardList(output.Shards, context)
|
|
3259
3259
|
: undefined,
|
|
3260
3260
|
StreamARN: __expectString(output.StreamARN),
|
|
3261
3261
|
StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
|
|
3262
|
-
?
|
|
3262
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StreamCreationTimestamp)))
|
|
3263
3263
|
: undefined,
|
|
3264
3264
|
StreamName: __expectString(output.StreamName),
|
|
3265
3265
|
StreamStatus: __expectString(output.StreamStatus),
|
|
@@ -3267,17 +3267,17 @@ var deserializeAws_json1_1StreamDescription = function (output, context) {
|
|
|
3267
3267
|
};
|
|
3268
3268
|
var deserializeAws_json1_1StreamDescriptionSummary = function (output, context) {
|
|
3269
3269
|
return {
|
|
3270
|
-
ConsumerCount:
|
|
3270
|
+
ConsumerCount: __expectInt32(output.ConsumerCount),
|
|
3271
3271
|
EncryptionType: __expectString(output.EncryptionType),
|
|
3272
3272
|
EnhancedMonitoring: output.EnhancedMonitoring !== undefined && output.EnhancedMonitoring !== null
|
|
3273
3273
|
? deserializeAws_json1_1EnhancedMonitoringList(output.EnhancedMonitoring, context)
|
|
3274
3274
|
: undefined,
|
|
3275
3275
|
KeyId: __expectString(output.KeyId),
|
|
3276
|
-
OpenShardCount:
|
|
3277
|
-
RetentionPeriodHours:
|
|
3276
|
+
OpenShardCount: __expectInt32(output.OpenShardCount),
|
|
3277
|
+
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
3278
3278
|
StreamARN: __expectString(output.StreamARN),
|
|
3279
3279
|
StreamCreationTimestamp: output.StreamCreationTimestamp !== undefined && output.StreamCreationTimestamp !== null
|
|
3280
|
-
?
|
|
3280
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StreamCreationTimestamp)))
|
|
3281
3281
|
: undefined,
|
|
3282
3282
|
StreamName: __expectString(output.StreamName),
|
|
3283
3283
|
StreamStatus: __expectString(output.StreamStatus),
|
|
@@ -3299,7 +3299,7 @@ var deserializeAws_json1_1SubscribeToShardEvent = function (output, context) {
|
|
|
3299
3299
|
? deserializeAws_json1_1ChildShardList(output.ChildShards, context)
|
|
3300
3300
|
: undefined,
|
|
3301
3301
|
ContinuationSequenceNumber: __expectString(output.ContinuationSequenceNumber),
|
|
3302
|
-
MillisBehindLatest:
|
|
3302
|
+
MillisBehindLatest: __expectLong(output.MillisBehindLatest),
|
|
3303
3303
|
Records: output.Records !== undefined && output.Records !== null
|
|
3304
3304
|
? deserializeAws_json1_1RecordList(output.Records, context)
|
|
3305
3305
|
: undefined,
|
|
@@ -3361,7 +3361,7 @@ var deserializeAws_json1_1SubscribeToShardEventStream = function (output, contex
|
|
|
3361
3361
|
var deserializeAws_json1_1SubscribeToShardOutput = function (output, context) {
|
|
3362
3362
|
return {
|
|
3363
3363
|
EventStream: output.EventStream !== undefined && output.EventStream !== null
|
|
3364
|
-
? deserializeAws_json1_1SubscribeToShardEventStream(output.EventStream, context)
|
|
3364
|
+
? deserializeAws_json1_1SubscribeToShardEventStream(__expectUnion(output.EventStream), context)
|
|
3365
3365
|
: undefined,
|
|
3366
3366
|
};
|
|
3367
3367
|
};
|
|
@@ -3383,9 +3383,9 @@ var deserializeAws_json1_1TagList = function (output, context) {
|
|
|
3383
3383
|
};
|
|
3384
3384
|
var deserializeAws_json1_1UpdateShardCountOutput = function (output, context) {
|
|
3385
3385
|
return {
|
|
3386
|
-
CurrentShardCount:
|
|
3386
|
+
CurrentShardCount: __expectInt32(output.CurrentShardCount),
|
|
3387
3387
|
StreamName: __expectString(output.StreamName),
|
|
3388
|
-
TargetShardCount:
|
|
3388
|
+
TargetShardCount: __expectInt32(output.TargetShardCount),
|
|
3389
3389
|
};
|
|
3390
3390
|
};
|
|
3391
3391
|
var deserializeMetadata = function (output) {
|