@aws-sdk/client-kinesis 3.922.0 → 3.925.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/README.md +24 -0
- package/dist-cjs/index.js +163 -15
- package/dist-es/Kinesis.js +6 -0
- package/dist-es/commands/DescribeAccountSettingsCommand.js +22 -0
- package/dist-es/commands/UpdateAccountSettingsCommand.js +22 -0
- package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +26 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +21 -12
- package/dist-es/protocols/Aws_json1_1.js +79 -3
- package/dist-types/Kinesis.d.ts +22 -0
- package/dist-types/KinesisClient.d.ts +5 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CreateStreamCommand.d.ts +10 -14
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +82 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +106 -0
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +7 -0
- package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +122 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +198 -14
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Kinesis.d.ts +52 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +62 -7
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -253,6 +253,14 @@ DeregisterStreamConsumer
|
|
|
253
253
|
|
|
254
254
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DeregisterStreamConsumerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeregisterStreamConsumerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeregisterStreamConsumerCommandOutput/)
|
|
255
255
|
|
|
256
|
+
</details>
|
|
257
|
+
<details>
|
|
258
|
+
<summary>
|
|
259
|
+
DescribeAccountSettings
|
|
260
|
+
</summary>
|
|
261
|
+
|
|
262
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DescribeAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeAccountSettingsCommandOutput/)
|
|
263
|
+
|
|
256
264
|
</details>
|
|
257
265
|
<details>
|
|
258
266
|
<summary>
|
|
@@ -469,6 +477,14 @@ UntagResource
|
|
|
469
477
|
|
|
470
478
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UntagResourceCommandOutput/)
|
|
471
479
|
|
|
480
|
+
</details>
|
|
481
|
+
<details>
|
|
482
|
+
<summary>
|
|
483
|
+
UpdateAccountSettings
|
|
484
|
+
</summary>
|
|
485
|
+
|
|
486
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UpdateAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateAccountSettingsCommandOutput/)
|
|
487
|
+
|
|
472
488
|
</details>
|
|
473
489
|
<details>
|
|
474
490
|
<summary>
|
|
@@ -494,3 +510,11 @@ UpdateStreamMode
|
|
|
494
510
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UpdateStreamModeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamModeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamModeCommandOutput/)
|
|
495
511
|
|
|
496
512
|
</details>
|
|
513
|
+
<details>
|
|
514
|
+
<summary>
|
|
515
|
+
UpdateStreamWarmThroughput
|
|
516
|
+
</summary>
|
|
517
|
+
|
|
518
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UpdateStreamWarmThroughputCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamWarmThroughputCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamWarmThroughputCommandOutput/)
|
|
519
|
+
|
|
520
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -189,6 +189,23 @@ const StreamMode = {
|
|
|
189
189
|
ON_DEMAND: "ON_DEMAND",
|
|
190
190
|
PROVISIONED: "PROVISIONED",
|
|
191
191
|
};
|
|
192
|
+
class ValidationException extends KinesisServiceException {
|
|
193
|
+
name = "ValidationException";
|
|
194
|
+
$fault = "client";
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "ValidationException",
|
|
198
|
+
$fault: "client",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
205
|
+
DISABLED: "DISABLED",
|
|
206
|
+
ENABLED: "ENABLED",
|
|
207
|
+
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
208
|
+
};
|
|
192
209
|
const EncryptionType = {
|
|
193
210
|
KMS: "KMS",
|
|
194
211
|
NONE: "NONE",
|
|
@@ -344,18 +361,6 @@ const ShardFilterType = {
|
|
|
344
361
|
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
345
362
|
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
346
363
|
};
|
|
347
|
-
class ValidationException extends KinesisServiceException {
|
|
348
|
-
name = "ValidationException";
|
|
349
|
-
$fault = "client";
|
|
350
|
-
constructor(opts) {
|
|
351
|
-
super({
|
|
352
|
-
name: "ValidationException",
|
|
353
|
-
$fault: "client",
|
|
354
|
-
...opts,
|
|
355
|
-
});
|
|
356
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
364
|
exports.SubscribeToShardEventStream = void 0;
|
|
360
365
|
(function (SubscribeToShardEventStream) {
|
|
361
366
|
SubscribeToShardEventStream.visit = (value, visitor) => {
|
|
@@ -382,6 +387,10 @@ exports.SubscribeToShardEventStream = void 0;
|
|
|
382
387
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
383
388
|
};
|
|
384
389
|
})(exports.SubscribeToShardEventStream || (exports.SubscribeToShardEventStream = {}));
|
|
390
|
+
const MinimumThroughputBillingCommitmentInputStatus = {
|
|
391
|
+
DISABLED: "DISABLED",
|
|
392
|
+
ENABLED: "ENABLED",
|
|
393
|
+
};
|
|
385
394
|
const ScalingType = {
|
|
386
395
|
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
387
396
|
};
|
|
@@ -450,6 +459,12 @@ const se_DeregisterStreamConsumerCommand = async (input, context) => {
|
|
|
450
459
|
body = JSON.stringify(smithyClient._json(input));
|
|
451
460
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
452
461
|
};
|
|
462
|
+
const se_DescribeAccountSettingsCommand = async (input, context) => {
|
|
463
|
+
const headers = sharedHeaders("DescribeAccountSettings");
|
|
464
|
+
let body;
|
|
465
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
466
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
|
+
};
|
|
453
468
|
const se_DescribeLimitsCommand = async (input, context) => {
|
|
454
469
|
const headers = sharedHeaders("DescribeLimits");
|
|
455
470
|
let body;
|
|
@@ -612,6 +627,12 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
612
627
|
body = JSON.stringify(smithyClient._json(input));
|
|
613
628
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
614
629
|
};
|
|
630
|
+
const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
631
|
+
const headers = sharedHeaders("UpdateAccountSettings");
|
|
632
|
+
let body;
|
|
633
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
634
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
635
|
+
};
|
|
615
636
|
const se_UpdateMaxRecordSizeCommand = async (input, context) => {
|
|
616
637
|
const headers = sharedHeaders("UpdateMaxRecordSize");
|
|
617
638
|
let body;
|
|
@@ -630,6 +651,12 @@ const se_UpdateStreamModeCommand = async (input, context) => {
|
|
|
630
651
|
body = JSON.stringify(smithyClient._json(input));
|
|
631
652
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
632
653
|
};
|
|
654
|
+
const se_UpdateStreamWarmThroughputCommand = async (input, context) => {
|
|
655
|
+
const headers = sharedHeaders("UpdateStreamWarmThroughput");
|
|
656
|
+
let body;
|
|
657
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
658
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
659
|
+
};
|
|
633
660
|
const de_AddTagsToStreamCommand = async (output, context) => {
|
|
634
661
|
if (output.statusCode >= 300) {
|
|
635
662
|
return de_CommandError(output, context);
|
|
@@ -690,6 +717,19 @@ const de_DeregisterStreamConsumerCommand = async (output, context) => {
|
|
|
690
717
|
};
|
|
691
718
|
return response;
|
|
692
719
|
};
|
|
720
|
+
const de_DescribeAccountSettingsCommand = async (output, context) => {
|
|
721
|
+
if (output.statusCode >= 300) {
|
|
722
|
+
return de_CommandError(output, context);
|
|
723
|
+
}
|
|
724
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
725
|
+
let contents = {};
|
|
726
|
+
contents = de_DescribeAccountSettingsOutput(data);
|
|
727
|
+
const response = {
|
|
728
|
+
$metadata: deserializeMetadata(output),
|
|
729
|
+
...contents,
|
|
730
|
+
};
|
|
731
|
+
return response;
|
|
732
|
+
};
|
|
693
733
|
const de_DescribeLimitsCommand = async (output, context) => {
|
|
694
734
|
if (output.statusCode >= 300) {
|
|
695
735
|
return de_CommandError(output, context);
|
|
@@ -1012,6 +1052,19 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1012
1052
|
};
|
|
1013
1053
|
return response;
|
|
1014
1054
|
};
|
|
1055
|
+
const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
1056
|
+
if (output.statusCode >= 300) {
|
|
1057
|
+
return de_CommandError(output, context);
|
|
1058
|
+
}
|
|
1059
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
1060
|
+
let contents = {};
|
|
1061
|
+
contents = de_UpdateAccountSettingsOutput(data);
|
|
1062
|
+
const response = {
|
|
1063
|
+
$metadata: deserializeMetadata(output),
|
|
1064
|
+
...contents,
|
|
1065
|
+
};
|
|
1066
|
+
return response;
|
|
1067
|
+
};
|
|
1015
1068
|
const de_UpdateMaxRecordSizeCommand = async (output, context) => {
|
|
1016
1069
|
if (output.statusCode >= 300) {
|
|
1017
1070
|
return de_CommandError(output, context);
|
|
@@ -1045,6 +1098,19 @@ const de_UpdateStreamModeCommand = async (output, context) => {
|
|
|
1045
1098
|
};
|
|
1046
1099
|
return response;
|
|
1047
1100
|
};
|
|
1101
|
+
const de_UpdateStreamWarmThroughputCommand = async (output, context) => {
|
|
1102
|
+
if (output.statusCode >= 300) {
|
|
1103
|
+
return de_CommandError(output, context);
|
|
1104
|
+
}
|
|
1105
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
1106
|
+
let contents = {};
|
|
1107
|
+
contents = smithyClient._json(data);
|
|
1108
|
+
const response = {
|
|
1109
|
+
$metadata: deserializeMetadata(output),
|
|
1110
|
+
...contents,
|
|
1111
|
+
};
|
|
1112
|
+
return response;
|
|
1113
|
+
};
|
|
1048
1114
|
const de_CommandError = async (output, context) => {
|
|
1049
1115
|
const parsedOutput = {
|
|
1050
1116
|
...output,
|
|
@@ -1067,6 +1133,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1067
1133
|
case "ResourceNotFoundException":
|
|
1068
1134
|
case "com.amazonaws.kinesis#ResourceNotFoundException":
|
|
1069
1135
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1136
|
+
case "ValidationException":
|
|
1137
|
+
case "com.amazonaws.kinesis#ValidationException":
|
|
1138
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1070
1139
|
case "ExpiredIteratorException":
|
|
1071
1140
|
case "com.amazonaws.kinesis#ExpiredIteratorException":
|
|
1072
1141
|
throw await de_ExpiredIteratorExceptionRes(parsedOutput);
|
|
@@ -1097,9 +1166,6 @@ const de_CommandError = async (output, context) => {
|
|
|
1097
1166
|
case "ExpiredNextTokenException":
|
|
1098
1167
|
case "com.amazonaws.kinesis#ExpiredNextTokenException":
|
|
1099
1168
|
throw await de_ExpiredNextTokenExceptionRes(parsedOutput);
|
|
1100
|
-
case "ValidationException":
|
|
1101
|
-
case "com.amazonaws.kinesis#ValidationException":
|
|
1102
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1103
1169
|
default:
|
|
1104
1170
|
const parsedBody = parsedOutput.body;
|
|
1105
1171
|
return throwDefaultError({
|
|
@@ -1483,6 +1549,11 @@ const de_ConsumerList = (output, context) => {
|
|
|
1483
1549
|
});
|
|
1484
1550
|
return retVal;
|
|
1485
1551
|
};
|
|
1552
|
+
const de_DescribeAccountSettingsOutput = (output, context) => {
|
|
1553
|
+
return smithyClient.take(output, {
|
|
1554
|
+
MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_),
|
|
1555
|
+
});
|
|
1556
|
+
};
|
|
1486
1557
|
const de_DescribeStreamConsumerOutput = (output, context) => {
|
|
1487
1558
|
return smithyClient.take(output, {
|
|
1488
1559
|
ConsumerDescription: (_) => de_ConsumerDescription(_),
|
|
@@ -1520,6 +1591,14 @@ const de_ListStreamsOutput = (output, context) => {
|
|
|
1520
1591
|
StreamSummaries: (_) => de_StreamSummaryList(_),
|
|
1521
1592
|
});
|
|
1522
1593
|
};
|
|
1594
|
+
const de_MinimumThroughputBillingCommitmentOutput = (output, context) => {
|
|
1595
|
+
return smithyClient.take(output, {
|
|
1596
|
+
EarliestAllowedEndAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1597
|
+
EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1598
|
+
StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1599
|
+
Status: smithyClient.expectString,
|
|
1600
|
+
});
|
|
1601
|
+
};
|
|
1523
1602
|
const de__Record = (output, context) => {
|
|
1524
1603
|
return smithyClient.take(output, {
|
|
1525
1604
|
ApproximateArrivalTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
@@ -1571,6 +1650,7 @@ const de_StreamDescriptionSummary = (output, context) => {
|
|
|
1571
1650
|
StreamModeDetails: smithyClient._json,
|
|
1572
1651
|
StreamName: smithyClient.expectString,
|
|
1573
1652
|
StreamStatus: smithyClient.expectString,
|
|
1653
|
+
WarmThroughput: smithyClient._json,
|
|
1574
1654
|
});
|
|
1575
1655
|
};
|
|
1576
1656
|
const de_StreamSummary = (output, context) => {
|
|
@@ -1598,6 +1678,11 @@ const de_SubscribeToShardEvent = (output, context) => {
|
|
|
1598
1678
|
Records: (_) => de_RecordList(_, context),
|
|
1599
1679
|
});
|
|
1600
1680
|
};
|
|
1681
|
+
const de_UpdateAccountSettingsOutput = (output, context) => {
|
|
1682
|
+
return smithyClient.take(output, {
|
|
1683
|
+
MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_),
|
|
1684
|
+
});
|
|
1685
|
+
};
|
|
1601
1686
|
const deserializeMetadata = (output) => ({
|
|
1602
1687
|
httpStatusCode: output.statusCode,
|
|
1603
1688
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1750,6 +1835,23 @@ class DeregisterStreamConsumerCommand extends smithyClient.Command
|
|
|
1750
1835
|
.build() {
|
|
1751
1836
|
}
|
|
1752
1837
|
|
|
1838
|
+
class DescribeAccountSettingsCommand extends smithyClient.Command
|
|
1839
|
+
.classBuilder()
|
|
1840
|
+
.ep(commonParams)
|
|
1841
|
+
.m(function (Command, cs, config, o) {
|
|
1842
|
+
return [
|
|
1843
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1844
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1845
|
+
];
|
|
1846
|
+
})
|
|
1847
|
+
.s("Kinesis_20131202", "DescribeAccountSettings", {})
|
|
1848
|
+
.n("KinesisClient", "DescribeAccountSettingsCommand")
|
|
1849
|
+
.f(void 0, void 0)
|
|
1850
|
+
.ser(se_DescribeAccountSettingsCommand)
|
|
1851
|
+
.de(de_DescribeAccountSettingsCommand)
|
|
1852
|
+
.build() {
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1753
1855
|
class DescribeLimitsCommand extends smithyClient.Command
|
|
1754
1856
|
.classBuilder()
|
|
1755
1857
|
.ep(commonParams)
|
|
@@ -2314,6 +2416,23 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2314
2416
|
.build() {
|
|
2315
2417
|
}
|
|
2316
2418
|
|
|
2419
|
+
class UpdateAccountSettingsCommand extends smithyClient.Command
|
|
2420
|
+
.classBuilder()
|
|
2421
|
+
.ep(commonParams)
|
|
2422
|
+
.m(function (Command, cs, config, o) {
|
|
2423
|
+
return [
|
|
2424
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2425
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2426
|
+
];
|
|
2427
|
+
})
|
|
2428
|
+
.s("Kinesis_20131202", "UpdateAccountSettings", {})
|
|
2429
|
+
.n("KinesisClient", "UpdateAccountSettingsCommand")
|
|
2430
|
+
.f(void 0, void 0)
|
|
2431
|
+
.ser(se_UpdateAccountSettingsCommand)
|
|
2432
|
+
.de(de_UpdateAccountSettingsCommand)
|
|
2433
|
+
.build() {
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2317
2436
|
class UpdateMaxRecordSizeCommand extends smithyClient.Command
|
|
2318
2437
|
.classBuilder()
|
|
2319
2438
|
.ep({
|
|
@@ -2377,6 +2496,27 @@ class UpdateStreamModeCommand extends smithyClient.Command
|
|
|
2377
2496
|
.build() {
|
|
2378
2497
|
}
|
|
2379
2498
|
|
|
2499
|
+
class UpdateStreamWarmThroughputCommand extends smithyClient.Command
|
|
2500
|
+
.classBuilder()
|
|
2501
|
+
.ep({
|
|
2502
|
+
...commonParams,
|
|
2503
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
2504
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
2505
|
+
})
|
|
2506
|
+
.m(function (Command, cs, config, o) {
|
|
2507
|
+
return [
|
|
2508
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2509
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2510
|
+
];
|
|
2511
|
+
})
|
|
2512
|
+
.s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
|
|
2513
|
+
.n("KinesisClient", "UpdateStreamWarmThroughputCommand")
|
|
2514
|
+
.f(void 0, void 0)
|
|
2515
|
+
.ser(se_UpdateStreamWarmThroughputCommand)
|
|
2516
|
+
.de(de_UpdateStreamWarmThroughputCommand)
|
|
2517
|
+
.build() {
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2380
2520
|
const commands = {
|
|
2381
2521
|
AddTagsToStreamCommand,
|
|
2382
2522
|
CreateStreamCommand,
|
|
@@ -2384,6 +2524,7 @@ const commands = {
|
|
|
2384
2524
|
DeleteResourcePolicyCommand,
|
|
2385
2525
|
DeleteStreamCommand,
|
|
2386
2526
|
DeregisterStreamConsumerCommand,
|
|
2527
|
+
DescribeAccountSettingsCommand,
|
|
2387
2528
|
DescribeLimitsCommand,
|
|
2388
2529
|
DescribeStreamCommand,
|
|
2389
2530
|
DescribeStreamConsumerCommand,
|
|
@@ -2411,9 +2552,11 @@ const commands = {
|
|
|
2411
2552
|
SubscribeToShardCommand,
|
|
2412
2553
|
TagResourceCommand,
|
|
2413
2554
|
UntagResourceCommand,
|
|
2555
|
+
UpdateAccountSettingsCommand,
|
|
2414
2556
|
UpdateMaxRecordSizeCommand,
|
|
2415
2557
|
UpdateShardCountCommand,
|
|
2416
2558
|
UpdateStreamModeCommand,
|
|
2559
|
+
UpdateStreamWarmThroughputCommand,
|
|
2417
2560
|
};
|
|
2418
2561
|
class Kinesis extends KinesisClient {
|
|
2419
2562
|
}
|
|
@@ -2493,6 +2636,7 @@ exports.DecreaseStreamRetentionPeriodCommand = DecreaseStreamRetentionPeriodComm
|
|
|
2493
2636
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
2494
2637
|
exports.DeleteStreamCommand = DeleteStreamCommand;
|
|
2495
2638
|
exports.DeregisterStreamConsumerCommand = DeregisterStreamConsumerCommand;
|
|
2639
|
+
exports.DescribeAccountSettingsCommand = DescribeAccountSettingsCommand;
|
|
2496
2640
|
exports.DescribeLimitsCommand = DescribeLimitsCommand;
|
|
2497
2641
|
exports.DescribeStreamCommand = DescribeStreamCommand;
|
|
2498
2642
|
exports.DescribeStreamConsumerCommand = DescribeStreamConsumerCommand;
|
|
@@ -2525,6 +2669,8 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
2525
2669
|
exports.ListTagsForStreamCommand = ListTagsForStreamCommand;
|
|
2526
2670
|
exports.MergeShardsCommand = MergeShardsCommand;
|
|
2527
2671
|
exports.MetricsName = MetricsName;
|
|
2672
|
+
exports.MinimumThroughputBillingCommitmentInputStatus = MinimumThroughputBillingCommitmentInputStatus;
|
|
2673
|
+
exports.MinimumThroughputBillingCommitmentOutputStatus = MinimumThroughputBillingCommitmentOutputStatus;
|
|
2528
2674
|
exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
|
|
2529
2675
|
exports.PutRecordCommand = PutRecordCommand;
|
|
2530
2676
|
exports.PutRecordsCommand = PutRecordsCommand;
|
|
@@ -2546,9 +2692,11 @@ exports.SubscribeToShardEventStreamFilterSensitiveLog = SubscribeToShardEventStr
|
|
|
2546
2692
|
exports.SubscribeToShardOutputFilterSensitiveLog = SubscribeToShardOutputFilterSensitiveLog;
|
|
2547
2693
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2548
2694
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2695
|
+
exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
|
|
2549
2696
|
exports.UpdateMaxRecordSizeCommand = UpdateMaxRecordSizeCommand;
|
|
2550
2697
|
exports.UpdateShardCountCommand = UpdateShardCountCommand;
|
|
2551
2698
|
exports.UpdateStreamModeCommand = UpdateStreamModeCommand;
|
|
2699
|
+
exports.UpdateStreamWarmThroughputCommand = UpdateStreamWarmThroughputCommand;
|
|
2552
2700
|
exports.ValidationException = ValidationException;
|
|
2553
2701
|
exports.paginateListStreamConsumers = paginateListStreamConsumers;
|
|
2554
2702
|
exports.paginateListStreams = paginateListStreams;
|
package/dist-es/Kinesis.js
CHANGED
|
@@ -5,6 +5,7 @@ import { DecreaseStreamRetentionPeriodCommand, } from "./commands/DecreaseStream
|
|
|
5
5
|
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
6
6
|
import { DeleteStreamCommand, } from "./commands/DeleteStreamCommand";
|
|
7
7
|
import { DeregisterStreamConsumerCommand, } from "./commands/DeregisterStreamConsumerCommand";
|
|
8
|
+
import { DescribeAccountSettingsCommand, } from "./commands/DescribeAccountSettingsCommand";
|
|
8
9
|
import { DescribeLimitsCommand, } from "./commands/DescribeLimitsCommand";
|
|
9
10
|
import { DescribeStreamCommand, } from "./commands/DescribeStreamCommand";
|
|
10
11
|
import { DescribeStreamConsumerCommand, } from "./commands/DescribeStreamConsumerCommand";
|
|
@@ -32,9 +33,11 @@ import { StopStreamEncryptionCommand, } from "./commands/StopStreamEncryptionCom
|
|
|
32
33
|
import { SubscribeToShardCommand, } from "./commands/SubscribeToShardCommand";
|
|
33
34
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
34
35
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
36
|
+
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
35
37
|
import { UpdateMaxRecordSizeCommand, } from "./commands/UpdateMaxRecordSizeCommand";
|
|
36
38
|
import { UpdateShardCountCommand, } from "./commands/UpdateShardCountCommand";
|
|
37
39
|
import { UpdateStreamModeCommand, } from "./commands/UpdateStreamModeCommand";
|
|
40
|
+
import { UpdateStreamWarmThroughputCommand, } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
38
41
|
import { KinesisClient } from "./KinesisClient";
|
|
39
42
|
const commands = {
|
|
40
43
|
AddTagsToStreamCommand,
|
|
@@ -43,6 +46,7 @@ const commands = {
|
|
|
43
46
|
DeleteResourcePolicyCommand,
|
|
44
47
|
DeleteStreamCommand,
|
|
45
48
|
DeregisterStreamConsumerCommand,
|
|
49
|
+
DescribeAccountSettingsCommand,
|
|
46
50
|
DescribeLimitsCommand,
|
|
47
51
|
DescribeStreamCommand,
|
|
48
52
|
DescribeStreamConsumerCommand,
|
|
@@ -70,9 +74,11 @@ const commands = {
|
|
|
70
74
|
SubscribeToShardCommand,
|
|
71
75
|
TagResourceCommand,
|
|
72
76
|
UntagResourceCommand,
|
|
77
|
+
UpdateAccountSettingsCommand,
|
|
73
78
|
UpdateMaxRecordSizeCommand,
|
|
74
79
|
UpdateShardCountCommand,
|
|
75
80
|
UpdateStreamModeCommand,
|
|
81
|
+
UpdateStreamWarmThroughputCommand,
|
|
76
82
|
};
|
|
77
83
|
export class Kinesis extends KinesisClient {
|
|
78
84
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeAccountSettingsCommand, se_DescribeAccountSettingsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeAccountSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Kinesis_20131202", "DescribeAccountSettings", {})
|
|
17
|
+
.n("KinesisClient", "DescribeAccountSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeAccountSettingsCommand)
|
|
20
|
+
.de(de_DescribeAccountSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateAccountSettingsCommand, se_UpdateAccountSettingsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateAccountSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Kinesis_20131202", "UpdateAccountSettings", {})
|
|
17
|
+
.n("KinesisClient", "UpdateAccountSettingsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateAccountSettingsCommand)
|
|
20
|
+
.de(de_UpdateAccountSettingsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateStreamWarmThroughputCommand, se_UpdateStreamWarmThroughputCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateStreamWarmThroughputCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
|
|
21
|
+
.n("KinesisClient", "UpdateStreamWarmThroughputCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_UpdateStreamWarmThroughputCommand)
|
|
24
|
+
.de(de_UpdateStreamWarmThroughputCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./DecreaseStreamRetentionPeriodCommand";
|
|
|
4
4
|
export * from "./DeleteResourcePolicyCommand";
|
|
5
5
|
export * from "./DeleteStreamCommand";
|
|
6
6
|
export * from "./DeregisterStreamConsumerCommand";
|
|
7
|
+
export * from "./DescribeAccountSettingsCommand";
|
|
7
8
|
export * from "./DescribeLimitsCommand";
|
|
8
9
|
export * from "./DescribeStreamCommand";
|
|
9
10
|
export * from "./DescribeStreamConsumerCommand";
|
|
@@ -31,6 +32,8 @@ export * from "./StopStreamEncryptionCommand";
|
|
|
31
32
|
export * from "./SubscribeToShardCommand";
|
|
32
33
|
export * from "./TagResourceCommand";
|
|
33
34
|
export * from "./UntagResourceCommand";
|
|
35
|
+
export * from "./UpdateAccountSettingsCommand";
|
|
34
36
|
export * from "./UpdateMaxRecordSizeCommand";
|
|
35
37
|
export * from "./UpdateShardCountCommand";
|
|
36
38
|
export * from "./UpdateStreamModeCommand";
|
|
39
|
+
export * from "./UpdateStreamWarmThroughputCommand";
|
|
@@ -68,6 +68,23 @@ export const StreamMode = {
|
|
|
68
68
|
ON_DEMAND: "ON_DEMAND",
|
|
69
69
|
PROVISIONED: "PROVISIONED",
|
|
70
70
|
};
|
|
71
|
+
export class ValidationException extends __BaseException {
|
|
72
|
+
name = "ValidationException";
|
|
73
|
+
$fault = "client";
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ValidationException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
export const MinimumThroughputBillingCommitmentOutputStatus = {
|
|
84
|
+
DISABLED: "DISABLED",
|
|
85
|
+
ENABLED: "ENABLED",
|
|
86
|
+
ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END",
|
|
87
|
+
};
|
|
71
88
|
export const EncryptionType = {
|
|
72
89
|
KMS: "KMS",
|
|
73
90
|
NONE: "NONE",
|
|
@@ -223,18 +240,6 @@ export const ShardFilterType = {
|
|
|
223
240
|
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
224
241
|
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
225
242
|
};
|
|
226
|
-
export class ValidationException extends __BaseException {
|
|
227
|
-
name = "ValidationException";
|
|
228
|
-
$fault = "client";
|
|
229
|
-
constructor(opts) {
|
|
230
|
-
super({
|
|
231
|
-
name: "ValidationException",
|
|
232
|
-
$fault: "client",
|
|
233
|
-
...opts,
|
|
234
|
-
});
|
|
235
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
243
|
export var SubscribeToShardEventStream;
|
|
239
244
|
(function (SubscribeToShardEventStream) {
|
|
240
245
|
SubscribeToShardEventStream.visit = (value, visitor) => {
|
|
@@ -261,6 +266,10 @@ export var SubscribeToShardEventStream;
|
|
|
261
266
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
262
267
|
};
|
|
263
268
|
})(SubscribeToShardEventStream || (SubscribeToShardEventStream = {}));
|
|
269
|
+
export const MinimumThroughputBillingCommitmentInputStatus = {
|
|
270
|
+
DISABLED: "DISABLED",
|
|
271
|
+
ENABLED: "ENABLED",
|
|
272
|
+
};
|
|
264
273
|
export const ScalingType = {
|
|
265
274
|
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
266
275
|
};
|