@aws-sdk/client-kinesis 3.1137.0 → 3.1139.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 (29) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +36 -13
  3. package/dist-es/Kinesis.js +2 -0
  4. package/dist-es/commands/UpdateStreamRecordDistributionStrategyCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +4 -0
  7. package/dist-es/schemas/schemas_0.js +23 -12
  8. package/dist-types/Kinesis.d.ts +102 -89
  9. package/dist-types/KinesisClient.d.ts +3 -2
  10. package/dist-types/commands/CreateStreamCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
  13. package/dist-types/commands/GetRecordsCommand.d.ts +1 -1
  14. package/dist-types/commands/PutRecordCommand.d.ts +1 -1
  15. package/dist-types/commands/PutRecordsCommand.d.ts +1 -1
  16. package/dist-types/commands/SubscribeToShardCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateStreamRecordDistributionStrategyCommand.d.ts +127 -0
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/models/enums.d.ts +12 -0
  20. package/dist-types/models/models_0.d.ts +107 -20
  21. package/dist-types/schemas/schemas_0.d.ts +2 -0
  22. package/dist-types/ts3.4/Kinesis.d.ts +109 -88
  23. package/dist-types/ts3.4/KinesisClient.d.ts +6 -0
  24. package/dist-types/ts3.4/commands/UpdateStreamRecordDistributionStrategyCommand.d.ts +38 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +11 -3
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  29. package/package.json +8 -8
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -153,16 +154,23 @@ import {
153
154
  UpdateStreamModeCommandInput,
154
155
  UpdateStreamModeCommandOutput,
155
156
  } from "./commands/UpdateStreamModeCommand";
157
+ import {
158
+ UpdateStreamRecordDistributionStrategyCommandInput,
159
+ UpdateStreamRecordDistributionStrategyCommandOutput,
160
+ } from "./commands/UpdateStreamRecordDistributionStrategyCommand";
156
161
  import {
157
162
  UpdateStreamWarmThroughputCommandInput,
158
163
  UpdateStreamWarmThroughputCommandOutput,
159
164
  } from "./commands/UpdateStreamWarmThroughputCommand";
160
165
  import { KinesisClient } from "./KinesisClient";
161
166
  import { ResourceNotFoundException } from "./models/errors";
167
+ export interface KinesisRequestOptions extends __HttpHandlerOptions {
168
+ metricsRecorder?: __MetricsRecorder<unknown>;
169
+ }
162
170
  export interface Kinesis {
163
171
  addTagsToStream(
164
172
  args: AddTagsToStreamCommandInput,
165
- options?: __HttpHandlerOptions,
173
+ options?: KinesisRequestOptions,
166
174
  ): Promise<AddTagsToStreamCommandOutput>;
167
175
  addTagsToStream(
168
176
  args: AddTagsToStreamCommandInput,
@@ -170,12 +178,12 @@ export interface Kinesis {
170
178
  ): void;
171
179
  addTagsToStream(
172
180
  args: AddTagsToStreamCommandInput,
173
- options: __HttpHandlerOptions,
181
+ options: KinesisRequestOptions,
174
182
  cb: (err: any, data?: AddTagsToStreamCommandOutput) => void,
175
183
  ): void;
176
184
  createChannel(
177
185
  args: CreateChannelCommandInput,
178
- options?: __HttpHandlerOptions,
186
+ options?: KinesisRequestOptions,
179
187
  ): Promise<CreateChannelCommandOutput>;
180
188
  createChannel(
181
189
  args: CreateChannelCommandInput,
@@ -183,12 +191,12 @@ export interface Kinesis {
183
191
  ): void;
184
192
  createChannel(
185
193
  args: CreateChannelCommandInput,
186
- options: __HttpHandlerOptions,
194
+ options: KinesisRequestOptions,
187
195
  cb: (err: any, data?: CreateChannelCommandOutput) => void,
188
196
  ): void;
189
197
  createStream(
190
198
  args: CreateStreamCommandInput,
191
- options?: __HttpHandlerOptions,
199
+ options?: KinesisRequestOptions,
192
200
  ): Promise<CreateStreamCommandOutput>;
193
201
  createStream(
194
202
  args: CreateStreamCommandInput,
@@ -196,12 +204,12 @@ export interface Kinesis {
196
204
  ): void;
197
205
  createStream(
198
206
  args: CreateStreamCommandInput,
199
- options: __HttpHandlerOptions,
207
+ options: KinesisRequestOptions,
200
208
  cb: (err: any, data?: CreateStreamCommandOutput) => void,
201
209
  ): void;
202
210
  decreaseStreamRetentionPeriod(
203
211
  args: DecreaseStreamRetentionPeriodCommandInput,
204
- options?: __HttpHandlerOptions,
212
+ options?: KinesisRequestOptions,
205
213
  ): Promise<DecreaseStreamRetentionPeriodCommandOutput>;
206
214
  decreaseStreamRetentionPeriod(
207
215
  args: DecreaseStreamRetentionPeriodCommandInput,
@@ -209,12 +217,12 @@ export interface Kinesis {
209
217
  ): void;
210
218
  decreaseStreamRetentionPeriod(
211
219
  args: DecreaseStreamRetentionPeriodCommandInput,
212
- options: __HttpHandlerOptions,
220
+ options: KinesisRequestOptions,
213
221
  cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void,
214
222
  ): void;
215
223
  deleteChannel(
216
224
  args: DeleteChannelCommandInput,
217
- options?: __HttpHandlerOptions,
225
+ options?: KinesisRequestOptions,
218
226
  ): Promise<DeleteChannelCommandOutput>;
219
227
  deleteChannel(
220
228
  args: DeleteChannelCommandInput,
@@ -222,12 +230,12 @@ export interface Kinesis {
222
230
  ): void;
223
231
  deleteChannel(
224
232
  args: DeleteChannelCommandInput,
225
- options: __HttpHandlerOptions,
233
+ options: KinesisRequestOptions,
226
234
  cb: (err: any, data?: DeleteChannelCommandOutput) => void,
227
235
  ): void;
228
236
  deleteResourcePolicy(
229
237
  args: DeleteResourcePolicyCommandInput,
230
- options?: __HttpHandlerOptions,
238
+ options?: KinesisRequestOptions,
231
239
  ): Promise<DeleteResourcePolicyCommandOutput>;
232
240
  deleteResourcePolicy(
233
241
  args: DeleteResourcePolicyCommandInput,
@@ -235,13 +243,13 @@ export interface Kinesis {
235
243
  ): void;
236
244
  deleteResourcePolicy(
237
245
  args: DeleteResourcePolicyCommandInput,
238
- options: __HttpHandlerOptions,
246
+ options: KinesisRequestOptions,
239
247
  cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
240
248
  ): void;
241
249
  deleteStream(): Promise<DeleteStreamCommandOutput>;
242
250
  deleteStream(
243
251
  args: DeleteStreamCommandInput,
244
- options?: __HttpHandlerOptions,
252
+ options?: KinesisRequestOptions,
245
253
  ): Promise<DeleteStreamCommandOutput>;
246
254
  deleteStream(
247
255
  args: DeleteStreamCommandInput,
@@ -249,13 +257,13 @@ export interface Kinesis {
249
257
  ): void;
250
258
  deleteStream(
251
259
  args: DeleteStreamCommandInput,
252
- options: __HttpHandlerOptions,
260
+ options: KinesisRequestOptions,
253
261
  cb: (err: any, data?: DeleteStreamCommandOutput) => void,
254
262
  ): void;
255
263
  deregisterStreamConsumer(): Promise<DeregisterStreamConsumerCommandOutput>;
256
264
  deregisterStreamConsumer(
257
265
  args: DeregisterStreamConsumerCommandInput,
258
- options?: __HttpHandlerOptions,
266
+ options?: KinesisRequestOptions,
259
267
  ): Promise<DeregisterStreamConsumerCommandOutput>;
260
268
  deregisterStreamConsumer(
261
269
  args: DeregisterStreamConsumerCommandInput,
@@ -263,13 +271,13 @@ export interface Kinesis {
263
271
  ): void;
264
272
  deregisterStreamConsumer(
265
273
  args: DeregisterStreamConsumerCommandInput,
266
- options: __HttpHandlerOptions,
274
+ options: KinesisRequestOptions,
267
275
  cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void,
268
276
  ): void;
269
277
  describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
270
278
  describeAccountSettings(
271
279
  args: DescribeAccountSettingsCommandInput,
272
- options?: __HttpHandlerOptions,
280
+ options?: KinesisRequestOptions,
273
281
  ): Promise<DescribeAccountSettingsCommandOutput>;
274
282
  describeAccountSettings(
275
283
  args: DescribeAccountSettingsCommandInput,
@@ -277,12 +285,12 @@ export interface Kinesis {
277
285
  ): void;
278
286
  describeAccountSettings(
279
287
  args: DescribeAccountSettingsCommandInput,
280
- options: __HttpHandlerOptions,
288
+ options: KinesisRequestOptions,
281
289
  cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void,
282
290
  ): void;
283
291
  describeChannel(
284
292
  args: DescribeChannelCommandInput,
285
- options?: __HttpHandlerOptions,
293
+ options?: KinesisRequestOptions,
286
294
  ): Promise<DescribeChannelCommandOutput>;
287
295
  describeChannel(
288
296
  args: DescribeChannelCommandInput,
@@ -290,13 +298,13 @@ export interface Kinesis {
290
298
  ): void;
291
299
  describeChannel(
292
300
  args: DescribeChannelCommandInput,
293
- options: __HttpHandlerOptions,
301
+ options: KinesisRequestOptions,
294
302
  cb: (err: any, data?: DescribeChannelCommandOutput) => void,
295
303
  ): void;
296
304
  describeLimits(): Promise<DescribeLimitsCommandOutput>;
297
305
  describeLimits(
298
306
  args: DescribeLimitsCommandInput,
299
- options?: __HttpHandlerOptions,
307
+ options?: KinesisRequestOptions,
300
308
  ): Promise<DescribeLimitsCommandOutput>;
301
309
  describeLimits(
302
310
  args: DescribeLimitsCommandInput,
@@ -304,13 +312,13 @@ export interface Kinesis {
304
312
  ): void;
305
313
  describeLimits(
306
314
  args: DescribeLimitsCommandInput,
307
- options: __HttpHandlerOptions,
315
+ options: KinesisRequestOptions,
308
316
  cb: (err: any, data?: DescribeLimitsCommandOutput) => void,
309
317
  ): void;
310
318
  describeStream(): Promise<DescribeStreamCommandOutput>;
311
319
  describeStream(
312
320
  args: DescribeStreamCommandInput,
313
- options?: __HttpHandlerOptions,
321
+ options?: KinesisRequestOptions,
314
322
  ): Promise<DescribeStreamCommandOutput>;
315
323
  describeStream(
316
324
  args: DescribeStreamCommandInput,
@@ -318,13 +326,13 @@ export interface Kinesis {
318
326
  ): void;
319
327
  describeStream(
320
328
  args: DescribeStreamCommandInput,
321
- options: __HttpHandlerOptions,
329
+ options: KinesisRequestOptions,
322
330
  cb: (err: any, data?: DescribeStreamCommandOutput) => void,
323
331
  ): void;
324
332
  describeStreamConsumer(): Promise<DescribeStreamConsumerCommandOutput>;
325
333
  describeStreamConsumer(
326
334
  args: DescribeStreamConsumerCommandInput,
327
- options?: __HttpHandlerOptions,
335
+ options?: KinesisRequestOptions,
328
336
  ): Promise<DescribeStreamConsumerCommandOutput>;
329
337
  describeStreamConsumer(
330
338
  args: DescribeStreamConsumerCommandInput,
@@ -332,13 +340,13 @@ export interface Kinesis {
332
340
  ): void;
333
341
  describeStreamConsumer(
334
342
  args: DescribeStreamConsumerCommandInput,
335
- options: __HttpHandlerOptions,
343
+ options: KinesisRequestOptions,
336
344
  cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void,
337
345
  ): void;
338
346
  describeStreamSummary(): Promise<DescribeStreamSummaryCommandOutput>;
339
347
  describeStreamSummary(
340
348
  args: DescribeStreamSummaryCommandInput,
341
- options?: __HttpHandlerOptions,
349
+ options?: KinesisRequestOptions,
342
350
  ): Promise<DescribeStreamSummaryCommandOutput>;
343
351
  describeStreamSummary(
344
352
  args: DescribeStreamSummaryCommandInput,
@@ -346,12 +354,12 @@ export interface Kinesis {
346
354
  ): void;
347
355
  describeStreamSummary(
348
356
  args: DescribeStreamSummaryCommandInput,
349
- options: __HttpHandlerOptions,
357
+ options: KinesisRequestOptions,
350
358
  cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void,
351
359
  ): void;
352
360
  disableEnhancedMonitoring(
353
361
  args: DisableEnhancedMonitoringCommandInput,
354
- options?: __HttpHandlerOptions,
362
+ options?: KinesisRequestOptions,
355
363
  ): Promise<DisableEnhancedMonitoringCommandOutput>;
356
364
  disableEnhancedMonitoring(
357
365
  args: DisableEnhancedMonitoringCommandInput,
@@ -359,12 +367,12 @@ export interface Kinesis {
359
367
  ): void;
360
368
  disableEnhancedMonitoring(
361
369
  args: DisableEnhancedMonitoringCommandInput,
362
- options: __HttpHandlerOptions,
370
+ options: KinesisRequestOptions,
363
371
  cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void,
364
372
  ): void;
365
373
  enableEnhancedMonitoring(
366
374
  args: EnableEnhancedMonitoringCommandInput,
367
- options?: __HttpHandlerOptions,
375
+ options?: KinesisRequestOptions,
368
376
  ): Promise<EnableEnhancedMonitoringCommandOutput>;
369
377
  enableEnhancedMonitoring(
370
378
  args: EnableEnhancedMonitoringCommandInput,
@@ -372,12 +380,12 @@ export interface Kinesis {
372
380
  ): void;
373
381
  enableEnhancedMonitoring(
374
382
  args: EnableEnhancedMonitoringCommandInput,
375
- options: __HttpHandlerOptions,
383
+ options: KinesisRequestOptions,
376
384
  cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void,
377
385
  ): void;
378
386
  getRecords(
379
387
  args: GetRecordsCommandInput,
380
- options?: __HttpHandlerOptions,
388
+ options?: KinesisRequestOptions,
381
389
  ): Promise<GetRecordsCommandOutput>;
382
390
  getRecords(
383
391
  args: GetRecordsCommandInput,
@@ -385,12 +393,12 @@ export interface Kinesis {
385
393
  ): void;
386
394
  getRecords(
387
395
  args: GetRecordsCommandInput,
388
- options: __HttpHandlerOptions,
396
+ options: KinesisRequestOptions,
389
397
  cb: (err: any, data?: GetRecordsCommandOutput) => void,
390
398
  ): void;
391
399
  getResourcePolicy(
392
400
  args: GetResourcePolicyCommandInput,
393
- options?: __HttpHandlerOptions,
401
+ options?: KinesisRequestOptions,
394
402
  ): Promise<GetResourcePolicyCommandOutput>;
395
403
  getResourcePolicy(
396
404
  args: GetResourcePolicyCommandInput,
@@ -398,12 +406,12 @@ export interface Kinesis {
398
406
  ): void;
399
407
  getResourcePolicy(
400
408
  args: GetResourcePolicyCommandInput,
401
- options: __HttpHandlerOptions,
409
+ options: KinesisRequestOptions,
402
410
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
403
411
  ): void;
404
412
  getShardIterator(
405
413
  args: GetShardIteratorCommandInput,
406
- options?: __HttpHandlerOptions,
414
+ options?: KinesisRequestOptions,
407
415
  ): Promise<GetShardIteratorCommandOutput>;
408
416
  getShardIterator(
409
417
  args: GetShardIteratorCommandInput,
@@ -411,12 +419,12 @@ export interface Kinesis {
411
419
  ): void;
412
420
  getShardIterator(
413
421
  args: GetShardIteratorCommandInput,
414
- options: __HttpHandlerOptions,
422
+ options: KinesisRequestOptions,
415
423
  cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
416
424
  ): void;
417
425
  increaseStreamRetentionPeriod(
418
426
  args: IncreaseStreamRetentionPeriodCommandInput,
419
- options?: __HttpHandlerOptions,
427
+ options?: KinesisRequestOptions,
420
428
  ): Promise<IncreaseStreamRetentionPeriodCommandOutput>;
421
429
  increaseStreamRetentionPeriod(
422
430
  args: IncreaseStreamRetentionPeriodCommandInput,
@@ -424,13 +432,13 @@ export interface Kinesis {
424
432
  ): void;
425
433
  increaseStreamRetentionPeriod(
426
434
  args: IncreaseStreamRetentionPeriodCommandInput,
427
- options: __HttpHandlerOptions,
435
+ options: KinesisRequestOptions,
428
436
  cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void,
429
437
  ): void;
430
438
  listChannels(): Promise<ListChannelsCommandOutput>;
431
439
  listChannels(
432
440
  args: ListChannelsCommandInput,
433
- options?: __HttpHandlerOptions,
441
+ options?: KinesisRequestOptions,
434
442
  ): Promise<ListChannelsCommandOutput>;
435
443
  listChannels(
436
444
  args: ListChannelsCommandInput,
@@ -438,13 +446,13 @@ export interface Kinesis {
438
446
  ): void;
439
447
  listChannels(
440
448
  args: ListChannelsCommandInput,
441
- options: __HttpHandlerOptions,
449
+ options: KinesisRequestOptions,
442
450
  cb: (err: any, data?: ListChannelsCommandOutput) => void,
443
451
  ): void;
444
452
  listShards(): Promise<ListShardsCommandOutput>;
445
453
  listShards(
446
454
  args: ListShardsCommandInput,
447
- options?: __HttpHandlerOptions,
455
+ options?: KinesisRequestOptions,
448
456
  ): Promise<ListShardsCommandOutput>;
449
457
  listShards(
450
458
  args: ListShardsCommandInput,
@@ -452,12 +460,12 @@ export interface Kinesis {
452
460
  ): void;
453
461
  listShards(
454
462
  args: ListShardsCommandInput,
455
- options: __HttpHandlerOptions,
463
+ options: KinesisRequestOptions,
456
464
  cb: (err: any, data?: ListShardsCommandOutput) => void,
457
465
  ): void;
458
466
  listStreamConsumers(
459
467
  args: ListStreamConsumersCommandInput,
460
- options?: __HttpHandlerOptions,
468
+ options?: KinesisRequestOptions,
461
469
  ): Promise<ListStreamConsumersCommandOutput>;
462
470
  listStreamConsumers(
463
471
  args: ListStreamConsumersCommandInput,
@@ -465,13 +473,13 @@ export interface Kinesis {
465
473
  ): void;
466
474
  listStreamConsumers(
467
475
  args: ListStreamConsumersCommandInput,
468
- options: __HttpHandlerOptions,
476
+ options: KinesisRequestOptions,
469
477
  cb: (err: any, data?: ListStreamConsumersCommandOutput) => void,
470
478
  ): void;
471
479
  listStreams(): Promise<ListStreamsCommandOutput>;
472
480
  listStreams(
473
481
  args: ListStreamsCommandInput,
474
- options?: __HttpHandlerOptions,
482
+ options?: KinesisRequestOptions,
475
483
  ): Promise<ListStreamsCommandOutput>;
476
484
  listStreams(
477
485
  args: ListStreamsCommandInput,
@@ -479,12 +487,12 @@ export interface Kinesis {
479
487
  ): void;
480
488
  listStreams(
481
489
  args: ListStreamsCommandInput,
482
- options: __HttpHandlerOptions,
490
+ options: KinesisRequestOptions,
483
491
  cb: (err: any, data?: ListStreamsCommandOutput) => void,
484
492
  ): void;
485
493
  listTagsForResource(
486
494
  args: ListTagsForResourceCommandInput,
487
- options?: __HttpHandlerOptions,
495
+ options?: KinesisRequestOptions,
488
496
  ): Promise<ListTagsForResourceCommandOutput>;
489
497
  listTagsForResource(
490
498
  args: ListTagsForResourceCommandInput,
@@ -492,13 +500,13 @@ export interface Kinesis {
492
500
  ): void;
493
501
  listTagsForResource(
494
502
  args: ListTagsForResourceCommandInput,
495
- options: __HttpHandlerOptions,
503
+ options: KinesisRequestOptions,
496
504
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
497
505
  ): void;
498
506
  listTagsForStream(): Promise<ListTagsForStreamCommandOutput>;
499
507
  listTagsForStream(
500
508
  args: ListTagsForStreamCommandInput,
501
- options?: __HttpHandlerOptions,
509
+ options?: KinesisRequestOptions,
502
510
  ): Promise<ListTagsForStreamCommandOutput>;
503
511
  listTagsForStream(
504
512
  args: ListTagsForStreamCommandInput,
@@ -506,12 +514,12 @@ export interface Kinesis {
506
514
  ): void;
507
515
  listTagsForStream(
508
516
  args: ListTagsForStreamCommandInput,
509
- options: __HttpHandlerOptions,
517
+ options: KinesisRequestOptions,
510
518
  cb: (err: any, data?: ListTagsForStreamCommandOutput) => void,
511
519
  ): void;
512
520
  mergeShards(
513
521
  args: MergeShardsCommandInput,
514
- options?: __HttpHandlerOptions,
522
+ options?: KinesisRequestOptions,
515
523
  ): Promise<MergeShardsCommandOutput>;
516
524
  mergeShards(
517
525
  args: MergeShardsCommandInput,
@@ -519,12 +527,12 @@ export interface Kinesis {
519
527
  ): void;
520
528
  mergeShards(
521
529
  args: MergeShardsCommandInput,
522
- options: __HttpHandlerOptions,
530
+ options: KinesisRequestOptions,
523
531
  cb: (err: any, data?: MergeShardsCommandOutput) => void,
524
532
  ): void;
525
533
  putRecord(
526
534
  args: PutRecordCommandInput,
527
- options?: __HttpHandlerOptions,
535
+ options?: KinesisRequestOptions,
528
536
  ): Promise<PutRecordCommandOutput>;
529
537
  putRecord(
530
538
  args: PutRecordCommandInput,
@@ -532,12 +540,12 @@ export interface Kinesis {
532
540
  ): void;
533
541
  putRecord(
534
542
  args: PutRecordCommandInput,
535
- options: __HttpHandlerOptions,
543
+ options: KinesisRequestOptions,
536
544
  cb: (err: any, data?: PutRecordCommandOutput) => void,
537
545
  ): void;
538
546
  putRecords(
539
547
  args: PutRecordsCommandInput,
540
- options?: __HttpHandlerOptions,
548
+ options?: KinesisRequestOptions,
541
549
  ): Promise<PutRecordsCommandOutput>;
542
550
  putRecords(
543
551
  args: PutRecordsCommandInput,
@@ -545,12 +553,12 @@ export interface Kinesis {
545
553
  ): void;
546
554
  putRecords(
547
555
  args: PutRecordsCommandInput,
548
- options: __HttpHandlerOptions,
556
+ options: KinesisRequestOptions,
549
557
  cb: (err: any, data?: PutRecordsCommandOutput) => void,
550
558
  ): void;
551
559
  putResourcePolicy(
552
560
  args: PutResourcePolicyCommandInput,
553
- options?: __HttpHandlerOptions,
561
+ options?: KinesisRequestOptions,
554
562
  ): Promise<PutResourcePolicyCommandOutput>;
555
563
  putResourcePolicy(
556
564
  args: PutResourcePolicyCommandInput,
@@ -558,12 +566,12 @@ export interface Kinesis {
558
566
  ): void;
559
567
  putResourcePolicy(
560
568
  args: PutResourcePolicyCommandInput,
561
- options: __HttpHandlerOptions,
569
+ options: KinesisRequestOptions,
562
570
  cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
563
571
  ): void;
564
572
  registerStreamConsumer(
565
573
  args: RegisterStreamConsumerCommandInput,
566
- options?: __HttpHandlerOptions,
574
+ options?: KinesisRequestOptions,
567
575
  ): Promise<RegisterStreamConsumerCommandOutput>;
568
576
  registerStreamConsumer(
569
577
  args: RegisterStreamConsumerCommandInput,
@@ -571,12 +579,12 @@ export interface Kinesis {
571
579
  ): void;
572
580
  registerStreamConsumer(
573
581
  args: RegisterStreamConsumerCommandInput,
574
- options: __HttpHandlerOptions,
582
+ options: KinesisRequestOptions,
575
583
  cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void,
576
584
  ): void;
577
585
  removeTagsFromStream(
578
586
  args: RemoveTagsFromStreamCommandInput,
579
- options?: __HttpHandlerOptions,
587
+ options?: KinesisRequestOptions,
580
588
  ): Promise<RemoveTagsFromStreamCommandOutput>;
581
589
  removeTagsFromStream(
582
590
  args: RemoveTagsFromStreamCommandInput,
@@ -584,12 +592,12 @@ export interface Kinesis {
584
592
  ): void;
585
593
  removeTagsFromStream(
586
594
  args: RemoveTagsFromStreamCommandInput,
587
- options: __HttpHandlerOptions,
595
+ options: KinesisRequestOptions,
588
596
  cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void,
589
597
  ): void;
590
598
  splitShard(
591
599
  args: SplitShardCommandInput,
592
- options?: __HttpHandlerOptions,
600
+ options?: KinesisRequestOptions,
593
601
  ): Promise<SplitShardCommandOutput>;
594
602
  splitShard(
595
603
  args: SplitShardCommandInput,
@@ -597,12 +605,12 @@ export interface Kinesis {
597
605
  ): void;
598
606
  splitShard(
599
607
  args: SplitShardCommandInput,
600
- options: __HttpHandlerOptions,
608
+ options: KinesisRequestOptions,
601
609
  cb: (err: any, data?: SplitShardCommandOutput) => void,
602
610
  ): void;
603
611
  startStreamEncryption(
604
612
  args: StartStreamEncryptionCommandInput,
605
- options?: __HttpHandlerOptions,
613
+ options?: KinesisRequestOptions,
606
614
  ): Promise<StartStreamEncryptionCommandOutput>;
607
615
  startStreamEncryption(
608
616
  args: StartStreamEncryptionCommandInput,
@@ -610,12 +618,12 @@ export interface Kinesis {
610
618
  ): void;
611
619
  startStreamEncryption(
612
620
  args: StartStreamEncryptionCommandInput,
613
- options: __HttpHandlerOptions,
621
+ options: KinesisRequestOptions,
614
622
  cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void,
615
623
  ): void;
616
624
  stopStreamEncryption(
617
625
  args: StopStreamEncryptionCommandInput,
618
- options?: __HttpHandlerOptions,
626
+ options?: KinesisRequestOptions,
619
627
  ): Promise<StopStreamEncryptionCommandOutput>;
620
628
  stopStreamEncryption(
621
629
  args: StopStreamEncryptionCommandInput,
@@ -623,12 +631,12 @@ export interface Kinesis {
623
631
  ): void;
624
632
  stopStreamEncryption(
625
633
  args: StopStreamEncryptionCommandInput,
626
- options: __HttpHandlerOptions,
634
+ options: KinesisRequestOptions,
627
635
  cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void,
628
636
  ): void;
629
637
  subscribeToShard(
630
638
  args: SubscribeToShardCommandInput,
631
- options?: __HttpHandlerOptions,
639
+ options?: KinesisRequestOptions,
632
640
  ): Promise<SubscribeToShardCommandOutput>;
633
641
  subscribeToShard(
634
642
  args: SubscribeToShardCommandInput,
@@ -636,12 +644,12 @@ export interface Kinesis {
636
644
  ): void;
637
645
  subscribeToShard(
638
646
  args: SubscribeToShardCommandInput,
639
- options: __HttpHandlerOptions,
647
+ options: KinesisRequestOptions,
640
648
  cb: (err: any, data?: SubscribeToShardCommandOutput) => void,
641
649
  ): void;
642
650
  tagResource(
643
651
  args: TagResourceCommandInput,
644
- options?: __HttpHandlerOptions,
652
+ options?: KinesisRequestOptions,
645
653
  ): Promise<TagResourceCommandOutput>;
646
654
  tagResource(
647
655
  args: TagResourceCommandInput,
@@ -649,12 +657,12 @@ export interface Kinesis {
649
657
  ): void;
650
658
  tagResource(
651
659
  args: TagResourceCommandInput,
652
- options: __HttpHandlerOptions,
660
+ options: KinesisRequestOptions,
653
661
  cb: (err: any, data?: TagResourceCommandOutput) => void,
654
662
  ): void;
655
663
  untagResource(
656
664
  args: UntagResourceCommandInput,
657
- options?: __HttpHandlerOptions,
665
+ options?: KinesisRequestOptions,
658
666
  ): Promise<UntagResourceCommandOutput>;
659
667
  untagResource(
660
668
  args: UntagResourceCommandInput,
@@ -662,12 +670,12 @@ export interface Kinesis {
662
670
  ): void;
663
671
  untagResource(
664
672
  args: UntagResourceCommandInput,
665
- options: __HttpHandlerOptions,
673
+ options: KinesisRequestOptions,
666
674
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
667
675
  ): void;
668
676
  updateAccountSettings(
669
677
  args: UpdateAccountSettingsCommandInput,
670
- options?: __HttpHandlerOptions,
678
+ options?: KinesisRequestOptions,
671
679
  ): Promise<UpdateAccountSettingsCommandOutput>;
672
680
  updateAccountSettings(
673
681
  args: UpdateAccountSettingsCommandInput,
@@ -675,12 +683,12 @@ export interface Kinesis {
675
683
  ): void;
676
684
  updateAccountSettings(
677
685
  args: UpdateAccountSettingsCommandInput,
678
- options: __HttpHandlerOptions,
686
+ options: KinesisRequestOptions,
679
687
  cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
680
688
  ): void;
681
689
  updateChannel(
682
690
  args: UpdateChannelCommandInput,
683
- options?: __HttpHandlerOptions,
691
+ options?: KinesisRequestOptions,
684
692
  ): Promise<UpdateChannelCommandOutput>;
685
693
  updateChannel(
686
694
  args: UpdateChannelCommandInput,
@@ -688,12 +696,12 @@ export interface Kinesis {
688
696
  ): void;
689
697
  updateChannel(
690
698
  args: UpdateChannelCommandInput,
691
- options: __HttpHandlerOptions,
699
+ options: KinesisRequestOptions,
692
700
  cb: (err: any, data?: UpdateChannelCommandOutput) => void,
693
701
  ): void;
694
702
  updateMaxRecordSize(
695
703
  args: UpdateMaxRecordSizeCommandInput,
696
- options?: __HttpHandlerOptions,
704
+ options?: KinesisRequestOptions,
697
705
  ): Promise<UpdateMaxRecordSizeCommandOutput>;
698
706
  updateMaxRecordSize(
699
707
  args: UpdateMaxRecordSizeCommandInput,
@@ -701,12 +709,12 @@ export interface Kinesis {
701
709
  ): void;
702
710
  updateMaxRecordSize(
703
711
  args: UpdateMaxRecordSizeCommandInput,
704
- options: __HttpHandlerOptions,
712
+ options: KinesisRequestOptions,
705
713
  cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void,
706
714
  ): void;
707
715
  updateShardCount(
708
716
  args: UpdateShardCountCommandInput,
709
- options?: __HttpHandlerOptions,
717
+ options?: KinesisRequestOptions,
710
718
  ): Promise<UpdateShardCountCommandOutput>;
711
719
  updateShardCount(
712
720
  args: UpdateShardCountCommandInput,
@@ -714,12 +722,12 @@ export interface Kinesis {
714
722
  ): void;
715
723
  updateShardCount(
716
724
  args: UpdateShardCountCommandInput,
717
- options: __HttpHandlerOptions,
725
+ options: KinesisRequestOptions,
718
726
  cb: (err: any, data?: UpdateShardCountCommandOutput) => void,
719
727
  ): void;
720
728
  updateStreamMode(
721
729
  args: UpdateStreamModeCommandInput,
722
- options?: __HttpHandlerOptions,
730
+ options?: KinesisRequestOptions,
723
731
  ): Promise<UpdateStreamModeCommandOutput>;
724
732
  updateStreamMode(
725
733
  args: UpdateStreamModeCommandInput,
@@ -727,12 +735,25 @@ export interface Kinesis {
727
735
  ): void;
728
736
  updateStreamMode(
729
737
  args: UpdateStreamModeCommandInput,
730
- options: __HttpHandlerOptions,
738
+ options: KinesisRequestOptions,
731
739
  cb: (err: any, data?: UpdateStreamModeCommandOutput) => void,
732
740
  ): void;
741
+ updateStreamRecordDistributionStrategy(
742
+ args: UpdateStreamRecordDistributionStrategyCommandInput,
743
+ options?: KinesisRequestOptions,
744
+ ): Promise<UpdateStreamRecordDistributionStrategyCommandOutput>;
745
+ updateStreamRecordDistributionStrategy(
746
+ args: UpdateStreamRecordDistributionStrategyCommandInput,
747
+ cb: (err: any, data?: UpdateStreamRecordDistributionStrategyCommandOutput) => void,
748
+ ): void;
749
+ updateStreamRecordDistributionStrategy(
750
+ args: UpdateStreamRecordDistributionStrategyCommandInput,
751
+ options: KinesisRequestOptions,
752
+ cb: (err: any, data?: UpdateStreamRecordDistributionStrategyCommandOutput) => void,
753
+ ): void;
733
754
  updateStreamWarmThroughput(
734
755
  args: UpdateStreamWarmThroughputCommandInput,
735
- options?: __HttpHandlerOptions,
756
+ options?: KinesisRequestOptions,
736
757
  ): Promise<UpdateStreamWarmThroughputCommandOutput>;
737
758
  updateStreamWarmThroughput(
738
759
  args: UpdateStreamWarmThroughputCommandInput,
@@ -740,7 +761,7 @@ export interface Kinesis {
740
761
  ): void;
741
762
  updateStreamWarmThroughput(
742
763
  args: UpdateStreamWarmThroughputCommandInput,
743
- options: __HttpHandlerOptions,
764
+ options: KinesisRequestOptions,
744
765
  cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void,
745
766
  ): void;
746
767
  paginateListChannels(