@aws-sdk/client-kinesis 3.301.0 → 3.303.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-cjs/models/models_0.js +47 -55
- package/dist-es/models/models_0.js +47 -55
- package/dist-types/models/models_0.d.ts +87 -47
- package/dist-types/ts3.4/models/models_0.d.ts +59 -47
- package/package.json +38 -38
|
@@ -67,40 +67,35 @@ class ResourceNotFoundException extends KinesisServiceException_1.KinesisService
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
StreamStatus["ACTIVE"] = "ACTIVE";
|
|
100
|
-
StreamStatus["CREATING"] = "CREATING";
|
|
101
|
-
StreamStatus["DELETING"] = "DELETING";
|
|
102
|
-
StreamStatus["UPDATING"] = "UPDATING";
|
|
103
|
-
})(StreamStatus = exports.StreamStatus || (exports.StreamStatus = {}));
|
|
70
|
+
exports.ConsumerStatus = {
|
|
71
|
+
ACTIVE: "ACTIVE",
|
|
72
|
+
CREATING: "CREATING",
|
|
73
|
+
DELETING: "DELETING",
|
|
74
|
+
};
|
|
75
|
+
exports.StreamMode = {
|
|
76
|
+
ON_DEMAND: "ON_DEMAND",
|
|
77
|
+
PROVISIONED: "PROVISIONED",
|
|
78
|
+
};
|
|
79
|
+
exports.EncryptionType = {
|
|
80
|
+
KMS: "KMS",
|
|
81
|
+
NONE: "NONE",
|
|
82
|
+
};
|
|
83
|
+
exports.MetricsName = {
|
|
84
|
+
ALL: "ALL",
|
|
85
|
+
INCOMING_BYTES: "IncomingBytes",
|
|
86
|
+
INCOMING_RECORDS: "IncomingRecords",
|
|
87
|
+
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
88
|
+
OUTGOING_BYTES: "OutgoingBytes",
|
|
89
|
+
OUTGOING_RECORDS: "OutgoingRecords",
|
|
90
|
+
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
91
|
+
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
92
|
+
};
|
|
93
|
+
exports.StreamStatus = {
|
|
94
|
+
ACTIVE: "ACTIVE",
|
|
95
|
+
CREATING: "CREATING",
|
|
96
|
+
DELETING: "DELETING",
|
|
97
|
+
UPDATING: "UPDATING",
|
|
98
|
+
};
|
|
104
99
|
class ExpiredIteratorException extends KinesisServiceException_1.KinesisServiceException {
|
|
105
100
|
constructor(opts) {
|
|
106
101
|
super({
|
|
@@ -218,14 +213,13 @@ class ProvisionedThroughputExceededException extends KinesisServiceException_1.K
|
|
|
218
213
|
}
|
|
219
214
|
}
|
|
220
215
|
exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
})(ShardIteratorType = exports.ShardIteratorType || (exports.ShardIteratorType = {}));
|
|
216
|
+
exports.ShardIteratorType = {
|
|
217
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
218
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
219
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
220
|
+
LATEST: "LATEST",
|
|
221
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
222
|
+
};
|
|
229
223
|
class InternalFailureException extends KinesisServiceException_1.KinesisServiceException {
|
|
230
224
|
constructor(opts) {
|
|
231
225
|
super({
|
|
@@ -239,15 +233,14 @@ class InternalFailureException extends KinesisServiceException_1.KinesisServiceE
|
|
|
239
233
|
}
|
|
240
234
|
}
|
|
241
235
|
exports.InternalFailureException = InternalFailureException;
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
})(ShardFilterType = exports.ShardFilterType || (exports.ShardFilterType = {}));
|
|
236
|
+
exports.ShardFilterType = {
|
|
237
|
+
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
238
|
+
AT_LATEST: "AT_LATEST",
|
|
239
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
240
|
+
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
241
|
+
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
242
|
+
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
243
|
+
};
|
|
251
244
|
class ValidationException extends KinesisServiceException_1.KinesisServiceException {
|
|
252
245
|
constructor(opts) {
|
|
253
246
|
super({
|
|
@@ -287,10 +280,9 @@ var SubscribeToShardEventStream;
|
|
|
287
280
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
288
281
|
};
|
|
289
282
|
})(SubscribeToShardEventStream = exports.SubscribeToShardEventStream || (exports.SubscribeToShardEventStream = {}));
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
})(ScalingType = exports.ScalingType || (exports.ScalingType = {}));
|
|
283
|
+
exports.ScalingType = {
|
|
284
|
+
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
285
|
+
};
|
|
294
286
|
const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
|
|
295
287
|
if (obj.SubscribeToShardEvent !== undefined)
|
|
296
288
|
return { SubscribeToShardEvent: obj.SubscribeToShardEvent };
|
|
@@ -59,40 +59,35 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
59
59
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
export
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
StreamStatus["ACTIVE"] = "ACTIVE";
|
|
92
|
-
StreamStatus["CREATING"] = "CREATING";
|
|
93
|
-
StreamStatus["DELETING"] = "DELETING";
|
|
94
|
-
StreamStatus["UPDATING"] = "UPDATING";
|
|
95
|
-
})(StreamStatus || (StreamStatus = {}));
|
|
62
|
+
export const ConsumerStatus = {
|
|
63
|
+
ACTIVE: "ACTIVE",
|
|
64
|
+
CREATING: "CREATING",
|
|
65
|
+
DELETING: "DELETING",
|
|
66
|
+
};
|
|
67
|
+
export const StreamMode = {
|
|
68
|
+
ON_DEMAND: "ON_DEMAND",
|
|
69
|
+
PROVISIONED: "PROVISIONED",
|
|
70
|
+
};
|
|
71
|
+
export const EncryptionType = {
|
|
72
|
+
KMS: "KMS",
|
|
73
|
+
NONE: "NONE",
|
|
74
|
+
};
|
|
75
|
+
export const MetricsName = {
|
|
76
|
+
ALL: "ALL",
|
|
77
|
+
INCOMING_BYTES: "IncomingBytes",
|
|
78
|
+
INCOMING_RECORDS: "IncomingRecords",
|
|
79
|
+
ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds",
|
|
80
|
+
OUTGOING_BYTES: "OutgoingBytes",
|
|
81
|
+
OUTGOING_RECORDS: "OutgoingRecords",
|
|
82
|
+
READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded",
|
|
83
|
+
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded",
|
|
84
|
+
};
|
|
85
|
+
export const StreamStatus = {
|
|
86
|
+
ACTIVE: "ACTIVE",
|
|
87
|
+
CREATING: "CREATING",
|
|
88
|
+
DELETING: "DELETING",
|
|
89
|
+
UPDATING: "UPDATING",
|
|
90
|
+
};
|
|
96
91
|
export class ExpiredIteratorException extends __BaseException {
|
|
97
92
|
constructor(opts) {
|
|
98
93
|
super({
|
|
@@ -201,14 +196,13 @@ export class ProvisionedThroughputExceededException extends __BaseException {
|
|
|
201
196
|
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
202
197
|
}
|
|
203
198
|
}
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
})(ShardIteratorType || (ShardIteratorType = {}));
|
|
199
|
+
export const ShardIteratorType = {
|
|
200
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
201
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
202
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
203
|
+
LATEST: "LATEST",
|
|
204
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
205
|
+
};
|
|
212
206
|
export class InternalFailureException extends __BaseException {
|
|
213
207
|
constructor(opts) {
|
|
214
208
|
super({
|
|
@@ -221,15 +215,14 @@ export class InternalFailureException extends __BaseException {
|
|
|
221
215
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
222
216
|
}
|
|
223
217
|
}
|
|
224
|
-
export
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
})(ShardFilterType || (ShardFilterType = {}));
|
|
218
|
+
export const ShardFilterType = {
|
|
219
|
+
AFTER_SHARD_ID: "AFTER_SHARD_ID",
|
|
220
|
+
AT_LATEST: "AT_LATEST",
|
|
221
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
222
|
+
AT_TRIM_HORIZON: "AT_TRIM_HORIZON",
|
|
223
|
+
FROM_TIMESTAMP: "FROM_TIMESTAMP",
|
|
224
|
+
FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
|
|
225
|
+
};
|
|
233
226
|
export class ValidationException extends __BaseException {
|
|
234
227
|
constructor(opts) {
|
|
235
228
|
super({
|
|
@@ -268,10 +261,9 @@ export var SubscribeToShardEventStream;
|
|
|
268
261
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
269
262
|
};
|
|
270
263
|
})(SubscribeToShardEventStream || (SubscribeToShardEventStream = {}));
|
|
271
|
-
export
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
})(ScalingType || (ScalingType = {}));
|
|
264
|
+
export const ScalingType = {
|
|
265
|
+
UNIFORM_SCALING: "UNIFORM_SCALING",
|
|
266
|
+
};
|
|
275
267
|
export const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
|
|
276
268
|
if (obj.SubscribeToShardEvent !== undefined)
|
|
277
269
|
return { SubscribeToShardEvent: obj.SubscribeToShardEvent };
|
|
@@ -120,12 +120,17 @@ export interface ChildShard {
|
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* @public
|
|
123
|
+
* @enum
|
|
123
124
|
*/
|
|
124
|
-
export declare
|
|
125
|
-
ACTIVE
|
|
126
|
-
CREATING
|
|
127
|
-
DELETING
|
|
128
|
-
}
|
|
125
|
+
export declare const ConsumerStatus: {
|
|
126
|
+
readonly ACTIVE: "ACTIVE";
|
|
127
|
+
readonly CREATING: "CREATING";
|
|
128
|
+
readonly DELETING: "DELETING";
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type ConsumerStatus = (typeof ConsumerStatus)[keyof typeof ConsumerStatus];
|
|
129
134
|
/**
|
|
130
135
|
* @public
|
|
131
136
|
* <p>An object that represents the details of the consumer you registered. This type of
|
|
@@ -190,11 +195,16 @@ export interface ConsumerDescription {
|
|
|
190
195
|
}
|
|
191
196
|
/**
|
|
192
197
|
* @public
|
|
198
|
+
* @enum
|
|
193
199
|
*/
|
|
194
|
-
export declare
|
|
195
|
-
ON_DEMAND
|
|
196
|
-
PROVISIONED
|
|
197
|
-
}
|
|
200
|
+
export declare const StreamMode: {
|
|
201
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
202
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
|
|
198
208
|
/**
|
|
199
209
|
* @public
|
|
200
210
|
* <p> Specifies the capacity mode to which you want to set your data stream. Currently, in
|
|
@@ -351,24 +361,34 @@ export interface DescribeStreamInput {
|
|
|
351
361
|
}
|
|
352
362
|
/**
|
|
353
363
|
* @public
|
|
364
|
+
* @enum
|
|
354
365
|
*/
|
|
355
|
-
export declare
|
|
356
|
-
KMS
|
|
357
|
-
NONE
|
|
358
|
-
}
|
|
366
|
+
export declare const EncryptionType: {
|
|
367
|
+
readonly KMS: "KMS";
|
|
368
|
+
readonly NONE: "NONE";
|
|
369
|
+
};
|
|
359
370
|
/**
|
|
360
371
|
* @public
|
|
361
372
|
*/
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
373
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* @enum
|
|
377
|
+
*/
|
|
378
|
+
export declare const MetricsName: {
|
|
379
|
+
readonly ALL: "ALL";
|
|
380
|
+
readonly INCOMING_BYTES: "IncomingBytes";
|
|
381
|
+
readonly INCOMING_RECORDS: "IncomingRecords";
|
|
382
|
+
readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
|
|
383
|
+
readonly OUTGOING_BYTES: "OutgoingBytes";
|
|
384
|
+
readonly OUTGOING_RECORDS: "OutgoingRecords";
|
|
385
|
+
readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
|
|
386
|
+
readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
|
|
372
392
|
/**
|
|
373
393
|
* @public
|
|
374
394
|
* <p>Represents enhanced metrics types.</p>
|
|
@@ -470,13 +490,18 @@ export interface Shard {
|
|
|
470
490
|
}
|
|
471
491
|
/**
|
|
472
492
|
* @public
|
|
493
|
+
* @enum
|
|
473
494
|
*/
|
|
474
|
-
export declare
|
|
475
|
-
ACTIVE
|
|
476
|
-
CREATING
|
|
477
|
-
DELETING
|
|
478
|
-
UPDATING
|
|
479
|
-
}
|
|
495
|
+
export declare const StreamStatus: {
|
|
496
|
+
readonly ACTIVE: "ACTIVE";
|
|
497
|
+
readonly CREATING: "CREATING";
|
|
498
|
+
readonly DELETING: "DELETING";
|
|
499
|
+
readonly UPDATING: "UPDATING";
|
|
500
|
+
};
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
480
505
|
/**
|
|
481
506
|
* @public
|
|
482
507
|
* <p>Represents the output for <a>DescribeStream</a>.</p>
|
|
@@ -1150,14 +1175,19 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
1150
1175
|
}
|
|
1151
1176
|
/**
|
|
1152
1177
|
* @public
|
|
1178
|
+
* @enum
|
|
1153
1179
|
*/
|
|
1154
|
-
export declare
|
|
1155
|
-
AFTER_SEQUENCE_NUMBER
|
|
1156
|
-
AT_SEQUENCE_NUMBER
|
|
1157
|
-
AT_TIMESTAMP
|
|
1158
|
-
LATEST
|
|
1159
|
-
TRIM_HORIZON
|
|
1160
|
-
}
|
|
1180
|
+
export declare const ShardIteratorType: {
|
|
1181
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
1182
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
1183
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
1184
|
+
readonly LATEST: "LATEST";
|
|
1185
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
1186
|
+
};
|
|
1187
|
+
/**
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
1161
1191
|
/**
|
|
1162
1192
|
* @public
|
|
1163
1193
|
* <p>Represents the input for <code>GetShardIterator</code>.</p>
|
|
@@ -1267,15 +1297,20 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
1267
1297
|
}
|
|
1268
1298
|
/**
|
|
1269
1299
|
* @public
|
|
1300
|
+
* @enum
|
|
1270
1301
|
*/
|
|
1271
|
-
export declare
|
|
1272
|
-
AFTER_SHARD_ID
|
|
1273
|
-
AT_LATEST
|
|
1274
|
-
AT_TIMESTAMP
|
|
1275
|
-
AT_TRIM_HORIZON
|
|
1276
|
-
FROM_TIMESTAMP
|
|
1277
|
-
FROM_TRIM_HORIZON
|
|
1278
|
-
}
|
|
1302
|
+
export declare const ShardFilterType: {
|
|
1303
|
+
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
1304
|
+
readonly AT_LATEST: "AT_LATEST";
|
|
1305
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
1306
|
+
readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
|
|
1307
|
+
readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
|
|
1308
|
+
readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* @public
|
|
1312
|
+
*/
|
|
1313
|
+
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
1279
1314
|
/**
|
|
1280
1315
|
* @public
|
|
1281
1316
|
* <p>The request parameter used to filter out the response of the <code>ListShards</code>
|
|
@@ -2373,10 +2408,15 @@ export interface SubscribeToShardOutput {
|
|
|
2373
2408
|
}
|
|
2374
2409
|
/**
|
|
2375
2410
|
* @public
|
|
2411
|
+
* @enum
|
|
2376
2412
|
*/
|
|
2377
|
-
export declare
|
|
2378
|
-
UNIFORM_SCALING
|
|
2379
|
-
}
|
|
2413
|
+
export declare const ScalingType: {
|
|
2414
|
+
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
2415
|
+
};
|
|
2416
|
+
/**
|
|
2417
|
+
* @public
|
|
2418
|
+
*/
|
|
2419
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
2380
2420
|
/**
|
|
2381
2421
|
* @public
|
|
2382
2422
|
*/
|
|
@@ -49,11 +49,13 @@ export interface ChildShard {
|
|
|
49
49
|
ParentShards: string[] | undefined;
|
|
50
50
|
HashKeyRange: HashKeyRange | undefined;
|
|
51
51
|
}
|
|
52
|
-
export declare
|
|
53
|
-
ACTIVE
|
|
54
|
-
CREATING
|
|
55
|
-
DELETING
|
|
56
|
-
}
|
|
52
|
+
export declare const ConsumerStatus: {
|
|
53
|
+
readonly ACTIVE: "ACTIVE";
|
|
54
|
+
readonly CREATING: "CREATING";
|
|
55
|
+
readonly DELETING: "DELETING";
|
|
56
|
+
};
|
|
57
|
+
export type ConsumerStatus =
|
|
58
|
+
(typeof ConsumerStatus)[keyof typeof ConsumerStatus];
|
|
57
59
|
export interface Consumer {
|
|
58
60
|
ConsumerName: string | undefined;
|
|
59
61
|
ConsumerARN: string | undefined;
|
|
@@ -67,10 +69,11 @@ export interface ConsumerDescription {
|
|
|
67
69
|
ConsumerCreationTimestamp: Date | undefined;
|
|
68
70
|
StreamARN: string | undefined;
|
|
69
71
|
}
|
|
70
|
-
export declare
|
|
71
|
-
ON_DEMAND
|
|
72
|
-
PROVISIONED
|
|
73
|
-
}
|
|
72
|
+
export declare const StreamMode: {
|
|
73
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
74
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
75
|
+
};
|
|
76
|
+
export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
|
|
74
77
|
export interface StreamModeDetails {
|
|
75
78
|
StreamMode: StreamMode | string | undefined;
|
|
76
79
|
}
|
|
@@ -107,20 +110,23 @@ export interface DescribeStreamInput {
|
|
|
107
110
|
ExclusiveStartShardId?: string;
|
|
108
111
|
StreamARN?: string;
|
|
109
112
|
}
|
|
110
|
-
export declare
|
|
111
|
-
KMS
|
|
112
|
-
NONE
|
|
113
|
-
}
|
|
114
|
-
export
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
113
|
+
export declare const EncryptionType: {
|
|
114
|
+
readonly KMS: "KMS";
|
|
115
|
+
readonly NONE: "NONE";
|
|
116
|
+
};
|
|
117
|
+
export type EncryptionType =
|
|
118
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
119
|
+
export declare const MetricsName: {
|
|
120
|
+
readonly ALL: "ALL";
|
|
121
|
+
readonly INCOMING_BYTES: "IncomingBytes";
|
|
122
|
+
readonly INCOMING_RECORDS: "IncomingRecords";
|
|
123
|
+
readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
|
|
124
|
+
readonly OUTGOING_BYTES: "OutgoingBytes";
|
|
125
|
+
readonly OUTGOING_RECORDS: "OutgoingRecords";
|
|
126
|
+
readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
|
|
127
|
+
readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
|
|
128
|
+
};
|
|
129
|
+
export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
|
|
124
130
|
export interface EnhancedMetrics {
|
|
125
131
|
ShardLevelMetrics?: (MetricsName | string)[];
|
|
126
132
|
}
|
|
@@ -135,12 +141,13 @@ export interface Shard {
|
|
|
135
141
|
HashKeyRange: HashKeyRange | undefined;
|
|
136
142
|
SequenceNumberRange: SequenceNumberRange | undefined;
|
|
137
143
|
}
|
|
138
|
-
export declare
|
|
139
|
-
ACTIVE
|
|
140
|
-
CREATING
|
|
141
|
-
DELETING
|
|
142
|
-
UPDATING
|
|
143
|
-
}
|
|
144
|
+
export declare const StreamStatus: {
|
|
145
|
+
readonly ACTIVE: "ACTIVE";
|
|
146
|
+
readonly CREATING: "CREATING";
|
|
147
|
+
readonly DELETING: "DELETING";
|
|
148
|
+
readonly UPDATING: "UPDATING";
|
|
149
|
+
};
|
|
150
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
144
151
|
export interface StreamDescription {
|
|
145
152
|
StreamName: string | undefined;
|
|
146
153
|
StreamARN: string | undefined;
|
|
@@ -283,13 +290,15 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
283
290
|
>
|
|
284
291
|
);
|
|
285
292
|
}
|
|
286
|
-
export declare
|
|
287
|
-
AFTER_SEQUENCE_NUMBER
|
|
288
|
-
AT_SEQUENCE_NUMBER
|
|
289
|
-
AT_TIMESTAMP
|
|
290
|
-
LATEST
|
|
291
|
-
TRIM_HORIZON
|
|
292
|
-
}
|
|
293
|
+
export declare const ShardIteratorType: {
|
|
294
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
295
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
296
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
297
|
+
readonly LATEST: "LATEST";
|
|
298
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
299
|
+
};
|
|
300
|
+
export type ShardIteratorType =
|
|
301
|
+
(typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
293
302
|
export interface GetShardIteratorInput {
|
|
294
303
|
StreamName?: string;
|
|
295
304
|
ShardId: string | undefined;
|
|
@@ -313,14 +322,16 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
313
322
|
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
314
323
|
);
|
|
315
324
|
}
|
|
316
|
-
export declare
|
|
317
|
-
AFTER_SHARD_ID
|
|
318
|
-
AT_LATEST
|
|
319
|
-
AT_TIMESTAMP
|
|
320
|
-
AT_TRIM_HORIZON
|
|
321
|
-
FROM_TIMESTAMP
|
|
322
|
-
FROM_TRIM_HORIZON
|
|
323
|
-
}
|
|
325
|
+
export declare const ShardFilterType: {
|
|
326
|
+
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
327
|
+
readonly AT_LATEST: "AT_LATEST";
|
|
328
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
329
|
+
readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
|
|
330
|
+
readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
|
|
331
|
+
readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
|
|
332
|
+
};
|
|
333
|
+
export type ShardFilterType =
|
|
334
|
+
(typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
324
335
|
export interface ShardFilter {
|
|
325
336
|
Type: ShardFilterType | string | undefined;
|
|
326
337
|
ShardId?: string;
|
|
@@ -651,9 +662,10 @@ export declare namespace SubscribeToShardEventStream {
|
|
|
651
662
|
export interface SubscribeToShardOutput {
|
|
652
663
|
EventStream: AsyncIterable<SubscribeToShardEventStream> | undefined;
|
|
653
664
|
}
|
|
654
|
-
export declare
|
|
655
|
-
UNIFORM_SCALING
|
|
656
|
-
}
|
|
665
|
+
export declare const ScalingType: {
|
|
666
|
+
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
667
|
+
};
|
|
668
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
657
669
|
export interface UpdateShardCountInput {
|
|
658
670
|
StreamName?: string;
|
|
659
671
|
TargetShardCount: number | undefined;
|
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.303.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",
|
|
@@ -21,46 +21,46 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
30
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
31
|
-
"@aws-sdk/hash-node": "3.
|
|
32
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
33
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
34
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
35
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
36
|
-
"@aws-sdk/middleware-logger": "3.
|
|
37
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
38
|
-
"@aws-sdk/middleware-retry": "3.
|
|
39
|
-
"@aws-sdk/middleware-serde": "3.
|
|
40
|
-
"@aws-sdk/middleware-signing": "3.
|
|
41
|
-
"@aws-sdk/middleware-stack": "3.
|
|
42
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
-
"@aws-sdk/node-config-provider": "3.
|
|
44
|
-
"@aws-sdk/node-http-handler": "3.
|
|
45
|
-
"@aws-sdk/protocol-http": "3.
|
|
46
|
-
"@aws-sdk/smithy-client": "3.
|
|
47
|
-
"@aws-sdk/types": "3.
|
|
48
|
-
"@aws-sdk/url-parser": "3.
|
|
49
|
-
"@aws-sdk/util-base64": "3.
|
|
50
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
51
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
52
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
53
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
54
|
-
"@aws-sdk/util-endpoints": "3.
|
|
55
|
-
"@aws-sdk/util-retry": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
58
|
-
"@aws-sdk/util-utf8": "3.
|
|
59
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-browser": "3.303.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.303.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-node": "3.303.0",
|
|
30
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
31
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
32
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
40
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
41
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
42
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
43
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
44
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
45
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
46
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
47
|
+
"@aws-sdk/types": "3.303.0",
|
|
48
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
58
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
59
|
+
"@aws-sdk/util-waiter": "3.303.0",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|