@aws-sdk/client-kinesis 3.183.0 → 3.186.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Kinesis.js +125 -118
  4. package/dist-es/KinesisClient.js +29 -23
  5. package/dist-es/commands/AddTagsToStreamCommand.js +29 -22
  6. package/dist-es/commands/CreateStreamCommand.js +29 -22
  7. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +29 -22
  8. package/dist-es/commands/DeleteStreamCommand.js +29 -22
  9. package/dist-es/commands/DeregisterStreamConsumerCommand.js +29 -22
  10. package/dist-es/commands/DescribeLimitsCommand.js +28 -21
  11. package/dist-es/commands/DescribeStreamCommand.js +28 -21
  12. package/dist-es/commands/DescribeStreamConsumerCommand.js +28 -21
  13. package/dist-es/commands/DescribeStreamSummaryCommand.js +28 -21
  14. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +28 -21
  15. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +28 -21
  16. package/dist-es/commands/GetRecordsCommand.js +28 -21
  17. package/dist-es/commands/GetShardIteratorCommand.js +28 -21
  18. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +29 -22
  19. package/dist-es/commands/ListShardsCommand.js +28 -21
  20. package/dist-es/commands/ListStreamConsumersCommand.js +28 -21
  21. package/dist-es/commands/ListStreamsCommand.js +28 -21
  22. package/dist-es/commands/ListTagsForStreamCommand.js +28 -21
  23. package/dist-es/commands/MergeShardsCommand.js +29 -22
  24. package/dist-es/commands/PutRecordCommand.js +28 -21
  25. package/dist-es/commands/PutRecordsCommand.js +28 -21
  26. package/dist-es/commands/RegisterStreamConsumerCommand.js +28 -21
  27. package/dist-es/commands/RemoveTagsFromStreamCommand.js +29 -22
  28. package/dist-es/commands/SplitShardCommand.js +29 -22
  29. package/dist-es/commands/StartStreamEncryptionCommand.js +29 -22
  30. package/dist-es/commands/StopStreamEncryptionCommand.js +29 -22
  31. package/dist-es/commands/SubscribeToShardCommand.js +28 -21
  32. package/dist-es/commands/UpdateShardCountCommand.js +28 -21
  33. package/dist-es/commands/UpdateStreamModeCommand.js +29 -22
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/KinesisServiceException.js +10 -5
  36. package/dist-es/models/models_0.js +232 -355
  37. package/dist-es/pagination/ListStreamConsumersPaginator.js +68 -25
  38. package/dist-es/protocols/Aws_json1_1.js +2778 -2071
  39. package/dist-es/runtimeConfig.browser.js +12 -27
  40. package/dist-es/runtimeConfig.js +19 -32
  41. package/dist-es/runtimeConfig.native.js +5 -8
  42. package/dist-es/runtimeConfig.shared.js +11 -8
  43. package/dist-es/waiters/waitForStreamExists.js +48 -28
  44. package/dist-es/waiters/waitForStreamNotExists.js +42 -22
  45. package/package.json +37 -37
@@ -1,52 +1,53 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { KinesisServiceException as __BaseException } from "./KinesisServiceException";
2
- export class InvalidArgumentException extends __BaseException {
3
- constructor(opts) {
4
- super({
5
- name: "InvalidArgumentException",
6
- $fault: "client",
7
- ...opts,
8
- });
9
- this.name = "InvalidArgumentException";
10
- this.$fault = "client";
11
- Object.setPrototypeOf(this, InvalidArgumentException.prototype);
3
+ var InvalidArgumentException = (function (_super) {
4
+ __extends(InvalidArgumentException, _super);
5
+ function InvalidArgumentException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "InvalidArgumentException", $fault: "client" }, opts)) || this;
7
+ _this.name = "InvalidArgumentException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, InvalidArgumentException.prototype);
10
+ return _this;
12
11
  }
13
- }
14
- export class LimitExceededException extends __BaseException {
15
- constructor(opts) {
16
- super({
17
- name: "LimitExceededException",
18
- $fault: "client",
19
- ...opts,
20
- });
21
- this.name = "LimitExceededException";
22
- this.$fault = "client";
23
- Object.setPrototypeOf(this, LimitExceededException.prototype);
12
+ return InvalidArgumentException;
13
+ }(__BaseException));
14
+ export { InvalidArgumentException };
15
+ var LimitExceededException = (function (_super) {
16
+ __extends(LimitExceededException, _super);
17
+ function LimitExceededException(opts) {
18
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
19
+ _this.name = "LimitExceededException";
20
+ _this.$fault = "client";
21
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
22
+ return _this;
24
23
  }
25
- }
26
- export class ResourceInUseException extends __BaseException {
27
- constructor(opts) {
28
- super({
29
- name: "ResourceInUseException",
30
- $fault: "client",
31
- ...opts,
32
- });
33
- this.name = "ResourceInUseException";
34
- this.$fault = "client";
35
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
24
+ return LimitExceededException;
25
+ }(__BaseException));
26
+ export { LimitExceededException };
27
+ var ResourceInUseException = (function (_super) {
28
+ __extends(ResourceInUseException, _super);
29
+ function ResourceInUseException(opts) {
30
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
31
+ _this.name = "ResourceInUseException";
32
+ _this.$fault = "client";
33
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
34
+ return _this;
36
35
  }
37
- }
38
- export class ResourceNotFoundException extends __BaseException {
39
- constructor(opts) {
40
- super({
41
- name: "ResourceNotFoundException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- this.name = "ResourceNotFoundException";
46
- this.$fault = "client";
47
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
+ return ResourceInUseException;
37
+ }(__BaseException));
38
+ export { ResourceInUseException };
39
+ var ResourceNotFoundException = (function (_super) {
40
+ __extends(ResourceNotFoundException, _super);
41
+ function ResourceNotFoundException(opts) {
42
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
43
+ _this.name = "ResourceNotFoundException";
44
+ _this.$fault = "client";
45
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
46
+ return _this;
48
47
  }
49
- }
48
+ return ResourceNotFoundException;
49
+ }(__BaseException));
50
+ export { ResourceNotFoundException };
50
51
  export var ConsumerStatus;
51
52
  (function (ConsumerStatus) {
52
53
  ConsumerStatus["ACTIVE"] = "ACTIVE";
@@ -81,114 +82,114 @@ export var StreamStatus;
81
82
  StreamStatus["DELETING"] = "DELETING";
82
83
  StreamStatus["UPDATING"] = "UPDATING";
83
84
  })(StreamStatus || (StreamStatus = {}));
84
- export class ExpiredIteratorException extends __BaseException {
85
- constructor(opts) {
86
- super({
87
- name: "ExpiredIteratorException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "ExpiredIteratorException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
85
+ var ExpiredIteratorException = (function (_super) {
86
+ __extends(ExpiredIteratorException, _super);
87
+ function ExpiredIteratorException(opts) {
88
+ var _this = _super.call(this, __assign({ name: "ExpiredIteratorException", $fault: "client" }, opts)) || this;
89
+ _this.name = "ExpiredIteratorException";
90
+ _this.$fault = "client";
91
+ Object.setPrototypeOf(_this, ExpiredIteratorException.prototype);
92
+ return _this;
94
93
  }
95
- }
96
- export class ExpiredNextTokenException extends __BaseException {
97
- constructor(opts) {
98
- super({
99
- name: "ExpiredNextTokenException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "ExpiredNextTokenException";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
94
+ return ExpiredIteratorException;
95
+ }(__BaseException));
96
+ export { ExpiredIteratorException };
97
+ var ExpiredNextTokenException = (function (_super) {
98
+ __extends(ExpiredNextTokenException, _super);
99
+ function ExpiredNextTokenException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ExpiredNextTokenException", $fault: "client" }, opts)) || this;
101
+ _this.name = "ExpiredNextTokenException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, ExpiredNextTokenException.prototype);
104
+ return _this;
106
105
  }
107
- }
108
- export class KMSAccessDeniedException extends __BaseException {
109
- constructor(opts) {
110
- super({
111
- name: "KMSAccessDeniedException",
112
- $fault: "client",
113
- ...opts,
114
- });
115
- this.name = "KMSAccessDeniedException";
116
- this.$fault = "client";
117
- Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
106
+ return ExpiredNextTokenException;
107
+ }(__BaseException));
108
+ export { ExpiredNextTokenException };
109
+ var KMSAccessDeniedException = (function (_super) {
110
+ __extends(KMSAccessDeniedException, _super);
111
+ function KMSAccessDeniedException(opts) {
112
+ var _this = _super.call(this, __assign({ name: "KMSAccessDeniedException", $fault: "client" }, opts)) || this;
113
+ _this.name = "KMSAccessDeniedException";
114
+ _this.$fault = "client";
115
+ Object.setPrototypeOf(_this, KMSAccessDeniedException.prototype);
116
+ return _this;
118
117
  }
119
- }
120
- export class KMSDisabledException extends __BaseException {
121
- constructor(opts) {
122
- super({
123
- name: "KMSDisabledException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- this.name = "KMSDisabledException";
128
- this.$fault = "client";
129
- Object.setPrototypeOf(this, KMSDisabledException.prototype);
118
+ return KMSAccessDeniedException;
119
+ }(__BaseException));
120
+ export { KMSAccessDeniedException };
121
+ var KMSDisabledException = (function (_super) {
122
+ __extends(KMSDisabledException, _super);
123
+ function KMSDisabledException(opts) {
124
+ var _this = _super.call(this, __assign({ name: "KMSDisabledException", $fault: "client" }, opts)) || this;
125
+ _this.name = "KMSDisabledException";
126
+ _this.$fault = "client";
127
+ Object.setPrototypeOf(_this, KMSDisabledException.prototype);
128
+ return _this;
130
129
  }
131
- }
132
- export class KMSInvalidStateException extends __BaseException {
133
- constructor(opts) {
134
- super({
135
- name: "KMSInvalidStateException",
136
- $fault: "client",
137
- ...opts,
138
- });
139
- this.name = "KMSInvalidStateException";
140
- this.$fault = "client";
141
- Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
130
+ return KMSDisabledException;
131
+ }(__BaseException));
132
+ export { KMSDisabledException };
133
+ var KMSInvalidStateException = (function (_super) {
134
+ __extends(KMSInvalidStateException, _super);
135
+ function KMSInvalidStateException(opts) {
136
+ var _this = _super.call(this, __assign({ name: "KMSInvalidStateException", $fault: "client" }, opts)) || this;
137
+ _this.name = "KMSInvalidStateException";
138
+ _this.$fault = "client";
139
+ Object.setPrototypeOf(_this, KMSInvalidStateException.prototype);
140
+ return _this;
142
141
  }
143
- }
144
- export class KMSNotFoundException extends __BaseException {
145
- constructor(opts) {
146
- super({
147
- name: "KMSNotFoundException",
148
- $fault: "client",
149
- ...opts,
150
- });
151
- this.name = "KMSNotFoundException";
152
- this.$fault = "client";
153
- Object.setPrototypeOf(this, KMSNotFoundException.prototype);
142
+ return KMSInvalidStateException;
143
+ }(__BaseException));
144
+ export { KMSInvalidStateException };
145
+ var KMSNotFoundException = (function (_super) {
146
+ __extends(KMSNotFoundException, _super);
147
+ function KMSNotFoundException(opts) {
148
+ var _this = _super.call(this, __assign({ name: "KMSNotFoundException", $fault: "client" }, opts)) || this;
149
+ _this.name = "KMSNotFoundException";
150
+ _this.$fault = "client";
151
+ Object.setPrototypeOf(_this, KMSNotFoundException.prototype);
152
+ return _this;
154
153
  }
155
- }
156
- export class KMSOptInRequired extends __BaseException {
157
- constructor(opts) {
158
- super({
159
- name: "KMSOptInRequired",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- this.name = "KMSOptInRequired";
164
- this.$fault = "client";
165
- Object.setPrototypeOf(this, KMSOptInRequired.prototype);
154
+ return KMSNotFoundException;
155
+ }(__BaseException));
156
+ export { KMSNotFoundException };
157
+ var KMSOptInRequired = (function (_super) {
158
+ __extends(KMSOptInRequired, _super);
159
+ function KMSOptInRequired(opts) {
160
+ var _this = _super.call(this, __assign({ name: "KMSOptInRequired", $fault: "client" }, opts)) || this;
161
+ _this.name = "KMSOptInRequired";
162
+ _this.$fault = "client";
163
+ Object.setPrototypeOf(_this, KMSOptInRequired.prototype);
164
+ return _this;
166
165
  }
167
- }
168
- export class KMSThrottlingException extends __BaseException {
169
- constructor(opts) {
170
- super({
171
- name: "KMSThrottlingException",
172
- $fault: "client",
173
- ...opts,
174
- });
175
- this.name = "KMSThrottlingException";
176
- this.$fault = "client";
177
- Object.setPrototypeOf(this, KMSThrottlingException.prototype);
166
+ return KMSOptInRequired;
167
+ }(__BaseException));
168
+ export { KMSOptInRequired };
169
+ var KMSThrottlingException = (function (_super) {
170
+ __extends(KMSThrottlingException, _super);
171
+ function KMSThrottlingException(opts) {
172
+ var _this = _super.call(this, __assign({ name: "KMSThrottlingException", $fault: "client" }, opts)) || this;
173
+ _this.name = "KMSThrottlingException";
174
+ _this.$fault = "client";
175
+ Object.setPrototypeOf(_this, KMSThrottlingException.prototype);
176
+ return _this;
178
177
  }
179
- }
180
- export class ProvisionedThroughputExceededException extends __BaseException {
181
- constructor(opts) {
182
- super({
183
- name: "ProvisionedThroughputExceededException",
184
- $fault: "client",
185
- ...opts,
186
- });
187
- this.name = "ProvisionedThroughputExceededException";
188
- this.$fault = "client";
189
- Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
178
+ return KMSThrottlingException;
179
+ }(__BaseException));
180
+ export { KMSThrottlingException };
181
+ var ProvisionedThroughputExceededException = (function (_super) {
182
+ __extends(ProvisionedThroughputExceededException, _super);
183
+ function ProvisionedThroughputExceededException(opts) {
184
+ var _this = _super.call(this, __assign({ name: "ProvisionedThroughputExceededException", $fault: "client" }, opts)) || this;
185
+ _this.name = "ProvisionedThroughputExceededException";
186
+ _this.$fault = "client";
187
+ Object.setPrototypeOf(_this, ProvisionedThroughputExceededException.prototype);
188
+ return _this;
190
189
  }
191
- }
190
+ return ProvisionedThroughputExceededException;
191
+ }(__BaseException));
192
+ export { ProvisionedThroughputExceededException };
192
193
  export var ShardIteratorType;
193
194
  (function (ShardIteratorType) {
194
195
  ShardIteratorType["AFTER_SEQUENCE_NUMBER"] = "AFTER_SEQUENCE_NUMBER";
@@ -197,18 +198,18 @@ export var ShardIteratorType;
197
198
  ShardIteratorType["LATEST"] = "LATEST";
198
199
  ShardIteratorType["TRIM_HORIZON"] = "TRIM_HORIZON";
199
200
  })(ShardIteratorType || (ShardIteratorType = {}));
200
- export class InternalFailureException extends __BaseException {
201
- constructor(opts) {
202
- super({
203
- name: "InternalFailureException",
204
- $fault: "server",
205
- ...opts,
206
- });
207
- this.name = "InternalFailureException";
208
- this.$fault = "server";
209
- Object.setPrototypeOf(this, InternalFailureException.prototype);
201
+ var InternalFailureException = (function (_super) {
202
+ __extends(InternalFailureException, _super);
203
+ function InternalFailureException(opts) {
204
+ var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
205
+ _this.name = "InternalFailureException";
206
+ _this.$fault = "server";
207
+ Object.setPrototypeOf(_this, InternalFailureException.prototype);
208
+ return _this;
210
209
  }
211
- }
210
+ return InternalFailureException;
211
+ }(__BaseException));
212
+ export { InternalFailureException };
212
213
  export var ShardFilterType;
213
214
  (function (ShardFilterType) {
214
215
  ShardFilterType["AFTER_SHARD_ID"] = "AFTER_SHARD_ID";
@@ -218,21 +219,21 @@ export var ShardFilterType;
218
219
  ShardFilterType["FROM_TIMESTAMP"] = "FROM_TIMESTAMP";
219
220
  ShardFilterType["FROM_TRIM_HORIZON"] = "FROM_TRIM_HORIZON";
220
221
  })(ShardFilterType || (ShardFilterType = {}));
221
- export class ValidationException extends __BaseException {
222
- constructor(opts) {
223
- super({
224
- name: "ValidationException",
225
- $fault: "client",
226
- ...opts,
227
- });
228
- this.name = "ValidationException";
229
- this.$fault = "client";
230
- Object.setPrototypeOf(this, ValidationException.prototype);
222
+ var ValidationException = (function (_super) {
223
+ __extends(ValidationException, _super);
224
+ function ValidationException(opts) {
225
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
226
+ _this.name = "ValidationException";
227
+ _this.$fault = "client";
228
+ Object.setPrototypeOf(_this, ValidationException.prototype);
229
+ return _this;
231
230
  }
232
- }
231
+ return ValidationException;
232
+ }(__BaseException));
233
+ export { ValidationException };
233
234
  export var SubscribeToShardEventStream;
234
235
  (function (SubscribeToShardEventStream) {
235
- SubscribeToShardEventStream.visit = (value, visitor) => {
236
+ SubscribeToShardEventStream.visit = function (value, visitor) {
236
237
  if (value.SubscribeToShardEvent !== undefined)
237
238
  return visitor.SubscribeToShardEvent(value.SubscribeToShardEvent);
238
239
  if (value.ResourceNotFoundException !== undefined)
@@ -260,181 +261,66 @@ export var ScalingType;
260
261
  (function (ScalingType) {
261
262
  ScalingType["UNIFORM_SCALING"] = "UNIFORM_SCALING";
262
263
  })(ScalingType || (ScalingType = {}));
263
- export const AddTagsToStreamInputFilterSensitiveLog = (obj) => ({
264
- ...obj,
265
- });
266
- export const HashKeyRangeFilterSensitiveLog = (obj) => ({
267
- ...obj,
268
- });
269
- export const ChildShardFilterSensitiveLog = (obj) => ({
270
- ...obj,
271
- });
272
- export const ConsumerFilterSensitiveLog = (obj) => ({
273
- ...obj,
274
- });
275
- export const ConsumerDescriptionFilterSensitiveLog = (obj) => ({
276
- ...obj,
277
- });
278
- export const StreamModeDetailsFilterSensitiveLog = (obj) => ({
279
- ...obj,
280
- });
281
- export const CreateStreamInputFilterSensitiveLog = (obj) => ({
282
- ...obj,
283
- });
284
- export const DecreaseStreamRetentionPeriodInputFilterSensitiveLog = (obj) => ({
285
- ...obj,
286
- });
287
- export const DeleteStreamInputFilterSensitiveLog = (obj) => ({
288
- ...obj,
289
- });
290
- export const DeregisterStreamConsumerInputFilterSensitiveLog = (obj) => ({
291
- ...obj,
292
- });
293
- export const DescribeLimitsInputFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- });
296
- export const DescribeLimitsOutputFilterSensitiveLog = (obj) => ({
297
- ...obj,
298
- });
299
- export const DescribeStreamInputFilterSensitiveLog = (obj) => ({
300
- ...obj,
301
- });
302
- export const EnhancedMetricsFilterSensitiveLog = (obj) => ({
303
- ...obj,
304
- });
305
- export const SequenceNumberRangeFilterSensitiveLog = (obj) => ({
306
- ...obj,
307
- });
308
- export const ShardFilterSensitiveLog = (obj) => ({
309
- ...obj,
310
- });
311
- export const StreamDescriptionFilterSensitiveLog = (obj) => ({
312
- ...obj,
313
- });
314
- export const DescribeStreamOutputFilterSensitiveLog = (obj) => ({
315
- ...obj,
316
- });
317
- export const DescribeStreamConsumerInputFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- });
320
- export const DescribeStreamConsumerOutputFilterSensitiveLog = (obj) => ({
321
- ...obj,
322
- });
323
- export const DescribeStreamSummaryInputFilterSensitiveLog = (obj) => ({
324
- ...obj,
325
- });
326
- export const StreamDescriptionSummaryFilterSensitiveLog = (obj) => ({
327
- ...obj,
328
- });
329
- export const DescribeStreamSummaryOutputFilterSensitiveLog = (obj) => ({
330
- ...obj,
331
- });
332
- export const DisableEnhancedMonitoringInputFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- });
335
- export const EnhancedMonitoringOutputFilterSensitiveLog = (obj) => ({
336
- ...obj,
337
- });
338
- export const EnableEnhancedMonitoringInputFilterSensitiveLog = (obj) => ({
339
- ...obj,
340
- });
341
- export const GetRecordsInputFilterSensitiveLog = (obj) => ({
342
- ...obj,
343
- });
344
- export const _RecordFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- });
347
- export const GetRecordsOutputFilterSensitiveLog = (obj) => ({
348
- ...obj,
349
- });
350
- export const GetShardIteratorInputFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- });
353
- export const GetShardIteratorOutputFilterSensitiveLog = (obj) => ({
354
- ...obj,
355
- });
356
- export const IncreaseStreamRetentionPeriodInputFilterSensitiveLog = (obj) => ({
357
- ...obj,
358
- });
359
- export const ShardFilterFilterSensitiveLog = (obj) => ({
360
- ...obj,
361
- });
362
- export const ListShardsInputFilterSensitiveLog = (obj) => ({
363
- ...obj,
364
- });
365
- export const ListShardsOutputFilterSensitiveLog = (obj) => ({
366
- ...obj,
367
- });
368
- export const ListStreamConsumersInputFilterSensitiveLog = (obj) => ({
369
- ...obj,
370
- });
371
- export const ListStreamConsumersOutputFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- });
374
- export const ListStreamsInputFilterSensitiveLog = (obj) => ({
375
- ...obj,
376
- });
377
- export const ListStreamsOutputFilterSensitiveLog = (obj) => ({
378
- ...obj,
379
- });
380
- export const ListTagsForStreamInputFilterSensitiveLog = (obj) => ({
381
- ...obj,
382
- });
383
- export const TagFilterSensitiveLog = (obj) => ({
384
- ...obj,
385
- });
386
- export const ListTagsForStreamOutputFilterSensitiveLog = (obj) => ({
387
- ...obj,
388
- });
389
- export const MergeShardsInputFilterSensitiveLog = (obj) => ({
390
- ...obj,
391
- });
392
- export const PutRecordInputFilterSensitiveLog = (obj) => ({
393
- ...obj,
394
- });
395
- export const PutRecordOutputFilterSensitiveLog = (obj) => ({
396
- ...obj,
397
- });
398
- export const PutRecordsRequestEntryFilterSensitiveLog = (obj) => ({
399
- ...obj,
400
- });
401
- export const PutRecordsInputFilterSensitiveLog = (obj) => ({
402
- ...obj,
403
- });
404
- export const PutRecordsResultEntryFilterSensitiveLog = (obj) => ({
405
- ...obj,
406
- });
407
- export const PutRecordsOutputFilterSensitiveLog = (obj) => ({
408
- ...obj,
409
- });
410
- export const RegisterStreamConsumerInputFilterSensitiveLog = (obj) => ({
411
- ...obj,
412
- });
413
- export const RegisterStreamConsumerOutputFilterSensitiveLog = (obj) => ({
414
- ...obj,
415
- });
416
- export const RemoveTagsFromStreamInputFilterSensitiveLog = (obj) => ({
417
- ...obj,
418
- });
419
- export const SplitShardInputFilterSensitiveLog = (obj) => ({
420
- ...obj,
421
- });
422
- export const StartStreamEncryptionInputFilterSensitiveLog = (obj) => ({
423
- ...obj,
424
- });
425
- export const StopStreamEncryptionInputFilterSensitiveLog = (obj) => ({
426
- ...obj,
427
- });
428
- export const StartingPositionFilterSensitiveLog = (obj) => ({
429
- ...obj,
430
- });
431
- export const SubscribeToShardInputFilterSensitiveLog = (obj) => ({
432
- ...obj,
433
- });
434
- export const SubscribeToShardEventFilterSensitiveLog = (obj) => ({
435
- ...obj,
436
- });
437
- export const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
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;
438
324
  if (obj.SubscribeToShardEvent !== undefined)
439
325
  return { SubscribeToShardEvent: SubscribeToShardEventFilterSensitiveLog(obj.SubscribeToShardEvent) };
440
326
  if (obj.ResourceNotFoundException !== undefined)
@@ -456,18 +342,9 @@ export const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
456
342
  if (obj.InternalFailureException !== undefined)
457
343
  return { InternalFailureException: obj.InternalFailureException };
458
344
  if (obj.$unknown !== undefined)
459
- return { [obj.$unknown[0]]: "UNKNOWN" };
345
+ return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
460
346
  };
461
- export const SubscribeToShardOutputFilterSensitiveLog = (obj) => ({
462
- ...obj,
463
- ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
464
- });
465
- export const UpdateShardCountInputFilterSensitiveLog = (obj) => ({
466
- ...obj,
467
- });
468
- export const UpdateShardCountOutputFilterSensitiveLog = (obj) => ({
469
- ...obj,
470
- });
471
- export const UpdateStreamModeInputFilterSensitiveLog = (obj) => ({
472
- ...obj,
473
- });
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)); };