@aws-sdk/client-kinesis 3.321.1 → 3.326.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/dist-types/commands/AddTagsToStreamCommand.d.ts +4 -0
- package/dist-types/commands/CreateStreamCommand.d.ts +4 -0
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +4 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeStreamCommand.d.ts +40 -0
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +12 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +26 -0
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +13 -0
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +13 -0
- package/dist-types/commands/GetRecordsCommand.d.ts +28 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +6 -0
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +4 -0
- package/dist-types/commands/ListShardsCommand.d.ts +21 -0
- package/dist-types/commands/ListStreamConsumersCommand.d.ts +14 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +21 -0
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +12 -0
- package/dist-types/commands/MergeShardsCommand.d.ts +4 -0
- package/dist-types/commands/PutRecordCommand.d.ts +8 -0
- package/dist-types/commands/PutRecordsCommand.d.ts +15 -0
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +11 -0
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +4 -0
- package/dist-types/commands/SplitShardCommand.d.ts +4 -0
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +4 -0
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +4 -0
- package/dist-types/commands/SubscribeToShardCommand.d.ts +59 -0
- package/dist-types/commands/UpdateShardCountCommand.d.ts +9 -0
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +4 -0
- package/package.json +16 -16
|
@@ -45,6 +45,8 @@ export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new AddTagsToStreamCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
48
50
|
* ```
|
|
49
51
|
*
|
|
50
52
|
* @param AddTagsToStreamCommandInput - {@link AddTagsToStreamCommandInput}
|
|
@@ -73,6 +75,8 @@ export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
|
73
75
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
74
76
|
* correctly.</p>
|
|
75
77
|
*
|
|
78
|
+
* @throws {@link KinesisServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
76
80
|
*
|
|
77
81
|
*/
|
|
78
82
|
export declare class AddTagsToStreamCommand extends $Command<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -78,6 +78,8 @@ export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new CreateStreamCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // {};
|
|
82
|
+
*
|
|
81
83
|
* ```
|
|
82
84
|
*
|
|
83
85
|
* @param CreateStreamCommandInput - {@link CreateStreamCommandInput}
|
|
@@ -98,6 +100,8 @@ export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
|
98
100
|
* <p>The resource is not available for this operation. For successful operation, the
|
|
99
101
|
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
100
102
|
*
|
|
103
|
+
* @throws {@link KinesisServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
101
105
|
*
|
|
102
106
|
*/
|
|
103
107
|
export declare class CreateStreamCommand extends $Command<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -42,6 +42,8 @@ export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DecreaseStreamRetentionPeriodCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param DecreaseStreamRetentionPeriodCommandInput - {@link DecreaseStreamRetentionPeriodCommandInput}
|
|
@@ -70,6 +72,8 @@ export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
70
72
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
71
73
|
* correctly.</p>
|
|
72
74
|
*
|
|
75
|
+
* @throws {@link KinesisServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
79
|
export declare class DecreaseStreamRetentionPeriodCommand extends $Command<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -55,6 +55,8 @@ export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new DeleteStreamCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // {};
|
|
59
|
+
*
|
|
58
60
|
* ```
|
|
59
61
|
*
|
|
60
62
|
* @param DeleteStreamCommandInput - {@link DeleteStreamCommandInput}
|
|
@@ -83,6 +85,8 @@ export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
|
83
85
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
84
86
|
* correctly.</p>
|
|
85
87
|
*
|
|
88
|
+
* @throws {@link KinesisServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
86
90
|
*
|
|
87
91
|
*/
|
|
88
92
|
export declare class DeleteStreamCommand extends $Command<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -40,6 +40,8 @@ export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DeregisterStreamConsumerCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param DeregisterStreamConsumerCommandInput - {@link DeregisterStreamConsumerCommandInput}
|
|
@@ -60,6 +62,8 @@ export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer
|
|
|
60
62
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
61
63
|
* correctly.</p>
|
|
62
64
|
*
|
|
65
|
+
* @throws {@link KinesisServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
63
67
|
*
|
|
64
68
|
*/
|
|
65
69
|
export declare class DeregisterStreamConsumerCommand extends $Command<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -32,6 +32,13 @@ export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __Met
|
|
|
32
32
|
* const input = {};
|
|
33
33
|
* const command = new DescribeLimitsCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeLimitsOutput
|
|
36
|
+
* // ShardLimit: Number("int"), // required
|
|
37
|
+
* // OpenShardCount: Number("int"), // required
|
|
38
|
+
* // OnDemandStreamCount: Number("int"), // required
|
|
39
|
+
* // OnDemandStreamCountLimit: Number("int"), // required
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param DescribeLimitsCommandInput - {@link DescribeLimitsCommandInput}
|
|
@@ -44,6 +51,8 @@ export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __Met
|
|
|
44
51
|
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
45
52
|
* stream requests exceeds the maximum number allowed. </p>
|
|
46
53
|
*
|
|
54
|
+
* @throws {@link KinesisServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
47
56
|
*
|
|
48
57
|
*/
|
|
49
58
|
export declare class DescribeLimitsCommand extends $Command<DescribeLimitsCommandInput, DescribeLimitsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -57,6 +57,44 @@ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __Met
|
|
|
57
57
|
* };
|
|
58
58
|
* const command = new DescribeStreamCommand(input);
|
|
59
59
|
* const response = await client.send(command);
|
|
60
|
+
* // { // DescribeStreamOutput
|
|
61
|
+
* // StreamDescription: { // StreamDescription
|
|
62
|
+
* // StreamName: "STRING_VALUE", // required
|
|
63
|
+
* // StreamARN: "STRING_VALUE", // required
|
|
64
|
+
* // StreamStatus: "CREATING" || "DELETING" || "ACTIVE" || "UPDATING", // required
|
|
65
|
+
* // StreamModeDetails: { // StreamModeDetails
|
|
66
|
+
* // StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // Shards: [ // ShardList // required
|
|
69
|
+
* // { // Shard
|
|
70
|
+
* // ShardId: "STRING_VALUE", // required
|
|
71
|
+
* // ParentShardId: "STRING_VALUE",
|
|
72
|
+
* // AdjacentParentShardId: "STRING_VALUE",
|
|
73
|
+
* // HashKeyRange: { // HashKeyRange
|
|
74
|
+
* // StartingHashKey: "STRING_VALUE", // required
|
|
75
|
+
* // EndingHashKey: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // SequenceNumberRange: { // SequenceNumberRange
|
|
78
|
+
* // StartingSequenceNumber: "STRING_VALUE", // required
|
|
79
|
+
* // EndingSequenceNumber: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // HasMoreShards: true || false, // required
|
|
84
|
+
* // RetentionPeriodHours: Number("int"), // required
|
|
85
|
+
* // StreamCreationTimestamp: new Date("TIMESTAMP"), // required
|
|
86
|
+
* // EnhancedMonitoring: [ // EnhancedMonitoringList // required
|
|
87
|
+
* // { // EnhancedMetrics
|
|
88
|
+
* // ShardLevelMetrics: [ // MetricsNameList
|
|
89
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
94
|
+
* // KeyId: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // };
|
|
97
|
+
*
|
|
60
98
|
* ```
|
|
61
99
|
*
|
|
62
100
|
* @param DescribeStreamCommandInput - {@link DescribeStreamCommandInput}
|
|
@@ -81,6 +119,8 @@ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __Met
|
|
|
81
119
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
82
120
|
* correctly.</p>
|
|
83
121
|
*
|
|
122
|
+
* @throws {@link KinesisServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
84
124
|
*
|
|
85
125
|
*/
|
|
86
126
|
export declare class DescribeStreamCommand extends $Command<DescribeStreamCommandInput, DescribeStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -40,6 +40,16 @@ export interface DescribeStreamConsumerCommandOutput extends DescribeStreamConsu
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DescribeStreamConsumerCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeStreamConsumerOutput
|
|
44
|
+
* // ConsumerDescription: { // ConsumerDescription
|
|
45
|
+
* // ConsumerName: "STRING_VALUE", // required
|
|
46
|
+
* // ConsumerARN: "STRING_VALUE", // required
|
|
47
|
+
* // ConsumerStatus: "CREATING" || "DELETING" || "ACTIVE", // required
|
|
48
|
+
* // ConsumerCreationTimestamp: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // StreamARN: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
43
53
|
* ```
|
|
44
54
|
*
|
|
45
55
|
* @param DescribeStreamConsumerCommandInput - {@link DescribeStreamConsumerCommandInput}
|
|
@@ -60,6 +70,8 @@ export interface DescribeStreamConsumerCommandOutput extends DescribeStreamConsu
|
|
|
60
70
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
61
71
|
* correctly.</p>
|
|
62
72
|
*
|
|
73
|
+
* @throws {@link KinesisServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
63
75
|
*
|
|
64
76
|
*/
|
|
65
77
|
export declare class DescribeStreamConsumerCommand extends $Command<DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -43,6 +43,30 @@ export interface DescribeStreamSummaryCommandOutput extends DescribeStreamSummar
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new DescribeStreamSummaryCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // DescribeStreamSummaryOutput
|
|
47
|
+
* // StreamDescriptionSummary: { // StreamDescriptionSummary
|
|
48
|
+
* // StreamName: "STRING_VALUE", // required
|
|
49
|
+
* // StreamARN: "STRING_VALUE", // required
|
|
50
|
+
* // StreamStatus: "CREATING" || "DELETING" || "ACTIVE" || "UPDATING", // required
|
|
51
|
+
* // StreamModeDetails: { // StreamModeDetails
|
|
52
|
+
* // StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // RetentionPeriodHours: Number("int"), // required
|
|
55
|
+
* // StreamCreationTimestamp: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // EnhancedMonitoring: [ // EnhancedMonitoringList // required
|
|
57
|
+
* // { // EnhancedMetrics
|
|
58
|
+
* // ShardLevelMetrics: [ // MetricsNameList
|
|
59
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
64
|
+
* // KeyId: "STRING_VALUE",
|
|
65
|
+
* // OpenShardCount: Number("int"), // required
|
|
66
|
+
* // ConsumerCount: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
46
70
|
* ```
|
|
47
71
|
*
|
|
48
72
|
* @param DescribeStreamSummaryCommandInput - {@link DescribeStreamSummaryCommandInput}
|
|
@@ -67,6 +91,8 @@ export interface DescribeStreamSummaryCommandOutput extends DescribeStreamSummar
|
|
|
67
91
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
68
92
|
* correctly.</p>
|
|
69
93
|
*
|
|
94
|
+
* @throws {@link KinesisServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
70
96
|
*
|
|
71
97
|
*/
|
|
72
98
|
export declare class DescribeStreamSummaryCommand extends $Command<DescribeStreamSummaryCommandInput, DescribeStreamSummaryCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -39,6 +39,17 @@ export interface DisableEnhancedMonitoringCommandOutput extends EnhancedMonitori
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DisableEnhancedMonitoringCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // EnhancedMonitoringOutput
|
|
43
|
+
* // StreamName: "STRING_VALUE",
|
|
44
|
+
* // CurrentShardLevelMetrics: [ // MetricsNameList
|
|
45
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
46
|
+
* // ],
|
|
47
|
+
* // DesiredShardLevelMetrics: [
|
|
48
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
49
|
+
* // ],
|
|
50
|
+
* // StreamARN: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
42
53
|
* ```
|
|
43
54
|
*
|
|
44
55
|
* @param DisableEnhancedMonitoringCommandInput - {@link DisableEnhancedMonitoringCommandInput}
|
|
@@ -67,6 +78,8 @@ export interface DisableEnhancedMonitoringCommandOutput extends EnhancedMonitori
|
|
|
67
78
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
68
79
|
* correctly.</p>
|
|
69
80
|
*
|
|
81
|
+
* @throws {@link KinesisServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
70
83
|
*
|
|
71
84
|
*/
|
|
72
85
|
export declare class DisableEnhancedMonitoringCommand extends $Command<DisableEnhancedMonitoringCommandInput, DisableEnhancedMonitoringCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -39,6 +39,17 @@ export interface EnableEnhancedMonitoringCommandOutput extends EnhancedMonitorin
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new EnableEnhancedMonitoringCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // EnhancedMonitoringOutput
|
|
43
|
+
* // StreamName: "STRING_VALUE",
|
|
44
|
+
* // CurrentShardLevelMetrics: [ // MetricsNameList
|
|
45
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
46
|
+
* // ],
|
|
47
|
+
* // DesiredShardLevelMetrics: [
|
|
48
|
+
* // "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
49
|
+
* // ],
|
|
50
|
+
* // StreamARN: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
42
53
|
* ```
|
|
43
54
|
*
|
|
44
55
|
* @param EnableEnhancedMonitoringCommandInput - {@link EnableEnhancedMonitoringCommandInput}
|
|
@@ -67,6 +78,8 @@ export interface EnableEnhancedMonitoringCommandOutput extends EnhancedMonitorin
|
|
|
67
78
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
68
79
|
* correctly.</p>
|
|
69
80
|
*
|
|
81
|
+
* @throws {@link KinesisServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
70
83
|
*
|
|
71
84
|
*/
|
|
72
85
|
export declare class EnableEnhancedMonitoringCommand extends $Command<EnableEnhancedMonitoringCommandInput, EnableEnhancedMonitoringCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -84,6 +84,32 @@ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBea
|
|
|
84
84
|
* };
|
|
85
85
|
* const command = new GetRecordsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
+
* // { // GetRecordsOutput
|
|
88
|
+
* // Records: [ // RecordList // required
|
|
89
|
+
* // { // Record
|
|
90
|
+
* // SequenceNumber: "STRING_VALUE", // required
|
|
91
|
+
* // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
|
|
92
|
+
* // Data: "BLOB_VALUE", // required
|
|
93
|
+
* // PartitionKey: "STRING_VALUE", // required
|
|
94
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // NextShardIterator: "STRING_VALUE",
|
|
98
|
+
* // MillisBehindLatest: Number("long"),
|
|
99
|
+
* // ChildShards: [ // ChildShardList
|
|
100
|
+
* // { // ChildShard
|
|
101
|
+
* // ShardId: "STRING_VALUE", // required
|
|
102
|
+
* // ParentShards: [ // ShardIdList // required
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // HashKeyRange: { // HashKeyRange
|
|
106
|
+
* // StartingHashKey: "STRING_VALUE", // required
|
|
107
|
+
* // EndingHashKey: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // };
|
|
112
|
+
*
|
|
87
113
|
* ```
|
|
88
114
|
*
|
|
89
115
|
* @param GetRecordsCommandInput - {@link GetRecordsCommandInput}
|
|
@@ -141,6 +167,8 @@ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBea
|
|
|
141
167
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
142
168
|
* correctly.</p>
|
|
143
169
|
*
|
|
170
|
+
* @throws {@link KinesisServiceException}
|
|
171
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
144
172
|
*
|
|
145
173
|
*/
|
|
146
174
|
export declare class GetRecordsCommand extends $Command<GetRecordsCommandInput, GetRecordsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -73,6 +73,10 @@ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, _
|
|
|
73
73
|
* };
|
|
74
74
|
* const command = new GetShardIteratorCommand(input);
|
|
75
75
|
* const response = await client.send(command);
|
|
76
|
+
* // { // GetShardIteratorOutput
|
|
77
|
+
* // ShardIterator: "STRING_VALUE",
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
76
80
|
* ```
|
|
77
81
|
*
|
|
78
82
|
* @param GetShardIteratorCommandInput - {@link GetShardIteratorCommandInput}
|
|
@@ -100,6 +104,8 @@ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, _
|
|
|
100
104
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
101
105
|
* correctly.</p>
|
|
102
106
|
*
|
|
107
|
+
* @throws {@link KinesisServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
103
109
|
*
|
|
104
110
|
*/
|
|
105
111
|
export declare class GetShardIteratorCommand extends $Command<GetShardIteratorCommandInput, GetShardIteratorCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -45,6 +45,8 @@ export interface IncreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new IncreaseStreamRetentionPeriodCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
48
50
|
* ```
|
|
49
51
|
*
|
|
50
52
|
* @param IncreaseStreamRetentionPeriodCommandInput - {@link IncreaseStreamRetentionPeriodCommandInput}
|
|
@@ -73,6 +75,8 @@ export interface IncreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
73
75
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
74
76
|
* correctly.</p>
|
|
75
77
|
*
|
|
78
|
+
* @throws {@link KinesisServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
76
80
|
*
|
|
77
81
|
*/
|
|
78
82
|
export declare class IncreaseStreamRetentionPeriodCommand extends $Command<IncreaseStreamRetentionPeriodCommandInput, IncreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -55,6 +55,25 @@ export interface ListShardsCommandOutput extends ListShardsOutput, __MetadataBea
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new ListShardsCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // ListShardsOutput
|
|
59
|
+
* // Shards: [ // ShardList
|
|
60
|
+
* // { // Shard
|
|
61
|
+
* // ShardId: "STRING_VALUE", // required
|
|
62
|
+
* // ParentShardId: "STRING_VALUE",
|
|
63
|
+
* // AdjacentParentShardId: "STRING_VALUE",
|
|
64
|
+
* // HashKeyRange: { // HashKeyRange
|
|
65
|
+
* // StartingHashKey: "STRING_VALUE", // required
|
|
66
|
+
* // EndingHashKey: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // SequenceNumberRange: { // SequenceNumberRange
|
|
69
|
+
* // StartingSequenceNumber: "STRING_VALUE", // required
|
|
70
|
+
* // EndingSequenceNumber: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // NextToken: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
58
77
|
* ```
|
|
59
78
|
*
|
|
60
79
|
* @param ListShardsCommandInput - {@link ListShardsCommandInput}
|
|
@@ -86,6 +105,8 @@ export interface ListShardsCommandOutput extends ListShardsOutput, __MetadataBea
|
|
|
86
105
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
87
106
|
* correctly.</p>
|
|
88
107
|
*
|
|
108
|
+
* @throws {@link KinesisServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
89
110
|
*
|
|
90
111
|
*/
|
|
91
112
|
export declare class ListShardsCommand extends $Command<ListShardsCommandInput, ListShardsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -36,6 +36,18 @@ export interface ListStreamConsumersCommandOutput extends ListStreamConsumersOut
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListStreamConsumersCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListStreamConsumersOutput
|
|
40
|
+
* // Consumers: [ // ConsumerList
|
|
41
|
+
* // { // Consumer
|
|
42
|
+
* // ConsumerName: "STRING_VALUE", // required
|
|
43
|
+
* // ConsumerARN: "STRING_VALUE", // required
|
|
44
|
+
* // ConsumerStatus: "CREATING" || "DELETING" || "ACTIVE", // required
|
|
45
|
+
* // ConsumerCreationTimestamp: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // NextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
39
51
|
* ```
|
|
40
52
|
*
|
|
41
53
|
* @param ListStreamConsumersCommandInput - {@link ListStreamConsumersCommandInput}
|
|
@@ -63,6 +75,8 @@ export interface ListStreamConsumersCommandOutput extends ListStreamConsumersOut
|
|
|
63
75
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
64
76
|
* correctly.</p>
|
|
65
77
|
*
|
|
78
|
+
* @throws {@link KinesisServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
66
80
|
*
|
|
67
81
|
*/
|
|
68
82
|
export declare class ListStreamConsumersCommand extends $Command<ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -48,6 +48,25 @@ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataB
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new ListStreamsCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // ListStreamsOutput
|
|
52
|
+
* // StreamNames: [ // StreamNameList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // HasMoreStreams: true || false, // required
|
|
56
|
+
* // NextToken: "STRING_VALUE",
|
|
57
|
+
* // StreamSummaries: [ // StreamSummaryList
|
|
58
|
+
* // { // StreamSummary
|
|
59
|
+
* // StreamName: "STRING_VALUE", // required
|
|
60
|
+
* // StreamARN: "STRING_VALUE", // required
|
|
61
|
+
* // StreamStatus: "CREATING" || "DELETING" || "ACTIVE" || "UPDATING", // required
|
|
62
|
+
* // StreamModeDetails: { // StreamModeDetails
|
|
63
|
+
* // StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // StreamCreationTimestamp: new Date("TIMESTAMP"),
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
51
70
|
* ```
|
|
52
71
|
*
|
|
53
72
|
* @param ListStreamsCommandInput - {@link ListStreamsCommandInput}
|
|
@@ -67,6 +86,8 @@ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataB
|
|
|
67
86
|
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
68
87
|
* stream requests exceeds the maximum number allowed. </p>
|
|
69
88
|
*
|
|
89
|
+
* @throws {@link KinesisServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
70
91
|
*
|
|
71
92
|
*/
|
|
72
93
|
export declare class ListStreamsCommand extends $Command<ListStreamsCommandInput, ListStreamsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -39,6 +39,16 @@ export interface ListTagsForStreamCommandOutput extends ListTagsForStreamOutput,
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new ListTagsForStreamCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForStreamOutput
|
|
43
|
+
* // Tags: [ // TagList // required
|
|
44
|
+
* // { // Tag
|
|
45
|
+
* // Key: "STRING_VALUE", // required
|
|
46
|
+
* // Value: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // HasMoreTags: true || false, // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
42
52
|
* ```
|
|
43
53
|
*
|
|
44
54
|
* @param ListTagsForStreamCommandInput - {@link ListTagsForStreamCommandInput}
|
|
@@ -63,6 +73,8 @@ export interface ListTagsForStreamCommandOutput extends ListTagsForStreamOutput,
|
|
|
63
73
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
64
74
|
* correctly.</p>
|
|
65
75
|
*
|
|
76
|
+
* @throws {@link KinesisServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
66
78
|
*
|
|
67
79
|
*/
|
|
68
80
|
export declare class ListTagsForStreamCommand extends $Command<ListTagsForStreamCommandInput, ListTagsForStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -74,6 +74,8 @@ export interface MergeShardsCommandOutput extends __MetadataBearer {
|
|
|
74
74
|
* };
|
|
75
75
|
* const command = new MergeShardsCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
77
|
+
* // {};
|
|
78
|
+
*
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
79
81
|
* @param MergeShardsCommandInput - {@link MergeShardsCommandInput}
|
|
@@ -107,6 +109,8 @@ export interface MergeShardsCommandOutput extends __MetadataBearer {
|
|
|
107
109
|
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
108
110
|
* mode. </p>
|
|
109
111
|
*
|
|
112
|
+
* @throws {@link KinesisServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
110
114
|
*
|
|
111
115
|
*/
|
|
112
116
|
export declare class MergeShardsCommand extends $Command<MergeShardsCommandInput, MergeShardsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -75,6 +75,12 @@ export interface PutRecordCommandOutput extends PutRecordOutput, __MetadataBeare
|
|
|
75
75
|
* };
|
|
76
76
|
* const command = new PutRecordCommand(input);
|
|
77
77
|
* const response = await client.send(command);
|
|
78
|
+
* // { // PutRecordOutput
|
|
79
|
+
* // ShardId: "STRING_VALUE", // required
|
|
80
|
+
* // SequenceNumber: "STRING_VALUE", // required
|
|
81
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
78
84
|
* ```
|
|
79
85
|
*
|
|
80
86
|
* @param PutRecordCommandInput - {@link PutRecordCommandInput}
|
|
@@ -129,6 +135,8 @@ export interface PutRecordCommandOutput extends PutRecordOutput, __MetadataBeare
|
|
|
129
135
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
130
136
|
* correctly.</p>
|
|
131
137
|
*
|
|
138
|
+
* @throws {@link KinesisServiceException}
|
|
139
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
132
140
|
*
|
|
133
141
|
*/
|
|
134
142
|
export declare class PutRecordCommand extends $Command<PutRecordCommandInput, PutRecordCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -98,6 +98,19 @@ export interface PutRecordsCommandOutput extends PutRecordsOutput, __MetadataBea
|
|
|
98
98
|
* };
|
|
99
99
|
* const command = new PutRecordsCommand(input);
|
|
100
100
|
* const response = await client.send(command);
|
|
101
|
+
* // { // PutRecordsOutput
|
|
102
|
+
* // FailedRecordCount: Number("int"),
|
|
103
|
+
* // Records: [ // PutRecordsResultEntryList // required
|
|
104
|
+
* // { // PutRecordsResultEntry
|
|
105
|
+
* // SequenceNumber: "STRING_VALUE",
|
|
106
|
+
* // ShardId: "STRING_VALUE",
|
|
107
|
+
* // ErrorCode: "STRING_VALUE",
|
|
108
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
112
|
+
* // };
|
|
113
|
+
*
|
|
101
114
|
* ```
|
|
102
115
|
*
|
|
103
116
|
* @param PutRecordsCommandInput - {@link PutRecordsCommandInput}
|
|
@@ -152,6 +165,8 @@ export interface PutRecordsCommandOutput extends PutRecordsOutput, __MetadataBea
|
|
|
152
165
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
153
166
|
* correctly.</p>
|
|
154
167
|
*
|
|
168
|
+
* @throws {@link KinesisServiceException}
|
|
169
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
155
170
|
*
|
|
156
171
|
*/
|
|
157
172
|
export declare class PutRecordsCommand extends $Command<PutRecordsCommandInput, PutRecordsCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -45,6 +45,15 @@ export interface RegisterStreamConsumerCommandOutput extends RegisterStreamConsu
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new RegisterStreamConsumerCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // RegisterStreamConsumerOutput
|
|
49
|
+
* // Consumer: { // Consumer
|
|
50
|
+
* // ConsumerName: "STRING_VALUE", // required
|
|
51
|
+
* // ConsumerARN: "STRING_VALUE", // required
|
|
52
|
+
* // ConsumerStatus: "CREATING" || "DELETING" || "ACTIVE", // required
|
|
53
|
+
* // ConsumerCreationTimestamp: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
48
57
|
* ```
|
|
49
58
|
*
|
|
50
59
|
* @param RegisterStreamConsumerCommandInput - {@link RegisterStreamConsumerCommandInput}
|
|
@@ -69,6 +78,8 @@ export interface RegisterStreamConsumerCommandOutput extends RegisterStreamConsu
|
|
|
69
78
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
70
79
|
* correctly.</p>
|
|
71
80
|
*
|
|
81
|
+
* @throws {@link KinesisServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
72
83
|
*
|
|
73
84
|
*/
|
|
74
85
|
export declare class RegisterStreamConsumerCommand extends $Command<RegisterStreamConsumerCommandInput, RegisterStreamConsumerCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -44,6 +44,8 @@ export interface RemoveTagsFromStreamCommandOutput extends __MetadataBearer {
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new RemoveTagsFromStreamCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
49
51
|
* @param RemoveTagsFromStreamCommandInput - {@link RemoveTagsFromStreamCommandInput}
|
|
@@ -72,6 +74,8 @@ export interface RemoveTagsFromStreamCommandOutput extends __MetadataBearer {
|
|
|
72
74
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
73
75
|
* correctly.</p>
|
|
74
76
|
*
|
|
77
|
+
* @throws {@link KinesisServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
75
79
|
*
|
|
76
80
|
*/
|
|
77
81
|
export declare class RemoveTagsFromStreamCommand extends $Command<RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -78,6 +78,8 @@ export interface SplitShardCommandOutput extends __MetadataBearer {
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new SplitShardCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // {};
|
|
82
|
+
*
|
|
81
83
|
* ```
|
|
82
84
|
*
|
|
83
85
|
* @param SplitShardCommandInput - {@link SplitShardCommandInput}
|
|
@@ -111,6 +113,8 @@ export interface SplitShardCommandOutput extends __MetadataBearer {
|
|
|
111
113
|
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
112
114
|
* mode. </p>
|
|
113
115
|
*
|
|
116
|
+
* @throws {@link KinesisServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
114
118
|
*
|
|
115
119
|
*/
|
|
116
120
|
export declare class SplitShardCommand extends $Command<SplitShardCommandInput, SplitShardCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -53,6 +53,8 @@ export interface StartStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
53
53
|
* };
|
|
54
54
|
* const command = new StartStreamEncryptionCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
|
+
* // {};
|
|
57
|
+
*
|
|
56
58
|
* ```
|
|
57
59
|
*
|
|
58
60
|
* @param StartStreamEncryptionCommandInput - {@link StartStreamEncryptionCommandInput}
|
|
@@ -108,6 +110,8 @@ export interface StartStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
108
110
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
109
111
|
* correctly.</p>
|
|
110
112
|
*
|
|
113
|
+
* @throws {@link KinesisServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
111
115
|
*
|
|
112
116
|
*/
|
|
113
117
|
export declare class StartStreamEncryptionCommand extends $Command<StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -52,6 +52,8 @@ export interface StopStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
* };
|
|
53
53
|
* const command = new StopStreamEncryptionCommand(input);
|
|
54
54
|
* const response = await client.send(command);
|
|
55
|
+
* // {};
|
|
56
|
+
*
|
|
55
57
|
* ```
|
|
56
58
|
*
|
|
57
59
|
* @param StopStreamEncryptionCommandInput - {@link StopStreamEncryptionCommandInput}
|
|
@@ -80,6 +82,8 @@ export interface StopStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
80
82
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
81
83
|
* correctly.</p>
|
|
82
84
|
*
|
|
85
|
+
* @throws {@link KinesisServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
83
87
|
*
|
|
84
88
|
*/
|
|
85
89
|
export declare class StopStreamEncryptionCommand extends $Command<StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -59,6 +59,63 @@ export interface SubscribeToShardCommandOutput extends SubscribeToShardOutput, _
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new SubscribeToShardCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // SubscribeToShardOutput
|
|
63
|
+
* // EventStream: { // SubscribeToShardEventStream Union: only one key present
|
|
64
|
+
* // SubscribeToShardEvent: { // SubscribeToShardEvent
|
|
65
|
+
* // Records: [ // RecordList // required
|
|
66
|
+
* // { // Record
|
|
67
|
+
* // SequenceNumber: "STRING_VALUE", // required
|
|
68
|
+
* // ApproximateArrivalTimestamp: new Date("TIMESTAMP"),
|
|
69
|
+
* // Data: "BLOB_VALUE", // required
|
|
70
|
+
* // PartitionKey: "STRING_VALUE", // required
|
|
71
|
+
* // EncryptionType: "NONE" || "KMS",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // ContinuationSequenceNumber: "STRING_VALUE", // required
|
|
75
|
+
* // MillisBehindLatest: Number("long"), // required
|
|
76
|
+
* // ChildShards: [ // ChildShardList
|
|
77
|
+
* // { // ChildShard
|
|
78
|
+
* // ShardId: "STRING_VALUE", // required
|
|
79
|
+
* // ParentShards: [ // ShardIdList // required
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // HashKeyRange: { // HashKeyRange
|
|
83
|
+
* // StartingHashKey: "STRING_VALUE", // required
|
|
84
|
+
* // EndingHashKey: "STRING_VALUE", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // ResourceNotFoundException: { // ResourceNotFoundException
|
|
90
|
+
* // message: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // ResourceInUseException: { // ResourceInUseException
|
|
93
|
+
* // message: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // KMSDisabledException: { // KMSDisabledException
|
|
96
|
+
* // message: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // KMSInvalidStateException: { // KMSInvalidStateException
|
|
99
|
+
* // message: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // KMSAccessDeniedException: { // KMSAccessDeniedException
|
|
102
|
+
* // message: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
104
|
+
* // KMSNotFoundException: { // KMSNotFoundException
|
|
105
|
+
* // message: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // KMSOptInRequired: { // KMSOptInRequired
|
|
108
|
+
* // message: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // KMSThrottlingException: { // KMSThrottlingException
|
|
111
|
+
* // message: "STRING_VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // InternalFailureException: { // InternalFailureException
|
|
114
|
+
* // message: "STRING_VALUE",
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // };
|
|
118
|
+
*
|
|
62
119
|
* ```
|
|
63
120
|
*
|
|
64
121
|
* @param SubscribeToShardCommandInput - {@link SubscribeToShardCommandInput}
|
|
@@ -87,6 +144,8 @@ export interface SubscribeToShardCommandOutput extends SubscribeToShardOutput, _
|
|
|
87
144
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
88
145
|
* correctly.</p>
|
|
89
146
|
*
|
|
147
|
+
* @throws {@link KinesisServiceException}
|
|
148
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
90
149
|
*
|
|
91
150
|
*/
|
|
92
151
|
export declare class SubscribeToShardCommand extends $Command<SubscribeToShardCommandInput, SubscribeToShardCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -81,6 +81,13 @@ export interface UpdateShardCountCommandOutput extends UpdateShardCountOutput, _
|
|
|
81
81
|
* };
|
|
82
82
|
* const command = new UpdateShardCountCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
+
* // { // UpdateShardCountOutput
|
|
85
|
+
* // StreamName: "STRING_VALUE",
|
|
86
|
+
* // CurrentShardCount: Number("int"),
|
|
87
|
+
* // TargetShardCount: Number("int"),
|
|
88
|
+
* // StreamARN: "STRING_VALUE",
|
|
89
|
+
* // };
|
|
90
|
+
*
|
|
84
91
|
* ```
|
|
85
92
|
*
|
|
86
93
|
* @param UpdateShardCountCommandInput - {@link UpdateShardCountCommandInput}
|
|
@@ -114,6 +121,8 @@ export interface UpdateShardCountCommandOutput extends UpdateShardCountOutput, _
|
|
|
114
121
|
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
115
122
|
* mode. </p>
|
|
116
123
|
*
|
|
124
|
+
* @throws {@link KinesisServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
117
126
|
*
|
|
118
127
|
*/
|
|
119
128
|
export declare class UpdateShardCountCommand extends $Command<UpdateShardCountCommandInput, UpdateShardCountCommandOutput, KinesisClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface UpdateStreamModeCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdateStreamModeCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param UpdateStreamModeCommandInput - {@link UpdateStreamModeCommandInput}
|
|
@@ -61,6 +63,8 @@ export interface UpdateStreamModeCommandOutput extends __MetadataBearer {
|
|
|
61
63
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
62
64
|
* correctly.</p>
|
|
63
65
|
*
|
|
66
|
+
* @throws {@link KinesisServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
64
68
|
*
|
|
65
69
|
*/
|
|
66
70
|
export declare class UpdateStreamModeCommand extends $Command<UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput, KinesisClientResolvedConfig> {
|
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.326.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",
|
|
@@ -22,36 +22,36 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-browser": "3.310.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
|
|
30
30
|
"@aws-sdk/eventstream-serde-node": "3.310.0",
|
|
31
31
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
32
32
|
"@aws-sdk/hash-node": "3.310.0",
|
|
33
33
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
44
44
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
45
45
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
46
46
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
47
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
48
48
|
"@aws-sdk/types": "3.310.0",
|
|
49
49
|
"@aws-sdk/url-parser": "3.310.0",
|
|
50
50
|
"@aws-sdk/util-base64": "3.310.0",
|
|
51
51
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
53
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
54
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
53
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
55
55
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
56
56
|
"@aws-sdk/util-retry": "3.310.0",
|
|
57
57
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|