aws-sdk-eventbridge 1.67.0 → 1.69.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29373fe709896faad83ff26c36944a3b283be55f74b3ebb5134a1e56f3c79189
4
- data.tar.gz: 60c52ec1f1e803034c53300e5e4a87fba87aefd613e65cac18c68689f6fdc3b4
3
+ metadata.gz: e0426395747b0a150294d4b87697beaaa38049ae29c87d17979e4f90391f8dce
4
+ data.tar.gz: d0d06e1af54a785d35f76df328674e56609c4adf9c9282464803554789dd70b4
5
5
  SHA512:
6
- metadata.gz: 1ed5705a9f5a54f057599c7864570f9dbf70bc37fec91cd4fcb0e0910f0506e1cdc395bdb2382554a9a215bfc4fe48ee9c3992e8925eb483242cf22457e10f29
7
- data.tar.gz: 8a22cf3f8f4e1802355edbcc03d8380ea02cadf061e5bfefd0a37f3fc0ee96b924a586d037b60f383289fc383d9f0b6c84485a934b04dc51df1eb9347a63ccb0
6
+ metadata.gz: 2e43348cc9ed0a98085b8bd128502afbffae103dadb732b56373b3ac3d38af6be0235eff7badf832a2cb04c36839eefc1ffca5cb470da1490d8f7ef123c9e0a0
7
+ data.tar.gz: 502f4202f77801313b06b1f804ec3a83c23e2f39089273ee1492915700207fb3fd5daa7e6a6137788819e3a2b764b4174258889f795881d004177aaabddc4cb3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.69.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.68.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.67.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.69.0
@@ -130,13 +130,15 @@ module Aws::EventBridge
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::EventBridge
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -376,7 +380,9 @@ module Aws::EventBridge
376
380
  # sending the request.
377
381
  #
378
382
  # @option options [Aws::EventBridge::EndpointProvider] :endpoint_provider
379
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EventBridge::EndpointParameters`
383
+ # The endpoint provider used to resolve endpoints. Any object that responds to
384
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
385
+ # `Aws::EventBridge::EndpointParameters`.
380
386
  #
381
387
  # @option options [Float] :http_continue_timeout (1)
382
388
  # The number of seconds to wait for a 100-continue response before sending the
@@ -4053,7 +4059,7 @@ module Aws::EventBridge
4053
4059
  tracer: tracer
4054
4060
  )
4055
4061
  context[:gem_name] = 'aws-sdk-eventbridge'
4056
- context[:gem_version] = '1.67.0'
4062
+ context[:gem_version] = '1.69.0'
4057
4063
  Seahorse::Client::Request.new(handlers, context)
4058
4064
  end
4059
4065
 
@@ -14,14 +14,11 @@ module Aws::EventBridge
14
14
 
15
15
  class ActivateEventSource
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::EventBridge::EndpointParameters.new(
21
18
  region: context.config.region,
22
19
  use_dual_stack: context.config.use_dualstack_endpoint,
23
20
  use_fips: context.config.use_fips_endpoint,
24
- endpoint: endpoint,
21
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
25
22
  endpoint_id: nil,
26
23
  )
27
24
  end
@@ -29,14 +26,11 @@ module Aws::EventBridge
29
26
 
30
27
  class CancelReplay
31
28
  def self.build(context)
32
- unless context.config.regional_endpoint
33
- endpoint = context.config.endpoint.to_s
34
- end
35
29
  Aws::EventBridge::EndpointParameters.new(
36
30
  region: context.config.region,
37
31
  use_dual_stack: context.config.use_dualstack_endpoint,
38
32
  use_fips: context.config.use_fips_endpoint,
39
- endpoint: endpoint,
33
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
40
34
  endpoint_id: nil,
41
35
  )
42
36
  end
@@ -44,14 +38,11 @@ module Aws::EventBridge
44
38
 
45
39
  class CreateApiDestination
46
40
  def self.build(context)
47
- unless context.config.regional_endpoint
48
- endpoint = context.config.endpoint.to_s
49
- end
50
41
  Aws::EventBridge::EndpointParameters.new(
51
42
  region: context.config.region,
52
43
  use_dual_stack: context.config.use_dualstack_endpoint,
53
44
  use_fips: context.config.use_fips_endpoint,
54
- endpoint: endpoint,
45
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
46
  endpoint_id: nil,
56
47
  )
57
48
  end
@@ -59,14 +50,11 @@ module Aws::EventBridge
59
50
 
60
51
  class CreateArchive
61
52
  def self.build(context)
62
- unless context.config.regional_endpoint
63
- endpoint = context.config.endpoint.to_s
64
- end
65
53
  Aws::EventBridge::EndpointParameters.new(
66
54
  region: context.config.region,
67
55
  use_dual_stack: context.config.use_dualstack_endpoint,
68
56
  use_fips: context.config.use_fips_endpoint,
69
- endpoint: endpoint,
57
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
70
58
  endpoint_id: nil,
71
59
  )
72
60
  end
@@ -74,14 +62,11 @@ module Aws::EventBridge
74
62
 
75
63
  class CreateConnection
76
64
  def self.build(context)
77
- unless context.config.regional_endpoint
78
- endpoint = context.config.endpoint.to_s
79
- end
80
65
  Aws::EventBridge::EndpointParameters.new(
81
66
  region: context.config.region,
82
67
  use_dual_stack: context.config.use_dualstack_endpoint,
83
68
  use_fips: context.config.use_fips_endpoint,
84
- endpoint: endpoint,
69
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
85
70
  endpoint_id: nil,
86
71
  )
87
72
  end
@@ -89,14 +74,11 @@ module Aws::EventBridge
89
74
 
90
75
  class CreateEndpoint
91
76
  def self.build(context)
92
- unless context.config.regional_endpoint
93
- endpoint = context.config.endpoint.to_s
94
- end
95
77
  Aws::EventBridge::EndpointParameters.new(
96
78
  region: context.config.region,
97
79
  use_dual_stack: context.config.use_dualstack_endpoint,
98
80
  use_fips: context.config.use_fips_endpoint,
99
- endpoint: endpoint,
81
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
100
82
  endpoint_id: nil,
101
83
  )
102
84
  end
@@ -104,14 +86,11 @@ module Aws::EventBridge
104
86
 
105
87
  class CreateEventBus
106
88
  def self.build(context)
107
- unless context.config.regional_endpoint
108
- endpoint = context.config.endpoint.to_s
109
- end
110
89
  Aws::EventBridge::EndpointParameters.new(
111
90
  region: context.config.region,
112
91
  use_dual_stack: context.config.use_dualstack_endpoint,
113
92
  use_fips: context.config.use_fips_endpoint,
114
- endpoint: endpoint,
93
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
115
94
  endpoint_id: nil,
116
95
  )
117
96
  end
@@ -119,14 +98,11 @@ module Aws::EventBridge
119
98
 
120
99
  class CreatePartnerEventSource
121
100
  def self.build(context)
122
- unless context.config.regional_endpoint
123
- endpoint = context.config.endpoint.to_s
124
- end
125
101
  Aws::EventBridge::EndpointParameters.new(
126
102
  region: context.config.region,
127
103
  use_dual_stack: context.config.use_dualstack_endpoint,
128
104
  use_fips: context.config.use_fips_endpoint,
129
- endpoint: endpoint,
105
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
130
106
  endpoint_id: nil,
131
107
  )
132
108
  end
@@ -134,14 +110,11 @@ module Aws::EventBridge
134
110
 
135
111
  class DeactivateEventSource
136
112
  def self.build(context)
137
- unless context.config.regional_endpoint
138
- endpoint = context.config.endpoint.to_s
139
- end
140
113
  Aws::EventBridge::EndpointParameters.new(
141
114
  region: context.config.region,
142
115
  use_dual_stack: context.config.use_dualstack_endpoint,
143
116
  use_fips: context.config.use_fips_endpoint,
144
- endpoint: endpoint,
117
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
145
118
  endpoint_id: nil,
146
119
  )
147
120
  end
@@ -149,14 +122,11 @@ module Aws::EventBridge
149
122
 
150
123
  class DeauthorizeConnection
151
124
  def self.build(context)
152
- unless context.config.regional_endpoint
153
- endpoint = context.config.endpoint.to_s
154
- end
155
125
  Aws::EventBridge::EndpointParameters.new(
156
126
  region: context.config.region,
157
127
  use_dual_stack: context.config.use_dualstack_endpoint,
158
128
  use_fips: context.config.use_fips_endpoint,
159
- endpoint: endpoint,
129
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
160
130
  endpoint_id: nil,
161
131
  )
162
132
  end
@@ -164,14 +134,11 @@ module Aws::EventBridge
164
134
 
165
135
  class DeleteApiDestination
166
136
  def self.build(context)
167
- unless context.config.regional_endpoint
168
- endpoint = context.config.endpoint.to_s
169
- end
170
137
  Aws::EventBridge::EndpointParameters.new(
171
138
  region: context.config.region,
172
139
  use_dual_stack: context.config.use_dualstack_endpoint,
173
140
  use_fips: context.config.use_fips_endpoint,
174
- endpoint: endpoint,
141
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
175
142
  endpoint_id: nil,
176
143
  )
177
144
  end
@@ -179,14 +146,11 @@ module Aws::EventBridge
179
146
 
180
147
  class DeleteArchive
181
148
  def self.build(context)
182
- unless context.config.regional_endpoint
183
- endpoint = context.config.endpoint.to_s
184
- end
185
149
  Aws::EventBridge::EndpointParameters.new(
186
150
  region: context.config.region,
187
151
  use_dual_stack: context.config.use_dualstack_endpoint,
188
152
  use_fips: context.config.use_fips_endpoint,
189
- endpoint: endpoint,
153
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
190
154
  endpoint_id: nil,
191
155
  )
192
156
  end
@@ -194,14 +158,11 @@ module Aws::EventBridge
194
158
 
195
159
  class DeleteConnection
196
160
  def self.build(context)
197
- unless context.config.regional_endpoint
198
- endpoint = context.config.endpoint.to_s
199
- end
200
161
  Aws::EventBridge::EndpointParameters.new(
201
162
  region: context.config.region,
202
163
  use_dual_stack: context.config.use_dualstack_endpoint,
203
164
  use_fips: context.config.use_fips_endpoint,
204
- endpoint: endpoint,
165
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
205
166
  endpoint_id: nil,
206
167
  )
207
168
  end
@@ -209,14 +170,11 @@ module Aws::EventBridge
209
170
 
210
171
  class DeleteEndpoint
211
172
  def self.build(context)
212
- unless context.config.regional_endpoint
213
- endpoint = context.config.endpoint.to_s
214
- end
215
173
  Aws::EventBridge::EndpointParameters.new(
216
174
  region: context.config.region,
217
175
  use_dual_stack: context.config.use_dualstack_endpoint,
218
176
  use_fips: context.config.use_fips_endpoint,
219
- endpoint: endpoint,
177
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
178
  endpoint_id: nil,
221
179
  )
222
180
  end
@@ -224,14 +182,11 @@ module Aws::EventBridge
224
182
 
225
183
  class DeleteEventBus
226
184
  def self.build(context)
227
- unless context.config.regional_endpoint
228
- endpoint = context.config.endpoint.to_s
229
- end
230
185
  Aws::EventBridge::EndpointParameters.new(
231
186
  region: context.config.region,
232
187
  use_dual_stack: context.config.use_dualstack_endpoint,
233
188
  use_fips: context.config.use_fips_endpoint,
234
- endpoint: endpoint,
189
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
235
190
  endpoint_id: nil,
236
191
  )
237
192
  end
@@ -239,14 +194,11 @@ module Aws::EventBridge
239
194
 
240
195
  class DeletePartnerEventSource
241
196
  def self.build(context)
242
- unless context.config.regional_endpoint
243
- endpoint = context.config.endpoint.to_s
244
- end
245
197
  Aws::EventBridge::EndpointParameters.new(
246
198
  region: context.config.region,
247
199
  use_dual_stack: context.config.use_dualstack_endpoint,
248
200
  use_fips: context.config.use_fips_endpoint,
249
- endpoint: endpoint,
201
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
250
202
  endpoint_id: nil,
251
203
  )
252
204
  end
@@ -254,14 +206,11 @@ module Aws::EventBridge
254
206
 
255
207
  class DeleteRule
256
208
  def self.build(context)
257
- unless context.config.regional_endpoint
258
- endpoint = context.config.endpoint.to_s
259
- end
260
209
  Aws::EventBridge::EndpointParameters.new(
261
210
  region: context.config.region,
262
211
  use_dual_stack: context.config.use_dualstack_endpoint,
263
212
  use_fips: context.config.use_fips_endpoint,
264
- endpoint: endpoint,
213
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
265
214
  endpoint_id: nil,
266
215
  )
267
216
  end
@@ -269,14 +218,11 @@ module Aws::EventBridge
269
218
 
270
219
  class DescribeApiDestination
271
220
  def self.build(context)
272
- unless context.config.regional_endpoint
273
- endpoint = context.config.endpoint.to_s
274
- end
275
221
  Aws::EventBridge::EndpointParameters.new(
276
222
  region: context.config.region,
277
223
  use_dual_stack: context.config.use_dualstack_endpoint,
278
224
  use_fips: context.config.use_fips_endpoint,
279
- endpoint: endpoint,
225
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
280
226
  endpoint_id: nil,
281
227
  )
282
228
  end
@@ -284,14 +230,11 @@ module Aws::EventBridge
284
230
 
285
231
  class DescribeArchive
286
232
  def self.build(context)
287
- unless context.config.regional_endpoint
288
- endpoint = context.config.endpoint.to_s
289
- end
290
233
  Aws::EventBridge::EndpointParameters.new(
291
234
  region: context.config.region,
292
235
  use_dual_stack: context.config.use_dualstack_endpoint,
293
236
  use_fips: context.config.use_fips_endpoint,
294
- endpoint: endpoint,
237
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
295
238
  endpoint_id: nil,
296
239
  )
297
240
  end
@@ -299,14 +242,11 @@ module Aws::EventBridge
299
242
 
300
243
  class DescribeConnection
301
244
  def self.build(context)
302
- unless context.config.regional_endpoint
303
- endpoint = context.config.endpoint.to_s
304
- end
305
245
  Aws::EventBridge::EndpointParameters.new(
306
246
  region: context.config.region,
307
247
  use_dual_stack: context.config.use_dualstack_endpoint,
308
248
  use_fips: context.config.use_fips_endpoint,
309
- endpoint: endpoint,
249
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
310
250
  endpoint_id: nil,
311
251
  )
312
252
  end
@@ -314,14 +254,11 @@ module Aws::EventBridge
314
254
 
315
255
  class DescribeEndpoint
316
256
  def self.build(context)
317
- unless context.config.regional_endpoint
318
- endpoint = context.config.endpoint.to_s
319
- end
320
257
  Aws::EventBridge::EndpointParameters.new(
321
258
  region: context.config.region,
322
259
  use_dual_stack: context.config.use_dualstack_endpoint,
323
260
  use_fips: context.config.use_fips_endpoint,
324
- endpoint: endpoint,
261
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
325
262
  endpoint_id: nil,
326
263
  )
327
264
  end
@@ -329,14 +266,11 @@ module Aws::EventBridge
329
266
 
330
267
  class DescribeEventBus
331
268
  def self.build(context)
332
- unless context.config.regional_endpoint
333
- endpoint = context.config.endpoint.to_s
334
- end
335
269
  Aws::EventBridge::EndpointParameters.new(
336
270
  region: context.config.region,
337
271
  use_dual_stack: context.config.use_dualstack_endpoint,
338
272
  use_fips: context.config.use_fips_endpoint,
339
- endpoint: endpoint,
273
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
340
274
  endpoint_id: nil,
341
275
  )
342
276
  end
@@ -344,14 +278,11 @@ module Aws::EventBridge
344
278
 
345
279
  class DescribeEventSource
346
280
  def self.build(context)
347
- unless context.config.regional_endpoint
348
- endpoint = context.config.endpoint.to_s
349
- end
350
281
  Aws::EventBridge::EndpointParameters.new(
351
282
  region: context.config.region,
352
283
  use_dual_stack: context.config.use_dualstack_endpoint,
353
284
  use_fips: context.config.use_fips_endpoint,
354
- endpoint: endpoint,
285
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
355
286
  endpoint_id: nil,
356
287
  )
357
288
  end
@@ -359,14 +290,11 @@ module Aws::EventBridge
359
290
 
360
291
  class DescribePartnerEventSource
361
292
  def self.build(context)
362
- unless context.config.regional_endpoint
363
- endpoint = context.config.endpoint.to_s
364
- end
365
293
  Aws::EventBridge::EndpointParameters.new(
366
294
  region: context.config.region,
367
295
  use_dual_stack: context.config.use_dualstack_endpoint,
368
296
  use_fips: context.config.use_fips_endpoint,
369
- endpoint: endpoint,
297
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
370
298
  endpoint_id: nil,
371
299
  )
372
300
  end
@@ -374,14 +302,11 @@ module Aws::EventBridge
374
302
 
375
303
  class DescribeReplay
376
304
  def self.build(context)
377
- unless context.config.regional_endpoint
378
- endpoint = context.config.endpoint.to_s
379
- end
380
305
  Aws::EventBridge::EndpointParameters.new(
381
306
  region: context.config.region,
382
307
  use_dual_stack: context.config.use_dualstack_endpoint,
383
308
  use_fips: context.config.use_fips_endpoint,
384
- endpoint: endpoint,
309
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
310
  endpoint_id: nil,
386
311
  )
387
312
  end
@@ -389,14 +314,11 @@ module Aws::EventBridge
389
314
 
390
315
  class DescribeRule
391
316
  def self.build(context)
392
- unless context.config.regional_endpoint
393
- endpoint = context.config.endpoint.to_s
394
- end
395
317
  Aws::EventBridge::EndpointParameters.new(
396
318
  region: context.config.region,
397
319
  use_dual_stack: context.config.use_dualstack_endpoint,
398
320
  use_fips: context.config.use_fips_endpoint,
399
- endpoint: endpoint,
321
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
400
322
  endpoint_id: nil,
401
323
  )
402
324
  end
@@ -404,14 +326,11 @@ module Aws::EventBridge
404
326
 
405
327
  class DisableRule
406
328
  def self.build(context)
407
- unless context.config.regional_endpoint
408
- endpoint = context.config.endpoint.to_s
409
- end
410
329
  Aws::EventBridge::EndpointParameters.new(
411
330
  region: context.config.region,
412
331
  use_dual_stack: context.config.use_dualstack_endpoint,
413
332
  use_fips: context.config.use_fips_endpoint,
414
- endpoint: endpoint,
333
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
415
334
  endpoint_id: nil,
416
335
  )
417
336
  end
@@ -419,14 +338,11 @@ module Aws::EventBridge
419
338
 
420
339
  class EnableRule
421
340
  def self.build(context)
422
- unless context.config.regional_endpoint
423
- endpoint = context.config.endpoint.to_s
424
- end
425
341
  Aws::EventBridge::EndpointParameters.new(
426
342
  region: context.config.region,
427
343
  use_dual_stack: context.config.use_dualstack_endpoint,
428
344
  use_fips: context.config.use_fips_endpoint,
429
- endpoint: endpoint,
345
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
430
346
  endpoint_id: nil,
431
347
  )
432
348
  end
@@ -434,14 +350,11 @@ module Aws::EventBridge
434
350
 
435
351
  class ListApiDestinations
436
352
  def self.build(context)
437
- unless context.config.regional_endpoint
438
- endpoint = context.config.endpoint.to_s
439
- end
440
353
  Aws::EventBridge::EndpointParameters.new(
441
354
  region: context.config.region,
442
355
  use_dual_stack: context.config.use_dualstack_endpoint,
443
356
  use_fips: context.config.use_fips_endpoint,
444
- endpoint: endpoint,
357
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
445
358
  endpoint_id: nil,
446
359
  )
447
360
  end
@@ -449,14 +362,11 @@ module Aws::EventBridge
449
362
 
450
363
  class ListArchives
451
364
  def self.build(context)
452
- unless context.config.regional_endpoint
453
- endpoint = context.config.endpoint.to_s
454
- end
455
365
  Aws::EventBridge::EndpointParameters.new(
456
366
  region: context.config.region,
457
367
  use_dual_stack: context.config.use_dualstack_endpoint,
458
368
  use_fips: context.config.use_fips_endpoint,
459
- endpoint: endpoint,
369
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
460
370
  endpoint_id: nil,
461
371
  )
462
372
  end
@@ -464,14 +374,11 @@ module Aws::EventBridge
464
374
 
465
375
  class ListConnections
466
376
  def self.build(context)
467
- unless context.config.regional_endpoint
468
- endpoint = context.config.endpoint.to_s
469
- end
470
377
  Aws::EventBridge::EndpointParameters.new(
471
378
  region: context.config.region,
472
379
  use_dual_stack: context.config.use_dualstack_endpoint,
473
380
  use_fips: context.config.use_fips_endpoint,
474
- endpoint: endpoint,
381
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
475
382
  endpoint_id: nil,
476
383
  )
477
384
  end
@@ -479,14 +386,11 @@ module Aws::EventBridge
479
386
 
480
387
  class ListEndpoints
481
388
  def self.build(context)
482
- unless context.config.regional_endpoint
483
- endpoint = context.config.endpoint.to_s
484
- end
485
389
  Aws::EventBridge::EndpointParameters.new(
486
390
  region: context.config.region,
487
391
  use_dual_stack: context.config.use_dualstack_endpoint,
488
392
  use_fips: context.config.use_fips_endpoint,
489
- endpoint: endpoint,
393
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
490
394
  endpoint_id: nil,
491
395
  )
492
396
  end
@@ -494,14 +398,11 @@ module Aws::EventBridge
494
398
 
495
399
  class ListEventBuses
496
400
  def self.build(context)
497
- unless context.config.regional_endpoint
498
- endpoint = context.config.endpoint.to_s
499
- end
500
401
  Aws::EventBridge::EndpointParameters.new(
501
402
  region: context.config.region,
502
403
  use_dual_stack: context.config.use_dualstack_endpoint,
503
404
  use_fips: context.config.use_fips_endpoint,
504
- endpoint: endpoint,
405
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
505
406
  endpoint_id: nil,
506
407
  )
507
408
  end
@@ -509,14 +410,11 @@ module Aws::EventBridge
509
410
 
510
411
  class ListEventSources
511
412
  def self.build(context)
512
- unless context.config.regional_endpoint
513
- endpoint = context.config.endpoint.to_s
514
- end
515
413
  Aws::EventBridge::EndpointParameters.new(
516
414
  region: context.config.region,
517
415
  use_dual_stack: context.config.use_dualstack_endpoint,
518
416
  use_fips: context.config.use_fips_endpoint,
519
- endpoint: endpoint,
417
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
520
418
  endpoint_id: nil,
521
419
  )
522
420
  end
@@ -524,14 +422,11 @@ module Aws::EventBridge
524
422
 
525
423
  class ListPartnerEventSourceAccounts
526
424
  def self.build(context)
527
- unless context.config.regional_endpoint
528
- endpoint = context.config.endpoint.to_s
529
- end
530
425
  Aws::EventBridge::EndpointParameters.new(
531
426
  region: context.config.region,
532
427
  use_dual_stack: context.config.use_dualstack_endpoint,
533
428
  use_fips: context.config.use_fips_endpoint,
534
- endpoint: endpoint,
429
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
535
430
  endpoint_id: nil,
536
431
  )
537
432
  end
@@ -539,14 +434,11 @@ module Aws::EventBridge
539
434
 
540
435
  class ListPartnerEventSources
541
436
  def self.build(context)
542
- unless context.config.regional_endpoint
543
- endpoint = context.config.endpoint.to_s
544
- end
545
437
  Aws::EventBridge::EndpointParameters.new(
546
438
  region: context.config.region,
547
439
  use_dual_stack: context.config.use_dualstack_endpoint,
548
440
  use_fips: context.config.use_fips_endpoint,
549
- endpoint: endpoint,
441
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
550
442
  endpoint_id: nil,
551
443
  )
552
444
  end
@@ -554,14 +446,11 @@ module Aws::EventBridge
554
446
 
555
447
  class ListReplays
556
448
  def self.build(context)
557
- unless context.config.regional_endpoint
558
- endpoint = context.config.endpoint.to_s
559
- end
560
449
  Aws::EventBridge::EndpointParameters.new(
561
450
  region: context.config.region,
562
451
  use_dual_stack: context.config.use_dualstack_endpoint,
563
452
  use_fips: context.config.use_fips_endpoint,
564
- endpoint: endpoint,
453
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
565
454
  endpoint_id: nil,
566
455
  )
567
456
  end
@@ -569,14 +458,11 @@ module Aws::EventBridge
569
458
 
570
459
  class ListRuleNamesByTarget
571
460
  def self.build(context)
572
- unless context.config.regional_endpoint
573
- endpoint = context.config.endpoint.to_s
574
- end
575
461
  Aws::EventBridge::EndpointParameters.new(
576
462
  region: context.config.region,
577
463
  use_dual_stack: context.config.use_dualstack_endpoint,
578
464
  use_fips: context.config.use_fips_endpoint,
579
- endpoint: endpoint,
465
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
580
466
  endpoint_id: nil,
581
467
  )
582
468
  end
@@ -584,14 +470,11 @@ module Aws::EventBridge
584
470
 
585
471
  class ListRules
586
472
  def self.build(context)
587
- unless context.config.regional_endpoint
588
- endpoint = context.config.endpoint.to_s
589
- end
590
473
  Aws::EventBridge::EndpointParameters.new(
591
474
  region: context.config.region,
592
475
  use_dual_stack: context.config.use_dualstack_endpoint,
593
476
  use_fips: context.config.use_fips_endpoint,
594
- endpoint: endpoint,
477
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
595
478
  endpoint_id: nil,
596
479
  )
597
480
  end
@@ -599,14 +482,11 @@ module Aws::EventBridge
599
482
 
600
483
  class ListTagsForResource
601
484
  def self.build(context)
602
- unless context.config.regional_endpoint
603
- endpoint = context.config.endpoint.to_s
604
- end
605
485
  Aws::EventBridge::EndpointParameters.new(
606
486
  region: context.config.region,
607
487
  use_dual_stack: context.config.use_dualstack_endpoint,
608
488
  use_fips: context.config.use_fips_endpoint,
609
- endpoint: endpoint,
489
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
610
490
  endpoint_id: nil,
611
491
  )
612
492
  end
@@ -614,14 +494,11 @@ module Aws::EventBridge
614
494
 
615
495
  class ListTargetsByRule
616
496
  def self.build(context)
617
- unless context.config.regional_endpoint
618
- endpoint = context.config.endpoint.to_s
619
- end
620
497
  Aws::EventBridge::EndpointParameters.new(
621
498
  region: context.config.region,
622
499
  use_dual_stack: context.config.use_dualstack_endpoint,
623
500
  use_fips: context.config.use_fips_endpoint,
624
- endpoint: endpoint,
501
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
625
502
  endpoint_id: nil,
626
503
  )
627
504
  end
@@ -629,14 +506,11 @@ module Aws::EventBridge
629
506
 
630
507
  class PutEvents
631
508
  def self.build(context)
632
- unless context.config.regional_endpoint
633
- endpoint = context.config.endpoint.to_s
634
- end
635
509
  Aws::EventBridge::EndpointParameters.new(
636
510
  region: context.config.region,
637
511
  use_dual_stack: context.config.use_dualstack_endpoint,
638
512
  use_fips: context.config.use_fips_endpoint,
639
- endpoint: endpoint,
513
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
640
514
  endpoint_id: context.params[:endpoint_id],
641
515
  )
642
516
  end
@@ -644,14 +518,11 @@ module Aws::EventBridge
644
518
 
645
519
  class PutPartnerEvents
646
520
  def self.build(context)
647
- unless context.config.regional_endpoint
648
- endpoint = context.config.endpoint.to_s
649
- end
650
521
  Aws::EventBridge::EndpointParameters.new(
651
522
  region: context.config.region,
652
523
  use_dual_stack: context.config.use_dualstack_endpoint,
653
524
  use_fips: context.config.use_fips_endpoint,
654
- endpoint: endpoint,
525
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
655
526
  endpoint_id: nil,
656
527
  )
657
528
  end
@@ -659,14 +530,11 @@ module Aws::EventBridge
659
530
 
660
531
  class PutPermission
661
532
  def self.build(context)
662
- unless context.config.regional_endpoint
663
- endpoint = context.config.endpoint.to_s
664
- end
665
533
  Aws::EventBridge::EndpointParameters.new(
666
534
  region: context.config.region,
667
535
  use_dual_stack: context.config.use_dualstack_endpoint,
668
536
  use_fips: context.config.use_fips_endpoint,
669
- endpoint: endpoint,
537
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
670
538
  endpoint_id: nil,
671
539
  )
672
540
  end
@@ -674,14 +542,11 @@ module Aws::EventBridge
674
542
 
675
543
  class PutRule
676
544
  def self.build(context)
677
- unless context.config.regional_endpoint
678
- endpoint = context.config.endpoint.to_s
679
- end
680
545
  Aws::EventBridge::EndpointParameters.new(
681
546
  region: context.config.region,
682
547
  use_dual_stack: context.config.use_dualstack_endpoint,
683
548
  use_fips: context.config.use_fips_endpoint,
684
- endpoint: endpoint,
549
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
685
550
  endpoint_id: nil,
686
551
  )
687
552
  end
@@ -689,14 +554,11 @@ module Aws::EventBridge
689
554
 
690
555
  class PutTargets
691
556
  def self.build(context)
692
- unless context.config.regional_endpoint
693
- endpoint = context.config.endpoint.to_s
694
- end
695
557
  Aws::EventBridge::EndpointParameters.new(
696
558
  region: context.config.region,
697
559
  use_dual_stack: context.config.use_dualstack_endpoint,
698
560
  use_fips: context.config.use_fips_endpoint,
699
- endpoint: endpoint,
561
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
700
562
  endpoint_id: nil,
701
563
  )
702
564
  end
@@ -704,14 +566,11 @@ module Aws::EventBridge
704
566
 
705
567
  class RemovePermission
706
568
  def self.build(context)
707
- unless context.config.regional_endpoint
708
- endpoint = context.config.endpoint.to_s
709
- end
710
569
  Aws::EventBridge::EndpointParameters.new(
711
570
  region: context.config.region,
712
571
  use_dual_stack: context.config.use_dualstack_endpoint,
713
572
  use_fips: context.config.use_fips_endpoint,
714
- endpoint: endpoint,
573
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
715
574
  endpoint_id: nil,
716
575
  )
717
576
  end
@@ -719,14 +578,11 @@ module Aws::EventBridge
719
578
 
720
579
  class RemoveTargets
721
580
  def self.build(context)
722
- unless context.config.regional_endpoint
723
- endpoint = context.config.endpoint.to_s
724
- end
725
581
  Aws::EventBridge::EndpointParameters.new(
726
582
  region: context.config.region,
727
583
  use_dual_stack: context.config.use_dualstack_endpoint,
728
584
  use_fips: context.config.use_fips_endpoint,
729
- endpoint: endpoint,
585
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
730
586
  endpoint_id: nil,
731
587
  )
732
588
  end
@@ -734,14 +590,11 @@ module Aws::EventBridge
734
590
 
735
591
  class StartReplay
736
592
  def self.build(context)
737
- unless context.config.regional_endpoint
738
- endpoint = context.config.endpoint.to_s
739
- end
740
593
  Aws::EventBridge::EndpointParameters.new(
741
594
  region: context.config.region,
742
595
  use_dual_stack: context.config.use_dualstack_endpoint,
743
596
  use_fips: context.config.use_fips_endpoint,
744
- endpoint: endpoint,
597
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
745
598
  endpoint_id: nil,
746
599
  )
747
600
  end
@@ -749,14 +602,11 @@ module Aws::EventBridge
749
602
 
750
603
  class TagResource
751
604
  def self.build(context)
752
- unless context.config.regional_endpoint
753
- endpoint = context.config.endpoint.to_s
754
- end
755
605
  Aws::EventBridge::EndpointParameters.new(
756
606
  region: context.config.region,
757
607
  use_dual_stack: context.config.use_dualstack_endpoint,
758
608
  use_fips: context.config.use_fips_endpoint,
759
- endpoint: endpoint,
609
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
760
610
  endpoint_id: nil,
761
611
  )
762
612
  end
@@ -764,14 +614,11 @@ module Aws::EventBridge
764
614
 
765
615
  class TestEventPattern
766
616
  def self.build(context)
767
- unless context.config.regional_endpoint
768
- endpoint = context.config.endpoint.to_s
769
- end
770
617
  Aws::EventBridge::EndpointParameters.new(
771
618
  region: context.config.region,
772
619
  use_dual_stack: context.config.use_dualstack_endpoint,
773
620
  use_fips: context.config.use_fips_endpoint,
774
- endpoint: endpoint,
621
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
775
622
  endpoint_id: nil,
776
623
  )
777
624
  end
@@ -779,14 +626,11 @@ module Aws::EventBridge
779
626
 
780
627
  class UntagResource
781
628
  def self.build(context)
782
- unless context.config.regional_endpoint
783
- endpoint = context.config.endpoint.to_s
784
- end
785
629
  Aws::EventBridge::EndpointParameters.new(
786
630
  region: context.config.region,
787
631
  use_dual_stack: context.config.use_dualstack_endpoint,
788
632
  use_fips: context.config.use_fips_endpoint,
789
- endpoint: endpoint,
633
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
790
634
  endpoint_id: nil,
791
635
  )
792
636
  end
@@ -794,14 +638,11 @@ module Aws::EventBridge
794
638
 
795
639
  class UpdateApiDestination
796
640
  def self.build(context)
797
- unless context.config.regional_endpoint
798
- endpoint = context.config.endpoint.to_s
799
- end
800
641
  Aws::EventBridge::EndpointParameters.new(
801
642
  region: context.config.region,
802
643
  use_dual_stack: context.config.use_dualstack_endpoint,
803
644
  use_fips: context.config.use_fips_endpoint,
804
- endpoint: endpoint,
645
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
805
646
  endpoint_id: nil,
806
647
  )
807
648
  end
@@ -809,14 +650,11 @@ module Aws::EventBridge
809
650
 
810
651
  class UpdateArchive
811
652
  def self.build(context)
812
- unless context.config.regional_endpoint
813
- endpoint = context.config.endpoint.to_s
814
- end
815
653
  Aws::EventBridge::EndpointParameters.new(
816
654
  region: context.config.region,
817
655
  use_dual_stack: context.config.use_dualstack_endpoint,
818
656
  use_fips: context.config.use_fips_endpoint,
819
- endpoint: endpoint,
657
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
820
658
  endpoint_id: nil,
821
659
  )
822
660
  end
@@ -824,14 +662,11 @@ module Aws::EventBridge
824
662
 
825
663
  class UpdateConnection
826
664
  def self.build(context)
827
- unless context.config.regional_endpoint
828
- endpoint = context.config.endpoint.to_s
829
- end
830
665
  Aws::EventBridge::EndpointParameters.new(
831
666
  region: context.config.region,
832
667
  use_dual_stack: context.config.use_dualstack_endpoint,
833
668
  use_fips: context.config.use_fips_endpoint,
834
- endpoint: endpoint,
669
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
835
670
  endpoint_id: nil,
836
671
  )
837
672
  end
@@ -839,14 +674,11 @@ module Aws::EventBridge
839
674
 
840
675
  class UpdateEndpoint
841
676
  def self.build(context)
842
- unless context.config.regional_endpoint
843
- endpoint = context.config.endpoint.to_s
844
- end
845
677
  Aws::EventBridge::EndpointParameters.new(
846
678
  region: context.config.region,
847
679
  use_dual_stack: context.config.use_dualstack_endpoint,
848
680
  use_fips: context.config.use_fips_endpoint,
849
- endpoint: endpoint,
681
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
850
682
  endpoint_id: nil,
851
683
  )
852
684
  end
@@ -854,14 +686,11 @@ module Aws::EventBridge
854
686
 
855
687
  class UpdateEventBus
856
688
  def self.build(context)
857
- unless context.config.regional_endpoint
858
- endpoint = context.config.endpoint.to_s
859
- end
860
689
  Aws::EventBridge::EndpointParameters.new(
861
690
  region: context.config.region,
862
691
  use_dual_stack: context.config.use_dualstack_endpoint,
863
692
  use_fips: context.config.use_fips_endpoint,
864
- endpoint: endpoint,
693
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
865
694
  endpoint_id: nil,
866
695
  )
867
696
  end
@@ -15,11 +15,11 @@ module Aws::EventBridge
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EventBridge::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::EventBridge::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::EventBridge::EndpointParameters`.
22
+ DOCS
23
23
  Aws::EventBridge::EndpointProvider.new
24
24
  end
25
25
 
@@ -40,11 +40,23 @@ module Aws::EventBridge
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
48
60
  def apply_endpoint_headers(context, headers)
49
61
  headers.each do |key, values|
50
62
  value = values
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
52
52
  # @!group service
53
53
  module Aws::EventBridge
54
54
 
55
- GEM_VERSION = '1.67.0'
55
+ GEM_VERSION = '1.69.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
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.67.0
4
+ version: 1.69.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-10 00:00:00.000000000 Z
11
+ date: 2024-09-20 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.203.0
22
+ version: 3.207.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.203.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement