aws-sdk-eventbridge 1.71.0 → 1.73.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1fc2545ca9a725ed7c70ab5aa3d22f92152d8f159f3936e77eb27a7056b7baf
4
- data.tar.gz: de1a586ca60e991c1e273e31aa75c0781a411c1212d50dbec5fedfb8b0dc4b14
3
+ metadata.gz: bee29a2d54938366e2e4bf5eb24d12173815ddb315741d40fd28eeec33105964
4
+ data.tar.gz: e21e2d11dfb8e4a11244127fce67e78b1df40a8bac3546a7ac16745215e78282
5
5
  SHA512:
6
- metadata.gz: 6c5afb3ee985afab81573e395b4746e7f5381af70a235b80470b423a377a451ff2d024b411aa67e5586660e17293ce39b5e7c8b95a2f12feea8d4bcbd2a42a17
7
- data.tar.gz: 9af832c377ab00e401f9ac8f8dd6e19eb2eeefa09cc3919b9f147e75cb98713efd51a7a76b479024808eadcbbbe0b75055b53f1dfd672404825c485c240d0ae9
6
+ metadata.gz: 5b0a6e89edab7eb425ed0f87796390523aa3d758ffc0721f8ea60fa379bfac478b2f0f8175b7d3bfb782329ab975b5f056cb6694078fdc9dca874b77726ae710
7
+ data.tar.gz: 6602913447af063d9f67c578c079efdc6dccc4b4323a88bb096ba78edb7ec5b07b8c345d4ec1782dc10a37ef9e963ef221877d55f3f71d969b14de515af61acc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.0 (2024-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.72.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.71.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.73.0
@@ -4057,7 +4057,7 @@ module Aws::EventBridge
4057
4057
  tracer: tracer
4058
4058
  )
4059
4059
  context[:gem_name] = 'aws-sdk-eventbridge'
4060
- context[:gem_version] = '1.71.0'
4060
+ context[:gem_version] = '1.73.0'
4061
4061
  Seahorse::Client::Request.new(handlers, context)
4062
4062
  end
4063
4063
 
@@ -59,16 +59,19 @@ module Aws::EventBridge
59
59
  self[:region] = options[:region]
60
60
  self[:use_dual_stack] = options[:use_dual_stack]
61
61
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
62
- if self[:use_dual_stack].nil?
63
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
64
- end
65
62
  self[:use_fips] = options[:use_fips]
66
63
  self[:use_fips] = false if self[:use_fips].nil?
67
- if self[:use_fips].nil?
68
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
69
- end
70
64
  self[:endpoint] = options[:endpoint]
71
65
  self[:endpoint_id] = options[:endpoint_id]
72
66
  end
67
+
68
+ def self.create(config, options={})
69
+ new({
70
+ region: config.region,
71
+ use_dual_stack: config.use_dualstack_endpoint,
72
+ use_fips: config.use_fips_endpoint,
73
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
74
+ }.merge(options))
75
+ end
73
76
  end
74
77
  end
@@ -12,689 +12,23 @@ module Aws::EventBridge
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class ActivateEventSource
16
- def self.build(context)
17
- Aws::EventBridge::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- endpoint_id: nil,
23
- )
24
- end
25
- end
26
-
27
- class CancelReplay
28
- def self.build(context)
29
- Aws::EventBridge::EndpointParameters.new(
30
- region: context.config.region,
31
- use_dual_stack: context.config.use_dualstack_endpoint,
32
- use_fips: context.config.use_fips_endpoint,
33
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
34
- endpoint_id: nil,
35
- )
36
- end
37
- end
38
-
39
- class CreateApiDestination
40
- def self.build(context)
41
- Aws::EventBridge::EndpointParameters.new(
42
- region: context.config.region,
43
- use_dual_stack: context.config.use_dualstack_endpoint,
44
- use_fips: context.config.use_fips_endpoint,
45
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
46
- endpoint_id: nil,
47
- )
48
- end
49
- end
50
-
51
- class CreateArchive
52
- def self.build(context)
53
- Aws::EventBridge::EndpointParameters.new(
54
- region: context.config.region,
55
- use_dual_stack: context.config.use_dualstack_endpoint,
56
- use_fips: context.config.use_fips_endpoint,
57
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
58
- endpoint_id: nil,
59
- )
60
- end
61
- end
62
-
63
- class CreateConnection
64
- def self.build(context)
65
- Aws::EventBridge::EndpointParameters.new(
66
- region: context.config.region,
67
- use_dual_stack: context.config.use_dualstack_endpoint,
68
- use_fips: context.config.use_fips_endpoint,
69
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
70
- endpoint_id: nil,
71
- )
72
- end
73
- end
74
-
75
- class CreateEndpoint
76
- def self.build(context)
77
- Aws::EventBridge::EndpointParameters.new(
78
- region: context.config.region,
79
- use_dual_stack: context.config.use_dualstack_endpoint,
80
- use_fips: context.config.use_fips_endpoint,
81
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
82
- endpoint_id: nil,
83
- )
84
- end
85
- end
86
-
87
- class CreateEventBus
88
- def self.build(context)
89
- Aws::EventBridge::EndpointParameters.new(
90
- region: context.config.region,
91
- use_dual_stack: context.config.use_dualstack_endpoint,
92
- use_fips: context.config.use_fips_endpoint,
93
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
94
- endpoint_id: nil,
95
- )
96
- end
97
- end
98
-
99
- class CreatePartnerEventSource
100
- def self.build(context)
101
- Aws::EventBridge::EndpointParameters.new(
102
- region: context.config.region,
103
- use_dual_stack: context.config.use_dualstack_endpoint,
104
- use_fips: context.config.use_fips_endpoint,
105
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
106
- endpoint_id: nil,
107
- )
108
- end
109
- end
110
-
111
- class DeactivateEventSource
112
- def self.build(context)
113
- Aws::EventBridge::EndpointParameters.new(
114
- region: context.config.region,
115
- use_dual_stack: context.config.use_dualstack_endpoint,
116
- use_fips: context.config.use_fips_endpoint,
117
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
118
- endpoint_id: nil,
119
- )
120
- end
121
- end
122
-
123
- class DeauthorizeConnection
124
- def self.build(context)
125
- Aws::EventBridge::EndpointParameters.new(
126
- region: context.config.region,
127
- use_dual_stack: context.config.use_dualstack_endpoint,
128
- use_fips: context.config.use_fips_endpoint,
129
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
130
- endpoint_id: nil,
131
- )
132
- end
133
- end
134
-
135
- class DeleteApiDestination
136
- def self.build(context)
137
- Aws::EventBridge::EndpointParameters.new(
138
- region: context.config.region,
139
- use_dual_stack: context.config.use_dualstack_endpoint,
140
- use_fips: context.config.use_fips_endpoint,
141
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
142
- endpoint_id: nil,
143
- )
144
- end
145
- end
146
-
147
- class DeleteArchive
148
- def self.build(context)
149
- Aws::EventBridge::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- endpoint_id: nil,
155
- )
156
- end
157
- end
158
-
159
- class DeleteConnection
160
- def self.build(context)
161
- Aws::EventBridge::EndpointParameters.new(
162
- region: context.config.region,
163
- use_dual_stack: context.config.use_dualstack_endpoint,
164
- use_fips: context.config.use_fips_endpoint,
165
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
166
- endpoint_id: nil,
167
- )
168
- end
169
- end
170
-
171
- class DeleteEndpoint
172
- def self.build(context)
173
- Aws::EventBridge::EndpointParameters.new(
174
- region: context.config.region,
175
- use_dual_stack: context.config.use_dualstack_endpoint,
176
- use_fips: context.config.use_fips_endpoint,
177
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
178
- endpoint_id: nil,
179
- )
180
- end
181
- end
182
-
183
- class DeleteEventBus
184
- def self.build(context)
185
- Aws::EventBridge::EndpointParameters.new(
186
- region: context.config.region,
187
- use_dual_stack: context.config.use_dualstack_endpoint,
188
- use_fips: context.config.use_fips_endpoint,
189
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
190
- endpoint_id: nil,
191
- )
192
- end
193
- end
194
-
195
- class DeletePartnerEventSource
196
- def self.build(context)
197
- Aws::EventBridge::EndpointParameters.new(
198
- region: context.config.region,
199
- use_dual_stack: context.config.use_dualstack_endpoint,
200
- use_fips: context.config.use_fips_endpoint,
201
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
202
- endpoint_id: nil,
203
- )
204
- end
205
- end
206
-
207
- class DeleteRule
208
- def self.build(context)
209
- Aws::EventBridge::EndpointParameters.new(
210
- region: context.config.region,
211
- use_dual_stack: context.config.use_dualstack_endpoint,
212
- use_fips: context.config.use_fips_endpoint,
213
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
214
- endpoint_id: nil,
215
- )
216
- end
217
- end
218
-
219
- class DescribeApiDestination
220
- def self.build(context)
221
- Aws::EventBridge::EndpointParameters.new(
222
- region: context.config.region,
223
- use_dual_stack: context.config.use_dualstack_endpoint,
224
- use_fips: context.config.use_fips_endpoint,
225
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
226
- endpoint_id: nil,
227
- )
228
- end
229
- end
230
-
231
- class DescribeArchive
232
- def self.build(context)
233
- Aws::EventBridge::EndpointParameters.new(
234
- region: context.config.region,
235
- use_dual_stack: context.config.use_dualstack_endpoint,
236
- use_fips: context.config.use_fips_endpoint,
237
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
238
- endpoint_id: nil,
239
- )
240
- end
241
- end
242
-
243
- class DescribeConnection
244
- def self.build(context)
245
- Aws::EventBridge::EndpointParameters.new(
246
- region: context.config.region,
247
- use_dual_stack: context.config.use_dualstack_endpoint,
248
- use_fips: context.config.use_fips_endpoint,
249
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
250
- endpoint_id: nil,
251
- )
252
- end
253
- end
254
-
255
- class DescribeEndpoint
256
- def self.build(context)
257
- Aws::EventBridge::EndpointParameters.new(
258
- region: context.config.region,
259
- use_dual_stack: context.config.use_dualstack_endpoint,
260
- use_fips: context.config.use_fips_endpoint,
261
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
262
- endpoint_id: nil,
263
- )
264
- end
265
- end
266
-
267
- class DescribeEventBus
268
- def self.build(context)
269
- Aws::EventBridge::EndpointParameters.new(
270
- region: context.config.region,
271
- use_dual_stack: context.config.use_dualstack_endpoint,
272
- use_fips: context.config.use_fips_endpoint,
273
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
274
- endpoint_id: nil,
275
- )
276
- end
277
- end
278
-
279
- class DescribeEventSource
280
- def self.build(context)
281
- Aws::EventBridge::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- endpoint_id: nil,
287
- )
288
- end
289
- end
290
-
291
- class DescribePartnerEventSource
292
- def self.build(context)
293
- Aws::EventBridge::EndpointParameters.new(
294
- region: context.config.region,
295
- use_dual_stack: context.config.use_dualstack_endpoint,
296
- use_fips: context.config.use_fips_endpoint,
297
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
298
- endpoint_id: nil,
299
- )
300
- end
301
- end
302
-
303
- class DescribeReplay
304
- def self.build(context)
305
- Aws::EventBridge::EndpointParameters.new(
306
- region: context.config.region,
307
- use_dual_stack: context.config.use_dualstack_endpoint,
308
- use_fips: context.config.use_fips_endpoint,
309
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
310
- endpoint_id: nil,
311
- )
312
- end
313
- end
314
-
315
- class DescribeRule
316
- def self.build(context)
317
- Aws::EventBridge::EndpointParameters.new(
318
- region: context.config.region,
319
- use_dual_stack: context.config.use_dualstack_endpoint,
320
- use_fips: context.config.use_fips_endpoint,
321
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
322
- endpoint_id: nil,
323
- )
324
- end
325
- end
326
-
327
- class DisableRule
328
- def self.build(context)
329
- Aws::EventBridge::EndpointParameters.new(
330
- region: context.config.region,
331
- use_dual_stack: context.config.use_dualstack_endpoint,
332
- use_fips: context.config.use_fips_endpoint,
333
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
334
- endpoint_id: nil,
335
- )
336
- end
337
- end
338
-
339
- class EnableRule
340
- def self.build(context)
341
- Aws::EventBridge::EndpointParameters.new(
342
- region: context.config.region,
343
- use_dual_stack: context.config.use_dualstack_endpoint,
344
- use_fips: context.config.use_fips_endpoint,
345
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
346
- endpoint_id: nil,
347
- )
348
- end
349
- end
350
-
351
- class ListApiDestinations
352
- def self.build(context)
353
- Aws::EventBridge::EndpointParameters.new(
354
- region: context.config.region,
355
- use_dual_stack: context.config.use_dualstack_endpoint,
356
- use_fips: context.config.use_fips_endpoint,
357
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
358
- endpoint_id: nil,
359
- )
360
- end
361
- end
362
-
363
- class ListArchives
364
- def self.build(context)
365
- Aws::EventBridge::EndpointParameters.new(
366
- region: context.config.region,
367
- use_dual_stack: context.config.use_dualstack_endpoint,
368
- use_fips: context.config.use_fips_endpoint,
369
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
370
- endpoint_id: nil,
371
- )
372
- end
373
- end
374
-
375
- class ListConnections
376
- def self.build(context)
377
- Aws::EventBridge::EndpointParameters.new(
378
- region: context.config.region,
379
- use_dual_stack: context.config.use_dualstack_endpoint,
380
- use_fips: context.config.use_fips_endpoint,
381
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
382
- endpoint_id: nil,
383
- )
384
- end
385
- end
386
-
387
- class ListEndpoints
388
- def self.build(context)
389
- Aws::EventBridge::EndpointParameters.new(
390
- region: context.config.region,
391
- use_dual_stack: context.config.use_dualstack_endpoint,
392
- use_fips: context.config.use_fips_endpoint,
393
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
394
- endpoint_id: nil,
395
- )
396
- end
397
- end
398
-
399
- class ListEventBuses
400
- def self.build(context)
401
- Aws::EventBridge::EndpointParameters.new(
402
- region: context.config.region,
403
- use_dual_stack: context.config.use_dualstack_endpoint,
404
- use_fips: context.config.use_fips_endpoint,
405
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
406
- endpoint_id: nil,
407
- )
408
- end
409
- end
410
-
411
- class ListEventSources
412
- def self.build(context)
413
- Aws::EventBridge::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- endpoint_id: nil,
419
- )
420
- end
421
- end
422
-
423
- class ListPartnerEventSourceAccounts
424
- def self.build(context)
425
- Aws::EventBridge::EndpointParameters.new(
426
- region: context.config.region,
427
- use_dual_stack: context.config.use_dualstack_endpoint,
428
- use_fips: context.config.use_fips_endpoint,
429
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
430
- endpoint_id: nil,
431
- )
432
- end
433
- end
434
-
435
- class ListPartnerEventSources
436
- def self.build(context)
437
- Aws::EventBridge::EndpointParameters.new(
438
- region: context.config.region,
439
- use_dual_stack: context.config.use_dualstack_endpoint,
440
- use_fips: context.config.use_fips_endpoint,
441
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
442
- endpoint_id: nil,
443
- )
444
- end
445
- end
446
-
447
- class ListReplays
448
- def self.build(context)
449
- Aws::EventBridge::EndpointParameters.new(
450
- region: context.config.region,
451
- use_dual_stack: context.config.use_dualstack_endpoint,
452
- use_fips: context.config.use_fips_endpoint,
453
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
454
- endpoint_id: nil,
455
- )
456
- end
457
- end
458
-
459
- class ListRuleNamesByTarget
460
- def self.build(context)
461
- Aws::EventBridge::EndpointParameters.new(
462
- region: context.config.region,
463
- use_dual_stack: context.config.use_dualstack_endpoint,
464
- use_fips: context.config.use_fips_endpoint,
465
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
466
- endpoint_id: nil,
467
- )
468
- end
469
- end
470
-
471
- class ListRules
472
- def self.build(context)
473
- Aws::EventBridge::EndpointParameters.new(
474
- region: context.config.region,
475
- use_dual_stack: context.config.use_dualstack_endpoint,
476
- use_fips: context.config.use_fips_endpoint,
477
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
478
- endpoint_id: nil,
479
- )
480
- end
481
- end
482
-
483
- class ListTagsForResource
484
- def self.build(context)
485
- Aws::EventBridge::EndpointParameters.new(
486
- region: context.config.region,
487
- use_dual_stack: context.config.use_dualstack_endpoint,
488
- use_fips: context.config.use_fips_endpoint,
489
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
490
- endpoint_id: nil,
491
- )
492
- end
493
- end
494
-
495
- class ListTargetsByRule
496
- def self.build(context)
497
- Aws::EventBridge::EndpointParameters.new(
498
- region: context.config.region,
499
- use_dual_stack: context.config.use_dualstack_endpoint,
500
- use_fips: context.config.use_fips_endpoint,
501
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
502
- endpoint_id: nil,
503
- )
504
- end
505
- end
506
-
507
15
  class PutEvents
508
16
  def self.build(context)
509
- Aws::EventBridge::EndpointParameters.new(
510
- region: context.config.region,
511
- use_dual_stack: context.config.use_dualstack_endpoint,
512
- use_fips: context.config.use_fips_endpoint,
513
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
17
+ Aws::EventBridge::EndpointParameters.create(
18
+ context.config,
514
19
  endpoint_id: context.params[:endpoint_id],
515
20
  )
516
21
  end
517
22
  end
518
23
 
519
- class PutPartnerEvents
520
- def self.build(context)
521
- Aws::EventBridge::EndpointParameters.new(
522
- region: context.config.region,
523
- use_dual_stack: context.config.use_dualstack_endpoint,
524
- use_fips: context.config.use_fips_endpoint,
525
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
526
- endpoint_id: nil,
527
- )
528
- end
529
- end
530
-
531
- class PutPermission
532
- def self.build(context)
533
- Aws::EventBridge::EndpointParameters.new(
534
- region: context.config.region,
535
- use_dual_stack: context.config.use_dualstack_endpoint,
536
- use_fips: context.config.use_fips_endpoint,
537
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
538
- endpoint_id: nil,
539
- )
540
- end
541
- end
542
-
543
- class PutRule
544
- def self.build(context)
545
- Aws::EventBridge::EndpointParameters.new(
546
- region: context.config.region,
547
- use_dual_stack: context.config.use_dualstack_endpoint,
548
- use_fips: context.config.use_fips_endpoint,
549
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
550
- endpoint_id: nil,
551
- )
552
- end
553
- end
554
-
555
- class PutTargets
556
- def self.build(context)
557
- Aws::EventBridge::EndpointParameters.new(
558
- region: context.config.region,
559
- use_dual_stack: context.config.use_dualstack_endpoint,
560
- use_fips: context.config.use_fips_endpoint,
561
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
562
- endpoint_id: nil,
563
- )
564
- end
565
- end
566
24
 
567
- class RemovePermission
568
- def self.build(context)
569
- Aws::EventBridge::EndpointParameters.new(
570
- region: context.config.region,
571
- use_dual_stack: context.config.use_dualstack_endpoint,
572
- use_fips: context.config.use_fips_endpoint,
573
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
574
- endpoint_id: nil,
575
- )
25
+ def self.parameters_for_operation(context)
26
+ case context.operation_name
27
+ when :put_events
28
+ PutEvents.build(context)
29
+ else
30
+ Aws::EventBridge::EndpointParameters.create(context.config)
576
31
  end
577
32
  end
578
-
579
- class RemoveTargets
580
- def self.build(context)
581
- Aws::EventBridge::EndpointParameters.new(
582
- region: context.config.region,
583
- use_dual_stack: context.config.use_dualstack_endpoint,
584
- use_fips: context.config.use_fips_endpoint,
585
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
586
- endpoint_id: nil,
587
- )
588
- end
589
- end
590
-
591
- class StartReplay
592
- def self.build(context)
593
- Aws::EventBridge::EndpointParameters.new(
594
- region: context.config.region,
595
- use_dual_stack: context.config.use_dualstack_endpoint,
596
- use_fips: context.config.use_fips_endpoint,
597
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
598
- endpoint_id: nil,
599
- )
600
- end
601
- end
602
-
603
- class TagResource
604
- def self.build(context)
605
- Aws::EventBridge::EndpointParameters.new(
606
- region: context.config.region,
607
- use_dual_stack: context.config.use_dualstack_endpoint,
608
- use_fips: context.config.use_fips_endpoint,
609
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
610
- endpoint_id: nil,
611
- )
612
- end
613
- end
614
-
615
- class TestEventPattern
616
- def self.build(context)
617
- Aws::EventBridge::EndpointParameters.new(
618
- region: context.config.region,
619
- use_dual_stack: context.config.use_dualstack_endpoint,
620
- use_fips: context.config.use_fips_endpoint,
621
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
622
- endpoint_id: nil,
623
- )
624
- end
625
- end
626
-
627
- class UntagResource
628
- def self.build(context)
629
- Aws::EventBridge::EndpointParameters.new(
630
- region: context.config.region,
631
- use_dual_stack: context.config.use_dualstack_endpoint,
632
- use_fips: context.config.use_fips_endpoint,
633
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
634
- endpoint_id: nil,
635
- )
636
- end
637
- end
638
-
639
- class UpdateApiDestination
640
- def self.build(context)
641
- Aws::EventBridge::EndpointParameters.new(
642
- region: context.config.region,
643
- use_dual_stack: context.config.use_dualstack_endpoint,
644
- use_fips: context.config.use_fips_endpoint,
645
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
646
- endpoint_id: nil,
647
- )
648
- end
649
- end
650
-
651
- class UpdateArchive
652
- def self.build(context)
653
- Aws::EventBridge::EndpointParameters.new(
654
- region: context.config.region,
655
- use_dual_stack: context.config.use_dualstack_endpoint,
656
- use_fips: context.config.use_fips_endpoint,
657
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
658
- endpoint_id: nil,
659
- )
660
- end
661
- end
662
-
663
- class UpdateConnection
664
- def self.build(context)
665
- Aws::EventBridge::EndpointParameters.new(
666
- region: context.config.region,
667
- use_dual_stack: context.config.use_dualstack_endpoint,
668
- use_fips: context.config.use_fips_endpoint,
669
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
670
- endpoint_id: nil,
671
- )
672
- end
673
- end
674
-
675
- class UpdateEndpoint
676
- def self.build(context)
677
- Aws::EventBridge::EndpointParameters.new(
678
- region: context.config.region,
679
- use_dual_stack: context.config.use_dualstack_endpoint,
680
- use_fips: context.config.use_fips_endpoint,
681
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
682
- endpoint_id: nil,
683
- )
684
- end
685
- end
686
-
687
- class UpdateEventBus
688
- def self.build(context)
689
- Aws::EventBridge::EndpointParameters.new(
690
- region: context.config.region,
691
- use_dual_stack: context.config.use_dualstack_endpoint,
692
- use_fips: context.config.use_fips_endpoint,
693
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
694
- endpoint_id: nil,
695
- )
696
- end
697
- end
698
-
699
33
  end
700
34
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::EventBridge::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,125 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :activate_event_source
74
- Aws::EventBridge::Endpoints::ActivateEventSource.build(context)
75
- when :cancel_replay
76
- Aws::EventBridge::Endpoints::CancelReplay.build(context)
77
- when :create_api_destination
78
- Aws::EventBridge::Endpoints::CreateApiDestination.build(context)
79
- when :create_archive
80
- Aws::EventBridge::Endpoints::CreateArchive.build(context)
81
- when :create_connection
82
- Aws::EventBridge::Endpoints::CreateConnection.build(context)
83
- when :create_endpoint
84
- Aws::EventBridge::Endpoints::CreateEndpoint.build(context)
85
- when :create_event_bus
86
- Aws::EventBridge::Endpoints::CreateEventBus.build(context)
87
- when :create_partner_event_source
88
- Aws::EventBridge::Endpoints::CreatePartnerEventSource.build(context)
89
- when :deactivate_event_source
90
- Aws::EventBridge::Endpoints::DeactivateEventSource.build(context)
91
- when :deauthorize_connection
92
- Aws::EventBridge::Endpoints::DeauthorizeConnection.build(context)
93
- when :delete_api_destination
94
- Aws::EventBridge::Endpoints::DeleteApiDestination.build(context)
95
- when :delete_archive
96
- Aws::EventBridge::Endpoints::DeleteArchive.build(context)
97
- when :delete_connection
98
- Aws::EventBridge::Endpoints::DeleteConnection.build(context)
99
- when :delete_endpoint
100
- Aws::EventBridge::Endpoints::DeleteEndpoint.build(context)
101
- when :delete_event_bus
102
- Aws::EventBridge::Endpoints::DeleteEventBus.build(context)
103
- when :delete_partner_event_source
104
- Aws::EventBridge::Endpoints::DeletePartnerEventSource.build(context)
105
- when :delete_rule
106
- Aws::EventBridge::Endpoints::DeleteRule.build(context)
107
- when :describe_api_destination
108
- Aws::EventBridge::Endpoints::DescribeApiDestination.build(context)
109
- when :describe_archive
110
- Aws::EventBridge::Endpoints::DescribeArchive.build(context)
111
- when :describe_connection
112
- Aws::EventBridge::Endpoints::DescribeConnection.build(context)
113
- when :describe_endpoint
114
- Aws::EventBridge::Endpoints::DescribeEndpoint.build(context)
115
- when :describe_event_bus
116
- Aws::EventBridge::Endpoints::DescribeEventBus.build(context)
117
- when :describe_event_source
118
- Aws::EventBridge::Endpoints::DescribeEventSource.build(context)
119
- when :describe_partner_event_source
120
- Aws::EventBridge::Endpoints::DescribePartnerEventSource.build(context)
121
- when :describe_replay
122
- Aws::EventBridge::Endpoints::DescribeReplay.build(context)
123
- when :describe_rule
124
- Aws::EventBridge::Endpoints::DescribeRule.build(context)
125
- when :disable_rule
126
- Aws::EventBridge::Endpoints::DisableRule.build(context)
127
- when :enable_rule
128
- Aws::EventBridge::Endpoints::EnableRule.build(context)
129
- when :list_api_destinations
130
- Aws::EventBridge::Endpoints::ListApiDestinations.build(context)
131
- when :list_archives
132
- Aws::EventBridge::Endpoints::ListArchives.build(context)
133
- when :list_connections
134
- Aws::EventBridge::Endpoints::ListConnections.build(context)
135
- when :list_endpoints
136
- Aws::EventBridge::Endpoints::ListEndpoints.build(context)
137
- when :list_event_buses
138
- Aws::EventBridge::Endpoints::ListEventBuses.build(context)
139
- when :list_event_sources
140
- Aws::EventBridge::Endpoints::ListEventSources.build(context)
141
- when :list_partner_event_source_accounts
142
- Aws::EventBridge::Endpoints::ListPartnerEventSourceAccounts.build(context)
143
- when :list_partner_event_sources
144
- Aws::EventBridge::Endpoints::ListPartnerEventSources.build(context)
145
- when :list_replays
146
- Aws::EventBridge::Endpoints::ListReplays.build(context)
147
- when :list_rule_names_by_target
148
- Aws::EventBridge::Endpoints::ListRuleNamesByTarget.build(context)
149
- when :list_rules
150
- Aws::EventBridge::Endpoints::ListRules.build(context)
151
- when :list_tags_for_resource
152
- Aws::EventBridge::Endpoints::ListTagsForResource.build(context)
153
- when :list_targets_by_rule
154
- Aws::EventBridge::Endpoints::ListTargetsByRule.build(context)
155
- when :put_events
156
- Aws::EventBridge::Endpoints::PutEvents.build(context)
157
- when :put_partner_events
158
- Aws::EventBridge::Endpoints::PutPartnerEvents.build(context)
159
- when :put_permission
160
- Aws::EventBridge::Endpoints::PutPermission.build(context)
161
- when :put_rule
162
- Aws::EventBridge::Endpoints::PutRule.build(context)
163
- when :put_targets
164
- Aws::EventBridge::Endpoints::PutTargets.build(context)
165
- when :remove_permission
166
- Aws::EventBridge::Endpoints::RemovePermission.build(context)
167
- when :remove_targets
168
- Aws::EventBridge::Endpoints::RemoveTargets.build(context)
169
- when :start_replay
170
- Aws::EventBridge::Endpoints::StartReplay.build(context)
171
- when :tag_resource
172
- Aws::EventBridge::Endpoints::TagResource.build(context)
173
- when :test_event_pattern
174
- Aws::EventBridge::Endpoints::TestEventPattern.build(context)
175
- when :untag_resource
176
- Aws::EventBridge::Endpoints::UntagResource.build(context)
177
- when :update_api_destination
178
- Aws::EventBridge::Endpoints::UpdateApiDestination.build(context)
179
- when :update_archive
180
- Aws::EventBridge::Endpoints::UpdateArchive.build(context)
181
- when :update_connection
182
- Aws::EventBridge::Endpoints::UpdateConnection.build(context)
183
- when :update_endpoint
184
- Aws::EventBridge::Endpoints::UpdateEndpoint.build(context)
185
- when :update_event_bus
186
- Aws::EventBridge::Endpoints::UpdateEventBus.build(context)
187
- end
188
- end
189
70
  end
190
71
 
191
72
  def add_handlers(handlers, _config)
@@ -341,8 +341,8 @@ module Aws::EventBridge
341
341
  # `Value` fields. The `Value` field specifies the ID of the Amazon Web
342
342
  # Services organization. Following is an example value for `Condition`:
343
343
  #
344
- # `'\{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
345
- # "o-1234567890"\}'`
344
+ # `'{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
345
+ # "o-1234567890"}'`
346
346
  #
347
347
  # @!attribute [rw] type
348
348
  # Specifies the type of condition. Currently the only supported value
@@ -2535,14 +2535,14 @@ module Aws::EventBridge
2535
2535
  #
2536
2536
  # ` "InputTransformer":`
2537
2537
  #
2538
- # `\{`
2538
+ # `{`
2539
2539
  #
2540
- # `"InputPathsMap": \{"instance": "$.detail.instance","status":
2541
- # "$.detail.status"\},`
2540
+ # `"InputPathsMap": {"instance": "$.detail.instance","status":
2541
+ # "$.detail.status"},`
2542
2542
  #
2543
2543
  # `"InputTemplate": "<instance> is in state <status>"`
2544
2544
  #
2545
- # `\}`
2545
+ # `}`
2546
2546
  #
2547
2547
  # To have the `InputTemplate` include quote marks within a JSON
2548
2548
  # string, escape each quote marks with a slash, as in the following
@@ -2550,29 +2550,29 @@ module Aws::EventBridge
2550
2550
  #
2551
2551
  # ` "InputTransformer":`
2552
2552
  #
2553
- # `\{`
2553
+ # `{`
2554
2554
  #
2555
- # `"InputPathsMap": \{"instance": "$.detail.instance","status":
2556
- # "$.detail.status"\},`
2555
+ # `"InputPathsMap": {"instance": "$.detail.instance","status":
2556
+ # "$.detail.status"},`
2557
2557
  #
2558
2558
  # `"InputTemplate": "<instance> is in state "<status>""`
2559
2559
  #
2560
- # `\}`
2560
+ # `}`
2561
2561
  #
2562
2562
  # The `InputTemplate` can also be valid JSON with varibles in quotes
2563
2563
  # or out, as in the following example:
2564
2564
  #
2565
2565
  # ` "InputTransformer":`
2566
2566
  #
2567
- # `\{`
2567
+ # `{`
2568
2568
  #
2569
- # `"InputPathsMap": \{"instance": "$.detail.instance","status":
2570
- # "$.detail.status"\},`
2569
+ # `"InputPathsMap": {"instance": "$.detail.instance","status":
2570
+ # "$.detail.status"},`
2571
2571
  #
2572
- # `"InputTemplate": '\{"myInstance": <instance>,"myStatus":
2573
- # "<instance> is in state "<status>""\}'`
2572
+ # `"InputTemplate": '{"myInstance": <instance>,"myStatus": "<instance>
2573
+ # is in state "<status>""}'`
2574
2574
  #
2575
- # `\}`
2575
+ # `}`
2576
2576
  # @return [String]
2577
2577
  #
2578
2578
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/InputTransformer AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::EventBridge
54
54
  autoload :EndpointProvider, 'aws-sdk-eventbridge/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-eventbridge/endpoints'
56
56
 
57
- GEM_VERSION = '1.71.0'
57
+ GEM_VERSION = '1.73.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eventbridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.71.0
4
+ version: 1.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement