@aws-sdk/client-kafka 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.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -242,10 +243,13 @@ import {
242
243
  } from "./commands/UpdateStorageCommand";
243
244
  import { UpdateTopicCommandInput, UpdateTopicCommandOutput } from "./commands/UpdateTopicCommand";
244
245
  import { KafkaClient } from "./KafkaClient";
246
+ export interface KafkaRequestOptions extends __HttpHandlerOptions {
247
+ metricsRecorder?: __MetricsRecorder<unknown>;
248
+ }
245
249
  export interface Kafka {
246
250
  batchAssociateScramSecret(
247
251
  args: BatchAssociateScramSecretCommandInput,
248
- options?: __HttpHandlerOptions,
252
+ options?: KafkaRequestOptions,
249
253
  ): Promise<BatchAssociateScramSecretCommandOutput>;
250
254
  batchAssociateScramSecret(
251
255
  args: BatchAssociateScramSecretCommandInput,
@@ -253,12 +257,12 @@ export interface Kafka {
253
257
  ): void;
254
258
  batchAssociateScramSecret(
255
259
  args: BatchAssociateScramSecretCommandInput,
256
- options: __HttpHandlerOptions,
260
+ options: KafkaRequestOptions,
257
261
  cb: (err: any, data?: BatchAssociateScramSecretCommandOutput) => void,
258
262
  ): void;
259
263
  batchDisassociateScramSecret(
260
264
  args: BatchDisassociateScramSecretCommandInput,
261
- options?: __HttpHandlerOptions,
265
+ options?: KafkaRequestOptions,
262
266
  ): Promise<BatchDisassociateScramSecretCommandOutput>;
263
267
  batchDisassociateScramSecret(
264
268
  args: BatchDisassociateScramSecretCommandInput,
@@ -266,12 +270,12 @@ export interface Kafka {
266
270
  ): void;
267
271
  batchDisassociateScramSecret(
268
272
  args: BatchDisassociateScramSecretCommandInput,
269
- options: __HttpHandlerOptions,
273
+ options: KafkaRequestOptions,
270
274
  cb: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void,
271
275
  ): void;
272
276
  createChannel(
273
277
  args: CreateChannelCommandInput,
274
- options?: __HttpHandlerOptions,
278
+ options?: KafkaRequestOptions,
275
279
  ): Promise<CreateChannelCommandOutput>;
276
280
  createChannel(
277
281
  args: CreateChannelCommandInput,
@@ -279,12 +283,12 @@ export interface Kafka {
279
283
  ): void;
280
284
  createChannel(
281
285
  args: CreateChannelCommandInput,
282
- options: __HttpHandlerOptions,
286
+ options: KafkaRequestOptions,
283
287
  cb: (err: any, data?: CreateChannelCommandOutput) => void,
284
288
  ): void;
285
289
  createCluster(
286
290
  args: CreateClusterCommandInput,
287
- options?: __HttpHandlerOptions,
291
+ options?: KafkaRequestOptions,
288
292
  ): Promise<CreateClusterCommandOutput>;
289
293
  createCluster(
290
294
  args: CreateClusterCommandInput,
@@ -292,12 +296,12 @@ export interface Kafka {
292
296
  ): void;
293
297
  createCluster(
294
298
  args: CreateClusterCommandInput,
295
- options: __HttpHandlerOptions,
299
+ options: KafkaRequestOptions,
296
300
  cb: (err: any, data?: CreateClusterCommandOutput) => void,
297
301
  ): void;
298
302
  createClusterV2(
299
303
  args: CreateClusterV2CommandInput,
300
- options?: __HttpHandlerOptions,
304
+ options?: KafkaRequestOptions,
301
305
  ): Promise<CreateClusterV2CommandOutput>;
302
306
  createClusterV2(
303
307
  args: CreateClusterV2CommandInput,
@@ -305,12 +309,12 @@ export interface Kafka {
305
309
  ): void;
306
310
  createClusterV2(
307
311
  args: CreateClusterV2CommandInput,
308
- options: __HttpHandlerOptions,
312
+ options: KafkaRequestOptions,
309
313
  cb: (err: any, data?: CreateClusterV2CommandOutput) => void,
310
314
  ): void;
311
315
  createConfiguration(
312
316
  args: CreateConfigurationCommandInput,
313
- options?: __HttpHandlerOptions,
317
+ options?: KafkaRequestOptions,
314
318
  ): Promise<CreateConfigurationCommandOutput>;
315
319
  createConfiguration(
316
320
  args: CreateConfigurationCommandInput,
@@ -318,12 +322,12 @@ export interface Kafka {
318
322
  ): void;
319
323
  createConfiguration(
320
324
  args: CreateConfigurationCommandInput,
321
- options: __HttpHandlerOptions,
325
+ options: KafkaRequestOptions,
322
326
  cb: (err: any, data?: CreateConfigurationCommandOutput) => void,
323
327
  ): void;
324
328
  createReplicator(
325
329
  args: CreateReplicatorCommandInput,
326
- options?: __HttpHandlerOptions,
330
+ options?: KafkaRequestOptions,
327
331
  ): Promise<CreateReplicatorCommandOutput>;
328
332
  createReplicator(
329
333
  args: CreateReplicatorCommandInput,
@@ -331,12 +335,12 @@ export interface Kafka {
331
335
  ): void;
332
336
  createReplicator(
333
337
  args: CreateReplicatorCommandInput,
334
- options: __HttpHandlerOptions,
338
+ options: KafkaRequestOptions,
335
339
  cb: (err: any, data?: CreateReplicatorCommandOutput) => void,
336
340
  ): void;
337
341
  createTopic(
338
342
  args: CreateTopicCommandInput,
339
- options?: __HttpHandlerOptions,
343
+ options?: KafkaRequestOptions,
340
344
  ): Promise<CreateTopicCommandOutput>;
341
345
  createTopic(
342
346
  args: CreateTopicCommandInput,
@@ -344,12 +348,12 @@ export interface Kafka {
344
348
  ): void;
345
349
  createTopic(
346
350
  args: CreateTopicCommandInput,
347
- options: __HttpHandlerOptions,
351
+ options: KafkaRequestOptions,
348
352
  cb: (err: any, data?: CreateTopicCommandOutput) => void,
349
353
  ): void;
350
354
  createVpcConnection(
351
355
  args: CreateVpcConnectionCommandInput,
352
- options?: __HttpHandlerOptions,
356
+ options?: KafkaRequestOptions,
353
357
  ): Promise<CreateVpcConnectionCommandOutput>;
354
358
  createVpcConnection(
355
359
  args: CreateVpcConnectionCommandInput,
@@ -357,12 +361,12 @@ export interface Kafka {
357
361
  ): void;
358
362
  createVpcConnection(
359
363
  args: CreateVpcConnectionCommandInput,
360
- options: __HttpHandlerOptions,
364
+ options: KafkaRequestOptions,
361
365
  cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void,
362
366
  ): void;
363
367
  deleteChannel(
364
368
  args: DeleteChannelCommandInput,
365
- options?: __HttpHandlerOptions,
369
+ options?: KafkaRequestOptions,
366
370
  ): Promise<DeleteChannelCommandOutput>;
367
371
  deleteChannel(
368
372
  args: DeleteChannelCommandInput,
@@ -370,12 +374,12 @@ export interface Kafka {
370
374
  ): void;
371
375
  deleteChannel(
372
376
  args: DeleteChannelCommandInput,
373
- options: __HttpHandlerOptions,
377
+ options: KafkaRequestOptions,
374
378
  cb: (err: any, data?: DeleteChannelCommandOutput) => void,
375
379
  ): void;
376
380
  deleteCluster(
377
381
  args: DeleteClusterCommandInput,
378
- options?: __HttpHandlerOptions,
382
+ options?: KafkaRequestOptions,
379
383
  ): Promise<DeleteClusterCommandOutput>;
380
384
  deleteCluster(
381
385
  args: DeleteClusterCommandInput,
@@ -383,12 +387,12 @@ export interface Kafka {
383
387
  ): void;
384
388
  deleteCluster(
385
389
  args: DeleteClusterCommandInput,
386
- options: __HttpHandlerOptions,
390
+ options: KafkaRequestOptions,
387
391
  cb: (err: any, data?: DeleteClusterCommandOutput) => void,
388
392
  ): void;
389
393
  deleteClusterPolicy(
390
394
  args: DeleteClusterPolicyCommandInput,
391
- options?: __HttpHandlerOptions,
395
+ options?: KafkaRequestOptions,
392
396
  ): Promise<DeleteClusterPolicyCommandOutput>;
393
397
  deleteClusterPolicy(
394
398
  args: DeleteClusterPolicyCommandInput,
@@ -396,12 +400,12 @@ export interface Kafka {
396
400
  ): void;
397
401
  deleteClusterPolicy(
398
402
  args: DeleteClusterPolicyCommandInput,
399
- options: __HttpHandlerOptions,
403
+ options: KafkaRequestOptions,
400
404
  cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void,
401
405
  ): void;
402
406
  deleteConfiguration(
403
407
  args: DeleteConfigurationCommandInput,
404
- options?: __HttpHandlerOptions,
408
+ options?: KafkaRequestOptions,
405
409
  ): Promise<DeleteConfigurationCommandOutput>;
406
410
  deleteConfiguration(
407
411
  args: DeleteConfigurationCommandInput,
@@ -409,12 +413,12 @@ export interface Kafka {
409
413
  ): void;
410
414
  deleteConfiguration(
411
415
  args: DeleteConfigurationCommandInput,
412
- options: __HttpHandlerOptions,
416
+ options: KafkaRequestOptions,
413
417
  cb: (err: any, data?: DeleteConfigurationCommandOutput) => void,
414
418
  ): void;
415
419
  deleteReplicator(
416
420
  args: DeleteReplicatorCommandInput,
417
- options?: __HttpHandlerOptions,
421
+ options?: KafkaRequestOptions,
418
422
  ): Promise<DeleteReplicatorCommandOutput>;
419
423
  deleteReplicator(
420
424
  args: DeleteReplicatorCommandInput,
@@ -422,12 +426,12 @@ export interface Kafka {
422
426
  ): void;
423
427
  deleteReplicator(
424
428
  args: DeleteReplicatorCommandInput,
425
- options: __HttpHandlerOptions,
429
+ options: KafkaRequestOptions,
426
430
  cb: (err: any, data?: DeleteReplicatorCommandOutput) => void,
427
431
  ): void;
428
432
  deleteTopic(
429
433
  args: DeleteTopicCommandInput,
430
- options?: __HttpHandlerOptions,
434
+ options?: KafkaRequestOptions,
431
435
  ): Promise<DeleteTopicCommandOutput>;
432
436
  deleteTopic(
433
437
  args: DeleteTopicCommandInput,
@@ -435,12 +439,12 @@ export interface Kafka {
435
439
  ): void;
436
440
  deleteTopic(
437
441
  args: DeleteTopicCommandInput,
438
- options: __HttpHandlerOptions,
442
+ options: KafkaRequestOptions,
439
443
  cb: (err: any, data?: DeleteTopicCommandOutput) => void,
440
444
  ): void;
441
445
  deleteVpcConnection(
442
446
  args: DeleteVpcConnectionCommandInput,
443
- options?: __HttpHandlerOptions,
447
+ options?: KafkaRequestOptions,
444
448
  ): Promise<DeleteVpcConnectionCommandOutput>;
445
449
  deleteVpcConnection(
446
450
  args: DeleteVpcConnectionCommandInput,
@@ -448,12 +452,12 @@ export interface Kafka {
448
452
  ): void;
449
453
  deleteVpcConnection(
450
454
  args: DeleteVpcConnectionCommandInput,
451
- options: __HttpHandlerOptions,
455
+ options: KafkaRequestOptions,
452
456
  cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void,
453
457
  ): void;
454
458
  describeChannel(
455
459
  args: DescribeChannelCommandInput,
456
- options?: __HttpHandlerOptions,
460
+ options?: KafkaRequestOptions,
457
461
  ): Promise<DescribeChannelCommandOutput>;
458
462
  describeChannel(
459
463
  args: DescribeChannelCommandInput,
@@ -461,12 +465,12 @@ export interface Kafka {
461
465
  ): void;
462
466
  describeChannel(
463
467
  args: DescribeChannelCommandInput,
464
- options: __HttpHandlerOptions,
468
+ options: KafkaRequestOptions,
465
469
  cb: (err: any, data?: DescribeChannelCommandOutput) => void,
466
470
  ): void;
467
471
  describeCluster(
468
472
  args: DescribeClusterCommandInput,
469
- options?: __HttpHandlerOptions,
473
+ options?: KafkaRequestOptions,
470
474
  ): Promise<DescribeClusterCommandOutput>;
471
475
  describeCluster(
472
476
  args: DescribeClusterCommandInput,
@@ -474,12 +478,12 @@ export interface Kafka {
474
478
  ): void;
475
479
  describeCluster(
476
480
  args: DescribeClusterCommandInput,
477
- options: __HttpHandlerOptions,
481
+ options: KafkaRequestOptions,
478
482
  cb: (err: any, data?: DescribeClusterCommandOutput) => void,
479
483
  ): void;
480
484
  describeClusterOperation(
481
485
  args: DescribeClusterOperationCommandInput,
482
- options?: __HttpHandlerOptions,
486
+ options?: KafkaRequestOptions,
483
487
  ): Promise<DescribeClusterOperationCommandOutput>;
484
488
  describeClusterOperation(
485
489
  args: DescribeClusterOperationCommandInput,
@@ -487,12 +491,12 @@ export interface Kafka {
487
491
  ): void;
488
492
  describeClusterOperation(
489
493
  args: DescribeClusterOperationCommandInput,
490
- options: __HttpHandlerOptions,
494
+ options: KafkaRequestOptions,
491
495
  cb: (err: any, data?: DescribeClusterOperationCommandOutput) => void,
492
496
  ): void;
493
497
  describeClusterOperationV2(
494
498
  args: DescribeClusterOperationV2CommandInput,
495
- options?: __HttpHandlerOptions,
499
+ options?: KafkaRequestOptions,
496
500
  ): Promise<DescribeClusterOperationV2CommandOutput>;
497
501
  describeClusterOperationV2(
498
502
  args: DescribeClusterOperationV2CommandInput,
@@ -500,12 +504,12 @@ export interface Kafka {
500
504
  ): void;
501
505
  describeClusterOperationV2(
502
506
  args: DescribeClusterOperationV2CommandInput,
503
- options: __HttpHandlerOptions,
507
+ options: KafkaRequestOptions,
504
508
  cb: (err: any, data?: DescribeClusterOperationV2CommandOutput) => void,
505
509
  ): void;
506
510
  describeClusterV2(
507
511
  args: DescribeClusterV2CommandInput,
508
- options?: __HttpHandlerOptions,
512
+ options?: KafkaRequestOptions,
509
513
  ): Promise<DescribeClusterV2CommandOutput>;
510
514
  describeClusterV2(
511
515
  args: DescribeClusterV2CommandInput,
@@ -513,12 +517,12 @@ export interface Kafka {
513
517
  ): void;
514
518
  describeClusterV2(
515
519
  args: DescribeClusterV2CommandInput,
516
- options: __HttpHandlerOptions,
520
+ options: KafkaRequestOptions,
517
521
  cb: (err: any, data?: DescribeClusterV2CommandOutput) => void,
518
522
  ): void;
519
523
  describeConfiguration(
520
524
  args: DescribeConfigurationCommandInput,
521
- options?: __HttpHandlerOptions,
525
+ options?: KafkaRequestOptions,
522
526
  ): Promise<DescribeConfigurationCommandOutput>;
523
527
  describeConfiguration(
524
528
  args: DescribeConfigurationCommandInput,
@@ -526,12 +530,12 @@ export interface Kafka {
526
530
  ): void;
527
531
  describeConfiguration(
528
532
  args: DescribeConfigurationCommandInput,
529
- options: __HttpHandlerOptions,
533
+ options: KafkaRequestOptions,
530
534
  cb: (err: any, data?: DescribeConfigurationCommandOutput) => void,
531
535
  ): void;
532
536
  describeConfigurationRevision(
533
537
  args: DescribeConfigurationRevisionCommandInput,
534
- options?: __HttpHandlerOptions,
538
+ options?: KafkaRequestOptions,
535
539
  ): Promise<DescribeConfigurationRevisionCommandOutput>;
536
540
  describeConfigurationRevision(
537
541
  args: DescribeConfigurationRevisionCommandInput,
@@ -539,12 +543,12 @@ export interface Kafka {
539
543
  ): void;
540
544
  describeConfigurationRevision(
541
545
  args: DescribeConfigurationRevisionCommandInput,
542
- options: __HttpHandlerOptions,
546
+ options: KafkaRequestOptions,
543
547
  cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void,
544
548
  ): void;
545
549
  describeReplicator(
546
550
  args: DescribeReplicatorCommandInput,
547
- options?: __HttpHandlerOptions,
551
+ options?: KafkaRequestOptions,
548
552
  ): Promise<DescribeReplicatorCommandOutput>;
549
553
  describeReplicator(
550
554
  args: DescribeReplicatorCommandInput,
@@ -552,12 +556,12 @@ export interface Kafka {
552
556
  ): void;
553
557
  describeReplicator(
554
558
  args: DescribeReplicatorCommandInput,
555
- options: __HttpHandlerOptions,
559
+ options: KafkaRequestOptions,
556
560
  cb: (err: any, data?: DescribeReplicatorCommandOutput) => void,
557
561
  ): void;
558
562
  describeTopic(
559
563
  args: DescribeTopicCommandInput,
560
- options?: __HttpHandlerOptions,
564
+ options?: KafkaRequestOptions,
561
565
  ): Promise<DescribeTopicCommandOutput>;
562
566
  describeTopic(
563
567
  args: DescribeTopicCommandInput,
@@ -565,12 +569,12 @@ export interface Kafka {
565
569
  ): void;
566
570
  describeTopic(
567
571
  args: DescribeTopicCommandInput,
568
- options: __HttpHandlerOptions,
572
+ options: KafkaRequestOptions,
569
573
  cb: (err: any, data?: DescribeTopicCommandOutput) => void,
570
574
  ): void;
571
575
  describeTopicPartitions(
572
576
  args: DescribeTopicPartitionsCommandInput,
573
- options?: __HttpHandlerOptions,
577
+ options?: KafkaRequestOptions,
574
578
  ): Promise<DescribeTopicPartitionsCommandOutput>;
575
579
  describeTopicPartitions(
576
580
  args: DescribeTopicPartitionsCommandInput,
@@ -578,12 +582,12 @@ export interface Kafka {
578
582
  ): void;
579
583
  describeTopicPartitions(
580
584
  args: DescribeTopicPartitionsCommandInput,
581
- options: __HttpHandlerOptions,
585
+ options: KafkaRequestOptions,
582
586
  cb: (err: any, data?: DescribeTopicPartitionsCommandOutput) => void,
583
587
  ): void;
584
588
  describeVpcConnection(
585
589
  args: DescribeVpcConnectionCommandInput,
586
- options?: __HttpHandlerOptions,
590
+ options?: KafkaRequestOptions,
587
591
  ): Promise<DescribeVpcConnectionCommandOutput>;
588
592
  describeVpcConnection(
589
593
  args: DescribeVpcConnectionCommandInput,
@@ -591,12 +595,12 @@ export interface Kafka {
591
595
  ): void;
592
596
  describeVpcConnection(
593
597
  args: DescribeVpcConnectionCommandInput,
594
- options: __HttpHandlerOptions,
598
+ options: KafkaRequestOptions,
595
599
  cb: (err: any, data?: DescribeVpcConnectionCommandOutput) => void,
596
600
  ): void;
597
601
  getBootstrapBrokers(
598
602
  args: GetBootstrapBrokersCommandInput,
599
- options?: __HttpHandlerOptions,
603
+ options?: KafkaRequestOptions,
600
604
  ): Promise<GetBootstrapBrokersCommandOutput>;
601
605
  getBootstrapBrokers(
602
606
  args: GetBootstrapBrokersCommandInput,
@@ -604,12 +608,12 @@ export interface Kafka {
604
608
  ): void;
605
609
  getBootstrapBrokers(
606
610
  args: GetBootstrapBrokersCommandInput,
607
- options: __HttpHandlerOptions,
611
+ options: KafkaRequestOptions,
608
612
  cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void,
609
613
  ): void;
610
614
  getClusterPolicy(
611
615
  args: GetClusterPolicyCommandInput,
612
- options?: __HttpHandlerOptions,
616
+ options?: KafkaRequestOptions,
613
617
  ): Promise<GetClusterPolicyCommandOutput>;
614
618
  getClusterPolicy(
615
619
  args: GetClusterPolicyCommandInput,
@@ -617,13 +621,13 @@ export interface Kafka {
617
621
  ): void;
618
622
  getClusterPolicy(
619
623
  args: GetClusterPolicyCommandInput,
620
- options: __HttpHandlerOptions,
624
+ options: KafkaRequestOptions,
621
625
  cb: (err: any, data?: GetClusterPolicyCommandOutput) => void,
622
626
  ): void;
623
627
  getCompatibleKafkaVersions(): Promise<GetCompatibleKafkaVersionsCommandOutput>;
624
628
  getCompatibleKafkaVersions(
625
629
  args: GetCompatibleKafkaVersionsCommandInput,
626
- options?: __HttpHandlerOptions,
630
+ options?: KafkaRequestOptions,
627
631
  ): Promise<GetCompatibleKafkaVersionsCommandOutput>;
628
632
  getCompatibleKafkaVersions(
629
633
  args: GetCompatibleKafkaVersionsCommandInput,
@@ -631,12 +635,12 @@ export interface Kafka {
631
635
  ): void;
632
636
  getCompatibleKafkaVersions(
633
637
  args: GetCompatibleKafkaVersionsCommandInput,
634
- options: __HttpHandlerOptions,
638
+ options: KafkaRequestOptions,
635
639
  cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void,
636
640
  ): void;
637
641
  listChannels(
638
642
  args: ListChannelsCommandInput,
639
- options?: __HttpHandlerOptions,
643
+ options?: KafkaRequestOptions,
640
644
  ): Promise<ListChannelsCommandOutput>;
641
645
  listChannels(
642
646
  args: ListChannelsCommandInput,
@@ -644,12 +648,12 @@ export interface Kafka {
644
648
  ): void;
645
649
  listChannels(
646
650
  args: ListChannelsCommandInput,
647
- options: __HttpHandlerOptions,
651
+ options: KafkaRequestOptions,
648
652
  cb: (err: any, data?: ListChannelsCommandOutput) => void,
649
653
  ): void;
650
654
  listClientVpcConnections(
651
655
  args: ListClientVpcConnectionsCommandInput,
652
- options?: __HttpHandlerOptions,
656
+ options?: KafkaRequestOptions,
653
657
  ): Promise<ListClientVpcConnectionsCommandOutput>;
654
658
  listClientVpcConnections(
655
659
  args: ListClientVpcConnectionsCommandInput,
@@ -657,12 +661,12 @@ export interface Kafka {
657
661
  ): void;
658
662
  listClientVpcConnections(
659
663
  args: ListClientVpcConnectionsCommandInput,
660
- options: __HttpHandlerOptions,
664
+ options: KafkaRequestOptions,
661
665
  cb: (err: any, data?: ListClientVpcConnectionsCommandOutput) => void,
662
666
  ): void;
663
667
  listClusterOperations(
664
668
  args: ListClusterOperationsCommandInput,
665
- options?: __HttpHandlerOptions,
669
+ options?: KafkaRequestOptions,
666
670
  ): Promise<ListClusterOperationsCommandOutput>;
667
671
  listClusterOperations(
668
672
  args: ListClusterOperationsCommandInput,
@@ -670,12 +674,12 @@ export interface Kafka {
670
674
  ): void;
671
675
  listClusterOperations(
672
676
  args: ListClusterOperationsCommandInput,
673
- options: __HttpHandlerOptions,
677
+ options: KafkaRequestOptions,
674
678
  cb: (err: any, data?: ListClusterOperationsCommandOutput) => void,
675
679
  ): void;
676
680
  listClusterOperationsV2(
677
681
  args: ListClusterOperationsV2CommandInput,
678
- options?: __HttpHandlerOptions,
682
+ options?: KafkaRequestOptions,
679
683
  ): Promise<ListClusterOperationsV2CommandOutput>;
680
684
  listClusterOperationsV2(
681
685
  args: ListClusterOperationsV2CommandInput,
@@ -683,13 +687,13 @@ export interface Kafka {
683
687
  ): void;
684
688
  listClusterOperationsV2(
685
689
  args: ListClusterOperationsV2CommandInput,
686
- options: __HttpHandlerOptions,
690
+ options: KafkaRequestOptions,
687
691
  cb: (err: any, data?: ListClusterOperationsV2CommandOutput) => void,
688
692
  ): void;
689
693
  listClusters(): Promise<ListClustersCommandOutput>;
690
694
  listClusters(
691
695
  args: ListClustersCommandInput,
692
- options?: __HttpHandlerOptions,
696
+ options?: KafkaRequestOptions,
693
697
  ): Promise<ListClustersCommandOutput>;
694
698
  listClusters(
695
699
  args: ListClustersCommandInput,
@@ -697,13 +701,13 @@ export interface Kafka {
697
701
  ): void;
698
702
  listClusters(
699
703
  args: ListClustersCommandInput,
700
- options: __HttpHandlerOptions,
704
+ options: KafkaRequestOptions,
701
705
  cb: (err: any, data?: ListClustersCommandOutput) => void,
702
706
  ): void;
703
707
  listClustersV2(): Promise<ListClustersV2CommandOutput>;
704
708
  listClustersV2(
705
709
  args: ListClustersV2CommandInput,
706
- options?: __HttpHandlerOptions,
710
+ options?: KafkaRequestOptions,
707
711
  ): Promise<ListClustersV2CommandOutput>;
708
712
  listClustersV2(
709
713
  args: ListClustersV2CommandInput,
@@ -711,12 +715,12 @@ export interface Kafka {
711
715
  ): void;
712
716
  listClustersV2(
713
717
  args: ListClustersV2CommandInput,
714
- options: __HttpHandlerOptions,
718
+ options: KafkaRequestOptions,
715
719
  cb: (err: any, data?: ListClustersV2CommandOutput) => void,
716
720
  ): void;
717
721
  listConfigurationRevisions(
718
722
  args: ListConfigurationRevisionsCommandInput,
719
- options?: __HttpHandlerOptions,
723
+ options?: KafkaRequestOptions,
720
724
  ): Promise<ListConfigurationRevisionsCommandOutput>;
721
725
  listConfigurationRevisions(
722
726
  args: ListConfigurationRevisionsCommandInput,
@@ -724,13 +728,13 @@ export interface Kafka {
724
728
  ): void;
725
729
  listConfigurationRevisions(
726
730
  args: ListConfigurationRevisionsCommandInput,
727
- options: __HttpHandlerOptions,
731
+ options: KafkaRequestOptions,
728
732
  cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void,
729
733
  ): void;
730
734
  listConfigurations(): Promise<ListConfigurationsCommandOutput>;
731
735
  listConfigurations(
732
736
  args: ListConfigurationsCommandInput,
733
- options?: __HttpHandlerOptions,
737
+ options?: KafkaRequestOptions,
734
738
  ): Promise<ListConfigurationsCommandOutput>;
735
739
  listConfigurations(
736
740
  args: ListConfigurationsCommandInput,
@@ -738,13 +742,13 @@ export interface Kafka {
738
742
  ): void;
739
743
  listConfigurations(
740
744
  args: ListConfigurationsCommandInput,
741
- options: __HttpHandlerOptions,
745
+ options: KafkaRequestOptions,
742
746
  cb: (err: any, data?: ListConfigurationsCommandOutput) => void,
743
747
  ): void;
744
748
  listKafkaVersions(): Promise<ListKafkaVersionsCommandOutput>;
745
749
  listKafkaVersions(
746
750
  args: ListKafkaVersionsCommandInput,
747
- options?: __HttpHandlerOptions,
751
+ options?: KafkaRequestOptions,
748
752
  ): Promise<ListKafkaVersionsCommandOutput>;
749
753
  listKafkaVersions(
750
754
  args: ListKafkaVersionsCommandInput,
@@ -752,12 +756,12 @@ export interface Kafka {
752
756
  ): void;
753
757
  listKafkaVersions(
754
758
  args: ListKafkaVersionsCommandInput,
755
- options: __HttpHandlerOptions,
759
+ options: KafkaRequestOptions,
756
760
  cb: (err: any, data?: ListKafkaVersionsCommandOutput) => void,
757
761
  ): void;
758
762
  listNodes(
759
763
  args: ListNodesCommandInput,
760
- options?: __HttpHandlerOptions,
764
+ options?: KafkaRequestOptions,
761
765
  ): Promise<ListNodesCommandOutput>;
762
766
  listNodes(
763
767
  args: ListNodesCommandInput,
@@ -765,13 +769,13 @@ export interface Kafka {
765
769
  ): void;
766
770
  listNodes(
767
771
  args: ListNodesCommandInput,
768
- options: __HttpHandlerOptions,
772
+ options: KafkaRequestOptions,
769
773
  cb: (err: any, data?: ListNodesCommandOutput) => void,
770
774
  ): void;
771
775
  listReplicators(): Promise<ListReplicatorsCommandOutput>;
772
776
  listReplicators(
773
777
  args: ListReplicatorsCommandInput,
774
- options?: __HttpHandlerOptions,
778
+ options?: KafkaRequestOptions,
775
779
  ): Promise<ListReplicatorsCommandOutput>;
776
780
  listReplicators(
777
781
  args: ListReplicatorsCommandInput,
@@ -779,12 +783,12 @@ export interface Kafka {
779
783
  ): void;
780
784
  listReplicators(
781
785
  args: ListReplicatorsCommandInput,
782
- options: __HttpHandlerOptions,
786
+ options: KafkaRequestOptions,
783
787
  cb: (err: any, data?: ListReplicatorsCommandOutput) => void,
784
788
  ): void;
785
789
  listScramSecrets(
786
790
  args: ListScramSecretsCommandInput,
787
- options?: __HttpHandlerOptions,
791
+ options?: KafkaRequestOptions,
788
792
  ): Promise<ListScramSecretsCommandOutput>;
789
793
  listScramSecrets(
790
794
  args: ListScramSecretsCommandInput,
@@ -792,12 +796,12 @@ export interface Kafka {
792
796
  ): void;
793
797
  listScramSecrets(
794
798
  args: ListScramSecretsCommandInput,
795
- options: __HttpHandlerOptions,
799
+ options: KafkaRequestOptions,
796
800
  cb: (err: any, data?: ListScramSecretsCommandOutput) => void,
797
801
  ): void;
798
802
  listTagsForResource(
799
803
  args: ListTagsForResourceCommandInput,
800
- options?: __HttpHandlerOptions,
804
+ options?: KafkaRequestOptions,
801
805
  ): Promise<ListTagsForResourceCommandOutput>;
802
806
  listTagsForResource(
803
807
  args: ListTagsForResourceCommandInput,
@@ -805,12 +809,12 @@ export interface Kafka {
805
809
  ): void;
806
810
  listTagsForResource(
807
811
  args: ListTagsForResourceCommandInput,
808
- options: __HttpHandlerOptions,
812
+ options: KafkaRequestOptions,
809
813
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
810
814
  ): void;
811
815
  listTopics(
812
816
  args: ListTopicsCommandInput,
813
- options?: __HttpHandlerOptions,
817
+ options?: KafkaRequestOptions,
814
818
  ): Promise<ListTopicsCommandOutput>;
815
819
  listTopics(
816
820
  args: ListTopicsCommandInput,
@@ -818,13 +822,13 @@ export interface Kafka {
818
822
  ): void;
819
823
  listTopics(
820
824
  args: ListTopicsCommandInput,
821
- options: __HttpHandlerOptions,
825
+ options: KafkaRequestOptions,
822
826
  cb: (err: any, data?: ListTopicsCommandOutput) => void,
823
827
  ): void;
824
828
  listVpcConnections(): Promise<ListVpcConnectionsCommandOutput>;
825
829
  listVpcConnections(
826
830
  args: ListVpcConnectionsCommandInput,
827
- options?: __HttpHandlerOptions,
831
+ options?: KafkaRequestOptions,
828
832
  ): Promise<ListVpcConnectionsCommandOutput>;
829
833
  listVpcConnections(
830
834
  args: ListVpcConnectionsCommandInput,
@@ -832,12 +836,12 @@ export interface Kafka {
832
836
  ): void;
833
837
  listVpcConnections(
834
838
  args: ListVpcConnectionsCommandInput,
835
- options: __HttpHandlerOptions,
839
+ options: KafkaRequestOptions,
836
840
  cb: (err: any, data?: ListVpcConnectionsCommandOutput) => void,
837
841
  ): void;
838
842
  putClusterPolicy(
839
843
  args: PutClusterPolicyCommandInput,
840
- options?: __HttpHandlerOptions,
844
+ options?: KafkaRequestOptions,
841
845
  ): Promise<PutClusterPolicyCommandOutput>;
842
846
  putClusterPolicy(
843
847
  args: PutClusterPolicyCommandInput,
@@ -845,12 +849,12 @@ export interface Kafka {
845
849
  ): void;
846
850
  putClusterPolicy(
847
851
  args: PutClusterPolicyCommandInput,
848
- options: __HttpHandlerOptions,
852
+ options: KafkaRequestOptions,
849
853
  cb: (err: any, data?: PutClusterPolicyCommandOutput) => void,
850
854
  ): void;
851
855
  rebootBroker(
852
856
  args: RebootBrokerCommandInput,
853
- options?: __HttpHandlerOptions,
857
+ options?: KafkaRequestOptions,
854
858
  ): Promise<RebootBrokerCommandOutput>;
855
859
  rebootBroker(
856
860
  args: RebootBrokerCommandInput,
@@ -858,12 +862,12 @@ export interface Kafka {
858
862
  ): void;
859
863
  rebootBroker(
860
864
  args: RebootBrokerCommandInput,
861
- options: __HttpHandlerOptions,
865
+ options: KafkaRequestOptions,
862
866
  cb: (err: any, data?: RebootBrokerCommandOutput) => void,
863
867
  ): void;
864
868
  rejectClientVpcConnection(
865
869
  args: RejectClientVpcConnectionCommandInput,
866
- options?: __HttpHandlerOptions,
870
+ options?: KafkaRequestOptions,
867
871
  ): Promise<RejectClientVpcConnectionCommandOutput>;
868
872
  rejectClientVpcConnection(
869
873
  args: RejectClientVpcConnectionCommandInput,
@@ -871,12 +875,12 @@ export interface Kafka {
871
875
  ): void;
872
876
  rejectClientVpcConnection(
873
877
  args: RejectClientVpcConnectionCommandInput,
874
- options: __HttpHandlerOptions,
878
+ options: KafkaRequestOptions,
875
879
  cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void,
876
880
  ): void;
877
881
  tagResource(
878
882
  args: TagResourceCommandInput,
879
- options?: __HttpHandlerOptions,
883
+ options?: KafkaRequestOptions,
880
884
  ): Promise<TagResourceCommandOutput>;
881
885
  tagResource(
882
886
  args: TagResourceCommandInput,
@@ -884,12 +888,12 @@ export interface Kafka {
884
888
  ): void;
885
889
  tagResource(
886
890
  args: TagResourceCommandInput,
887
- options: __HttpHandlerOptions,
891
+ options: KafkaRequestOptions,
888
892
  cb: (err: any, data?: TagResourceCommandOutput) => void,
889
893
  ): void;
890
894
  untagResource(
891
895
  args: UntagResourceCommandInput,
892
- options?: __HttpHandlerOptions,
896
+ options?: KafkaRequestOptions,
893
897
  ): Promise<UntagResourceCommandOutput>;
894
898
  untagResource(
895
899
  args: UntagResourceCommandInput,
@@ -897,12 +901,12 @@ export interface Kafka {
897
901
  ): void;
898
902
  untagResource(
899
903
  args: UntagResourceCommandInput,
900
- options: __HttpHandlerOptions,
904
+ options: KafkaRequestOptions,
901
905
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
902
906
  ): void;
903
907
  updateBrokerCount(
904
908
  args: UpdateBrokerCountCommandInput,
905
- options?: __HttpHandlerOptions,
909
+ options?: KafkaRequestOptions,
906
910
  ): Promise<UpdateBrokerCountCommandOutput>;
907
911
  updateBrokerCount(
908
912
  args: UpdateBrokerCountCommandInput,
@@ -910,12 +914,12 @@ export interface Kafka {
910
914
  ): void;
911
915
  updateBrokerCount(
912
916
  args: UpdateBrokerCountCommandInput,
913
- options: __HttpHandlerOptions,
917
+ options: KafkaRequestOptions,
914
918
  cb: (err: any, data?: UpdateBrokerCountCommandOutput) => void,
915
919
  ): void;
916
920
  updateBrokerStorage(
917
921
  args: UpdateBrokerStorageCommandInput,
918
- options?: __HttpHandlerOptions,
922
+ options?: KafkaRequestOptions,
919
923
  ): Promise<UpdateBrokerStorageCommandOutput>;
920
924
  updateBrokerStorage(
921
925
  args: UpdateBrokerStorageCommandInput,
@@ -923,12 +927,12 @@ export interface Kafka {
923
927
  ): void;
924
928
  updateBrokerStorage(
925
929
  args: UpdateBrokerStorageCommandInput,
926
- options: __HttpHandlerOptions,
930
+ options: KafkaRequestOptions,
927
931
  cb: (err: any, data?: UpdateBrokerStorageCommandOutput) => void,
928
932
  ): void;
929
933
  updateBrokerType(
930
934
  args: UpdateBrokerTypeCommandInput,
931
- options?: __HttpHandlerOptions,
935
+ options?: KafkaRequestOptions,
932
936
  ): Promise<UpdateBrokerTypeCommandOutput>;
933
937
  updateBrokerType(
934
938
  args: UpdateBrokerTypeCommandInput,
@@ -936,12 +940,12 @@ export interface Kafka {
936
940
  ): void;
937
941
  updateBrokerType(
938
942
  args: UpdateBrokerTypeCommandInput,
939
- options: __HttpHandlerOptions,
943
+ options: KafkaRequestOptions,
940
944
  cb: (err: any, data?: UpdateBrokerTypeCommandOutput) => void,
941
945
  ): void;
942
946
  updateChannel(
943
947
  args: UpdateChannelCommandInput,
944
- options?: __HttpHandlerOptions,
948
+ options?: KafkaRequestOptions,
945
949
  ): Promise<UpdateChannelCommandOutput>;
946
950
  updateChannel(
947
951
  args: UpdateChannelCommandInput,
@@ -949,12 +953,12 @@ export interface Kafka {
949
953
  ): void;
950
954
  updateChannel(
951
955
  args: UpdateChannelCommandInput,
952
- options: __HttpHandlerOptions,
956
+ options: KafkaRequestOptions,
953
957
  cb: (err: any, data?: UpdateChannelCommandOutput) => void,
954
958
  ): void;
955
959
  updateClusterConfiguration(
956
960
  args: UpdateClusterConfigurationCommandInput,
957
- options?: __HttpHandlerOptions,
961
+ options?: KafkaRequestOptions,
958
962
  ): Promise<UpdateClusterConfigurationCommandOutput>;
959
963
  updateClusterConfiguration(
960
964
  args: UpdateClusterConfigurationCommandInput,
@@ -962,12 +966,12 @@ export interface Kafka {
962
966
  ): void;
963
967
  updateClusterConfiguration(
964
968
  args: UpdateClusterConfigurationCommandInput,
965
- options: __HttpHandlerOptions,
969
+ options: KafkaRequestOptions,
966
970
  cb: (err: any, data?: UpdateClusterConfigurationCommandOutput) => void,
967
971
  ): void;
968
972
  updateClusterKafkaVersion(
969
973
  args: UpdateClusterKafkaVersionCommandInput,
970
- options?: __HttpHandlerOptions,
974
+ options?: KafkaRequestOptions,
971
975
  ): Promise<UpdateClusterKafkaVersionCommandOutput>;
972
976
  updateClusterKafkaVersion(
973
977
  args: UpdateClusterKafkaVersionCommandInput,
@@ -975,12 +979,12 @@ export interface Kafka {
975
979
  ): void;
976
980
  updateClusterKafkaVersion(
977
981
  args: UpdateClusterKafkaVersionCommandInput,
978
- options: __HttpHandlerOptions,
982
+ options: KafkaRequestOptions,
979
983
  cb: (err: any, data?: UpdateClusterKafkaVersionCommandOutput) => void,
980
984
  ): void;
981
985
  updateConfiguration(
982
986
  args: UpdateConfigurationCommandInput,
983
- options?: __HttpHandlerOptions,
987
+ options?: KafkaRequestOptions,
984
988
  ): Promise<UpdateConfigurationCommandOutput>;
985
989
  updateConfiguration(
986
990
  args: UpdateConfigurationCommandInput,
@@ -988,12 +992,12 @@ export interface Kafka {
988
992
  ): void;
989
993
  updateConfiguration(
990
994
  args: UpdateConfigurationCommandInput,
991
- options: __HttpHandlerOptions,
995
+ options: KafkaRequestOptions,
992
996
  cb: (err: any, data?: UpdateConfigurationCommandOutput) => void,
993
997
  ): void;
994
998
  updateConnectivity(
995
999
  args: UpdateConnectivityCommandInput,
996
- options?: __HttpHandlerOptions,
1000
+ options?: KafkaRequestOptions,
997
1001
  ): Promise<UpdateConnectivityCommandOutput>;
998
1002
  updateConnectivity(
999
1003
  args: UpdateConnectivityCommandInput,
@@ -1001,12 +1005,12 @@ export interface Kafka {
1001
1005
  ): void;
1002
1006
  updateConnectivity(
1003
1007
  args: UpdateConnectivityCommandInput,
1004
- options: __HttpHandlerOptions,
1008
+ options: KafkaRequestOptions,
1005
1009
  cb: (err: any, data?: UpdateConnectivityCommandOutput) => void,
1006
1010
  ): void;
1007
1011
  updateMonitoring(
1008
1012
  args: UpdateMonitoringCommandInput,
1009
- options?: __HttpHandlerOptions,
1013
+ options?: KafkaRequestOptions,
1010
1014
  ): Promise<UpdateMonitoringCommandOutput>;
1011
1015
  updateMonitoring(
1012
1016
  args: UpdateMonitoringCommandInput,
@@ -1014,12 +1018,12 @@ export interface Kafka {
1014
1018
  ): void;
1015
1019
  updateMonitoring(
1016
1020
  args: UpdateMonitoringCommandInput,
1017
- options: __HttpHandlerOptions,
1021
+ options: KafkaRequestOptions,
1018
1022
  cb: (err: any, data?: UpdateMonitoringCommandOutput) => void,
1019
1023
  ): void;
1020
1024
  updateRebalancing(
1021
1025
  args: UpdateRebalancingCommandInput,
1022
- options?: __HttpHandlerOptions,
1026
+ options?: KafkaRequestOptions,
1023
1027
  ): Promise<UpdateRebalancingCommandOutput>;
1024
1028
  updateRebalancing(
1025
1029
  args: UpdateRebalancingCommandInput,
@@ -1027,12 +1031,12 @@ export interface Kafka {
1027
1031
  ): void;
1028
1032
  updateRebalancing(
1029
1033
  args: UpdateRebalancingCommandInput,
1030
- options: __HttpHandlerOptions,
1034
+ options: KafkaRequestOptions,
1031
1035
  cb: (err: any, data?: UpdateRebalancingCommandOutput) => void,
1032
1036
  ): void;
1033
1037
  updateReplicationInfo(
1034
1038
  args: UpdateReplicationInfoCommandInput,
1035
- options?: __HttpHandlerOptions,
1039
+ options?: KafkaRequestOptions,
1036
1040
  ): Promise<UpdateReplicationInfoCommandOutput>;
1037
1041
  updateReplicationInfo(
1038
1042
  args: UpdateReplicationInfoCommandInput,
@@ -1040,12 +1044,12 @@ export interface Kafka {
1040
1044
  ): void;
1041
1045
  updateReplicationInfo(
1042
1046
  args: UpdateReplicationInfoCommandInput,
1043
- options: __HttpHandlerOptions,
1047
+ options: KafkaRequestOptions,
1044
1048
  cb: (err: any, data?: UpdateReplicationInfoCommandOutput) => void,
1045
1049
  ): void;
1046
1050
  updateSecurity(
1047
1051
  args: UpdateSecurityCommandInput,
1048
- options?: __HttpHandlerOptions,
1052
+ options?: KafkaRequestOptions,
1049
1053
  ): Promise<UpdateSecurityCommandOutput>;
1050
1054
  updateSecurity(
1051
1055
  args: UpdateSecurityCommandInput,
@@ -1053,12 +1057,12 @@ export interface Kafka {
1053
1057
  ): void;
1054
1058
  updateSecurity(
1055
1059
  args: UpdateSecurityCommandInput,
1056
- options: __HttpHandlerOptions,
1060
+ options: KafkaRequestOptions,
1057
1061
  cb: (err: any, data?: UpdateSecurityCommandOutput) => void,
1058
1062
  ): void;
1059
1063
  updateStorage(
1060
1064
  args: UpdateStorageCommandInput,
1061
- options?: __HttpHandlerOptions,
1065
+ options?: KafkaRequestOptions,
1062
1066
  ): Promise<UpdateStorageCommandOutput>;
1063
1067
  updateStorage(
1064
1068
  args: UpdateStorageCommandInput,
@@ -1066,12 +1070,12 @@ export interface Kafka {
1066
1070
  ): void;
1067
1071
  updateStorage(
1068
1072
  args: UpdateStorageCommandInput,
1069
- options: __HttpHandlerOptions,
1073
+ options: KafkaRequestOptions,
1070
1074
  cb: (err: any, data?: UpdateStorageCommandOutput) => void,
1071
1075
  ): void;
1072
1076
  updateTopic(
1073
1077
  args: UpdateTopicCommandInput,
1074
- options?: __HttpHandlerOptions,
1078
+ options?: KafkaRequestOptions,
1075
1079
  ): Promise<UpdateTopicCommandOutput>;
1076
1080
  updateTopic(
1077
1081
  args: UpdateTopicCommandInput,
@@ -1079,7 +1083,7 @@ export interface Kafka {
1079
1083
  ): void;
1080
1084
  updateTopic(
1081
1085
  args: UpdateTopicCommandInput,
1082
- options: __HttpHandlerOptions,
1086
+ options: KafkaRequestOptions,
1083
1087
  cb: (err: any, data?: UpdateTopicCommandOutput) => void,
1084
1088
  ): void;
1085
1089
  paginateDescribeTopicPartitions(