@aws-sdk/client-codeconnections 3.957.0 → 3.958.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 -33
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +471 -368
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +471 -368
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript CodeConnections Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>AWS CodeConnections</fullname>
|
|
10
|
-
|
|
11
10
|
<p>This Amazon Web Services CodeConnections API Reference provides descriptions and usage examples of
|
|
12
11
|
the operations and data types for the Amazon Web Services CodeConnections API. You can use the
|
|
13
12
|
connections API to work with connections and installations.</p>
|
|
@@ -88,10 +87,8 @@ CodeConnections.</p>
|
|
|
88
87
|
Tools User Guide</a>.</p>
|
|
89
88
|
|
|
90
89
|
## Installing
|
|
91
|
-
|
|
92
90
|
To install this package, simply type add or install @aws-sdk/client-codeconnections
|
|
93
91
|
using your favorite package manager:
|
|
94
|
-
|
|
95
92
|
- `npm install @aws-sdk/client-codeconnections`
|
|
96
93
|
- `yarn add @aws-sdk/client-codeconnections`
|
|
97
94
|
- `pnpm add @aws-sdk/client-codeconnections`
|
|
@@ -127,9 +124,7 @@ To send a request, you:
|
|
|
127
124
|
// a client can be shared by different commands.
|
|
128
125
|
const client = new CodeConnectionsClient({ region: "REGION" });
|
|
129
126
|
|
|
130
|
-
const params = {
|
|
131
|
-
/** input parameters */
|
|
132
|
-
};
|
|
127
|
+
const params = { /** input parameters */ };
|
|
133
128
|
const command = new ListHostsCommand(params);
|
|
134
129
|
```
|
|
135
130
|
|
|
@@ -288,7 +283,6 @@ CreateConnection
|
|
|
288
283
|
</summary>
|
|
289
284
|
|
|
290
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/CreateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateConnectionCommandOutput/)
|
|
291
|
-
|
|
292
286
|
</details>
|
|
293
287
|
<details>
|
|
294
288
|
<summary>
|
|
@@ -296,7 +290,6 @@ CreateHost
|
|
|
296
290
|
</summary>
|
|
297
291
|
|
|
298
292
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/CreateHostCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateHostCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateHostCommandOutput/)
|
|
299
|
-
|
|
300
293
|
</details>
|
|
301
294
|
<details>
|
|
302
295
|
<summary>
|
|
@@ -304,7 +297,6 @@ CreateRepositoryLink
|
|
|
304
297
|
</summary>
|
|
305
298
|
|
|
306
299
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/CreateRepositoryLinkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateRepositoryLinkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateRepositoryLinkCommandOutput/)
|
|
307
|
-
|
|
308
300
|
</details>
|
|
309
301
|
<details>
|
|
310
302
|
<summary>
|
|
@@ -312,7 +304,6 @@ CreateSyncConfiguration
|
|
|
312
304
|
</summary>
|
|
313
305
|
|
|
314
306
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/CreateSyncConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateSyncConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/CreateSyncConfigurationCommandOutput/)
|
|
315
|
-
|
|
316
307
|
</details>
|
|
317
308
|
<details>
|
|
318
309
|
<summary>
|
|
@@ -320,7 +311,6 @@ DeleteConnection
|
|
|
320
311
|
</summary>
|
|
321
312
|
|
|
322
313
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteConnectionCommandOutput/)
|
|
323
|
-
|
|
324
314
|
</details>
|
|
325
315
|
<details>
|
|
326
316
|
<summary>
|
|
@@ -328,7 +318,6 @@ DeleteHost
|
|
|
328
318
|
</summary>
|
|
329
319
|
|
|
330
320
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/DeleteHostCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteHostCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteHostCommandOutput/)
|
|
331
|
-
|
|
332
321
|
</details>
|
|
333
322
|
<details>
|
|
334
323
|
<summary>
|
|
@@ -336,7 +325,6 @@ DeleteRepositoryLink
|
|
|
336
325
|
</summary>
|
|
337
326
|
|
|
338
327
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/DeleteRepositoryLinkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteRepositoryLinkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteRepositoryLinkCommandOutput/)
|
|
339
|
-
|
|
340
328
|
</details>
|
|
341
329
|
<details>
|
|
342
330
|
<summary>
|
|
@@ -344,7 +332,6 @@ DeleteSyncConfiguration
|
|
|
344
332
|
</summary>
|
|
345
333
|
|
|
346
334
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/DeleteSyncConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteSyncConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/DeleteSyncConfigurationCommandOutput/)
|
|
347
|
-
|
|
348
335
|
</details>
|
|
349
336
|
<details>
|
|
350
337
|
<summary>
|
|
@@ -352,7 +339,6 @@ GetConnection
|
|
|
352
339
|
</summary>
|
|
353
340
|
|
|
354
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetConnectionCommandOutput/)
|
|
355
|
-
|
|
356
342
|
</details>
|
|
357
343
|
<details>
|
|
358
344
|
<summary>
|
|
@@ -360,7 +346,6 @@ GetHost
|
|
|
360
346
|
</summary>
|
|
361
347
|
|
|
362
348
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetHostCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetHostCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetHostCommandOutput/)
|
|
363
|
-
|
|
364
349
|
</details>
|
|
365
350
|
<details>
|
|
366
351
|
<summary>
|
|
@@ -368,7 +353,6 @@ GetRepositoryLink
|
|
|
368
353
|
</summary>
|
|
369
354
|
|
|
370
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetRepositoryLinkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetRepositoryLinkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetRepositoryLinkCommandOutput/)
|
|
371
|
-
|
|
372
356
|
</details>
|
|
373
357
|
<details>
|
|
374
358
|
<summary>
|
|
@@ -376,7 +360,6 @@ GetRepositorySyncStatus
|
|
|
376
360
|
</summary>
|
|
377
361
|
|
|
378
362
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetRepositorySyncStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetRepositorySyncStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetRepositorySyncStatusCommandOutput/)
|
|
379
|
-
|
|
380
363
|
</details>
|
|
381
364
|
<details>
|
|
382
365
|
<summary>
|
|
@@ -384,7 +367,6 @@ GetResourceSyncStatus
|
|
|
384
367
|
</summary>
|
|
385
368
|
|
|
386
369
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetResourceSyncStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetResourceSyncStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetResourceSyncStatusCommandOutput/)
|
|
387
|
-
|
|
388
370
|
</details>
|
|
389
371
|
<details>
|
|
390
372
|
<summary>
|
|
@@ -392,7 +374,6 @@ GetSyncBlockerSummary
|
|
|
392
374
|
</summary>
|
|
393
375
|
|
|
394
376
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetSyncBlockerSummaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetSyncBlockerSummaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetSyncBlockerSummaryCommandOutput/)
|
|
395
|
-
|
|
396
377
|
</details>
|
|
397
378
|
<details>
|
|
398
379
|
<summary>
|
|
@@ -400,7 +381,6 @@ GetSyncConfiguration
|
|
|
400
381
|
</summary>
|
|
401
382
|
|
|
402
383
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/GetSyncConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetSyncConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/GetSyncConfigurationCommandOutput/)
|
|
403
|
-
|
|
404
384
|
</details>
|
|
405
385
|
<details>
|
|
406
386
|
<summary>
|
|
@@ -408,7 +388,6 @@ ListConnections
|
|
|
408
388
|
</summary>
|
|
409
389
|
|
|
410
390
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListConnectionsCommandOutput/)
|
|
411
|
-
|
|
412
391
|
</details>
|
|
413
392
|
<details>
|
|
414
393
|
<summary>
|
|
@@ -416,7 +395,6 @@ ListHosts
|
|
|
416
395
|
</summary>
|
|
417
396
|
|
|
418
397
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListHostsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListHostsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListHostsCommandOutput/)
|
|
419
|
-
|
|
420
398
|
</details>
|
|
421
399
|
<details>
|
|
422
400
|
<summary>
|
|
@@ -424,7 +402,6 @@ ListRepositoryLinks
|
|
|
424
402
|
</summary>
|
|
425
403
|
|
|
426
404
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListRepositoryLinksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListRepositoryLinksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListRepositoryLinksCommandOutput/)
|
|
427
|
-
|
|
428
405
|
</details>
|
|
429
406
|
<details>
|
|
430
407
|
<summary>
|
|
@@ -432,7 +409,6 @@ ListRepositorySyncDefinitions
|
|
|
432
409
|
</summary>
|
|
433
410
|
|
|
434
411
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListRepositorySyncDefinitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListRepositorySyncDefinitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListRepositorySyncDefinitionsCommandOutput/)
|
|
435
|
-
|
|
436
412
|
</details>
|
|
437
413
|
<details>
|
|
438
414
|
<summary>
|
|
@@ -440,7 +416,6 @@ ListSyncConfigurations
|
|
|
440
416
|
</summary>
|
|
441
417
|
|
|
442
418
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListSyncConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListSyncConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListSyncConfigurationsCommandOutput/)
|
|
443
|
-
|
|
444
419
|
</details>
|
|
445
420
|
<details>
|
|
446
421
|
<summary>
|
|
@@ -448,7 +423,6 @@ ListTagsForResource
|
|
|
448
423
|
</summary>
|
|
449
424
|
|
|
450
425
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/ListTagsForResourceCommandOutput/)
|
|
451
|
-
|
|
452
426
|
</details>
|
|
453
427
|
<details>
|
|
454
428
|
<summary>
|
|
@@ -456,7 +430,6 @@ TagResource
|
|
|
456
430
|
</summary>
|
|
457
431
|
|
|
458
432
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/TagResourceCommandOutput/)
|
|
459
|
-
|
|
460
433
|
</details>
|
|
461
434
|
<details>
|
|
462
435
|
<summary>
|
|
@@ -464,7 +437,6 @@ UntagResource
|
|
|
464
437
|
</summary>
|
|
465
438
|
|
|
466
439
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UntagResourceCommandOutput/)
|
|
467
|
-
|
|
468
440
|
</details>
|
|
469
441
|
<details>
|
|
470
442
|
<summary>
|
|
@@ -472,7 +444,6 @@ UpdateHost
|
|
|
472
444
|
</summary>
|
|
473
445
|
|
|
474
446
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/UpdateHostCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateHostCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateHostCommandOutput/)
|
|
475
|
-
|
|
476
447
|
</details>
|
|
477
448
|
<details>
|
|
478
449
|
<summary>
|
|
@@ -480,7 +451,6 @@ UpdateRepositoryLink
|
|
|
480
451
|
</summary>
|
|
481
452
|
|
|
482
453
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/UpdateRepositoryLinkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateRepositoryLinkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateRepositoryLinkCommandOutput/)
|
|
483
|
-
|
|
484
454
|
</details>
|
|
485
455
|
<details>
|
|
486
456
|
<summary>
|
|
@@ -488,7 +458,6 @@ UpdateSyncBlocker
|
|
|
488
458
|
</summary>
|
|
489
459
|
|
|
490
460
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/UpdateSyncBlockerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateSyncBlockerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateSyncBlockerCommandOutput/)
|
|
491
|
-
|
|
492
461
|
</details>
|
|
493
462
|
<details>
|
|
494
463
|
<summary>
|
|
@@ -496,5 +465,4 @@ UpdateSyncConfiguration
|
|
|
496
465
|
</summary>
|
|
497
466
|
|
|
498
467
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/codeconnections/command/UpdateSyncConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateSyncConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codeconnections/Interface/UpdateSyncConfigurationCommandOutput/)
|
|
499
|
-
|
|
500
468
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultCodeConnectionsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultCodeConnectionsHttpAuthSchemeParametersProvider = defaultCodeConnectionsHttpAuthSchemeParametersProvider;
|