@aws-sdk/client-kinesis 3.52.0 → 3.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KinesisServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +198 -2
- package/dist-cjs/protocols/Aws_json1_1.js +307 -1132
- package/dist-es/index.js +1 -0
- package/dist-es/models/KinesisServiceException.js +12 -0
- package/dist-es/models/models_0.js +182 -1
- package/dist-es/protocols/Aws_json1_1.js +667 -1221
- package/dist-types/KinesisClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KinesisServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +83 -73
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KinesisClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/KinesisServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -61
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +31 -31
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KinesisServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Kinesis"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./KinesisClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var KinesisServiceException_1 = require("./models/KinesisServiceException");
|
|
12
|
+
Object.defineProperty(exports, "KinesisServiceException", { enumerable: true, get: function () { return KinesisServiceException_1.KinesisServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KinesisServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class KinesisServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, KinesisServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.KinesisServiceException = KinesisServiceException;
|
|
@@ -1,13 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateStreamModeInput = exports.UpdateShardCountOutput = exports.UpdateShardCountInput = exports.ScalingType = exports.SubscribeToShardOutput = exports.SubscribeToShardEventStream = exports.SubscribeToShardEvent = exports.SubscribeToShardInput = exports.StartingPosition = exports.StopStreamEncryptionInput = exports.StartStreamEncryptionInput = exports.SplitShardInput = exports.RemoveTagsFromStreamInput = exports.RegisterStreamConsumerOutput = exports.RegisterStreamConsumerInput = exports.PutRecordsOutput = exports.PutRecordsResultEntry = exports.PutRecordsInput = exports.PutRecordsRequestEntry = exports.PutRecordOutput = exports.PutRecordInput = void 0;
|
|
3
|
+
exports.GetShardIteratorOutput = exports.GetShardIteratorInput = exports.ShardIteratorType = exports.ProvisionedThroughputExceededException = exports.KMSThrottlingException = exports.KMSOptInRequired = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.GetRecordsOutput = exports._Record = exports.GetRecordsInput = exports.ExpiredNextTokenException = exports.ExpiredIteratorException = exports.EnableEnhancedMonitoringInput = exports.EnhancedMonitoringOutput = exports.DisableEnhancedMonitoringInput = exports.DescribeStreamSummaryOutput = exports.StreamDescriptionSummary = exports.DescribeStreamSummaryInput = exports.DescribeStreamConsumerOutput = exports.DescribeStreamConsumerInput = exports.DescribeStreamOutput = exports.StreamDescription = exports.StreamStatus = exports.Shard = exports.SequenceNumberRange = exports.EnhancedMetrics = exports.MetricsName = exports.EncryptionType = exports.DescribeStreamInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DeregisterStreamConsumerInput = exports.DeleteStreamInput = exports.DecreaseStreamRetentionPeriodInput = exports.CreateStreamInput = exports.StreamModeDetails = exports.StreamMode = exports.ConsumerDescription = exports.Consumer = exports.ConsumerStatus = exports.ChildShard = exports.HashKeyRange = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.LimitExceededException = exports.InvalidArgumentException = exports.AddTagsToStreamInput = void 0;
|
|
4
|
+
exports.UpdateStreamModeInput = exports.UpdateShardCountOutput = exports.UpdateShardCountInput = exports.ScalingType = exports.SubscribeToShardOutput = exports.SubscribeToShardEventStream = exports.SubscribeToShardEvent = exports.SubscribeToShardInput = exports.StartingPosition = exports.StopStreamEncryptionInput = exports.StartStreamEncryptionInput = exports.SplitShardInput = exports.RemoveTagsFromStreamInput = exports.RegisterStreamConsumerOutput = exports.RegisterStreamConsumerInput = exports.PutRecordsOutput = exports.PutRecordsResultEntry = exports.PutRecordsInput = exports.PutRecordsRequestEntry = exports.PutRecordOutput = exports.PutRecordInput = exports.ValidationException = exports.MergeShardsInput = exports.ListTagsForStreamOutput = exports.Tag = exports.ListTagsForStreamInput = exports.ListStreamsOutput = exports.ListStreamsInput = exports.ListStreamConsumersOutput = exports.ListStreamConsumersInput = exports.ListShardsOutput = exports.ListShardsInput = exports.ShardFilter = exports.ShardFilterType = exports.InternalFailureException = exports.IncreaseStreamRetentionPeriodInput = void 0;
|
|
5
|
+
const KinesisServiceException_1 = require("./KinesisServiceException");
|
|
5
6
|
var AddTagsToStreamInput;
|
|
6
7
|
(function (AddTagsToStreamInput) {
|
|
7
8
|
AddTagsToStreamInput.filterSensitiveLog = (obj) => ({
|
|
8
9
|
...obj,
|
|
9
10
|
});
|
|
10
11
|
})(AddTagsToStreamInput = exports.AddTagsToStreamInput || (exports.AddTagsToStreamInput = {}));
|
|
12
|
+
class InvalidArgumentException extends KinesisServiceException_1.KinesisServiceException {
|
|
13
|
+
constructor(opts) {
|
|
14
|
+
super({
|
|
15
|
+
name: "InvalidArgumentException",
|
|
16
|
+
$fault: "client",
|
|
17
|
+
...opts,
|
|
18
|
+
});
|
|
19
|
+
this.name = "InvalidArgumentException";
|
|
20
|
+
this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
25
|
+
class LimitExceededException extends KinesisServiceException_1.KinesisServiceException {
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "LimitExceededException",
|
|
29
|
+
$fault: "client",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
this.name = "LimitExceededException";
|
|
33
|
+
this.$fault = "client";
|
|
34
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.LimitExceededException = LimitExceededException;
|
|
38
|
+
class ResourceInUseException extends KinesisServiceException_1.KinesisServiceException {
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ResourceInUseException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
this.name = "ResourceInUseException";
|
|
46
|
+
this.$fault = "client";
|
|
47
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
51
|
+
class ResourceNotFoundException extends KinesisServiceException_1.KinesisServiceException {
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "ResourceNotFoundException",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
this.name = "ResourceNotFoundException";
|
|
59
|
+
this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
11
64
|
var HashKeyRange;
|
|
12
65
|
(function (HashKeyRange) {
|
|
13
66
|
HashKeyRange.filterSensitiveLog = (obj) => ({
|
|
@@ -192,6 +245,32 @@ var EnableEnhancedMonitoringInput;
|
|
|
192
245
|
...obj,
|
|
193
246
|
});
|
|
194
247
|
})(EnableEnhancedMonitoringInput = exports.EnableEnhancedMonitoringInput || (exports.EnableEnhancedMonitoringInput = {}));
|
|
248
|
+
class ExpiredIteratorException extends KinesisServiceException_1.KinesisServiceException {
|
|
249
|
+
constructor(opts) {
|
|
250
|
+
super({
|
|
251
|
+
name: "ExpiredIteratorException",
|
|
252
|
+
$fault: "client",
|
|
253
|
+
...opts,
|
|
254
|
+
});
|
|
255
|
+
this.name = "ExpiredIteratorException";
|
|
256
|
+
this.$fault = "client";
|
|
257
|
+
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
exports.ExpiredIteratorException = ExpiredIteratorException;
|
|
261
|
+
class ExpiredNextTokenException extends KinesisServiceException_1.KinesisServiceException {
|
|
262
|
+
constructor(opts) {
|
|
263
|
+
super({
|
|
264
|
+
name: "ExpiredNextTokenException",
|
|
265
|
+
$fault: "client",
|
|
266
|
+
...opts,
|
|
267
|
+
});
|
|
268
|
+
this.name = "ExpiredNextTokenException";
|
|
269
|
+
this.$fault = "client";
|
|
270
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
exports.ExpiredNextTokenException = ExpiredNextTokenException;
|
|
195
274
|
var GetRecordsInput;
|
|
196
275
|
(function (GetRecordsInput) {
|
|
197
276
|
GetRecordsInput.filterSensitiveLog = (obj) => ({
|
|
@@ -210,6 +289,97 @@ var GetRecordsOutput;
|
|
|
210
289
|
...obj,
|
|
211
290
|
});
|
|
212
291
|
})(GetRecordsOutput = exports.GetRecordsOutput || (exports.GetRecordsOutput = {}));
|
|
292
|
+
class KMSAccessDeniedException extends KinesisServiceException_1.KinesisServiceException {
|
|
293
|
+
constructor(opts) {
|
|
294
|
+
super({
|
|
295
|
+
name: "KMSAccessDeniedException",
|
|
296
|
+
$fault: "client",
|
|
297
|
+
...opts,
|
|
298
|
+
});
|
|
299
|
+
this.name = "KMSAccessDeniedException";
|
|
300
|
+
this.$fault = "client";
|
|
301
|
+
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.KMSAccessDeniedException = KMSAccessDeniedException;
|
|
305
|
+
class KMSDisabledException extends KinesisServiceException_1.KinesisServiceException {
|
|
306
|
+
constructor(opts) {
|
|
307
|
+
super({
|
|
308
|
+
name: "KMSDisabledException",
|
|
309
|
+
$fault: "client",
|
|
310
|
+
...opts,
|
|
311
|
+
});
|
|
312
|
+
this.name = "KMSDisabledException";
|
|
313
|
+
this.$fault = "client";
|
|
314
|
+
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.KMSDisabledException = KMSDisabledException;
|
|
318
|
+
class KMSInvalidStateException extends KinesisServiceException_1.KinesisServiceException {
|
|
319
|
+
constructor(opts) {
|
|
320
|
+
super({
|
|
321
|
+
name: "KMSInvalidStateException",
|
|
322
|
+
$fault: "client",
|
|
323
|
+
...opts,
|
|
324
|
+
});
|
|
325
|
+
this.name = "KMSInvalidStateException";
|
|
326
|
+
this.$fault = "client";
|
|
327
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
exports.KMSInvalidStateException = KMSInvalidStateException;
|
|
331
|
+
class KMSNotFoundException extends KinesisServiceException_1.KinesisServiceException {
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "KMSNotFoundException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts,
|
|
337
|
+
});
|
|
338
|
+
this.name = "KMSNotFoundException";
|
|
339
|
+
this.$fault = "client";
|
|
340
|
+
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
exports.KMSNotFoundException = KMSNotFoundException;
|
|
344
|
+
class KMSOptInRequired extends KinesisServiceException_1.KinesisServiceException {
|
|
345
|
+
constructor(opts) {
|
|
346
|
+
super({
|
|
347
|
+
name: "KMSOptInRequired",
|
|
348
|
+
$fault: "client",
|
|
349
|
+
...opts,
|
|
350
|
+
});
|
|
351
|
+
this.name = "KMSOptInRequired";
|
|
352
|
+
this.$fault = "client";
|
|
353
|
+
Object.setPrototypeOf(this, KMSOptInRequired.prototype);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.KMSOptInRequired = KMSOptInRequired;
|
|
357
|
+
class KMSThrottlingException extends KinesisServiceException_1.KinesisServiceException {
|
|
358
|
+
constructor(opts) {
|
|
359
|
+
super({
|
|
360
|
+
name: "KMSThrottlingException",
|
|
361
|
+
$fault: "client",
|
|
362
|
+
...opts,
|
|
363
|
+
});
|
|
364
|
+
this.name = "KMSThrottlingException";
|
|
365
|
+
this.$fault = "client";
|
|
366
|
+
Object.setPrototypeOf(this, KMSThrottlingException.prototype);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.KMSThrottlingException = KMSThrottlingException;
|
|
370
|
+
class ProvisionedThroughputExceededException extends KinesisServiceException_1.KinesisServiceException {
|
|
371
|
+
constructor(opts) {
|
|
372
|
+
super({
|
|
373
|
+
name: "ProvisionedThroughputExceededException",
|
|
374
|
+
$fault: "client",
|
|
375
|
+
...opts,
|
|
376
|
+
});
|
|
377
|
+
this.name = "ProvisionedThroughputExceededException";
|
|
378
|
+
this.$fault = "client";
|
|
379
|
+
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
|
|
213
383
|
var ShardIteratorType;
|
|
214
384
|
(function (ShardIteratorType) {
|
|
215
385
|
ShardIteratorType["AFTER_SEQUENCE_NUMBER"] = "AFTER_SEQUENCE_NUMBER";
|
|
@@ -236,6 +406,19 @@ var IncreaseStreamRetentionPeriodInput;
|
|
|
236
406
|
...obj,
|
|
237
407
|
});
|
|
238
408
|
})(IncreaseStreamRetentionPeriodInput = exports.IncreaseStreamRetentionPeriodInput || (exports.IncreaseStreamRetentionPeriodInput = {}));
|
|
409
|
+
class InternalFailureException extends KinesisServiceException_1.KinesisServiceException {
|
|
410
|
+
constructor(opts) {
|
|
411
|
+
super({
|
|
412
|
+
name: "InternalFailureException",
|
|
413
|
+
$fault: "server",
|
|
414
|
+
...opts,
|
|
415
|
+
});
|
|
416
|
+
this.name = "InternalFailureException";
|
|
417
|
+
this.$fault = "server";
|
|
418
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
exports.InternalFailureException = InternalFailureException;
|
|
239
422
|
var ShardFilterType;
|
|
240
423
|
(function (ShardFilterType) {
|
|
241
424
|
ShardFilterType["AFTER_SHARD_ID"] = "AFTER_SHARD_ID";
|
|
@@ -311,6 +494,19 @@ var MergeShardsInput;
|
|
|
311
494
|
...obj,
|
|
312
495
|
});
|
|
313
496
|
})(MergeShardsInput = exports.MergeShardsInput || (exports.MergeShardsInput = {}));
|
|
497
|
+
class ValidationException extends KinesisServiceException_1.KinesisServiceException {
|
|
498
|
+
constructor(opts) {
|
|
499
|
+
super({
|
|
500
|
+
name: "ValidationException",
|
|
501
|
+
$fault: "client",
|
|
502
|
+
...opts,
|
|
503
|
+
});
|
|
504
|
+
this.name = "ValidationException";
|
|
505
|
+
this.$fault = "client";
|
|
506
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
exports.ValidationException = ValidationException;
|
|
314
510
|
var PutRecordInput;
|
|
315
511
|
(function (PutRecordInput) {
|
|
316
512
|
PutRecordInput.filterSensitiveLog = (obj) => ({
|