@aws-sdk/client-chime-sdk-media-pipelines 3.645.0 → 3.650.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.
Files changed (41) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +31 -93
  3. package/dist-es/commands/CreateMediaCapturePipelineCommand.js +1 -3
  4. package/dist-es/commands/CreateMediaConcatenationPipelineCommand.js +1 -3
  5. package/dist-es/commands/CreateMediaInsightsPipelineCommand.js +1 -3
  6. package/dist-es/commands/CreateMediaInsightsPipelineConfigurationCommand.js +1 -3
  7. package/dist-es/commands/CreateMediaLiveConnectorPipelineCommand.js +1 -3
  8. package/dist-es/commands/CreateMediaPipelineKinesisVideoStreamPoolCommand.js +1 -3
  9. package/dist-es/commands/CreateMediaStreamPipelineCommand.js +1 -3
  10. package/dist-es/commands/DeleteMediaCapturePipelineCommand.js +1 -3
  11. package/dist-es/commands/DeleteMediaInsightsPipelineConfigurationCommand.js +1 -3
  12. package/dist-es/commands/DeleteMediaPipelineCommand.js +1 -3
  13. package/dist-es/commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand.js +1 -3
  14. package/dist-es/commands/GetMediaCapturePipelineCommand.js +1 -3
  15. package/dist-es/commands/GetMediaInsightsPipelineConfigurationCommand.js +1 -3
  16. package/dist-es/commands/GetMediaPipelineCommand.js +1 -3
  17. package/dist-es/commands/GetMediaPipelineKinesisVideoStreamPoolCommand.js +1 -3
  18. package/dist-es/commands/GetSpeakerSearchTaskCommand.js +1 -3
  19. package/dist-es/commands/GetVoiceToneAnalysisTaskCommand.js +1 -3
  20. package/dist-es/commands/ListMediaCapturePipelinesCommand.js +1 -3
  21. package/dist-es/commands/ListMediaInsightsPipelineConfigurationsCommand.js +1 -3
  22. package/dist-es/commands/ListMediaPipelineKinesisVideoStreamPoolsCommand.js +1 -3
  23. package/dist-es/commands/ListMediaPipelinesCommand.js +1 -3
  24. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  25. package/dist-es/commands/StartSpeakerSearchTaskCommand.js +1 -3
  26. package/dist-es/commands/StartVoiceToneAnalysisTaskCommand.js +1 -3
  27. package/dist-es/commands/StopSpeakerSearchTaskCommand.js +1 -3
  28. package/dist-es/commands/StopVoiceToneAnalysisTaskCommand.js +1 -3
  29. package/dist-es/commands/TagResourceCommand.js +1 -3
  30. package/dist-es/commands/UntagResourceCommand.js +1 -3
  31. package/dist-es/commands/UpdateMediaInsightsPipelineConfigurationCommand.js +1 -3
  32. package/dist-es/commands/UpdateMediaInsightsPipelineStatusCommand.js +1 -3
  33. package/dist-es/commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand.js +1 -3
  34. package/dist-es/endpoint/endpointResolver.js +7 -3
  35. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  36. package/dist-types/runtimeConfig.d.ts +2 -0
  37. package/dist-types/runtimeConfig.native.d.ts +2 -0
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  41. package/package.json +35 -35
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -2293,9 +2293,7 @@ var _nt = "next-token";
2293
2293
  var _o = "operation";
2294
2294
 
2295
2295
  // src/commands/CreateMediaCapturePipelineCommand.ts
2296
- var _CreateMediaCapturePipelineCommand = class _CreateMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2297
- ...commonParams
2298
- }).m(function(Command, cs, config, o) {
2296
+ var _CreateMediaCapturePipelineCommand = class _CreateMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2299
2297
  return [
2300
2298
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2301
2299
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2309,9 +2307,7 @@ var CreateMediaCapturePipelineCommand = _CreateMediaCapturePipelineCommand;
2309
2307
 
2310
2308
 
2311
2309
 
2312
- var _CreateMediaConcatenationPipelineCommand = class _CreateMediaConcatenationPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2313
- ...commonParams
2314
- }).m(function(Command, cs, config, o) {
2310
+ var _CreateMediaConcatenationPipelineCommand = class _CreateMediaConcatenationPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2315
2311
  return [
2316
2312
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2317
2313
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2328,9 +2324,7 @@ var CreateMediaConcatenationPipelineCommand = _CreateMediaConcatenationPipelineC
2328
2324
 
2329
2325
 
2330
2326
 
2331
- var _CreateMediaInsightsPipelineCommand = class _CreateMediaInsightsPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2332
- ...commonParams
2333
- }).m(function(Command, cs, config, o) {
2327
+ var _CreateMediaInsightsPipelineCommand = class _CreateMediaInsightsPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2334
2328
  return [
2335
2329
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2336
2330
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2344,9 +2338,7 @@ var CreateMediaInsightsPipelineCommand = _CreateMediaInsightsPipelineCommand;
2344
2338
 
2345
2339
 
2346
2340
 
2347
- var _CreateMediaInsightsPipelineConfigurationCommand = class _CreateMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2348
- ...commonParams
2349
- }).m(function(Command, cs, config, o) {
2341
+ var _CreateMediaInsightsPipelineConfigurationCommand = class _CreateMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2350
2342
  return [
2351
2343
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2352
2344
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2363,9 +2355,7 @@ var CreateMediaInsightsPipelineConfigurationCommand = _CreateMediaInsightsPipeli
2363
2355
 
2364
2356
 
2365
2357
 
2366
- var _CreateMediaLiveConnectorPipelineCommand = class _CreateMediaLiveConnectorPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2367
- ...commonParams
2368
- }).m(function(Command, cs, config, o) {
2358
+ var _CreateMediaLiveConnectorPipelineCommand = class _CreateMediaLiveConnectorPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2369
2359
  return [
2370
2360
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2371
2361
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2382,9 +2372,7 @@ var CreateMediaLiveConnectorPipelineCommand = _CreateMediaLiveConnectorPipelineC
2382
2372
 
2383
2373
 
2384
2374
 
2385
- var _CreateMediaPipelineKinesisVideoStreamPoolCommand = class _CreateMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep({
2386
- ...commonParams
2387
- }).m(function(Command, cs, config, o) {
2375
+ var _CreateMediaPipelineKinesisVideoStreamPoolCommand = class _CreateMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2388
2376
  return [
2389
2377
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2390
2378
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2401,9 +2389,7 @@ var CreateMediaPipelineKinesisVideoStreamPoolCommand = _CreateMediaPipelineKines
2401
2389
 
2402
2390
 
2403
2391
 
2404
- var _CreateMediaStreamPipelineCommand = class _CreateMediaStreamPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2405
- ...commonParams
2406
- }).m(function(Command, cs, config, o) {
2392
+ var _CreateMediaStreamPipelineCommand = class _CreateMediaStreamPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2407
2393
  return [
2408
2394
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2409
2395
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2417,9 +2403,7 @@ var CreateMediaStreamPipelineCommand = _CreateMediaStreamPipelineCommand;
2417
2403
 
2418
2404
 
2419
2405
 
2420
- var _DeleteMediaCapturePipelineCommand = class _DeleteMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2421
- ...commonParams
2422
- }).m(function(Command, cs, config, o) {
2406
+ var _DeleteMediaCapturePipelineCommand = class _DeleteMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2423
2407
  return [
2424
2408
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2425
2409
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2433,9 +2417,7 @@ var DeleteMediaCapturePipelineCommand = _DeleteMediaCapturePipelineCommand;
2433
2417
 
2434
2418
 
2435
2419
 
2436
- var _DeleteMediaInsightsPipelineConfigurationCommand = class _DeleteMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2437
- ...commonParams
2438
- }).m(function(Command, cs, config, o) {
2420
+ var _DeleteMediaInsightsPipelineConfigurationCommand = class _DeleteMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2439
2421
  return [
2440
2422
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2441
2423
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2449,9 +2431,7 @@ var DeleteMediaInsightsPipelineConfigurationCommand = _DeleteMediaInsightsPipeli
2449
2431
 
2450
2432
 
2451
2433
 
2452
- var _DeleteMediaPipelineCommand = class _DeleteMediaPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2453
- ...commonParams
2454
- }).m(function(Command, cs, config, o) {
2434
+ var _DeleteMediaPipelineCommand = class _DeleteMediaPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2455
2435
  return [
2456
2436
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2457
2437
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2465,9 +2445,7 @@ var DeleteMediaPipelineCommand = _DeleteMediaPipelineCommand;
2465
2445
 
2466
2446
 
2467
2447
 
2468
- var _DeleteMediaPipelineKinesisVideoStreamPoolCommand = class _DeleteMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep({
2469
- ...commonParams
2470
- }).m(function(Command, cs, config, o) {
2448
+ var _DeleteMediaPipelineKinesisVideoStreamPoolCommand = class _DeleteMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2471
2449
  return [
2472
2450
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2473
2451
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2481,9 +2459,7 @@ var DeleteMediaPipelineKinesisVideoStreamPoolCommand = _DeleteMediaPipelineKines
2481
2459
 
2482
2460
 
2483
2461
 
2484
- var _GetMediaCapturePipelineCommand = class _GetMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2485
- ...commonParams
2486
- }).m(function(Command, cs, config, o) {
2462
+ var _GetMediaCapturePipelineCommand = class _GetMediaCapturePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2487
2463
  return [
2488
2464
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2489
2465
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2497,9 +2473,7 @@ var GetMediaCapturePipelineCommand = _GetMediaCapturePipelineCommand;
2497
2473
 
2498
2474
 
2499
2475
 
2500
- var _GetMediaInsightsPipelineConfigurationCommand = class _GetMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2501
- ...commonParams
2502
- }).m(function(Command, cs, config, o) {
2476
+ var _GetMediaInsightsPipelineConfigurationCommand = class _GetMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2503
2477
  return [
2504
2478
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2505
2479
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2513,9 +2487,7 @@ var GetMediaInsightsPipelineConfigurationCommand = _GetMediaInsightsPipelineConf
2513
2487
 
2514
2488
 
2515
2489
 
2516
- var _GetMediaPipelineCommand = class _GetMediaPipelineCommand extends import_smithy_client.Command.classBuilder().ep({
2517
- ...commonParams
2518
- }).m(function(Command, cs, config, o) {
2490
+ var _GetMediaPipelineCommand = class _GetMediaPipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2519
2491
  return [
2520
2492
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2521
2493
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2529,9 +2501,7 @@ var GetMediaPipelineCommand = _GetMediaPipelineCommand;
2529
2501
 
2530
2502
 
2531
2503
 
2532
- var _GetMediaPipelineKinesisVideoStreamPoolCommand = class _GetMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep({
2533
- ...commonParams
2534
- }).m(function(Command, cs, config, o) {
2504
+ var _GetMediaPipelineKinesisVideoStreamPoolCommand = class _GetMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2535
2505
  return [
2536
2506
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2537
2507
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2545,9 +2515,7 @@ var GetMediaPipelineKinesisVideoStreamPoolCommand = _GetMediaPipelineKinesisVide
2545
2515
 
2546
2516
 
2547
2517
 
2548
- var _GetSpeakerSearchTaskCommand = class _GetSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2549
- ...commonParams
2550
- }).m(function(Command, cs, config, o) {
2518
+ var _GetSpeakerSearchTaskCommand = class _GetSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2551
2519
  return [
2552
2520
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2553
2521
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2561,9 +2529,7 @@ var GetSpeakerSearchTaskCommand = _GetSpeakerSearchTaskCommand;
2561
2529
 
2562
2530
 
2563
2531
 
2564
- var _GetVoiceToneAnalysisTaskCommand = class _GetVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2565
- ...commonParams
2566
- }).m(function(Command, cs, config, o) {
2532
+ var _GetVoiceToneAnalysisTaskCommand = class _GetVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2567
2533
  return [
2568
2534
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2569
2535
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2577,9 +2543,7 @@ var GetVoiceToneAnalysisTaskCommand = _GetVoiceToneAnalysisTaskCommand;
2577
2543
 
2578
2544
 
2579
2545
 
2580
- var _ListMediaCapturePipelinesCommand = class _ListMediaCapturePipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
2581
- ...commonParams
2582
- }).m(function(Command, cs, config, o) {
2546
+ var _ListMediaCapturePipelinesCommand = class _ListMediaCapturePipelinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2583
2547
  return [
2584
2548
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2585
2549
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2593,9 +2557,7 @@ var ListMediaCapturePipelinesCommand = _ListMediaCapturePipelinesCommand;
2593
2557
 
2594
2558
 
2595
2559
 
2596
- var _ListMediaInsightsPipelineConfigurationsCommand = class _ListMediaInsightsPipelineConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
2597
- ...commonParams
2598
- }).m(function(Command, cs, config, o) {
2560
+ var _ListMediaInsightsPipelineConfigurationsCommand = class _ListMediaInsightsPipelineConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2599
2561
  return [
2600
2562
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2601
2563
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2609,9 +2571,7 @@ var ListMediaInsightsPipelineConfigurationsCommand = _ListMediaInsightsPipelineC
2609
2571
 
2610
2572
 
2611
2573
 
2612
- var _ListMediaPipelineKinesisVideoStreamPoolsCommand = class _ListMediaPipelineKinesisVideoStreamPoolsCommand extends import_smithy_client.Command.classBuilder().ep({
2613
- ...commonParams
2614
- }).m(function(Command, cs, config, o) {
2574
+ var _ListMediaPipelineKinesisVideoStreamPoolsCommand = class _ListMediaPipelineKinesisVideoStreamPoolsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2615
2575
  return [
2616
2576
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2617
2577
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2625,9 +2585,7 @@ var ListMediaPipelineKinesisVideoStreamPoolsCommand = _ListMediaPipelineKinesisV
2625
2585
 
2626
2586
 
2627
2587
 
2628
- var _ListMediaPipelinesCommand = class _ListMediaPipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
2629
- ...commonParams
2630
- }).m(function(Command, cs, config, o) {
2588
+ var _ListMediaPipelinesCommand = class _ListMediaPipelinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2631
2589
  return [
2632
2590
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2633
2591
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2641,9 +2599,7 @@ var ListMediaPipelinesCommand = _ListMediaPipelinesCommand;
2641
2599
 
2642
2600
 
2643
2601
 
2644
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2645
- ...commonParams
2646
- }).m(function(Command, cs, config, o) {
2602
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2647
2603
  return [
2648
2604
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2649
2605
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2657,9 +2613,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2657
2613
 
2658
2614
 
2659
2615
 
2660
- var _StartSpeakerSearchTaskCommand = class _StartSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2661
- ...commonParams
2662
- }).m(function(Command, cs, config, o) {
2616
+ var _StartSpeakerSearchTaskCommand = class _StartSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2663
2617
  return [
2664
2618
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2665
2619
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2673,9 +2627,7 @@ var StartSpeakerSearchTaskCommand = _StartSpeakerSearchTaskCommand;
2673
2627
 
2674
2628
 
2675
2629
 
2676
- var _StartVoiceToneAnalysisTaskCommand = class _StartVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2677
- ...commonParams
2678
- }).m(function(Command, cs, config, o) {
2630
+ var _StartVoiceToneAnalysisTaskCommand = class _StartVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2679
2631
  return [
2680
2632
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2681
2633
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2689,9 +2641,7 @@ var StartVoiceToneAnalysisTaskCommand = _StartVoiceToneAnalysisTaskCommand;
2689
2641
 
2690
2642
 
2691
2643
 
2692
- var _StopSpeakerSearchTaskCommand = class _StopSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2693
- ...commonParams
2694
- }).m(function(Command, cs, config, o) {
2644
+ var _StopSpeakerSearchTaskCommand = class _StopSpeakerSearchTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2695
2645
  return [
2696
2646
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2697
2647
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2705,9 +2655,7 @@ var StopSpeakerSearchTaskCommand = _StopSpeakerSearchTaskCommand;
2705
2655
 
2706
2656
 
2707
2657
 
2708
- var _StopVoiceToneAnalysisTaskCommand = class _StopVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep({
2709
- ...commonParams
2710
- }).m(function(Command, cs, config, o) {
2658
+ var _StopVoiceToneAnalysisTaskCommand = class _StopVoiceToneAnalysisTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2711
2659
  return [
2712
2660
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2713
2661
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2721,9 +2669,7 @@ var StopVoiceToneAnalysisTaskCommand = _StopVoiceToneAnalysisTaskCommand;
2721
2669
 
2722
2670
 
2723
2671
 
2724
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2725
- ...commonParams
2726
- }).m(function(Command, cs, config, o) {
2672
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2727
2673
  return [
2728
2674
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2729
2675
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2737,9 +2683,7 @@ var TagResourceCommand = _TagResourceCommand;
2737
2683
 
2738
2684
 
2739
2685
 
2740
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2741
- ...commonParams
2742
- }).m(function(Command, cs, config, o) {
2686
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2743
2687
  return [
2744
2688
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2745
2689
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2753,9 +2697,7 @@ var UntagResourceCommand = _UntagResourceCommand;
2753
2697
 
2754
2698
 
2755
2699
 
2756
- var _UpdateMediaInsightsPipelineConfigurationCommand = class _UpdateMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2757
- ...commonParams
2758
- }).m(function(Command, cs, config, o) {
2700
+ var _UpdateMediaInsightsPipelineConfigurationCommand = class _UpdateMediaInsightsPipelineConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2759
2701
  return [
2760
2702
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2761
2703
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2772,9 +2714,7 @@ var UpdateMediaInsightsPipelineConfigurationCommand = _UpdateMediaInsightsPipeli
2772
2714
 
2773
2715
 
2774
2716
 
2775
- var _UpdateMediaInsightsPipelineStatusCommand = class _UpdateMediaInsightsPipelineStatusCommand extends import_smithy_client.Command.classBuilder().ep({
2776
- ...commonParams
2777
- }).m(function(Command, cs, config, o) {
2717
+ var _UpdateMediaInsightsPipelineStatusCommand = class _UpdateMediaInsightsPipelineStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2778
2718
  return [
2779
2719
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2780
2720
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2788,9 +2728,7 @@ var UpdateMediaInsightsPipelineStatusCommand = _UpdateMediaInsightsPipelineStatu
2788
2728
 
2789
2729
 
2790
2730
 
2791
- var _UpdateMediaPipelineKinesisVideoStreamPoolCommand = class _UpdateMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep({
2792
- ...commonParams
2793
- }).m(function(Command, cs, config, o) {
2731
+ var _UpdateMediaPipelineKinesisVideoStreamPoolCommand = class _UpdateMediaPipelineKinesisVideoStreamPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2794
2732
  return [
2795
2733
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2796
2734
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_CreateMediaCapturePipelineCommand, se_CreateMediaCapturePipelineComm
7
7
  export { $Command };
8
8
  export class CreateMediaCapturePipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaConcatenationPipelineCommand, se_CreateMediaConcatenation
7
7
  export { $Command };
8
8
  export class CreateMediaConcatenationPipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaInsightsPipelineCommand, se_CreateMediaInsightsPipelineCo
7
7
  export { $Command };
8
8
  export class CreateMediaInsightsPipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaInsightsPipelineConfigurationCommand, se_CreateMediaInsig
7
7
  export { $Command };
8
8
  export class CreateMediaInsightsPipelineConfigurationCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaLiveConnectorPipelineCommand, se_CreateMediaLiveConnector
7
7
  export { $Command };
8
8
  export class CreateMediaLiveConnectorPipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaPipelineKinesisVideoStreamPoolCommand, se_CreateMediaPipe
7
7
  export { $Command };
8
8
  export class CreateMediaPipelineKinesisVideoStreamPoolCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_CreateMediaStreamPipelineCommand, se_CreateMediaStreamPipelineComman
7
7
  export { $Command };
8
8
  export class CreateMediaStreamPipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteMediaCapturePipelineCommand, se_DeleteMediaCapturePipelineComm
6
6
  export { $Command };
7
7
  export class DeleteMediaCapturePipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteMediaInsightsPipelineConfigurationCommand, se_DeleteMediaInsig
6
6
  export { $Command };
7
7
  export class DeleteMediaInsightsPipelineConfigurationCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteMediaPipelineCommand, se_DeleteMediaPipelineCommand } from "..
6
6
  export { $Command };
7
7
  export class DeleteMediaPipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteMediaPipelineKinesisVideoStreamPoolCommand, se_DeleteMediaPipe
6
6
  export { $Command };
7
7
  export class DeleteMediaPipelineKinesisVideoStreamPoolCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetMediaCapturePipelineCommand, se_GetMediaCapturePipelineCommand }
7
7
  export { $Command };
8
8
  export class GetMediaCapturePipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetMediaInsightsPipelineConfigurationCommand, se_GetMediaInsightsPip
7
7
  export { $Command };
8
8
  export class GetMediaInsightsPipelineConfigurationCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetMediaPipelineCommand, se_GetMediaPipelineCommand } from "../proto
7
7
  export { $Command };
8
8
  export class GetMediaPipelineCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetMediaPipelineKinesisVideoStreamPoolCommand, se_GetMediaPipelineKi
7
7
  export { $Command };
8
8
  export class GetMediaPipelineKinesisVideoStreamPoolCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetSpeakerSearchTaskCommand, se_GetSpeakerSearchTaskCommand } from "
6
6
  export { $Command };
7
7
  export class GetSpeakerSearchTaskCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetVoiceToneAnalysisTaskCommand, se_GetVoiceToneAnalysisTaskCommand
6
6
  export { $Command };
7
7
  export class GetVoiceToneAnalysisTaskCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListMediaCapturePipelinesCommand, se_ListMediaCapturePipelinesComman
6
6
  export { $Command };
7
7
  export class ListMediaCapturePipelinesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListMediaInsightsPipelineConfigurationsCommand, se_ListMediaInsights
7
7
  export { $Command };
8
8
  export class ListMediaInsightsPipelineConfigurationsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListMediaPipelineKinesisVideoStreamPoolsCommand, se_ListMediaPipelin
7
7
  export { $Command };
8
8
  export class ListMediaPipelineKinesisVideoStreamPoolsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListMediaPipelinesCommand, se_ListMediaPipelinesCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListMediaPipelinesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartSpeakerSearchTaskCommand, se_StartSpeakerSearchTaskCommand } fr
7
7
  export { $Command };
8
8
  export class StartSpeakerSearchTaskCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_StartVoiceToneAnalysisTaskCommand, se_StartVoiceToneAnalysisTaskComm
7
7
  export { $Command };
8
8
  export class StartVoiceToneAnalysisTaskCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopSpeakerSearchTaskCommand, se_StopSpeakerSearchTaskCommand } from
6
6
  export { $Command };
7
7
  export class StopSpeakerSearchTaskCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StopVoiceToneAnalysisTaskCommand, se_StopVoiceToneAnalysisTaskComman
6
6
  export { $Command };
7
7
  export class StopVoiceToneAnalysisTaskCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateMediaInsightsPipelineConfigurationCommand, se_UpdateMediaInsig
7
7
  export { $Command };
8
8
  export class UpdateMediaInsightsPipelineConfigurationCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateMediaInsightsPipelineStatusCommand, se_UpdateMediaInsightsPipe
6
6
  export { $Command };
7
7
  export class UpdateMediaInsightsPipelineStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateMediaPipelineKinesisVideoStreamPoolCommand, se_UpdateMediaPipe
7
7
  export { $Command };
8
8
  export class UpdateMediaPipelineKinesisVideoStreamPoolCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: ChimeSDKMediaPipelinesClientConf
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMediaPipelinesHttpAuthSchemeProvider;
62
64
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-media-pipelines",
3
3
  "description": "AWS SDK for JavaScript Chime Sdk Media Pipelines Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-chime-sdk-media-pipelines",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"