@aws-sdk/client-kinesis 3.136.1 → 3.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AddTagsToStreamCommand.js +1 -1
- package/dist-cjs/commands/CreateStreamCommand.js +1 -1
- package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +1 -1
- package/dist-cjs/commands/DeleteStreamCommand.js +1 -1
- package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +1 -1
- package/dist-cjs/commands/DescribeLimitsCommand.js +2 -2
- package/dist-cjs/commands/DescribeStreamCommand.js +2 -2
- package/dist-cjs/commands/DescribeStreamConsumerCommand.js +2 -2
- package/dist-cjs/commands/DescribeStreamSummaryCommand.js +2 -2
- package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +2 -2
- package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +2 -2
- package/dist-cjs/commands/GetRecordsCommand.js +2 -2
- package/dist-cjs/commands/GetShardIteratorCommand.js +2 -2
- package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +1 -1
- package/dist-cjs/commands/ListShardsCommand.js +2 -2
- package/dist-cjs/commands/ListStreamConsumersCommand.js +2 -2
- package/dist-cjs/commands/ListStreamsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForStreamCommand.js +2 -2
- package/dist-cjs/commands/MergeShardsCommand.js +1 -1
- package/dist-cjs/commands/PutRecordCommand.js +2 -2
- package/dist-cjs/commands/PutRecordsCommand.js +2 -2
- package/dist-cjs/commands/RegisterStreamConsumerCommand.js +2 -2
- package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +1 -1
- package/dist-cjs/commands/SplitShardCommand.js +1 -1
- package/dist-cjs/commands/StartStreamEncryptionCommand.js +1 -1
- package/dist-cjs/commands/StopStreamEncryptionCommand.js +1 -1
- package/dist-cjs/commands/SubscribeToShardCommand.js +2 -2
- package/dist-cjs/commands/UpdateShardCountCommand.js +2 -2
- package/dist-cjs/commands/UpdateStreamModeCommand.js +1 -1
- package/dist-cjs/models/models_0.js +276 -399
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/AddTagsToStreamCommand.js +2 -2
- package/dist-es/commands/CreateStreamCommand.js +2 -2
- package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -2
- package/dist-es/commands/DeleteStreamCommand.js +2 -2
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
- package/dist-es/commands/DescribeLimitsCommand.js +3 -3
- package/dist-es/commands/DescribeStreamCommand.js +3 -3
- package/dist-es/commands/DescribeStreamConsumerCommand.js +3 -3
- package/dist-es/commands/DescribeStreamSummaryCommand.js +3 -3
- package/dist-es/commands/DisableEnhancedMonitoringCommand.js +3 -3
- package/dist-es/commands/EnableEnhancedMonitoringCommand.js +3 -3
- package/dist-es/commands/GetRecordsCommand.js +3 -3
- package/dist-es/commands/GetShardIteratorCommand.js +3 -3
- package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -2
- package/dist-es/commands/ListShardsCommand.js +3 -3
- package/dist-es/commands/ListStreamConsumersCommand.js +3 -3
- package/dist-es/commands/ListStreamsCommand.js +3 -3
- package/dist-es/commands/ListTagsForStreamCommand.js +3 -3
- package/dist-es/commands/MergeShardsCommand.js +2 -2
- package/dist-es/commands/PutRecordCommand.js +3 -3
- package/dist-es/commands/PutRecordsCommand.js +3 -3
- package/dist-es/commands/RegisterStreamConsumerCommand.js +3 -3
- package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -2
- package/dist-es/commands/SplitShardCommand.js +2 -2
- package/dist-es/commands/StartStreamEncryptionCommand.js +2 -2
- package/dist-es/commands/StopStreamEncryptionCommand.js +2 -2
- package/dist-es/commands/SubscribeToShardCommand.js +3 -3
- package/dist-es/commands/UpdateShardCountCommand.js +3 -3
- package/dist-es/commands/UpdateStreamModeCommand.js +2 -2
- package/dist-es/models/models_0.js +87 -273
- package/dist-es/runtimeConfig.js +8 -1
- package/dist-types/models/models_0.d.ts +252 -376
- package/dist-types/ts3.4/models/models_0.d.ts +126 -250
- package/package.json +6 -6
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { KinesisServiceException as __BaseException } from "./KinesisServiceException";
|
|
3
|
-
export var AddTagsToStreamInput;
|
|
4
|
-
(function (AddTagsToStreamInput) {
|
|
5
|
-
AddTagsToStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AddTagsToStreamInput || (AddTagsToStreamInput = {}));
|
|
7
3
|
var InvalidArgumentException = (function (_super) {
|
|
8
4
|
__extends(InvalidArgumentException, _super);
|
|
9
5
|
function InvalidArgumentException(opts) {
|
|
@@ -52,65 +48,17 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
52
48
|
return ResourceNotFoundException;
|
|
53
49
|
}(__BaseException));
|
|
54
50
|
export { ResourceNotFoundException };
|
|
55
|
-
export var HashKeyRange;
|
|
56
|
-
(function (HashKeyRange) {
|
|
57
|
-
HashKeyRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(HashKeyRange || (HashKeyRange = {}));
|
|
59
|
-
export var ChildShard;
|
|
60
|
-
(function (ChildShard) {
|
|
61
|
-
ChildShard.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
62
|
-
})(ChildShard || (ChildShard = {}));
|
|
63
51
|
export var ConsumerStatus;
|
|
64
52
|
(function (ConsumerStatus) {
|
|
65
53
|
ConsumerStatus["ACTIVE"] = "ACTIVE";
|
|
66
54
|
ConsumerStatus["CREATING"] = "CREATING";
|
|
67
55
|
ConsumerStatus["DELETING"] = "DELETING";
|
|
68
56
|
})(ConsumerStatus || (ConsumerStatus = {}));
|
|
69
|
-
export var Consumer;
|
|
70
|
-
(function (Consumer) {
|
|
71
|
-
Consumer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
72
|
-
})(Consumer || (Consumer = {}));
|
|
73
|
-
export var ConsumerDescription;
|
|
74
|
-
(function (ConsumerDescription) {
|
|
75
|
-
ConsumerDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
76
|
-
})(ConsumerDescription || (ConsumerDescription = {}));
|
|
77
57
|
export var StreamMode;
|
|
78
58
|
(function (StreamMode) {
|
|
79
59
|
StreamMode["ON_DEMAND"] = "ON_DEMAND";
|
|
80
60
|
StreamMode["PROVISIONED"] = "PROVISIONED";
|
|
81
61
|
})(StreamMode || (StreamMode = {}));
|
|
82
|
-
export var StreamModeDetails;
|
|
83
|
-
(function (StreamModeDetails) {
|
|
84
|
-
StreamModeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
-
})(StreamModeDetails || (StreamModeDetails = {}));
|
|
86
|
-
export var CreateStreamInput;
|
|
87
|
-
(function (CreateStreamInput) {
|
|
88
|
-
CreateStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
-
})(CreateStreamInput || (CreateStreamInput = {}));
|
|
90
|
-
export var DecreaseStreamRetentionPeriodInput;
|
|
91
|
-
(function (DecreaseStreamRetentionPeriodInput) {
|
|
92
|
-
DecreaseStreamRetentionPeriodInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(DecreaseStreamRetentionPeriodInput || (DecreaseStreamRetentionPeriodInput = {}));
|
|
94
|
-
export var DeleteStreamInput;
|
|
95
|
-
(function (DeleteStreamInput) {
|
|
96
|
-
DeleteStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(DeleteStreamInput || (DeleteStreamInput = {}));
|
|
98
|
-
export var DeregisterStreamConsumerInput;
|
|
99
|
-
(function (DeregisterStreamConsumerInput) {
|
|
100
|
-
DeregisterStreamConsumerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
-
})(DeregisterStreamConsumerInput || (DeregisterStreamConsumerInput = {}));
|
|
102
|
-
export var DescribeLimitsInput;
|
|
103
|
-
(function (DescribeLimitsInput) {
|
|
104
|
-
DescribeLimitsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
-
})(DescribeLimitsInput || (DescribeLimitsInput = {}));
|
|
106
|
-
export var DescribeLimitsOutput;
|
|
107
|
-
(function (DescribeLimitsOutput) {
|
|
108
|
-
DescribeLimitsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
-
})(DescribeLimitsOutput || (DescribeLimitsOutput = {}));
|
|
110
|
-
export var DescribeStreamInput;
|
|
111
|
-
(function (DescribeStreamInput) {
|
|
112
|
-
DescribeStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
-
})(DescribeStreamInput || (DescribeStreamInput = {}));
|
|
114
62
|
export var EncryptionType;
|
|
115
63
|
(function (EncryptionType) {
|
|
116
64
|
EncryptionType["KMS"] = "KMS";
|
|
@@ -127,18 +75,6 @@ export var MetricsName;
|
|
|
127
75
|
MetricsName["READ_PROVISIONED_THROUGHPUT_EXCEEDED"] = "ReadProvisionedThroughputExceeded";
|
|
128
76
|
MetricsName["WRITE_PROVISIONED_THROUGHPUT_EXCEEDED"] = "WriteProvisionedThroughputExceeded";
|
|
129
77
|
})(MetricsName || (MetricsName = {}));
|
|
130
|
-
export var EnhancedMetrics;
|
|
131
|
-
(function (EnhancedMetrics) {
|
|
132
|
-
EnhancedMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(EnhancedMetrics || (EnhancedMetrics = {}));
|
|
134
|
-
export var SequenceNumberRange;
|
|
135
|
-
(function (SequenceNumberRange) {
|
|
136
|
-
SequenceNumberRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(SequenceNumberRange || (SequenceNumberRange = {}));
|
|
138
|
-
export var Shard;
|
|
139
|
-
(function (Shard) {
|
|
140
|
-
Shard.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(Shard || (Shard = {}));
|
|
142
78
|
export var StreamStatus;
|
|
143
79
|
(function (StreamStatus) {
|
|
144
80
|
StreamStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -146,46 +82,6 @@ export var StreamStatus;
|
|
|
146
82
|
StreamStatus["DELETING"] = "DELETING";
|
|
147
83
|
StreamStatus["UPDATING"] = "UPDATING";
|
|
148
84
|
})(StreamStatus || (StreamStatus = {}));
|
|
149
|
-
export var StreamDescription;
|
|
150
|
-
(function (StreamDescription) {
|
|
151
|
-
StreamDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
-
})(StreamDescription || (StreamDescription = {}));
|
|
153
|
-
export var DescribeStreamOutput;
|
|
154
|
-
(function (DescribeStreamOutput) {
|
|
155
|
-
DescribeStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
-
})(DescribeStreamOutput || (DescribeStreamOutput = {}));
|
|
157
|
-
export var DescribeStreamConsumerInput;
|
|
158
|
-
(function (DescribeStreamConsumerInput) {
|
|
159
|
-
DescribeStreamConsumerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
|
-
})(DescribeStreamConsumerInput || (DescribeStreamConsumerInput = {}));
|
|
161
|
-
export var DescribeStreamConsumerOutput;
|
|
162
|
-
(function (DescribeStreamConsumerOutput) {
|
|
163
|
-
DescribeStreamConsumerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
-
})(DescribeStreamConsumerOutput || (DescribeStreamConsumerOutput = {}));
|
|
165
|
-
export var DescribeStreamSummaryInput;
|
|
166
|
-
(function (DescribeStreamSummaryInput) {
|
|
167
|
-
DescribeStreamSummaryInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
-
})(DescribeStreamSummaryInput || (DescribeStreamSummaryInput = {}));
|
|
169
|
-
export var StreamDescriptionSummary;
|
|
170
|
-
(function (StreamDescriptionSummary) {
|
|
171
|
-
StreamDescriptionSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
-
})(StreamDescriptionSummary || (StreamDescriptionSummary = {}));
|
|
173
|
-
export var DescribeStreamSummaryOutput;
|
|
174
|
-
(function (DescribeStreamSummaryOutput) {
|
|
175
|
-
DescribeStreamSummaryOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
-
})(DescribeStreamSummaryOutput || (DescribeStreamSummaryOutput = {}));
|
|
177
|
-
export var DisableEnhancedMonitoringInput;
|
|
178
|
-
(function (DisableEnhancedMonitoringInput) {
|
|
179
|
-
DisableEnhancedMonitoringInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
-
})(DisableEnhancedMonitoringInput || (DisableEnhancedMonitoringInput = {}));
|
|
181
|
-
export var EnhancedMonitoringOutput;
|
|
182
|
-
(function (EnhancedMonitoringOutput) {
|
|
183
|
-
EnhancedMonitoringOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
-
})(EnhancedMonitoringOutput || (EnhancedMonitoringOutput = {}));
|
|
185
|
-
export var EnableEnhancedMonitoringInput;
|
|
186
|
-
(function (EnableEnhancedMonitoringInput) {
|
|
187
|
-
EnableEnhancedMonitoringInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
-
})(EnableEnhancedMonitoringInput || (EnableEnhancedMonitoringInput = {}));
|
|
189
85
|
var ExpiredIteratorException = (function (_super) {
|
|
190
86
|
__extends(ExpiredIteratorException, _super);
|
|
191
87
|
function ExpiredIteratorException(opts) {
|
|
@@ -210,18 +106,6 @@ var ExpiredNextTokenException = (function (_super) {
|
|
|
210
106
|
return ExpiredNextTokenException;
|
|
211
107
|
}(__BaseException));
|
|
212
108
|
export { ExpiredNextTokenException };
|
|
213
|
-
export var GetRecordsInput;
|
|
214
|
-
(function (GetRecordsInput) {
|
|
215
|
-
GetRecordsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
-
})(GetRecordsInput || (GetRecordsInput = {}));
|
|
217
|
-
export var _Record;
|
|
218
|
-
(function (_Record) {
|
|
219
|
-
_Record.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
-
})(_Record || (_Record = {}));
|
|
221
|
-
export var GetRecordsOutput;
|
|
222
|
-
(function (GetRecordsOutput) {
|
|
223
|
-
GetRecordsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
-
})(GetRecordsOutput || (GetRecordsOutput = {}));
|
|
225
109
|
var KMSAccessDeniedException = (function (_super) {
|
|
226
110
|
__extends(KMSAccessDeniedException, _super);
|
|
227
111
|
function KMSAccessDeniedException(opts) {
|
|
@@ -314,18 +198,6 @@ export var ShardIteratorType;
|
|
|
314
198
|
ShardIteratorType["LATEST"] = "LATEST";
|
|
315
199
|
ShardIteratorType["TRIM_HORIZON"] = "TRIM_HORIZON";
|
|
316
200
|
})(ShardIteratorType || (ShardIteratorType = {}));
|
|
317
|
-
export var GetShardIteratorInput;
|
|
318
|
-
(function (GetShardIteratorInput) {
|
|
319
|
-
GetShardIteratorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
-
})(GetShardIteratorInput || (GetShardIteratorInput = {}));
|
|
321
|
-
export var GetShardIteratorOutput;
|
|
322
|
-
(function (GetShardIteratorOutput) {
|
|
323
|
-
GetShardIteratorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
-
})(GetShardIteratorOutput || (GetShardIteratorOutput = {}));
|
|
325
|
-
export var IncreaseStreamRetentionPeriodInput;
|
|
326
|
-
(function (IncreaseStreamRetentionPeriodInput) {
|
|
327
|
-
IncreaseStreamRetentionPeriodInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
|
-
})(IncreaseStreamRetentionPeriodInput || (IncreaseStreamRetentionPeriodInput = {}));
|
|
329
201
|
var InternalFailureException = (function (_super) {
|
|
330
202
|
__extends(InternalFailureException, _super);
|
|
331
203
|
function InternalFailureException(opts) {
|
|
@@ -347,50 +219,6 @@ export var ShardFilterType;
|
|
|
347
219
|
ShardFilterType["FROM_TIMESTAMP"] = "FROM_TIMESTAMP";
|
|
348
220
|
ShardFilterType["FROM_TRIM_HORIZON"] = "FROM_TRIM_HORIZON";
|
|
349
221
|
})(ShardFilterType || (ShardFilterType = {}));
|
|
350
|
-
export var ShardFilter;
|
|
351
|
-
(function (ShardFilter) {
|
|
352
|
-
ShardFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
353
|
-
})(ShardFilter || (ShardFilter = {}));
|
|
354
|
-
export var ListShardsInput;
|
|
355
|
-
(function (ListShardsInput) {
|
|
356
|
-
ListShardsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
357
|
-
})(ListShardsInput || (ListShardsInput = {}));
|
|
358
|
-
export var ListShardsOutput;
|
|
359
|
-
(function (ListShardsOutput) {
|
|
360
|
-
ListShardsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
-
})(ListShardsOutput || (ListShardsOutput = {}));
|
|
362
|
-
export var ListStreamConsumersInput;
|
|
363
|
-
(function (ListStreamConsumersInput) {
|
|
364
|
-
ListStreamConsumersInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
365
|
-
})(ListStreamConsumersInput || (ListStreamConsumersInput = {}));
|
|
366
|
-
export var ListStreamConsumersOutput;
|
|
367
|
-
(function (ListStreamConsumersOutput) {
|
|
368
|
-
ListStreamConsumersOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
369
|
-
})(ListStreamConsumersOutput || (ListStreamConsumersOutput = {}));
|
|
370
|
-
export var ListStreamsInput;
|
|
371
|
-
(function (ListStreamsInput) {
|
|
372
|
-
ListStreamsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
373
|
-
})(ListStreamsInput || (ListStreamsInput = {}));
|
|
374
|
-
export var ListStreamsOutput;
|
|
375
|
-
(function (ListStreamsOutput) {
|
|
376
|
-
ListStreamsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
|
-
})(ListStreamsOutput || (ListStreamsOutput = {}));
|
|
378
|
-
export var ListTagsForStreamInput;
|
|
379
|
-
(function (ListTagsForStreamInput) {
|
|
380
|
-
ListTagsForStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
|
-
})(ListTagsForStreamInput || (ListTagsForStreamInput = {}));
|
|
382
|
-
export var Tag;
|
|
383
|
-
(function (Tag) {
|
|
384
|
-
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
385
|
-
})(Tag || (Tag = {}));
|
|
386
|
-
export var ListTagsForStreamOutput;
|
|
387
|
-
(function (ListTagsForStreamOutput) {
|
|
388
|
-
ListTagsForStreamOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
389
|
-
})(ListTagsForStreamOutput || (ListTagsForStreamOutput = {}));
|
|
390
|
-
export var MergeShardsInput;
|
|
391
|
-
(function (MergeShardsInput) {
|
|
392
|
-
MergeShardsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
393
|
-
})(MergeShardsInput || (MergeShardsInput = {}));
|
|
394
222
|
var ValidationException = (function (_super) {
|
|
395
223
|
__extends(ValidationException, _super);
|
|
396
224
|
function ValidationException(opts) {
|
|
@@ -403,66 +231,6 @@ var ValidationException = (function (_super) {
|
|
|
403
231
|
return ValidationException;
|
|
404
232
|
}(__BaseException));
|
|
405
233
|
export { ValidationException };
|
|
406
|
-
export var PutRecordInput;
|
|
407
|
-
(function (PutRecordInput) {
|
|
408
|
-
PutRecordInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
409
|
-
})(PutRecordInput || (PutRecordInput = {}));
|
|
410
|
-
export var PutRecordOutput;
|
|
411
|
-
(function (PutRecordOutput) {
|
|
412
|
-
PutRecordOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
413
|
-
})(PutRecordOutput || (PutRecordOutput = {}));
|
|
414
|
-
export var PutRecordsRequestEntry;
|
|
415
|
-
(function (PutRecordsRequestEntry) {
|
|
416
|
-
PutRecordsRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
417
|
-
})(PutRecordsRequestEntry || (PutRecordsRequestEntry = {}));
|
|
418
|
-
export var PutRecordsInput;
|
|
419
|
-
(function (PutRecordsInput) {
|
|
420
|
-
PutRecordsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
|
-
})(PutRecordsInput || (PutRecordsInput = {}));
|
|
422
|
-
export var PutRecordsResultEntry;
|
|
423
|
-
(function (PutRecordsResultEntry) {
|
|
424
|
-
PutRecordsResultEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
|
-
})(PutRecordsResultEntry || (PutRecordsResultEntry = {}));
|
|
426
|
-
export var PutRecordsOutput;
|
|
427
|
-
(function (PutRecordsOutput) {
|
|
428
|
-
PutRecordsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
|
-
})(PutRecordsOutput || (PutRecordsOutput = {}));
|
|
430
|
-
export var RegisterStreamConsumerInput;
|
|
431
|
-
(function (RegisterStreamConsumerInput) {
|
|
432
|
-
RegisterStreamConsumerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
433
|
-
})(RegisterStreamConsumerInput || (RegisterStreamConsumerInput = {}));
|
|
434
|
-
export var RegisterStreamConsumerOutput;
|
|
435
|
-
(function (RegisterStreamConsumerOutput) {
|
|
436
|
-
RegisterStreamConsumerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
437
|
-
})(RegisterStreamConsumerOutput || (RegisterStreamConsumerOutput = {}));
|
|
438
|
-
export var RemoveTagsFromStreamInput;
|
|
439
|
-
(function (RemoveTagsFromStreamInput) {
|
|
440
|
-
RemoveTagsFromStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
441
|
-
})(RemoveTagsFromStreamInput || (RemoveTagsFromStreamInput = {}));
|
|
442
|
-
export var SplitShardInput;
|
|
443
|
-
(function (SplitShardInput) {
|
|
444
|
-
SplitShardInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
|
-
})(SplitShardInput || (SplitShardInput = {}));
|
|
446
|
-
export var StartStreamEncryptionInput;
|
|
447
|
-
(function (StartStreamEncryptionInput) {
|
|
448
|
-
StartStreamEncryptionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
449
|
-
})(StartStreamEncryptionInput || (StartStreamEncryptionInput = {}));
|
|
450
|
-
export var StopStreamEncryptionInput;
|
|
451
|
-
(function (StopStreamEncryptionInput) {
|
|
452
|
-
StopStreamEncryptionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
453
|
-
})(StopStreamEncryptionInput || (StopStreamEncryptionInput = {}));
|
|
454
|
-
export var StartingPosition;
|
|
455
|
-
(function (StartingPosition) {
|
|
456
|
-
StartingPosition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
|
-
})(StartingPosition || (StartingPosition = {}));
|
|
458
|
-
export var SubscribeToShardInput;
|
|
459
|
-
(function (SubscribeToShardInput) {
|
|
460
|
-
SubscribeToShardInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
-
})(SubscribeToShardInput || (SubscribeToShardInput = {}));
|
|
462
|
-
export var SubscribeToShardEvent;
|
|
463
|
-
(function (SubscribeToShardEvent) {
|
|
464
|
-
SubscribeToShardEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
-
})(SubscribeToShardEvent || (SubscribeToShardEvent = {}));
|
|
466
234
|
export var SubscribeToShardEventStream;
|
|
467
235
|
(function (SubscribeToShardEventStream) {
|
|
468
236
|
SubscribeToShardEventStream.visit = function (value, visitor) {
|
|
@@ -488,49 +256,95 @@ export var SubscribeToShardEventStream;
|
|
|
488
256
|
return visitor.InternalFailureException(value.InternalFailureException);
|
|
489
257
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
490
258
|
};
|
|
491
|
-
SubscribeToShardEventStream.filterSensitiveLog = function (obj) {
|
|
492
|
-
var _a;
|
|
493
|
-
if (obj.SubscribeToShardEvent !== undefined)
|
|
494
|
-
return { SubscribeToShardEvent: SubscribeToShardEvent.filterSensitiveLog(obj.SubscribeToShardEvent) };
|
|
495
|
-
if (obj.ResourceNotFoundException !== undefined)
|
|
496
|
-
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
497
|
-
if (obj.ResourceInUseException !== undefined)
|
|
498
|
-
return { ResourceInUseException: obj.ResourceInUseException };
|
|
499
|
-
if (obj.KMSDisabledException !== undefined)
|
|
500
|
-
return { KMSDisabledException: obj.KMSDisabledException };
|
|
501
|
-
if (obj.KMSInvalidStateException !== undefined)
|
|
502
|
-
return { KMSInvalidStateException: obj.KMSInvalidStateException };
|
|
503
|
-
if (obj.KMSAccessDeniedException !== undefined)
|
|
504
|
-
return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
|
|
505
|
-
if (obj.KMSNotFoundException !== undefined)
|
|
506
|
-
return { KMSNotFoundException: obj.KMSNotFoundException };
|
|
507
|
-
if (obj.KMSOptInRequired !== undefined)
|
|
508
|
-
return { KMSOptInRequired: obj.KMSOptInRequired };
|
|
509
|
-
if (obj.KMSThrottlingException !== undefined)
|
|
510
|
-
return { KMSThrottlingException: obj.KMSThrottlingException };
|
|
511
|
-
if (obj.InternalFailureException !== undefined)
|
|
512
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
513
|
-
if (obj.$unknown !== undefined)
|
|
514
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
515
|
-
};
|
|
516
259
|
})(SubscribeToShardEventStream || (SubscribeToShardEventStream = {}));
|
|
517
|
-
export var SubscribeToShardOutput;
|
|
518
|
-
(function (SubscribeToShardOutput) {
|
|
519
|
-
SubscribeToShardOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.EventStream && { EventStream: "STREAMING_CONTENT" }))); };
|
|
520
|
-
})(SubscribeToShardOutput || (SubscribeToShardOutput = {}));
|
|
521
260
|
export var ScalingType;
|
|
522
261
|
(function (ScalingType) {
|
|
523
262
|
ScalingType["UNIFORM_SCALING"] = "UNIFORM_SCALING";
|
|
524
263
|
})(ScalingType || (ScalingType = {}));
|
|
525
|
-
export var
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
export var
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
export var
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
264
|
+
export var AddTagsToStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
export var HashKeyRangeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
|
+
export var ChildShardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
export var ConsumerFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
|
+
export var ConsumerDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
export var StreamModeDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
270
|
+
export var CreateStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
export var DecreaseStreamRetentionPeriodInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
|
+
export var DeleteStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
export var DeregisterStreamConsumerInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
+
export var DescribeLimitsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
export var DescribeLimitsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
+
export var DescribeStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
+
export var EnhancedMetricsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
+
export var SequenceNumberRangeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
|
+
export var ShardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
|
+
export var StreamDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
281
|
+
export var DescribeStreamOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
+
export var DescribeStreamConsumerInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
export var DescribeStreamConsumerOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
+
export var DescribeStreamSummaryInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
export var StreamDescriptionSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
|
+
export var DescribeStreamSummaryOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
+
export var DisableEnhancedMonitoringInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
+
export var EnhancedMonitoringOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
export var EnableEnhancedMonitoringInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
290
|
+
export var GetRecordsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
|
+
export var _RecordFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
export var GetRecordsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
export var GetShardIteratorInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
export var GetShardIteratorOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
|
+
export var IncreaseStreamRetentionPeriodInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
export var ShardFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
export var ListShardsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
298
|
+
export var ListShardsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
|
+
export var ListStreamConsumersInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
+
export var ListStreamConsumersOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
export var ListStreamsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
302
|
+
export var ListStreamsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
303
|
+
export var ListTagsForStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
304
|
+
export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
export var ListTagsForStreamOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
306
|
+
export var MergeShardsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
307
|
+
export var PutRecordInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
|
+
export var PutRecordOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
|
+
export var PutRecordsRequestEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
310
|
+
export var PutRecordsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
311
|
+
export var PutRecordsResultEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
312
|
+
export var PutRecordsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
+
export var RegisterStreamConsumerInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
314
|
+
export var RegisterStreamConsumerOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
315
|
+
export var RemoveTagsFromStreamInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
|
+
export var SplitShardInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
+
export var StartStreamEncryptionInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
|
+
export var StopStreamEncryptionInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
319
|
+
export var StartingPositionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
+
export var SubscribeToShardInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
321
|
+
export var SubscribeToShardEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
|
+
export var SubscribeToShardEventStreamFilterSensitiveLog = function (obj) {
|
|
323
|
+
var _a;
|
|
324
|
+
if (obj.SubscribeToShardEvent !== undefined)
|
|
325
|
+
return { SubscribeToShardEvent: SubscribeToShardEventFilterSensitiveLog(obj.SubscribeToShardEvent) };
|
|
326
|
+
if (obj.ResourceNotFoundException !== undefined)
|
|
327
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
328
|
+
if (obj.ResourceInUseException !== undefined)
|
|
329
|
+
return { ResourceInUseException: obj.ResourceInUseException };
|
|
330
|
+
if (obj.KMSDisabledException !== undefined)
|
|
331
|
+
return { KMSDisabledException: obj.KMSDisabledException };
|
|
332
|
+
if (obj.KMSInvalidStateException !== undefined)
|
|
333
|
+
return { KMSInvalidStateException: obj.KMSInvalidStateException };
|
|
334
|
+
if (obj.KMSAccessDeniedException !== undefined)
|
|
335
|
+
return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
|
|
336
|
+
if (obj.KMSNotFoundException !== undefined)
|
|
337
|
+
return { KMSNotFoundException: obj.KMSNotFoundException };
|
|
338
|
+
if (obj.KMSOptInRequired !== undefined)
|
|
339
|
+
return { KMSOptInRequired: obj.KMSOptInRequired };
|
|
340
|
+
if (obj.KMSThrottlingException !== undefined)
|
|
341
|
+
return { KMSThrottlingException: obj.KMSThrottlingException };
|
|
342
|
+
if (obj.InternalFailureException !== undefined)
|
|
343
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
344
|
+
if (obj.$unknown !== undefined)
|
|
345
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
346
|
+
};
|
|
347
|
+
export var SubscribeToShardOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.EventStream && { EventStream: "STREAMING_CONTENT" }))); };
|
|
348
|
+
export var UpdateShardCountInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
|
+
export var UpdateShardCountOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
350
|
+
export var UpdateStreamModeInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -22,7 +22,14 @@ export var getRuntimeConfig = function (config) {
|
|
|
22
22
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
23
23
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
24
24
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
25
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(
|
|
25
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(function () { return __awaiter(void 0, void 0, void 0, function () { var _a; return __generator(this, function (_b) {
|
|
26
|
+
switch (_b.label) {
|
|
27
|
+
case 0:
|
|
28
|
+
_a = [{}];
|
|
29
|
+
return [4, defaultConfigProvider()];
|
|
30
|
+
case 1: return [2, (__assign.apply(void 0, [__assign.apply(void 0, _a.concat([(_b.sent())])), { disableConcurrentStreams: true }]))];
|
|
31
|
+
}
|
|
32
|
+
}); }); }), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
26
33
|
switch (_a.label) {
|
|
27
34
|
case 0: return [4, defaultConfigProvider()];
|
|
28
35
|
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|