@aws-sdk/client-eventbridge 3.1136.0 → 3.1138.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,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  ActivateEventSourceCommandInput,
4
7
  ActivateEventSourceCommandOutput,
@@ -198,10 +201,13 @@ import {
198
201
  UpdateEventBusCommandOutput,
199
202
  } from "./commands/UpdateEventBusCommand";
200
203
  import { EventBridgeClient } from "./EventBridgeClient";
204
+ export interface EventBridgeRequestOptions extends __HttpHandlerOptions {
205
+ metricsRecorder?: __MetricsRecorder<unknown>;
206
+ }
201
207
  export interface EventBridge {
202
208
  activateEventSource(
203
209
  args: ActivateEventSourceCommandInput,
204
- options?: __HttpHandlerOptions,
210
+ options?: EventBridgeRequestOptions,
205
211
  ): Promise<ActivateEventSourceCommandOutput>;
206
212
  activateEventSource(
207
213
  args: ActivateEventSourceCommandInput,
@@ -209,12 +215,12 @@ export interface EventBridge {
209
215
  ): void;
210
216
  activateEventSource(
211
217
  args: ActivateEventSourceCommandInput,
212
- options: __HttpHandlerOptions,
218
+ options: EventBridgeRequestOptions,
213
219
  cb: (err: any, data?: ActivateEventSourceCommandOutput) => void,
214
220
  ): void;
215
221
  cancelReplay(
216
222
  args: CancelReplayCommandInput,
217
- options?: __HttpHandlerOptions,
223
+ options?: EventBridgeRequestOptions,
218
224
  ): Promise<CancelReplayCommandOutput>;
219
225
  cancelReplay(
220
226
  args: CancelReplayCommandInput,
@@ -222,12 +228,12 @@ export interface EventBridge {
222
228
  ): void;
223
229
  cancelReplay(
224
230
  args: CancelReplayCommandInput,
225
- options: __HttpHandlerOptions,
231
+ options: EventBridgeRequestOptions,
226
232
  cb: (err: any, data?: CancelReplayCommandOutput) => void,
227
233
  ): void;
228
234
  createApiDestination(
229
235
  args: CreateApiDestinationCommandInput,
230
- options?: __HttpHandlerOptions,
236
+ options?: EventBridgeRequestOptions,
231
237
  ): Promise<CreateApiDestinationCommandOutput>;
232
238
  createApiDestination(
233
239
  args: CreateApiDestinationCommandInput,
@@ -235,12 +241,12 @@ export interface EventBridge {
235
241
  ): void;
236
242
  createApiDestination(
237
243
  args: CreateApiDestinationCommandInput,
238
- options: __HttpHandlerOptions,
244
+ options: EventBridgeRequestOptions,
239
245
  cb: (err: any, data?: CreateApiDestinationCommandOutput) => void,
240
246
  ): void;
241
247
  createArchive(
242
248
  args: CreateArchiveCommandInput,
243
- options?: __HttpHandlerOptions,
249
+ options?: EventBridgeRequestOptions,
244
250
  ): Promise<CreateArchiveCommandOutput>;
245
251
  createArchive(
246
252
  args: CreateArchiveCommandInput,
@@ -248,12 +254,12 @@ export interface EventBridge {
248
254
  ): void;
249
255
  createArchive(
250
256
  args: CreateArchiveCommandInput,
251
- options: __HttpHandlerOptions,
257
+ options: EventBridgeRequestOptions,
252
258
  cb: (err: any, data?: CreateArchiveCommandOutput) => void,
253
259
  ): void;
254
260
  createConnection(
255
261
  args: CreateConnectionCommandInput,
256
- options?: __HttpHandlerOptions,
262
+ options?: EventBridgeRequestOptions,
257
263
  ): Promise<CreateConnectionCommandOutput>;
258
264
  createConnection(
259
265
  args: CreateConnectionCommandInput,
@@ -261,12 +267,12 @@ export interface EventBridge {
261
267
  ): void;
262
268
  createConnection(
263
269
  args: CreateConnectionCommandInput,
264
- options: __HttpHandlerOptions,
270
+ options: EventBridgeRequestOptions,
265
271
  cb: (err: any, data?: CreateConnectionCommandOutput) => void,
266
272
  ): void;
267
273
  createEndpoint(
268
274
  args: CreateEndpointCommandInput,
269
- options?: __HttpHandlerOptions,
275
+ options?: EventBridgeRequestOptions,
270
276
  ): Promise<CreateEndpointCommandOutput>;
271
277
  createEndpoint(
272
278
  args: CreateEndpointCommandInput,
@@ -274,12 +280,12 @@ export interface EventBridge {
274
280
  ): void;
275
281
  createEndpoint(
276
282
  args: CreateEndpointCommandInput,
277
- options: __HttpHandlerOptions,
283
+ options: EventBridgeRequestOptions,
278
284
  cb: (err: any, data?: CreateEndpointCommandOutput) => void,
279
285
  ): void;
280
286
  createEventBus(
281
287
  args: CreateEventBusCommandInput,
282
- options?: __HttpHandlerOptions,
288
+ options?: EventBridgeRequestOptions,
283
289
  ): Promise<CreateEventBusCommandOutput>;
284
290
  createEventBus(
285
291
  args: CreateEventBusCommandInput,
@@ -287,12 +293,12 @@ export interface EventBridge {
287
293
  ): void;
288
294
  createEventBus(
289
295
  args: CreateEventBusCommandInput,
290
- options: __HttpHandlerOptions,
296
+ options: EventBridgeRequestOptions,
291
297
  cb: (err: any, data?: CreateEventBusCommandOutput) => void,
292
298
  ): void;
293
299
  createPartnerEventSource(
294
300
  args: CreatePartnerEventSourceCommandInput,
295
- options?: __HttpHandlerOptions,
301
+ options?: EventBridgeRequestOptions,
296
302
  ): Promise<CreatePartnerEventSourceCommandOutput>;
297
303
  createPartnerEventSource(
298
304
  args: CreatePartnerEventSourceCommandInput,
@@ -300,12 +306,12 @@ export interface EventBridge {
300
306
  ): void;
301
307
  createPartnerEventSource(
302
308
  args: CreatePartnerEventSourceCommandInput,
303
- options: __HttpHandlerOptions,
309
+ options: EventBridgeRequestOptions,
304
310
  cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void,
305
311
  ): void;
306
312
  deactivateEventSource(
307
313
  args: DeactivateEventSourceCommandInput,
308
- options?: __HttpHandlerOptions,
314
+ options?: EventBridgeRequestOptions,
309
315
  ): Promise<DeactivateEventSourceCommandOutput>;
310
316
  deactivateEventSource(
311
317
  args: DeactivateEventSourceCommandInput,
@@ -313,12 +319,12 @@ export interface EventBridge {
313
319
  ): void;
314
320
  deactivateEventSource(
315
321
  args: DeactivateEventSourceCommandInput,
316
- options: __HttpHandlerOptions,
322
+ options: EventBridgeRequestOptions,
317
323
  cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void,
318
324
  ): void;
319
325
  deauthorizeConnection(
320
326
  args: DeauthorizeConnectionCommandInput,
321
- options?: __HttpHandlerOptions,
327
+ options?: EventBridgeRequestOptions,
322
328
  ): Promise<DeauthorizeConnectionCommandOutput>;
323
329
  deauthorizeConnection(
324
330
  args: DeauthorizeConnectionCommandInput,
@@ -326,12 +332,12 @@ export interface EventBridge {
326
332
  ): void;
327
333
  deauthorizeConnection(
328
334
  args: DeauthorizeConnectionCommandInput,
329
- options: __HttpHandlerOptions,
335
+ options: EventBridgeRequestOptions,
330
336
  cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void,
331
337
  ): void;
332
338
  deleteApiDestination(
333
339
  args: DeleteApiDestinationCommandInput,
334
- options?: __HttpHandlerOptions,
340
+ options?: EventBridgeRequestOptions,
335
341
  ): Promise<DeleteApiDestinationCommandOutput>;
336
342
  deleteApiDestination(
337
343
  args: DeleteApiDestinationCommandInput,
@@ -339,12 +345,12 @@ export interface EventBridge {
339
345
  ): void;
340
346
  deleteApiDestination(
341
347
  args: DeleteApiDestinationCommandInput,
342
- options: __HttpHandlerOptions,
348
+ options: EventBridgeRequestOptions,
343
349
  cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void,
344
350
  ): void;
345
351
  deleteArchive(
346
352
  args: DeleteArchiveCommandInput,
347
- options?: __HttpHandlerOptions,
353
+ options?: EventBridgeRequestOptions,
348
354
  ): Promise<DeleteArchiveCommandOutput>;
349
355
  deleteArchive(
350
356
  args: DeleteArchiveCommandInput,
@@ -352,12 +358,12 @@ export interface EventBridge {
352
358
  ): void;
353
359
  deleteArchive(
354
360
  args: DeleteArchiveCommandInput,
355
- options: __HttpHandlerOptions,
361
+ options: EventBridgeRequestOptions,
356
362
  cb: (err: any, data?: DeleteArchiveCommandOutput) => void,
357
363
  ): void;
358
364
  deleteConnection(
359
365
  args: DeleteConnectionCommandInput,
360
- options?: __HttpHandlerOptions,
366
+ options?: EventBridgeRequestOptions,
361
367
  ): Promise<DeleteConnectionCommandOutput>;
362
368
  deleteConnection(
363
369
  args: DeleteConnectionCommandInput,
@@ -365,12 +371,12 @@ export interface EventBridge {
365
371
  ): void;
366
372
  deleteConnection(
367
373
  args: DeleteConnectionCommandInput,
368
- options: __HttpHandlerOptions,
374
+ options: EventBridgeRequestOptions,
369
375
  cb: (err: any, data?: DeleteConnectionCommandOutput) => void,
370
376
  ): void;
371
377
  deleteEndpoint(
372
378
  args: DeleteEndpointCommandInput,
373
- options?: __HttpHandlerOptions,
379
+ options?: EventBridgeRequestOptions,
374
380
  ): Promise<DeleteEndpointCommandOutput>;
375
381
  deleteEndpoint(
376
382
  args: DeleteEndpointCommandInput,
@@ -378,12 +384,12 @@ export interface EventBridge {
378
384
  ): void;
379
385
  deleteEndpoint(
380
386
  args: DeleteEndpointCommandInput,
381
- options: __HttpHandlerOptions,
387
+ options: EventBridgeRequestOptions,
382
388
  cb: (err: any, data?: DeleteEndpointCommandOutput) => void,
383
389
  ): void;
384
390
  deleteEventBus(
385
391
  args: DeleteEventBusCommandInput,
386
- options?: __HttpHandlerOptions,
392
+ options?: EventBridgeRequestOptions,
387
393
  ): Promise<DeleteEventBusCommandOutput>;
388
394
  deleteEventBus(
389
395
  args: DeleteEventBusCommandInput,
@@ -391,12 +397,12 @@ export interface EventBridge {
391
397
  ): void;
392
398
  deleteEventBus(
393
399
  args: DeleteEventBusCommandInput,
394
- options: __HttpHandlerOptions,
400
+ options: EventBridgeRequestOptions,
395
401
  cb: (err: any, data?: DeleteEventBusCommandOutput) => void,
396
402
  ): void;
397
403
  deletePartnerEventSource(
398
404
  args: DeletePartnerEventSourceCommandInput,
399
- options?: __HttpHandlerOptions,
405
+ options?: EventBridgeRequestOptions,
400
406
  ): Promise<DeletePartnerEventSourceCommandOutput>;
401
407
  deletePartnerEventSource(
402
408
  args: DeletePartnerEventSourceCommandInput,
@@ -404,12 +410,12 @@ export interface EventBridge {
404
410
  ): void;
405
411
  deletePartnerEventSource(
406
412
  args: DeletePartnerEventSourceCommandInput,
407
- options: __HttpHandlerOptions,
413
+ options: EventBridgeRequestOptions,
408
414
  cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void,
409
415
  ): void;
410
416
  deleteRule(
411
417
  args: DeleteRuleCommandInput,
412
- options?: __HttpHandlerOptions,
418
+ options?: EventBridgeRequestOptions,
413
419
  ): Promise<DeleteRuleCommandOutput>;
414
420
  deleteRule(
415
421
  args: DeleteRuleCommandInput,
@@ -417,12 +423,12 @@ export interface EventBridge {
417
423
  ): void;
418
424
  deleteRule(
419
425
  args: DeleteRuleCommandInput,
420
- options: __HttpHandlerOptions,
426
+ options: EventBridgeRequestOptions,
421
427
  cb: (err: any, data?: DeleteRuleCommandOutput) => void,
422
428
  ): void;
423
429
  describeApiDestination(
424
430
  args: DescribeApiDestinationCommandInput,
425
- options?: __HttpHandlerOptions,
431
+ options?: EventBridgeRequestOptions,
426
432
  ): Promise<DescribeApiDestinationCommandOutput>;
427
433
  describeApiDestination(
428
434
  args: DescribeApiDestinationCommandInput,
@@ -430,12 +436,12 @@ export interface EventBridge {
430
436
  ): void;
431
437
  describeApiDestination(
432
438
  args: DescribeApiDestinationCommandInput,
433
- options: __HttpHandlerOptions,
439
+ options: EventBridgeRequestOptions,
434
440
  cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void,
435
441
  ): void;
436
442
  describeArchive(
437
443
  args: DescribeArchiveCommandInput,
438
- options?: __HttpHandlerOptions,
444
+ options?: EventBridgeRequestOptions,
439
445
  ): Promise<DescribeArchiveCommandOutput>;
440
446
  describeArchive(
441
447
  args: DescribeArchiveCommandInput,
@@ -443,12 +449,12 @@ export interface EventBridge {
443
449
  ): void;
444
450
  describeArchive(
445
451
  args: DescribeArchiveCommandInput,
446
- options: __HttpHandlerOptions,
452
+ options: EventBridgeRequestOptions,
447
453
  cb: (err: any, data?: DescribeArchiveCommandOutput) => void,
448
454
  ): void;
449
455
  describeConnection(
450
456
  args: DescribeConnectionCommandInput,
451
- options?: __HttpHandlerOptions,
457
+ options?: EventBridgeRequestOptions,
452
458
  ): Promise<DescribeConnectionCommandOutput>;
453
459
  describeConnection(
454
460
  args: DescribeConnectionCommandInput,
@@ -456,12 +462,12 @@ export interface EventBridge {
456
462
  ): void;
457
463
  describeConnection(
458
464
  args: DescribeConnectionCommandInput,
459
- options: __HttpHandlerOptions,
465
+ options: EventBridgeRequestOptions,
460
466
  cb: (err: any, data?: DescribeConnectionCommandOutput) => void,
461
467
  ): void;
462
468
  describeEndpoint(
463
469
  args: DescribeEndpointCommandInput,
464
- options?: __HttpHandlerOptions,
470
+ options?: EventBridgeRequestOptions,
465
471
  ): Promise<DescribeEndpointCommandOutput>;
466
472
  describeEndpoint(
467
473
  args: DescribeEndpointCommandInput,
@@ -469,13 +475,13 @@ export interface EventBridge {
469
475
  ): void;
470
476
  describeEndpoint(
471
477
  args: DescribeEndpointCommandInput,
472
- options: __HttpHandlerOptions,
478
+ options: EventBridgeRequestOptions,
473
479
  cb: (err: any, data?: DescribeEndpointCommandOutput) => void,
474
480
  ): void;
475
481
  describeEventBus(): Promise<DescribeEventBusCommandOutput>;
476
482
  describeEventBus(
477
483
  args: DescribeEventBusCommandInput,
478
- options?: __HttpHandlerOptions,
484
+ options?: EventBridgeRequestOptions,
479
485
  ): Promise<DescribeEventBusCommandOutput>;
480
486
  describeEventBus(
481
487
  args: DescribeEventBusCommandInput,
@@ -483,12 +489,12 @@ export interface EventBridge {
483
489
  ): void;
484
490
  describeEventBus(
485
491
  args: DescribeEventBusCommandInput,
486
- options: __HttpHandlerOptions,
492
+ options: EventBridgeRequestOptions,
487
493
  cb: (err: any, data?: DescribeEventBusCommandOutput) => void,
488
494
  ): void;
489
495
  describeEventSource(
490
496
  args: DescribeEventSourceCommandInput,
491
- options?: __HttpHandlerOptions,
497
+ options?: EventBridgeRequestOptions,
492
498
  ): Promise<DescribeEventSourceCommandOutput>;
493
499
  describeEventSource(
494
500
  args: DescribeEventSourceCommandInput,
@@ -496,12 +502,12 @@ export interface EventBridge {
496
502
  ): void;
497
503
  describeEventSource(
498
504
  args: DescribeEventSourceCommandInput,
499
- options: __HttpHandlerOptions,
505
+ options: EventBridgeRequestOptions,
500
506
  cb: (err: any, data?: DescribeEventSourceCommandOutput) => void,
501
507
  ): void;
502
508
  describePartnerEventSource(
503
509
  args: DescribePartnerEventSourceCommandInput,
504
- options?: __HttpHandlerOptions,
510
+ options?: EventBridgeRequestOptions,
505
511
  ): Promise<DescribePartnerEventSourceCommandOutput>;
506
512
  describePartnerEventSource(
507
513
  args: DescribePartnerEventSourceCommandInput,
@@ -509,12 +515,12 @@ export interface EventBridge {
509
515
  ): void;
510
516
  describePartnerEventSource(
511
517
  args: DescribePartnerEventSourceCommandInput,
512
- options: __HttpHandlerOptions,
518
+ options: EventBridgeRequestOptions,
513
519
  cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void,
514
520
  ): void;
515
521
  describeReplay(
516
522
  args: DescribeReplayCommandInput,
517
- options?: __HttpHandlerOptions,
523
+ options?: EventBridgeRequestOptions,
518
524
  ): Promise<DescribeReplayCommandOutput>;
519
525
  describeReplay(
520
526
  args: DescribeReplayCommandInput,
@@ -522,12 +528,12 @@ export interface EventBridge {
522
528
  ): void;
523
529
  describeReplay(
524
530
  args: DescribeReplayCommandInput,
525
- options: __HttpHandlerOptions,
531
+ options: EventBridgeRequestOptions,
526
532
  cb: (err: any, data?: DescribeReplayCommandOutput) => void,
527
533
  ): void;
528
534
  describeRule(
529
535
  args: DescribeRuleCommandInput,
530
- options?: __HttpHandlerOptions,
536
+ options?: EventBridgeRequestOptions,
531
537
  ): Promise<DescribeRuleCommandOutput>;
532
538
  describeRule(
533
539
  args: DescribeRuleCommandInput,
@@ -535,12 +541,12 @@ export interface EventBridge {
535
541
  ): void;
536
542
  describeRule(
537
543
  args: DescribeRuleCommandInput,
538
- options: __HttpHandlerOptions,
544
+ options: EventBridgeRequestOptions,
539
545
  cb: (err: any, data?: DescribeRuleCommandOutput) => void,
540
546
  ): void;
541
547
  disableRule(
542
548
  args: DisableRuleCommandInput,
543
- options?: __HttpHandlerOptions,
549
+ options?: EventBridgeRequestOptions,
544
550
  ): Promise<DisableRuleCommandOutput>;
545
551
  disableRule(
546
552
  args: DisableRuleCommandInput,
@@ -548,12 +554,12 @@ export interface EventBridge {
548
554
  ): void;
549
555
  disableRule(
550
556
  args: DisableRuleCommandInput,
551
- options: __HttpHandlerOptions,
557
+ options: EventBridgeRequestOptions,
552
558
  cb: (err: any, data?: DisableRuleCommandOutput) => void,
553
559
  ): void;
554
560
  enableRule(
555
561
  args: EnableRuleCommandInput,
556
- options?: __HttpHandlerOptions,
562
+ options?: EventBridgeRequestOptions,
557
563
  ): Promise<EnableRuleCommandOutput>;
558
564
  enableRule(
559
565
  args: EnableRuleCommandInput,
@@ -561,13 +567,13 @@ export interface EventBridge {
561
567
  ): void;
562
568
  enableRule(
563
569
  args: EnableRuleCommandInput,
564
- options: __HttpHandlerOptions,
570
+ options: EventBridgeRequestOptions,
565
571
  cb: (err: any, data?: EnableRuleCommandOutput) => void,
566
572
  ): void;
567
573
  listApiDestinations(): Promise<ListApiDestinationsCommandOutput>;
568
574
  listApiDestinations(
569
575
  args: ListApiDestinationsCommandInput,
570
- options?: __HttpHandlerOptions,
576
+ options?: EventBridgeRequestOptions,
571
577
  ): Promise<ListApiDestinationsCommandOutput>;
572
578
  listApiDestinations(
573
579
  args: ListApiDestinationsCommandInput,
@@ -575,13 +581,13 @@ export interface EventBridge {
575
581
  ): void;
576
582
  listApiDestinations(
577
583
  args: ListApiDestinationsCommandInput,
578
- options: __HttpHandlerOptions,
584
+ options: EventBridgeRequestOptions,
579
585
  cb: (err: any, data?: ListApiDestinationsCommandOutput) => void,
580
586
  ): void;
581
587
  listArchives(): Promise<ListArchivesCommandOutput>;
582
588
  listArchives(
583
589
  args: ListArchivesCommandInput,
584
- options?: __HttpHandlerOptions,
590
+ options?: EventBridgeRequestOptions,
585
591
  ): Promise<ListArchivesCommandOutput>;
586
592
  listArchives(
587
593
  args: ListArchivesCommandInput,
@@ -589,13 +595,13 @@ export interface EventBridge {
589
595
  ): void;
590
596
  listArchives(
591
597
  args: ListArchivesCommandInput,
592
- options: __HttpHandlerOptions,
598
+ options: EventBridgeRequestOptions,
593
599
  cb: (err: any, data?: ListArchivesCommandOutput) => void,
594
600
  ): void;
595
601
  listConnections(): Promise<ListConnectionsCommandOutput>;
596
602
  listConnections(
597
603
  args: ListConnectionsCommandInput,
598
- options?: __HttpHandlerOptions,
604
+ options?: EventBridgeRequestOptions,
599
605
  ): Promise<ListConnectionsCommandOutput>;
600
606
  listConnections(
601
607
  args: ListConnectionsCommandInput,
@@ -603,13 +609,13 @@ export interface EventBridge {
603
609
  ): void;
604
610
  listConnections(
605
611
  args: ListConnectionsCommandInput,
606
- options: __HttpHandlerOptions,
612
+ options: EventBridgeRequestOptions,
607
613
  cb: (err: any, data?: ListConnectionsCommandOutput) => void,
608
614
  ): void;
609
615
  listEndpoints(): Promise<ListEndpointsCommandOutput>;
610
616
  listEndpoints(
611
617
  args: ListEndpointsCommandInput,
612
- options?: __HttpHandlerOptions,
618
+ options?: EventBridgeRequestOptions,
613
619
  ): Promise<ListEndpointsCommandOutput>;
614
620
  listEndpoints(
615
621
  args: ListEndpointsCommandInput,
@@ -617,13 +623,13 @@ export interface EventBridge {
617
623
  ): void;
618
624
  listEndpoints(
619
625
  args: ListEndpointsCommandInput,
620
- options: __HttpHandlerOptions,
626
+ options: EventBridgeRequestOptions,
621
627
  cb: (err: any, data?: ListEndpointsCommandOutput) => void,
622
628
  ): void;
623
629
  listEventBuses(): Promise<ListEventBusesCommandOutput>;
624
630
  listEventBuses(
625
631
  args: ListEventBusesCommandInput,
626
- options?: __HttpHandlerOptions,
632
+ options?: EventBridgeRequestOptions,
627
633
  ): Promise<ListEventBusesCommandOutput>;
628
634
  listEventBuses(
629
635
  args: ListEventBusesCommandInput,
@@ -631,13 +637,13 @@ export interface EventBridge {
631
637
  ): void;
632
638
  listEventBuses(
633
639
  args: ListEventBusesCommandInput,
634
- options: __HttpHandlerOptions,
640
+ options: EventBridgeRequestOptions,
635
641
  cb: (err: any, data?: ListEventBusesCommandOutput) => void,
636
642
  ): void;
637
643
  listEventSources(): Promise<ListEventSourcesCommandOutput>;
638
644
  listEventSources(
639
645
  args: ListEventSourcesCommandInput,
640
- options?: __HttpHandlerOptions,
646
+ options?: EventBridgeRequestOptions,
641
647
  ): Promise<ListEventSourcesCommandOutput>;
642
648
  listEventSources(
643
649
  args: ListEventSourcesCommandInput,
@@ -645,12 +651,12 @@ export interface EventBridge {
645
651
  ): void;
646
652
  listEventSources(
647
653
  args: ListEventSourcesCommandInput,
648
- options: __HttpHandlerOptions,
654
+ options: EventBridgeRequestOptions,
649
655
  cb: (err: any, data?: ListEventSourcesCommandOutput) => void,
650
656
  ): void;
651
657
  listPartnerEventSourceAccounts(
652
658
  args: ListPartnerEventSourceAccountsCommandInput,
653
- options?: __HttpHandlerOptions,
659
+ options?: EventBridgeRequestOptions,
654
660
  ): Promise<ListPartnerEventSourceAccountsCommandOutput>;
655
661
  listPartnerEventSourceAccounts(
656
662
  args: ListPartnerEventSourceAccountsCommandInput,
@@ -658,12 +664,12 @@ export interface EventBridge {
658
664
  ): void;
659
665
  listPartnerEventSourceAccounts(
660
666
  args: ListPartnerEventSourceAccountsCommandInput,
661
- options: __HttpHandlerOptions,
667
+ options: EventBridgeRequestOptions,
662
668
  cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void,
663
669
  ): void;
664
670
  listPartnerEventSources(
665
671
  args: ListPartnerEventSourcesCommandInput,
666
- options?: __HttpHandlerOptions,
672
+ options?: EventBridgeRequestOptions,
667
673
  ): Promise<ListPartnerEventSourcesCommandOutput>;
668
674
  listPartnerEventSources(
669
675
  args: ListPartnerEventSourcesCommandInput,
@@ -671,13 +677,13 @@ export interface EventBridge {
671
677
  ): void;
672
678
  listPartnerEventSources(
673
679
  args: ListPartnerEventSourcesCommandInput,
674
- options: __HttpHandlerOptions,
680
+ options: EventBridgeRequestOptions,
675
681
  cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void,
676
682
  ): void;
677
683
  listReplays(): Promise<ListReplaysCommandOutput>;
678
684
  listReplays(
679
685
  args: ListReplaysCommandInput,
680
- options?: __HttpHandlerOptions,
686
+ options?: EventBridgeRequestOptions,
681
687
  ): Promise<ListReplaysCommandOutput>;
682
688
  listReplays(
683
689
  args: ListReplaysCommandInput,
@@ -685,12 +691,12 @@ export interface EventBridge {
685
691
  ): void;
686
692
  listReplays(
687
693
  args: ListReplaysCommandInput,
688
- options: __HttpHandlerOptions,
694
+ options: EventBridgeRequestOptions,
689
695
  cb: (err: any, data?: ListReplaysCommandOutput) => void,
690
696
  ): void;
691
697
  listRuleNamesByTarget(
692
698
  args: ListRuleNamesByTargetCommandInput,
693
- options?: __HttpHandlerOptions,
699
+ options?: EventBridgeRequestOptions,
694
700
  ): Promise<ListRuleNamesByTargetCommandOutput>;
695
701
  listRuleNamesByTarget(
696
702
  args: ListRuleNamesByTargetCommandInput,
@@ -698,13 +704,13 @@ export interface EventBridge {
698
704
  ): void;
699
705
  listRuleNamesByTarget(
700
706
  args: ListRuleNamesByTargetCommandInput,
701
- options: __HttpHandlerOptions,
707
+ options: EventBridgeRequestOptions,
702
708
  cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void,
703
709
  ): void;
704
710
  listRules(): Promise<ListRulesCommandOutput>;
705
711
  listRules(
706
712
  args: ListRulesCommandInput,
707
- options?: __HttpHandlerOptions,
713
+ options?: EventBridgeRequestOptions,
708
714
  ): Promise<ListRulesCommandOutput>;
709
715
  listRules(
710
716
  args: ListRulesCommandInput,
@@ -712,12 +718,12 @@ export interface EventBridge {
712
718
  ): void;
713
719
  listRules(
714
720
  args: ListRulesCommandInput,
715
- options: __HttpHandlerOptions,
721
+ options: EventBridgeRequestOptions,
716
722
  cb: (err: any, data?: ListRulesCommandOutput) => void,
717
723
  ): void;
718
724
  listTagsForResource(
719
725
  args: ListTagsForResourceCommandInput,
720
- options?: __HttpHandlerOptions,
726
+ options?: EventBridgeRequestOptions,
721
727
  ): Promise<ListTagsForResourceCommandOutput>;
722
728
  listTagsForResource(
723
729
  args: ListTagsForResourceCommandInput,
@@ -725,12 +731,12 @@ export interface EventBridge {
725
731
  ): void;
726
732
  listTagsForResource(
727
733
  args: ListTagsForResourceCommandInput,
728
- options: __HttpHandlerOptions,
734
+ options: EventBridgeRequestOptions,
729
735
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
730
736
  ): void;
731
737
  listTargetsByRule(
732
738
  args: ListTargetsByRuleCommandInput,
733
- options?: __HttpHandlerOptions,
739
+ options?: EventBridgeRequestOptions,
734
740
  ): Promise<ListTargetsByRuleCommandOutput>;
735
741
  listTargetsByRule(
736
742
  args: ListTargetsByRuleCommandInput,
@@ -738,12 +744,12 @@ export interface EventBridge {
738
744
  ): void;
739
745
  listTargetsByRule(
740
746
  args: ListTargetsByRuleCommandInput,
741
- options: __HttpHandlerOptions,
747
+ options: EventBridgeRequestOptions,
742
748
  cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void,
743
749
  ): void;
744
750
  putEvents(
745
751
  args: PutEventsCommandInput,
746
- options?: __HttpHandlerOptions,
752
+ options?: EventBridgeRequestOptions,
747
753
  ): Promise<PutEventsCommandOutput>;
748
754
  putEvents(
749
755
  args: PutEventsCommandInput,
@@ -751,12 +757,12 @@ export interface EventBridge {
751
757
  ): void;
752
758
  putEvents(
753
759
  args: PutEventsCommandInput,
754
- options: __HttpHandlerOptions,
760
+ options: EventBridgeRequestOptions,
755
761
  cb: (err: any, data?: PutEventsCommandOutput) => void,
756
762
  ): void;
757
763
  putPartnerEvents(
758
764
  args: PutPartnerEventsCommandInput,
759
- options?: __HttpHandlerOptions,
765
+ options?: EventBridgeRequestOptions,
760
766
  ): Promise<PutPartnerEventsCommandOutput>;
761
767
  putPartnerEvents(
762
768
  args: PutPartnerEventsCommandInput,
@@ -764,13 +770,13 @@ export interface EventBridge {
764
770
  ): void;
765
771
  putPartnerEvents(
766
772
  args: PutPartnerEventsCommandInput,
767
- options: __HttpHandlerOptions,
773
+ options: EventBridgeRequestOptions,
768
774
  cb: (err: any, data?: PutPartnerEventsCommandOutput) => void,
769
775
  ): void;
770
776
  putPermission(): Promise<PutPermissionCommandOutput>;
771
777
  putPermission(
772
778
  args: PutPermissionCommandInput,
773
- options?: __HttpHandlerOptions,
779
+ options?: EventBridgeRequestOptions,
774
780
  ): Promise<PutPermissionCommandOutput>;
775
781
  putPermission(
776
782
  args: PutPermissionCommandInput,
@@ -778,19 +784,22 @@ export interface EventBridge {
778
784
  ): void;
779
785
  putPermission(
780
786
  args: PutPermissionCommandInput,
781
- options: __HttpHandlerOptions,
787
+ options: EventBridgeRequestOptions,
782
788
  cb: (err: any, data?: PutPermissionCommandOutput) => void,
783
789
  ): void;
784
- putRule(args: PutRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleCommandOutput>;
790
+ putRule(
791
+ args: PutRuleCommandInput,
792
+ options?: EventBridgeRequestOptions,
793
+ ): Promise<PutRuleCommandOutput>;
785
794
  putRule(args: PutRuleCommandInput, cb: (err: any, data?: PutRuleCommandOutput) => void): void;
786
795
  putRule(
787
796
  args: PutRuleCommandInput,
788
- options: __HttpHandlerOptions,
797
+ options: EventBridgeRequestOptions,
789
798
  cb: (err: any, data?: PutRuleCommandOutput) => void,
790
799
  ): void;
791
800
  putTargets(
792
801
  args: PutTargetsCommandInput,
793
- options?: __HttpHandlerOptions,
802
+ options?: EventBridgeRequestOptions,
794
803
  ): Promise<PutTargetsCommandOutput>;
795
804
  putTargets(
796
805
  args: PutTargetsCommandInput,
@@ -798,13 +807,13 @@ export interface EventBridge {
798
807
  ): void;
799
808
  putTargets(
800
809
  args: PutTargetsCommandInput,
801
- options: __HttpHandlerOptions,
810
+ options: EventBridgeRequestOptions,
802
811
  cb: (err: any, data?: PutTargetsCommandOutput) => void,
803
812
  ): void;
804
813
  removePermission(): Promise<RemovePermissionCommandOutput>;
805
814
  removePermission(
806
815
  args: RemovePermissionCommandInput,
807
- options?: __HttpHandlerOptions,
816
+ options?: EventBridgeRequestOptions,
808
817
  ): Promise<RemovePermissionCommandOutput>;
809
818
  removePermission(
810
819
  args: RemovePermissionCommandInput,
@@ -812,12 +821,12 @@ export interface EventBridge {
812
821
  ): void;
813
822
  removePermission(
814
823
  args: RemovePermissionCommandInput,
815
- options: __HttpHandlerOptions,
824
+ options: EventBridgeRequestOptions,
816
825
  cb: (err: any, data?: RemovePermissionCommandOutput) => void,
817
826
  ): void;
818
827
  removeTargets(
819
828
  args: RemoveTargetsCommandInput,
820
- options?: __HttpHandlerOptions,
829
+ options?: EventBridgeRequestOptions,
821
830
  ): Promise<RemoveTargetsCommandOutput>;
822
831
  removeTargets(
823
832
  args: RemoveTargetsCommandInput,
@@ -825,12 +834,12 @@ export interface EventBridge {
825
834
  ): void;
826
835
  removeTargets(
827
836
  args: RemoveTargetsCommandInput,
828
- options: __HttpHandlerOptions,
837
+ options: EventBridgeRequestOptions,
829
838
  cb: (err: any, data?: RemoveTargetsCommandOutput) => void,
830
839
  ): void;
831
840
  startReplay(
832
841
  args: StartReplayCommandInput,
833
- options?: __HttpHandlerOptions,
842
+ options?: EventBridgeRequestOptions,
834
843
  ): Promise<StartReplayCommandOutput>;
835
844
  startReplay(
836
845
  args: StartReplayCommandInput,
@@ -838,12 +847,12 @@ export interface EventBridge {
838
847
  ): void;
839
848
  startReplay(
840
849
  args: StartReplayCommandInput,
841
- options: __HttpHandlerOptions,
850
+ options: EventBridgeRequestOptions,
842
851
  cb: (err: any, data?: StartReplayCommandOutput) => void,
843
852
  ): void;
844
853
  tagResource(
845
854
  args: TagResourceCommandInput,
846
- options?: __HttpHandlerOptions,
855
+ options?: EventBridgeRequestOptions,
847
856
  ): Promise<TagResourceCommandOutput>;
848
857
  tagResource(
849
858
  args: TagResourceCommandInput,
@@ -851,12 +860,12 @@ export interface EventBridge {
851
860
  ): void;
852
861
  tagResource(
853
862
  args: TagResourceCommandInput,
854
- options: __HttpHandlerOptions,
863
+ options: EventBridgeRequestOptions,
855
864
  cb: (err: any, data?: TagResourceCommandOutput) => void,
856
865
  ): void;
857
866
  testEventPattern(
858
867
  args: TestEventPatternCommandInput,
859
- options?: __HttpHandlerOptions,
868
+ options?: EventBridgeRequestOptions,
860
869
  ): Promise<TestEventPatternCommandOutput>;
861
870
  testEventPattern(
862
871
  args: TestEventPatternCommandInput,
@@ -864,12 +873,12 @@ export interface EventBridge {
864
873
  ): void;
865
874
  testEventPattern(
866
875
  args: TestEventPatternCommandInput,
867
- options: __HttpHandlerOptions,
876
+ options: EventBridgeRequestOptions,
868
877
  cb: (err: any, data?: TestEventPatternCommandOutput) => void,
869
878
  ): void;
870
879
  untagResource(
871
880
  args: UntagResourceCommandInput,
872
- options?: __HttpHandlerOptions,
881
+ options?: EventBridgeRequestOptions,
873
882
  ): Promise<UntagResourceCommandOutput>;
874
883
  untagResource(
875
884
  args: UntagResourceCommandInput,
@@ -877,12 +886,12 @@ export interface EventBridge {
877
886
  ): void;
878
887
  untagResource(
879
888
  args: UntagResourceCommandInput,
880
- options: __HttpHandlerOptions,
889
+ options: EventBridgeRequestOptions,
881
890
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
882
891
  ): void;
883
892
  updateApiDestination(
884
893
  args: UpdateApiDestinationCommandInput,
885
- options?: __HttpHandlerOptions,
894
+ options?: EventBridgeRequestOptions,
886
895
  ): Promise<UpdateApiDestinationCommandOutput>;
887
896
  updateApiDestination(
888
897
  args: UpdateApiDestinationCommandInput,
@@ -890,12 +899,12 @@ export interface EventBridge {
890
899
  ): void;
891
900
  updateApiDestination(
892
901
  args: UpdateApiDestinationCommandInput,
893
- options: __HttpHandlerOptions,
902
+ options: EventBridgeRequestOptions,
894
903
  cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void,
895
904
  ): void;
896
905
  updateArchive(
897
906
  args: UpdateArchiveCommandInput,
898
- options?: __HttpHandlerOptions,
907
+ options?: EventBridgeRequestOptions,
899
908
  ): Promise<UpdateArchiveCommandOutput>;
900
909
  updateArchive(
901
910
  args: UpdateArchiveCommandInput,
@@ -903,12 +912,12 @@ export interface EventBridge {
903
912
  ): void;
904
913
  updateArchive(
905
914
  args: UpdateArchiveCommandInput,
906
- options: __HttpHandlerOptions,
915
+ options: EventBridgeRequestOptions,
907
916
  cb: (err: any, data?: UpdateArchiveCommandOutput) => void,
908
917
  ): void;
909
918
  updateConnection(
910
919
  args: UpdateConnectionCommandInput,
911
- options?: __HttpHandlerOptions,
920
+ options?: EventBridgeRequestOptions,
912
921
  ): Promise<UpdateConnectionCommandOutput>;
913
922
  updateConnection(
914
923
  args: UpdateConnectionCommandInput,
@@ -916,12 +925,12 @@ export interface EventBridge {
916
925
  ): void;
917
926
  updateConnection(
918
927
  args: UpdateConnectionCommandInput,
919
- options: __HttpHandlerOptions,
928
+ options: EventBridgeRequestOptions,
920
929
  cb: (err: any, data?: UpdateConnectionCommandOutput) => void,
921
930
  ): void;
922
931
  updateEndpoint(
923
932
  args: UpdateEndpointCommandInput,
924
- options?: __HttpHandlerOptions,
933
+ options?: EventBridgeRequestOptions,
925
934
  ): Promise<UpdateEndpointCommandOutput>;
926
935
  updateEndpoint(
927
936
  args: UpdateEndpointCommandInput,
@@ -929,13 +938,13 @@ export interface EventBridge {
929
938
  ): void;
930
939
  updateEndpoint(
931
940
  args: UpdateEndpointCommandInput,
932
- options: __HttpHandlerOptions,
941
+ options: EventBridgeRequestOptions,
933
942
  cb: (err: any, data?: UpdateEndpointCommandOutput) => void,
934
943
  ): void;
935
944
  updateEventBus(): Promise<UpdateEventBusCommandOutput>;
936
945
  updateEventBus(
937
946
  args: UpdateEventBusCommandInput,
938
- options?: __HttpHandlerOptions,
947
+ options?: EventBridgeRequestOptions,
939
948
  ): Promise<UpdateEventBusCommandOutput>;
940
949
  updateEventBus(
941
950
  args: UpdateEventBusCommandInput,
@@ -943,7 +952,7 @@ export interface EventBridge {
943
952
  ): void;
944
953
  updateEventBus(
945
954
  args: UpdateEventBusCommandInput,
946
- options: __HttpHandlerOptions,
955
+ options: EventBridgeRequestOptions,
947
956
  cb: (err: any, data?: UpdateEventBusCommandOutput) => void,
948
957
  ): void;
949
958
  }