@aws-sdk/client-eventbridge 3.957.0 → 3.962.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.
- package/README.md +1 -62
- package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -9
- package/dist-cjs/index.js +986 -977
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +8 -9
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +986 -977
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,10 +29,8 @@ volume.</p>
|
|
|
29
29
|
Guide</a>.</p>
|
|
30
30
|
|
|
31
31
|
## Installing
|
|
32
|
-
|
|
33
32
|
To install this package, simply type add or install @aws-sdk/client-eventbridge
|
|
34
33
|
using your favorite package manager:
|
|
35
|
-
|
|
36
34
|
- `npm install @aws-sdk/client-eventbridge`
|
|
37
35
|
- `yarn add @aws-sdk/client-eventbridge`
|
|
38
36
|
- `pnpm add @aws-sdk/client-eventbridge`
|
|
@@ -68,9 +66,7 @@ To send a request, you:
|
|
|
68
66
|
// a client can be shared by different commands.
|
|
69
67
|
const client = new EventBridgeClient({ region: "REGION" });
|
|
70
68
|
|
|
71
|
-
const params = {
|
|
72
|
-
/** input parameters */
|
|
73
|
-
};
|
|
69
|
+
const params = { /** input parameters */ };
|
|
74
70
|
const command = new ListReplaysCommand(params);
|
|
75
71
|
```
|
|
76
72
|
|
|
@@ -229,7 +225,6 @@ ActivateEventSource
|
|
|
229
225
|
</summary>
|
|
230
226
|
|
|
231
227
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ActivateEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ActivateEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ActivateEventSourceCommandOutput/)
|
|
232
|
-
|
|
233
228
|
</details>
|
|
234
229
|
<details>
|
|
235
230
|
<summary>
|
|
@@ -237,7 +232,6 @@ CancelReplay
|
|
|
237
232
|
</summary>
|
|
238
233
|
|
|
239
234
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CancelReplayCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CancelReplayCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CancelReplayCommandOutput/)
|
|
240
|
-
|
|
241
235
|
</details>
|
|
242
236
|
<details>
|
|
243
237
|
<summary>
|
|
@@ -245,7 +239,6 @@ CreateApiDestination
|
|
|
245
239
|
</summary>
|
|
246
240
|
|
|
247
241
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreateApiDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateApiDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateApiDestinationCommandOutput/)
|
|
248
|
-
|
|
249
242
|
</details>
|
|
250
243
|
<details>
|
|
251
244
|
<summary>
|
|
@@ -253,7 +246,6 @@ CreateArchive
|
|
|
253
246
|
</summary>
|
|
254
247
|
|
|
255
248
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreateArchiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateArchiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateArchiveCommandOutput/)
|
|
256
|
-
|
|
257
249
|
</details>
|
|
258
250
|
<details>
|
|
259
251
|
<summary>
|
|
@@ -261,7 +253,6 @@ CreateConnection
|
|
|
261
253
|
</summary>
|
|
262
254
|
|
|
263
255
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateConnectionCommandOutput/)
|
|
264
|
-
|
|
265
256
|
</details>
|
|
266
257
|
<details>
|
|
267
258
|
<summary>
|
|
@@ -269,7 +260,6 @@ CreateEndpoint
|
|
|
269
260
|
</summary>
|
|
270
261
|
|
|
271
262
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreateEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateEndpointCommandOutput/)
|
|
272
|
-
|
|
273
263
|
</details>
|
|
274
264
|
<details>
|
|
275
265
|
<summary>
|
|
@@ -277,7 +267,6 @@ CreateEventBus
|
|
|
277
267
|
</summary>
|
|
278
268
|
|
|
279
269
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreateEventBusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateEventBusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreateEventBusCommandOutput/)
|
|
280
|
-
|
|
281
270
|
</details>
|
|
282
271
|
<details>
|
|
283
272
|
<summary>
|
|
@@ -285,7 +274,6 @@ CreatePartnerEventSource
|
|
|
285
274
|
</summary>
|
|
286
275
|
|
|
287
276
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/CreatePartnerEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreatePartnerEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/CreatePartnerEventSourceCommandOutput/)
|
|
288
|
-
|
|
289
277
|
</details>
|
|
290
278
|
<details>
|
|
291
279
|
<summary>
|
|
@@ -293,7 +281,6 @@ DeactivateEventSource
|
|
|
293
281
|
</summary>
|
|
294
282
|
|
|
295
283
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeactivateEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeactivateEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeactivateEventSourceCommandOutput/)
|
|
296
|
-
|
|
297
284
|
</details>
|
|
298
285
|
<details>
|
|
299
286
|
<summary>
|
|
@@ -301,7 +288,6 @@ DeauthorizeConnection
|
|
|
301
288
|
</summary>
|
|
302
289
|
|
|
303
290
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeauthorizeConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeauthorizeConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeauthorizeConnectionCommandOutput/)
|
|
304
|
-
|
|
305
291
|
</details>
|
|
306
292
|
<details>
|
|
307
293
|
<summary>
|
|
@@ -309,7 +295,6 @@ DeleteApiDestination
|
|
|
309
295
|
</summary>
|
|
310
296
|
|
|
311
297
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteApiDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteApiDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteApiDestinationCommandOutput/)
|
|
312
|
-
|
|
313
298
|
</details>
|
|
314
299
|
<details>
|
|
315
300
|
<summary>
|
|
@@ -317,7 +302,6 @@ DeleteArchive
|
|
|
317
302
|
</summary>
|
|
318
303
|
|
|
319
304
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteArchiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteArchiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteArchiveCommandOutput/)
|
|
320
|
-
|
|
321
305
|
</details>
|
|
322
306
|
<details>
|
|
323
307
|
<summary>
|
|
@@ -325,7 +309,6 @@ DeleteConnection
|
|
|
325
309
|
</summary>
|
|
326
310
|
|
|
327
311
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteConnectionCommandOutput/)
|
|
328
|
-
|
|
329
312
|
</details>
|
|
330
313
|
<details>
|
|
331
314
|
<summary>
|
|
@@ -333,7 +316,6 @@ DeleteEndpoint
|
|
|
333
316
|
</summary>
|
|
334
317
|
|
|
335
318
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteEndpointCommandOutput/)
|
|
336
|
-
|
|
337
319
|
</details>
|
|
338
320
|
<details>
|
|
339
321
|
<summary>
|
|
@@ -341,7 +323,6 @@ DeleteEventBus
|
|
|
341
323
|
</summary>
|
|
342
324
|
|
|
343
325
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteEventBusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteEventBusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteEventBusCommandOutput/)
|
|
344
|
-
|
|
345
326
|
</details>
|
|
346
327
|
<details>
|
|
347
328
|
<summary>
|
|
@@ -349,7 +330,6 @@ DeletePartnerEventSource
|
|
|
349
330
|
</summary>
|
|
350
331
|
|
|
351
332
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeletePartnerEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeletePartnerEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeletePartnerEventSourceCommandOutput/)
|
|
352
|
-
|
|
353
333
|
</details>
|
|
354
334
|
<details>
|
|
355
335
|
<summary>
|
|
@@ -357,7 +337,6 @@ DeleteRule
|
|
|
357
337
|
</summary>
|
|
358
338
|
|
|
359
339
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DeleteRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DeleteRuleCommandOutput/)
|
|
360
|
-
|
|
361
340
|
</details>
|
|
362
341
|
<details>
|
|
363
342
|
<summary>
|
|
@@ -365,7 +344,6 @@ DescribeApiDestination
|
|
|
365
344
|
</summary>
|
|
366
345
|
|
|
367
346
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeApiDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeApiDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeApiDestinationCommandOutput/)
|
|
368
|
-
|
|
369
347
|
</details>
|
|
370
348
|
<details>
|
|
371
349
|
<summary>
|
|
@@ -373,7 +351,6 @@ DescribeArchive
|
|
|
373
351
|
</summary>
|
|
374
352
|
|
|
375
353
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeArchiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeArchiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeArchiveCommandOutput/)
|
|
376
|
-
|
|
377
354
|
</details>
|
|
378
355
|
<details>
|
|
379
356
|
<summary>
|
|
@@ -381,7 +358,6 @@ DescribeConnection
|
|
|
381
358
|
</summary>
|
|
382
359
|
|
|
383
360
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeConnectionCommandOutput/)
|
|
384
|
-
|
|
385
361
|
</details>
|
|
386
362
|
<details>
|
|
387
363
|
<summary>
|
|
@@ -389,7 +365,6 @@ DescribeEndpoint
|
|
|
389
365
|
</summary>
|
|
390
366
|
|
|
391
367
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEndpointCommandOutput/)
|
|
392
|
-
|
|
393
368
|
</details>
|
|
394
369
|
<details>
|
|
395
370
|
<summary>
|
|
@@ -397,7 +372,6 @@ DescribeEventBus
|
|
|
397
372
|
</summary>
|
|
398
373
|
|
|
399
374
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeEventBusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEventBusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEventBusCommandOutput/)
|
|
400
|
-
|
|
401
375
|
</details>
|
|
402
376
|
<details>
|
|
403
377
|
<summary>
|
|
@@ -405,7 +379,6 @@ DescribeEventSource
|
|
|
405
379
|
</summary>
|
|
406
380
|
|
|
407
381
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeEventSourceCommandOutput/)
|
|
408
|
-
|
|
409
382
|
</details>
|
|
410
383
|
<details>
|
|
411
384
|
<summary>
|
|
@@ -413,7 +386,6 @@ DescribePartnerEventSource
|
|
|
413
386
|
</summary>
|
|
414
387
|
|
|
415
388
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribePartnerEventSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribePartnerEventSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribePartnerEventSourceCommandOutput/)
|
|
416
|
-
|
|
417
389
|
</details>
|
|
418
390
|
<details>
|
|
419
391
|
<summary>
|
|
@@ -421,7 +393,6 @@ DescribeReplay
|
|
|
421
393
|
</summary>
|
|
422
394
|
|
|
423
395
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeReplayCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeReplayCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeReplayCommandOutput/)
|
|
424
|
-
|
|
425
396
|
</details>
|
|
426
397
|
<details>
|
|
427
398
|
<summary>
|
|
@@ -429,7 +400,6 @@ DescribeRule
|
|
|
429
400
|
</summary>
|
|
430
401
|
|
|
431
402
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DescribeRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DescribeRuleCommandOutput/)
|
|
432
|
-
|
|
433
403
|
</details>
|
|
434
404
|
<details>
|
|
435
405
|
<summary>
|
|
@@ -437,7 +407,6 @@ DisableRule
|
|
|
437
407
|
</summary>
|
|
438
408
|
|
|
439
409
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/DisableRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DisableRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/DisableRuleCommandOutput/)
|
|
440
|
-
|
|
441
410
|
</details>
|
|
442
411
|
<details>
|
|
443
412
|
<summary>
|
|
@@ -445,7 +414,6 @@ EnableRule
|
|
|
445
414
|
</summary>
|
|
446
415
|
|
|
447
416
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/EnableRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/EnableRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/EnableRuleCommandOutput/)
|
|
448
|
-
|
|
449
417
|
</details>
|
|
450
418
|
<details>
|
|
451
419
|
<summary>
|
|
@@ -453,7 +421,6 @@ ListApiDestinations
|
|
|
453
421
|
</summary>
|
|
454
422
|
|
|
455
423
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListApiDestinationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListApiDestinationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListApiDestinationsCommandOutput/)
|
|
456
|
-
|
|
457
424
|
</details>
|
|
458
425
|
<details>
|
|
459
426
|
<summary>
|
|
@@ -461,7 +428,6 @@ ListArchives
|
|
|
461
428
|
</summary>
|
|
462
429
|
|
|
463
430
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListArchivesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListArchivesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListArchivesCommandOutput/)
|
|
464
|
-
|
|
465
431
|
</details>
|
|
466
432
|
<details>
|
|
467
433
|
<summary>
|
|
@@ -469,7 +435,6 @@ ListConnections
|
|
|
469
435
|
</summary>
|
|
470
436
|
|
|
471
437
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListConnectionsCommandOutput/)
|
|
472
|
-
|
|
473
438
|
</details>
|
|
474
439
|
<details>
|
|
475
440
|
<summary>
|
|
@@ -477,7 +442,6 @@ ListEndpoints
|
|
|
477
442
|
</summary>
|
|
478
443
|
|
|
479
444
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEndpointsCommandOutput/)
|
|
480
|
-
|
|
481
445
|
</details>
|
|
482
446
|
<details>
|
|
483
447
|
<summary>
|
|
@@ -485,7 +449,6 @@ ListEventBuses
|
|
|
485
449
|
</summary>
|
|
486
450
|
|
|
487
451
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListEventBusesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEventBusesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEventBusesCommandOutput/)
|
|
488
|
-
|
|
489
452
|
</details>
|
|
490
453
|
<details>
|
|
491
454
|
<summary>
|
|
@@ -493,7 +456,6 @@ ListEventSources
|
|
|
493
456
|
</summary>
|
|
494
457
|
|
|
495
458
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListEventSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEventSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListEventSourcesCommandOutput/)
|
|
496
|
-
|
|
497
459
|
</details>
|
|
498
460
|
<details>
|
|
499
461
|
<summary>
|
|
@@ -501,7 +463,6 @@ ListPartnerEventSourceAccounts
|
|
|
501
463
|
</summary>
|
|
502
464
|
|
|
503
465
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListPartnerEventSourceAccountsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListPartnerEventSourceAccountsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListPartnerEventSourceAccountsCommandOutput/)
|
|
504
|
-
|
|
505
466
|
</details>
|
|
506
467
|
<details>
|
|
507
468
|
<summary>
|
|
@@ -509,7 +470,6 @@ ListPartnerEventSources
|
|
|
509
470
|
</summary>
|
|
510
471
|
|
|
511
472
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListPartnerEventSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListPartnerEventSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListPartnerEventSourcesCommandOutput/)
|
|
512
|
-
|
|
513
473
|
</details>
|
|
514
474
|
<details>
|
|
515
475
|
<summary>
|
|
@@ -517,7 +477,6 @@ ListReplays
|
|
|
517
477
|
</summary>
|
|
518
478
|
|
|
519
479
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListReplaysCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListReplaysCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListReplaysCommandOutput/)
|
|
520
|
-
|
|
521
480
|
</details>
|
|
522
481
|
<details>
|
|
523
482
|
<summary>
|
|
@@ -525,7 +484,6 @@ ListRuleNamesByTarget
|
|
|
525
484
|
</summary>
|
|
526
485
|
|
|
527
486
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListRuleNamesByTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListRuleNamesByTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListRuleNamesByTargetCommandOutput/)
|
|
528
|
-
|
|
529
487
|
</details>
|
|
530
488
|
<details>
|
|
531
489
|
<summary>
|
|
@@ -533,7 +491,6 @@ ListRules
|
|
|
533
491
|
</summary>
|
|
534
492
|
|
|
535
493
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListRulesCommandOutput/)
|
|
536
|
-
|
|
537
494
|
</details>
|
|
538
495
|
<details>
|
|
539
496
|
<summary>
|
|
@@ -541,7 +498,6 @@ ListTagsForResource
|
|
|
541
498
|
</summary>
|
|
542
499
|
|
|
543
500
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListTagsForResourceCommandOutput/)
|
|
544
|
-
|
|
545
501
|
</details>
|
|
546
502
|
<details>
|
|
547
503
|
<summary>
|
|
@@ -549,7 +505,6 @@ ListTargetsByRule
|
|
|
549
505
|
</summary>
|
|
550
506
|
|
|
551
507
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/ListTargetsByRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListTargetsByRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/ListTargetsByRuleCommandOutput/)
|
|
552
|
-
|
|
553
508
|
</details>
|
|
554
509
|
<details>
|
|
555
510
|
<summary>
|
|
@@ -557,7 +512,6 @@ PutEvents
|
|
|
557
512
|
</summary>
|
|
558
513
|
|
|
559
514
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutEventsCommandOutput/)
|
|
560
|
-
|
|
561
515
|
</details>
|
|
562
516
|
<details>
|
|
563
517
|
<summary>
|
|
@@ -565,7 +519,6 @@ PutPartnerEvents
|
|
|
565
519
|
</summary>
|
|
566
520
|
|
|
567
521
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutPartnerEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutPartnerEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutPartnerEventsCommandOutput/)
|
|
568
|
-
|
|
569
522
|
</details>
|
|
570
523
|
<details>
|
|
571
524
|
<summary>
|
|
@@ -573,7 +526,6 @@ PutPermission
|
|
|
573
526
|
</summary>
|
|
574
527
|
|
|
575
528
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutPermissionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutPermissionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutPermissionCommandOutput/)
|
|
576
|
-
|
|
577
529
|
</details>
|
|
578
530
|
<details>
|
|
579
531
|
<summary>
|
|
@@ -581,7 +533,6 @@ PutRule
|
|
|
581
533
|
</summary>
|
|
582
534
|
|
|
583
535
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutRuleCommandOutput/)
|
|
584
|
-
|
|
585
536
|
</details>
|
|
586
537
|
<details>
|
|
587
538
|
<summary>
|
|
@@ -589,7 +540,6 @@ PutTargets
|
|
|
589
540
|
</summary>
|
|
590
541
|
|
|
591
542
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/PutTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/PutTargetsCommandOutput/)
|
|
592
|
-
|
|
593
543
|
</details>
|
|
594
544
|
<details>
|
|
595
545
|
<summary>
|
|
@@ -597,7 +547,6 @@ RemovePermission
|
|
|
597
547
|
</summary>
|
|
598
548
|
|
|
599
549
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/RemovePermissionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/RemovePermissionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/RemovePermissionCommandOutput/)
|
|
600
|
-
|
|
601
550
|
</details>
|
|
602
551
|
<details>
|
|
603
552
|
<summary>
|
|
@@ -605,7 +554,6 @@ RemoveTargets
|
|
|
605
554
|
</summary>
|
|
606
555
|
|
|
607
556
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/RemoveTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/RemoveTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/RemoveTargetsCommandOutput/)
|
|
608
|
-
|
|
609
557
|
</details>
|
|
610
558
|
<details>
|
|
611
559
|
<summary>
|
|
@@ -613,7 +561,6 @@ StartReplay
|
|
|
613
561
|
</summary>
|
|
614
562
|
|
|
615
563
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/StartReplayCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/StartReplayCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/StartReplayCommandOutput/)
|
|
616
|
-
|
|
617
564
|
</details>
|
|
618
565
|
<details>
|
|
619
566
|
<summary>
|
|
@@ -621,7 +568,6 @@ TagResource
|
|
|
621
568
|
</summary>
|
|
622
569
|
|
|
623
570
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/TagResourceCommandOutput/)
|
|
624
|
-
|
|
625
571
|
</details>
|
|
626
572
|
<details>
|
|
627
573
|
<summary>
|
|
@@ -629,7 +575,6 @@ TestEventPattern
|
|
|
629
575
|
</summary>
|
|
630
576
|
|
|
631
577
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/TestEventPatternCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/TestEventPatternCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/TestEventPatternCommandOutput/)
|
|
632
|
-
|
|
633
578
|
</details>
|
|
634
579
|
<details>
|
|
635
580
|
<summary>
|
|
@@ -637,7 +582,6 @@ UntagResource
|
|
|
637
582
|
</summary>
|
|
638
583
|
|
|
639
584
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UntagResourceCommandOutput/)
|
|
640
|
-
|
|
641
585
|
</details>
|
|
642
586
|
<details>
|
|
643
587
|
<summary>
|
|
@@ -645,7 +589,6 @@ UpdateApiDestination
|
|
|
645
589
|
</summary>
|
|
646
590
|
|
|
647
591
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateApiDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateApiDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateApiDestinationCommandOutput/)
|
|
648
|
-
|
|
649
592
|
</details>
|
|
650
593
|
<details>
|
|
651
594
|
<summary>
|
|
@@ -653,7 +596,6 @@ UpdateArchive
|
|
|
653
596
|
</summary>
|
|
654
597
|
|
|
655
598
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateArchiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateArchiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateArchiveCommandOutput/)
|
|
656
|
-
|
|
657
599
|
</details>
|
|
658
600
|
<details>
|
|
659
601
|
<summary>
|
|
@@ -661,7 +603,6 @@ UpdateConnection
|
|
|
661
603
|
</summary>
|
|
662
604
|
|
|
663
605
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateConnectionCommandOutput/)
|
|
664
|
-
|
|
665
606
|
</details>
|
|
666
607
|
<details>
|
|
667
608
|
<summary>
|
|
@@ -669,7 +610,6 @@ UpdateEndpoint
|
|
|
669
610
|
</summary>
|
|
670
611
|
|
|
671
612
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEndpointCommandOutput/)
|
|
672
|
-
|
|
673
613
|
</details>
|
|
674
614
|
<details>
|
|
675
615
|
<summary>
|
|
@@ -677,5 +617,4 @@ UpdateEventBus
|
|
|
677
617
|
</summary>
|
|
678
618
|
|
|
679
619
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eventbridge/command/UpdateEventBusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEventBusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eventbridge/Interface/UpdateEventBusCommandOutput/)
|
|
680
|
-
|
|
681
620
|
</details>
|
|
@@ -8,13 +8,13 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
8
8
|
const endpointResolver_1 = require("../endpoint/endpointResolver");
|
|
9
9
|
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
10
10
|
if (!input) {
|
|
11
|
-
throw new Error(
|
|
11
|
+
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
12
12
|
}
|
|
13
13
|
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
14
14
|
const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
|
|
15
15
|
?.getEndpointParameterInstructions;
|
|
16
16
|
if (!instructionsFn) {
|
|
17
|
-
throw new Error(`getEndpointParameterInstructions() is not defined on
|
|
17
|
+
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
18
18
|
}
|
|
19
19
|
const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
20
20
|
return Object.assign(defaultParameters, endpointParameters);
|
|
@@ -22,10 +22,9 @@ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSc
|
|
|
22
22
|
const _defaultEventBridgeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
23
23
|
return {
|
|
24
24
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
25
|
-
region:
|
|
26
|
-
(
|
|
27
|
-
|
|
28
|
-
})(),
|
|
25
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
26
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
27
|
+
})(),
|
|
29
28
|
};
|
|
30
29
|
};
|
|
31
30
|
exports.defaultEventBridgeHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultEventBridgeHttpAuthSchemeParametersProvider);
|
|
@@ -71,7 +70,7 @@ const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, de
|
|
|
71
70
|
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
72
71
|
const name = resolvedName.toLowerCase();
|
|
73
72
|
if (resolvedName !== name) {
|
|
74
|
-
console.warn(`HttpAuthScheme has been normalized with lowercasing:
|
|
73
|
+
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
75
74
|
}
|
|
76
75
|
let schemeId;
|
|
77
76
|
if (name === "sigv4a") {
|
|
@@ -88,11 +87,11 @@ const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, de
|
|
|
88
87
|
schemeId = "aws.auth#sigv4";
|
|
89
88
|
}
|
|
90
89
|
else {
|
|
91
|
-
throw new Error(`Unknown HttpAuthScheme found in
|
|
90
|
+
throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
|
|
92
91
|
}
|
|
93
92
|
const createOption = createHttpAuthOptionFunctions[schemeId];
|
|
94
93
|
if (!createOption) {
|
|
95
|
-
throw new Error(`Could not find HttpAuthOption create function for
|
|
94
|
+
throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
|
|
96
95
|
}
|
|
97
96
|
const option = createOption(authParameters);
|
|
98
97
|
option.schemeId = schemeId;
|