aws-sdk-eventbridge 1.39.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,855 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::EventBridge
12
+ module Endpoints
13
+
14
+ class ActivateEventSource
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::EventBridge::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ endpoint_id: nil,
25
+ )
26
+ end
27
+ end
28
+
29
+ class CancelReplay
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::EventBridge::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ endpoint_id: nil,
40
+ )
41
+ end
42
+ end
43
+
44
+ class CreateApiDestination
45
+ def self.build(context)
46
+ unless context.config.regional_endpoint
47
+ endpoint = context.config.endpoint.to_s
48
+ end
49
+ Aws::EventBridge::EndpointParameters.new(
50
+ region: context.config.region,
51
+ use_dual_stack: context.config.use_dualstack_endpoint,
52
+ use_fips: context.config.use_fips_endpoint,
53
+ endpoint: endpoint,
54
+ endpoint_id: nil,
55
+ )
56
+ end
57
+ end
58
+
59
+ class CreateArchive
60
+ def self.build(context)
61
+ unless context.config.regional_endpoint
62
+ endpoint = context.config.endpoint.to_s
63
+ end
64
+ Aws::EventBridge::EndpointParameters.new(
65
+ region: context.config.region,
66
+ use_dual_stack: context.config.use_dualstack_endpoint,
67
+ use_fips: context.config.use_fips_endpoint,
68
+ endpoint: endpoint,
69
+ endpoint_id: nil,
70
+ )
71
+ end
72
+ end
73
+
74
+ class CreateConnection
75
+ def self.build(context)
76
+ unless context.config.regional_endpoint
77
+ endpoint = context.config.endpoint.to_s
78
+ end
79
+ Aws::EventBridge::EndpointParameters.new(
80
+ region: context.config.region,
81
+ use_dual_stack: context.config.use_dualstack_endpoint,
82
+ use_fips: context.config.use_fips_endpoint,
83
+ endpoint: endpoint,
84
+ endpoint_id: nil,
85
+ )
86
+ end
87
+ end
88
+
89
+ class CreateEndpoint
90
+ def self.build(context)
91
+ unless context.config.regional_endpoint
92
+ endpoint = context.config.endpoint.to_s
93
+ end
94
+ Aws::EventBridge::EndpointParameters.new(
95
+ region: context.config.region,
96
+ use_dual_stack: context.config.use_dualstack_endpoint,
97
+ use_fips: context.config.use_fips_endpoint,
98
+ endpoint: endpoint,
99
+ endpoint_id: nil,
100
+ )
101
+ end
102
+ end
103
+
104
+ class CreateEventBus
105
+ def self.build(context)
106
+ unless context.config.regional_endpoint
107
+ endpoint = context.config.endpoint.to_s
108
+ end
109
+ Aws::EventBridge::EndpointParameters.new(
110
+ region: context.config.region,
111
+ use_dual_stack: context.config.use_dualstack_endpoint,
112
+ use_fips: context.config.use_fips_endpoint,
113
+ endpoint: endpoint,
114
+ endpoint_id: nil,
115
+ )
116
+ end
117
+ end
118
+
119
+ class CreatePartnerEventSource
120
+ def self.build(context)
121
+ unless context.config.regional_endpoint
122
+ endpoint = context.config.endpoint.to_s
123
+ end
124
+ Aws::EventBridge::EndpointParameters.new(
125
+ region: context.config.region,
126
+ use_dual_stack: context.config.use_dualstack_endpoint,
127
+ use_fips: context.config.use_fips_endpoint,
128
+ endpoint: endpoint,
129
+ endpoint_id: nil,
130
+ )
131
+ end
132
+ end
133
+
134
+ class DeactivateEventSource
135
+ def self.build(context)
136
+ unless context.config.regional_endpoint
137
+ endpoint = context.config.endpoint.to_s
138
+ end
139
+ Aws::EventBridge::EndpointParameters.new(
140
+ region: context.config.region,
141
+ use_dual_stack: context.config.use_dualstack_endpoint,
142
+ use_fips: context.config.use_fips_endpoint,
143
+ endpoint: endpoint,
144
+ endpoint_id: nil,
145
+ )
146
+ end
147
+ end
148
+
149
+ class DeauthorizeConnection
150
+ def self.build(context)
151
+ unless context.config.regional_endpoint
152
+ endpoint = context.config.endpoint.to_s
153
+ end
154
+ Aws::EventBridge::EndpointParameters.new(
155
+ region: context.config.region,
156
+ use_dual_stack: context.config.use_dualstack_endpoint,
157
+ use_fips: context.config.use_fips_endpoint,
158
+ endpoint: endpoint,
159
+ endpoint_id: nil,
160
+ )
161
+ end
162
+ end
163
+
164
+ class DeleteApiDestination
165
+ def self.build(context)
166
+ unless context.config.regional_endpoint
167
+ endpoint = context.config.endpoint.to_s
168
+ end
169
+ Aws::EventBridge::EndpointParameters.new(
170
+ region: context.config.region,
171
+ use_dual_stack: context.config.use_dualstack_endpoint,
172
+ use_fips: context.config.use_fips_endpoint,
173
+ endpoint: endpoint,
174
+ endpoint_id: nil,
175
+ )
176
+ end
177
+ end
178
+
179
+ class DeleteArchive
180
+ def self.build(context)
181
+ unless context.config.regional_endpoint
182
+ endpoint = context.config.endpoint.to_s
183
+ end
184
+ Aws::EventBridge::EndpointParameters.new(
185
+ region: context.config.region,
186
+ use_dual_stack: context.config.use_dualstack_endpoint,
187
+ use_fips: context.config.use_fips_endpoint,
188
+ endpoint: endpoint,
189
+ endpoint_id: nil,
190
+ )
191
+ end
192
+ end
193
+
194
+ class DeleteConnection
195
+ def self.build(context)
196
+ unless context.config.regional_endpoint
197
+ endpoint = context.config.endpoint.to_s
198
+ end
199
+ Aws::EventBridge::EndpointParameters.new(
200
+ region: context.config.region,
201
+ use_dual_stack: context.config.use_dualstack_endpoint,
202
+ use_fips: context.config.use_fips_endpoint,
203
+ endpoint: endpoint,
204
+ endpoint_id: nil,
205
+ )
206
+ end
207
+ end
208
+
209
+ class DeleteEndpoint
210
+ def self.build(context)
211
+ unless context.config.regional_endpoint
212
+ endpoint = context.config.endpoint.to_s
213
+ end
214
+ Aws::EventBridge::EndpointParameters.new(
215
+ region: context.config.region,
216
+ use_dual_stack: context.config.use_dualstack_endpoint,
217
+ use_fips: context.config.use_fips_endpoint,
218
+ endpoint: endpoint,
219
+ endpoint_id: nil,
220
+ )
221
+ end
222
+ end
223
+
224
+ class DeleteEventBus
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::EventBridge::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ endpoint_id: nil,
235
+ )
236
+ end
237
+ end
238
+
239
+ class DeletePartnerEventSource
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::EventBridge::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ endpoint_id: nil,
250
+ )
251
+ end
252
+ end
253
+
254
+ class DeleteRule
255
+ def self.build(context)
256
+ unless context.config.regional_endpoint
257
+ endpoint = context.config.endpoint.to_s
258
+ end
259
+ Aws::EventBridge::EndpointParameters.new(
260
+ region: context.config.region,
261
+ use_dual_stack: context.config.use_dualstack_endpoint,
262
+ use_fips: context.config.use_fips_endpoint,
263
+ endpoint: endpoint,
264
+ endpoint_id: nil,
265
+ )
266
+ end
267
+ end
268
+
269
+ class DescribeApiDestination
270
+ def self.build(context)
271
+ unless context.config.regional_endpoint
272
+ endpoint = context.config.endpoint.to_s
273
+ end
274
+ Aws::EventBridge::EndpointParameters.new(
275
+ region: context.config.region,
276
+ use_dual_stack: context.config.use_dualstack_endpoint,
277
+ use_fips: context.config.use_fips_endpoint,
278
+ endpoint: endpoint,
279
+ endpoint_id: nil,
280
+ )
281
+ end
282
+ end
283
+
284
+ class DescribeArchive
285
+ def self.build(context)
286
+ unless context.config.regional_endpoint
287
+ endpoint = context.config.endpoint.to_s
288
+ end
289
+ Aws::EventBridge::EndpointParameters.new(
290
+ region: context.config.region,
291
+ use_dual_stack: context.config.use_dualstack_endpoint,
292
+ use_fips: context.config.use_fips_endpoint,
293
+ endpoint: endpoint,
294
+ endpoint_id: nil,
295
+ )
296
+ end
297
+ end
298
+
299
+ class DescribeConnection
300
+ def self.build(context)
301
+ unless context.config.regional_endpoint
302
+ endpoint = context.config.endpoint.to_s
303
+ end
304
+ Aws::EventBridge::EndpointParameters.new(
305
+ region: context.config.region,
306
+ use_dual_stack: context.config.use_dualstack_endpoint,
307
+ use_fips: context.config.use_fips_endpoint,
308
+ endpoint: endpoint,
309
+ endpoint_id: nil,
310
+ )
311
+ end
312
+ end
313
+
314
+ class DescribeEndpoint
315
+ def self.build(context)
316
+ unless context.config.regional_endpoint
317
+ endpoint = context.config.endpoint.to_s
318
+ end
319
+ Aws::EventBridge::EndpointParameters.new(
320
+ region: context.config.region,
321
+ use_dual_stack: context.config.use_dualstack_endpoint,
322
+ use_fips: context.config.use_fips_endpoint,
323
+ endpoint: endpoint,
324
+ endpoint_id: nil,
325
+ )
326
+ end
327
+ end
328
+
329
+ class DescribeEventBus
330
+ def self.build(context)
331
+ unless context.config.regional_endpoint
332
+ endpoint = context.config.endpoint.to_s
333
+ end
334
+ Aws::EventBridge::EndpointParameters.new(
335
+ region: context.config.region,
336
+ use_dual_stack: context.config.use_dualstack_endpoint,
337
+ use_fips: context.config.use_fips_endpoint,
338
+ endpoint: endpoint,
339
+ endpoint_id: nil,
340
+ )
341
+ end
342
+ end
343
+
344
+ class DescribeEventSource
345
+ def self.build(context)
346
+ unless context.config.regional_endpoint
347
+ endpoint = context.config.endpoint.to_s
348
+ end
349
+ Aws::EventBridge::EndpointParameters.new(
350
+ region: context.config.region,
351
+ use_dual_stack: context.config.use_dualstack_endpoint,
352
+ use_fips: context.config.use_fips_endpoint,
353
+ endpoint: endpoint,
354
+ endpoint_id: nil,
355
+ )
356
+ end
357
+ end
358
+
359
+ class DescribePartnerEventSource
360
+ def self.build(context)
361
+ unless context.config.regional_endpoint
362
+ endpoint = context.config.endpoint.to_s
363
+ end
364
+ Aws::EventBridge::EndpointParameters.new(
365
+ region: context.config.region,
366
+ use_dual_stack: context.config.use_dualstack_endpoint,
367
+ use_fips: context.config.use_fips_endpoint,
368
+ endpoint: endpoint,
369
+ endpoint_id: nil,
370
+ )
371
+ end
372
+ end
373
+
374
+ class DescribeReplay
375
+ def self.build(context)
376
+ unless context.config.regional_endpoint
377
+ endpoint = context.config.endpoint.to_s
378
+ end
379
+ Aws::EventBridge::EndpointParameters.new(
380
+ region: context.config.region,
381
+ use_dual_stack: context.config.use_dualstack_endpoint,
382
+ use_fips: context.config.use_fips_endpoint,
383
+ endpoint: endpoint,
384
+ endpoint_id: nil,
385
+ )
386
+ end
387
+ end
388
+
389
+ class DescribeRule
390
+ def self.build(context)
391
+ unless context.config.regional_endpoint
392
+ endpoint = context.config.endpoint.to_s
393
+ end
394
+ Aws::EventBridge::EndpointParameters.new(
395
+ region: context.config.region,
396
+ use_dual_stack: context.config.use_dualstack_endpoint,
397
+ use_fips: context.config.use_fips_endpoint,
398
+ endpoint: endpoint,
399
+ endpoint_id: nil,
400
+ )
401
+ end
402
+ end
403
+
404
+ class DisableRule
405
+ def self.build(context)
406
+ unless context.config.regional_endpoint
407
+ endpoint = context.config.endpoint.to_s
408
+ end
409
+ Aws::EventBridge::EndpointParameters.new(
410
+ region: context.config.region,
411
+ use_dual_stack: context.config.use_dualstack_endpoint,
412
+ use_fips: context.config.use_fips_endpoint,
413
+ endpoint: endpoint,
414
+ endpoint_id: nil,
415
+ )
416
+ end
417
+ end
418
+
419
+ class EnableRule
420
+ def self.build(context)
421
+ unless context.config.regional_endpoint
422
+ endpoint = context.config.endpoint.to_s
423
+ end
424
+ Aws::EventBridge::EndpointParameters.new(
425
+ region: context.config.region,
426
+ use_dual_stack: context.config.use_dualstack_endpoint,
427
+ use_fips: context.config.use_fips_endpoint,
428
+ endpoint: endpoint,
429
+ endpoint_id: nil,
430
+ )
431
+ end
432
+ end
433
+
434
+ class ListApiDestinations
435
+ def self.build(context)
436
+ unless context.config.regional_endpoint
437
+ endpoint = context.config.endpoint.to_s
438
+ end
439
+ Aws::EventBridge::EndpointParameters.new(
440
+ region: context.config.region,
441
+ use_dual_stack: context.config.use_dualstack_endpoint,
442
+ use_fips: context.config.use_fips_endpoint,
443
+ endpoint: endpoint,
444
+ endpoint_id: nil,
445
+ )
446
+ end
447
+ end
448
+
449
+ class ListArchives
450
+ def self.build(context)
451
+ unless context.config.regional_endpoint
452
+ endpoint = context.config.endpoint.to_s
453
+ end
454
+ Aws::EventBridge::EndpointParameters.new(
455
+ region: context.config.region,
456
+ use_dual_stack: context.config.use_dualstack_endpoint,
457
+ use_fips: context.config.use_fips_endpoint,
458
+ endpoint: endpoint,
459
+ endpoint_id: nil,
460
+ )
461
+ end
462
+ end
463
+
464
+ class ListConnections
465
+ def self.build(context)
466
+ unless context.config.regional_endpoint
467
+ endpoint = context.config.endpoint.to_s
468
+ end
469
+ Aws::EventBridge::EndpointParameters.new(
470
+ region: context.config.region,
471
+ use_dual_stack: context.config.use_dualstack_endpoint,
472
+ use_fips: context.config.use_fips_endpoint,
473
+ endpoint: endpoint,
474
+ endpoint_id: nil,
475
+ )
476
+ end
477
+ end
478
+
479
+ class ListEndpoints
480
+ def self.build(context)
481
+ unless context.config.regional_endpoint
482
+ endpoint = context.config.endpoint.to_s
483
+ end
484
+ Aws::EventBridge::EndpointParameters.new(
485
+ region: context.config.region,
486
+ use_dual_stack: context.config.use_dualstack_endpoint,
487
+ use_fips: context.config.use_fips_endpoint,
488
+ endpoint: endpoint,
489
+ endpoint_id: nil,
490
+ )
491
+ end
492
+ end
493
+
494
+ class ListEventBuses
495
+ def self.build(context)
496
+ unless context.config.regional_endpoint
497
+ endpoint = context.config.endpoint.to_s
498
+ end
499
+ Aws::EventBridge::EndpointParameters.new(
500
+ region: context.config.region,
501
+ use_dual_stack: context.config.use_dualstack_endpoint,
502
+ use_fips: context.config.use_fips_endpoint,
503
+ endpoint: endpoint,
504
+ endpoint_id: nil,
505
+ )
506
+ end
507
+ end
508
+
509
+ class ListEventSources
510
+ def self.build(context)
511
+ unless context.config.regional_endpoint
512
+ endpoint = context.config.endpoint.to_s
513
+ end
514
+ Aws::EventBridge::EndpointParameters.new(
515
+ region: context.config.region,
516
+ use_dual_stack: context.config.use_dualstack_endpoint,
517
+ use_fips: context.config.use_fips_endpoint,
518
+ endpoint: endpoint,
519
+ endpoint_id: nil,
520
+ )
521
+ end
522
+ end
523
+
524
+ class ListPartnerEventSourceAccounts
525
+ def self.build(context)
526
+ unless context.config.regional_endpoint
527
+ endpoint = context.config.endpoint.to_s
528
+ end
529
+ Aws::EventBridge::EndpointParameters.new(
530
+ region: context.config.region,
531
+ use_dual_stack: context.config.use_dualstack_endpoint,
532
+ use_fips: context.config.use_fips_endpoint,
533
+ endpoint: endpoint,
534
+ endpoint_id: nil,
535
+ )
536
+ end
537
+ end
538
+
539
+ class ListPartnerEventSources
540
+ def self.build(context)
541
+ unless context.config.regional_endpoint
542
+ endpoint = context.config.endpoint.to_s
543
+ end
544
+ Aws::EventBridge::EndpointParameters.new(
545
+ region: context.config.region,
546
+ use_dual_stack: context.config.use_dualstack_endpoint,
547
+ use_fips: context.config.use_fips_endpoint,
548
+ endpoint: endpoint,
549
+ endpoint_id: nil,
550
+ )
551
+ end
552
+ end
553
+
554
+ class ListReplays
555
+ def self.build(context)
556
+ unless context.config.regional_endpoint
557
+ endpoint = context.config.endpoint.to_s
558
+ end
559
+ Aws::EventBridge::EndpointParameters.new(
560
+ region: context.config.region,
561
+ use_dual_stack: context.config.use_dualstack_endpoint,
562
+ use_fips: context.config.use_fips_endpoint,
563
+ endpoint: endpoint,
564
+ endpoint_id: nil,
565
+ )
566
+ end
567
+ end
568
+
569
+ class ListRuleNamesByTarget
570
+ def self.build(context)
571
+ unless context.config.regional_endpoint
572
+ endpoint = context.config.endpoint.to_s
573
+ end
574
+ Aws::EventBridge::EndpointParameters.new(
575
+ region: context.config.region,
576
+ use_dual_stack: context.config.use_dualstack_endpoint,
577
+ use_fips: context.config.use_fips_endpoint,
578
+ endpoint: endpoint,
579
+ endpoint_id: nil,
580
+ )
581
+ end
582
+ end
583
+
584
+ class ListRules
585
+ def self.build(context)
586
+ unless context.config.regional_endpoint
587
+ endpoint = context.config.endpoint.to_s
588
+ end
589
+ Aws::EventBridge::EndpointParameters.new(
590
+ region: context.config.region,
591
+ use_dual_stack: context.config.use_dualstack_endpoint,
592
+ use_fips: context.config.use_fips_endpoint,
593
+ endpoint: endpoint,
594
+ endpoint_id: nil,
595
+ )
596
+ end
597
+ end
598
+
599
+ class ListTagsForResource
600
+ def self.build(context)
601
+ unless context.config.regional_endpoint
602
+ endpoint = context.config.endpoint.to_s
603
+ end
604
+ Aws::EventBridge::EndpointParameters.new(
605
+ region: context.config.region,
606
+ use_dual_stack: context.config.use_dualstack_endpoint,
607
+ use_fips: context.config.use_fips_endpoint,
608
+ endpoint: endpoint,
609
+ endpoint_id: nil,
610
+ )
611
+ end
612
+ end
613
+
614
+ class ListTargetsByRule
615
+ def self.build(context)
616
+ unless context.config.regional_endpoint
617
+ endpoint = context.config.endpoint.to_s
618
+ end
619
+ Aws::EventBridge::EndpointParameters.new(
620
+ region: context.config.region,
621
+ use_dual_stack: context.config.use_dualstack_endpoint,
622
+ use_fips: context.config.use_fips_endpoint,
623
+ endpoint: endpoint,
624
+ endpoint_id: nil,
625
+ )
626
+ end
627
+ end
628
+
629
+ class PutEvents
630
+ def self.build(context)
631
+ unless context.config.regional_endpoint
632
+ endpoint = context.config.endpoint.to_s
633
+ end
634
+ Aws::EventBridge::EndpointParameters.new(
635
+ region: context.config.region,
636
+ use_dual_stack: context.config.use_dualstack_endpoint,
637
+ use_fips: context.config.use_fips_endpoint,
638
+ endpoint: endpoint,
639
+ endpoint_id: context.params[:endpoint_id],
640
+ )
641
+ end
642
+ end
643
+
644
+ class PutPartnerEvents
645
+ def self.build(context)
646
+ unless context.config.regional_endpoint
647
+ endpoint = context.config.endpoint.to_s
648
+ end
649
+ Aws::EventBridge::EndpointParameters.new(
650
+ region: context.config.region,
651
+ use_dual_stack: context.config.use_dualstack_endpoint,
652
+ use_fips: context.config.use_fips_endpoint,
653
+ endpoint: endpoint,
654
+ endpoint_id: nil,
655
+ )
656
+ end
657
+ end
658
+
659
+ class PutPermission
660
+ def self.build(context)
661
+ unless context.config.regional_endpoint
662
+ endpoint = context.config.endpoint.to_s
663
+ end
664
+ Aws::EventBridge::EndpointParameters.new(
665
+ region: context.config.region,
666
+ use_dual_stack: context.config.use_dualstack_endpoint,
667
+ use_fips: context.config.use_fips_endpoint,
668
+ endpoint: endpoint,
669
+ endpoint_id: nil,
670
+ )
671
+ end
672
+ end
673
+
674
+ class PutRule
675
+ def self.build(context)
676
+ unless context.config.regional_endpoint
677
+ endpoint = context.config.endpoint.to_s
678
+ end
679
+ Aws::EventBridge::EndpointParameters.new(
680
+ region: context.config.region,
681
+ use_dual_stack: context.config.use_dualstack_endpoint,
682
+ use_fips: context.config.use_fips_endpoint,
683
+ endpoint: endpoint,
684
+ endpoint_id: nil,
685
+ )
686
+ end
687
+ end
688
+
689
+ class PutTargets
690
+ def self.build(context)
691
+ unless context.config.regional_endpoint
692
+ endpoint = context.config.endpoint.to_s
693
+ end
694
+ Aws::EventBridge::EndpointParameters.new(
695
+ region: context.config.region,
696
+ use_dual_stack: context.config.use_dualstack_endpoint,
697
+ use_fips: context.config.use_fips_endpoint,
698
+ endpoint: endpoint,
699
+ endpoint_id: nil,
700
+ )
701
+ end
702
+ end
703
+
704
+ class RemovePermission
705
+ def self.build(context)
706
+ unless context.config.regional_endpoint
707
+ endpoint = context.config.endpoint.to_s
708
+ end
709
+ Aws::EventBridge::EndpointParameters.new(
710
+ region: context.config.region,
711
+ use_dual_stack: context.config.use_dualstack_endpoint,
712
+ use_fips: context.config.use_fips_endpoint,
713
+ endpoint: endpoint,
714
+ endpoint_id: nil,
715
+ )
716
+ end
717
+ end
718
+
719
+ class RemoveTargets
720
+ def self.build(context)
721
+ unless context.config.regional_endpoint
722
+ endpoint = context.config.endpoint.to_s
723
+ end
724
+ Aws::EventBridge::EndpointParameters.new(
725
+ region: context.config.region,
726
+ use_dual_stack: context.config.use_dualstack_endpoint,
727
+ use_fips: context.config.use_fips_endpoint,
728
+ endpoint: endpoint,
729
+ endpoint_id: nil,
730
+ )
731
+ end
732
+ end
733
+
734
+ class StartReplay
735
+ def self.build(context)
736
+ unless context.config.regional_endpoint
737
+ endpoint = context.config.endpoint.to_s
738
+ end
739
+ Aws::EventBridge::EndpointParameters.new(
740
+ region: context.config.region,
741
+ use_dual_stack: context.config.use_dualstack_endpoint,
742
+ use_fips: context.config.use_fips_endpoint,
743
+ endpoint: endpoint,
744
+ endpoint_id: nil,
745
+ )
746
+ end
747
+ end
748
+
749
+ class TagResource
750
+ def self.build(context)
751
+ unless context.config.regional_endpoint
752
+ endpoint = context.config.endpoint.to_s
753
+ end
754
+ Aws::EventBridge::EndpointParameters.new(
755
+ region: context.config.region,
756
+ use_dual_stack: context.config.use_dualstack_endpoint,
757
+ use_fips: context.config.use_fips_endpoint,
758
+ endpoint: endpoint,
759
+ endpoint_id: nil,
760
+ )
761
+ end
762
+ end
763
+
764
+ class TestEventPattern
765
+ def self.build(context)
766
+ unless context.config.regional_endpoint
767
+ endpoint = context.config.endpoint.to_s
768
+ end
769
+ Aws::EventBridge::EndpointParameters.new(
770
+ region: context.config.region,
771
+ use_dual_stack: context.config.use_dualstack_endpoint,
772
+ use_fips: context.config.use_fips_endpoint,
773
+ endpoint: endpoint,
774
+ endpoint_id: nil,
775
+ )
776
+ end
777
+ end
778
+
779
+ class UntagResource
780
+ def self.build(context)
781
+ unless context.config.regional_endpoint
782
+ endpoint = context.config.endpoint.to_s
783
+ end
784
+ Aws::EventBridge::EndpointParameters.new(
785
+ region: context.config.region,
786
+ use_dual_stack: context.config.use_dualstack_endpoint,
787
+ use_fips: context.config.use_fips_endpoint,
788
+ endpoint: endpoint,
789
+ endpoint_id: nil,
790
+ )
791
+ end
792
+ end
793
+
794
+ class UpdateApiDestination
795
+ def self.build(context)
796
+ unless context.config.regional_endpoint
797
+ endpoint = context.config.endpoint.to_s
798
+ end
799
+ Aws::EventBridge::EndpointParameters.new(
800
+ region: context.config.region,
801
+ use_dual_stack: context.config.use_dualstack_endpoint,
802
+ use_fips: context.config.use_fips_endpoint,
803
+ endpoint: endpoint,
804
+ endpoint_id: nil,
805
+ )
806
+ end
807
+ end
808
+
809
+ class UpdateArchive
810
+ def self.build(context)
811
+ unless context.config.regional_endpoint
812
+ endpoint = context.config.endpoint.to_s
813
+ end
814
+ Aws::EventBridge::EndpointParameters.new(
815
+ region: context.config.region,
816
+ use_dual_stack: context.config.use_dualstack_endpoint,
817
+ use_fips: context.config.use_fips_endpoint,
818
+ endpoint: endpoint,
819
+ endpoint_id: nil,
820
+ )
821
+ end
822
+ end
823
+
824
+ class UpdateConnection
825
+ def self.build(context)
826
+ unless context.config.regional_endpoint
827
+ endpoint = context.config.endpoint.to_s
828
+ end
829
+ Aws::EventBridge::EndpointParameters.new(
830
+ region: context.config.region,
831
+ use_dual_stack: context.config.use_dualstack_endpoint,
832
+ use_fips: context.config.use_fips_endpoint,
833
+ endpoint: endpoint,
834
+ endpoint_id: nil,
835
+ )
836
+ end
837
+ end
838
+
839
+ class UpdateEndpoint
840
+ def self.build(context)
841
+ unless context.config.regional_endpoint
842
+ endpoint = context.config.endpoint.to_s
843
+ end
844
+ Aws::EventBridge::EndpointParameters.new(
845
+ region: context.config.region,
846
+ use_dual_stack: context.config.use_dualstack_endpoint,
847
+ use_fips: context.config.use_fips_endpoint,
848
+ endpoint: endpoint,
849
+ endpoint_id: nil,
850
+ )
851
+ end
852
+ end
853
+
854
+ end
855
+ end