@aws-sdk/client-accessanalyzer 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 (45) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +35 -105
  3. package/dist-es/commands/ApplyArchiveRuleCommand.js +1 -3
  4. package/dist-es/commands/CancelPolicyGenerationCommand.js +1 -3
  5. package/dist-es/commands/CheckAccessNotGrantedCommand.js +1 -3
  6. package/dist-es/commands/CheckNoNewAccessCommand.js +1 -3
  7. package/dist-es/commands/CheckNoPublicAccessCommand.js +1 -3
  8. package/dist-es/commands/CreateAccessPreviewCommand.js +1 -3
  9. package/dist-es/commands/CreateAnalyzerCommand.js +1 -3
  10. package/dist-es/commands/CreateArchiveRuleCommand.js +1 -3
  11. package/dist-es/commands/DeleteAnalyzerCommand.js +1 -3
  12. package/dist-es/commands/DeleteArchiveRuleCommand.js +1 -3
  13. package/dist-es/commands/GenerateFindingRecommendationCommand.js +1 -3
  14. package/dist-es/commands/GetAccessPreviewCommand.js +1 -3
  15. package/dist-es/commands/GetAnalyzedResourceCommand.js +1 -3
  16. package/dist-es/commands/GetAnalyzerCommand.js +1 -3
  17. package/dist-es/commands/GetArchiveRuleCommand.js +1 -3
  18. package/dist-es/commands/GetFindingCommand.js +1 -3
  19. package/dist-es/commands/GetFindingRecommendationCommand.js +1 -3
  20. package/dist-es/commands/GetFindingV2Command.js +1 -3
  21. package/dist-es/commands/GetGeneratedPolicyCommand.js +1 -3
  22. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +1 -3
  23. package/dist-es/commands/ListAccessPreviewsCommand.js +1 -3
  24. package/dist-es/commands/ListAnalyzedResourcesCommand.js +1 -3
  25. package/dist-es/commands/ListAnalyzersCommand.js +1 -3
  26. package/dist-es/commands/ListArchiveRulesCommand.js +1 -3
  27. package/dist-es/commands/ListFindingsCommand.js +1 -3
  28. package/dist-es/commands/ListFindingsV2Command.js +1 -3
  29. package/dist-es/commands/ListPolicyGenerationsCommand.js +1 -3
  30. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  31. package/dist-es/commands/StartPolicyGenerationCommand.js +1 -3
  32. package/dist-es/commands/StartResourceScanCommand.js +1 -3
  33. package/dist-es/commands/TagResourceCommand.js +1 -3
  34. package/dist-es/commands/UntagResourceCommand.js +1 -3
  35. package/dist-es/commands/UpdateArchiveRuleCommand.js +1 -3
  36. package/dist-es/commands/UpdateFindingsCommand.js +1 -3
  37. package/dist-es/commands/ValidatePolicyCommand.js +1 -3
  38. package/dist-es/endpoint/endpointResolver.js +7 -3
  39. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  40. package/dist-types/runtimeConfig.d.ts +2 -0
  41. package/dist-types/runtimeConfig.native.d.ts +2 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  45. 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
@@ -2228,9 +2228,7 @@ var _t = "type";
2228
2228
  var _tK = "tagKeys";
2229
2229
 
2230
2230
  // src/commands/ApplyArchiveRuleCommand.ts
2231
- var _ApplyArchiveRuleCommand = class _ApplyArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2232
- ...commonParams
2233
- }).m(function(Command, cs, config, o) {
2231
+ var _ApplyArchiveRuleCommand = class _ApplyArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2234
2232
  return [
2235
2233
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2236
2234
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2244,9 +2242,7 @@ var ApplyArchiveRuleCommand = _ApplyArchiveRuleCommand;
2244
2242
 
2245
2243
 
2246
2244
 
2247
- var _CancelPolicyGenerationCommand = class _CancelPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
2248
- ...commonParams
2249
- }).m(function(Command, cs, config, o) {
2245
+ var _CancelPolicyGenerationCommand = class _CancelPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2250
2246
  return [
2251
2247
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2252
2248
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2260,9 +2256,7 @@ var CancelPolicyGenerationCommand = _CancelPolicyGenerationCommand;
2260
2256
 
2261
2257
 
2262
2258
 
2263
- var _CheckAccessNotGrantedCommand = class _CheckAccessNotGrantedCommand extends import_smithy_client.Command.classBuilder().ep({
2264
- ...commonParams
2265
- }).m(function(Command, cs, config, o) {
2259
+ var _CheckAccessNotGrantedCommand = class _CheckAccessNotGrantedCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2266
2260
  return [
2267
2261
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2268
2262
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2276,9 +2270,7 @@ var CheckAccessNotGrantedCommand = _CheckAccessNotGrantedCommand;
2276
2270
 
2277
2271
 
2278
2272
 
2279
- var _CheckNoNewAccessCommand = class _CheckNoNewAccessCommand extends import_smithy_client.Command.classBuilder().ep({
2280
- ...commonParams
2281
- }).m(function(Command, cs, config, o) {
2273
+ var _CheckNoNewAccessCommand = class _CheckNoNewAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2282
2274
  return [
2283
2275
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2284
2276
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2292,9 +2284,7 @@ var CheckNoNewAccessCommand = _CheckNoNewAccessCommand;
2292
2284
 
2293
2285
 
2294
2286
 
2295
- var _CheckNoPublicAccessCommand = class _CheckNoPublicAccessCommand extends import_smithy_client.Command.classBuilder().ep({
2296
- ...commonParams
2297
- }).m(function(Command, cs, config, o) {
2287
+ var _CheckNoPublicAccessCommand = class _CheckNoPublicAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2298
2288
  return [
2299
2289
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2300
2290
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2308,9 +2298,7 @@ var CheckNoPublicAccessCommand = _CheckNoPublicAccessCommand;
2308
2298
 
2309
2299
 
2310
2300
 
2311
- var _CreateAccessPreviewCommand = class _CreateAccessPreviewCommand extends import_smithy_client.Command.classBuilder().ep({
2312
- ...commonParams
2313
- }).m(function(Command, cs, config, o) {
2301
+ var _CreateAccessPreviewCommand = class _CreateAccessPreviewCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2314
2302
  return [
2315
2303
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2316
2304
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2324,9 +2312,7 @@ var CreateAccessPreviewCommand = _CreateAccessPreviewCommand;
2324
2312
 
2325
2313
 
2326
2314
 
2327
- var _CreateAnalyzerCommand = class _CreateAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
2328
- ...commonParams
2329
- }).m(function(Command, cs, config, o) {
2315
+ var _CreateAnalyzerCommand = class _CreateAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2330
2316
  return [
2331
2317
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2332
2318
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2340,9 +2326,7 @@ var CreateAnalyzerCommand = _CreateAnalyzerCommand;
2340
2326
 
2341
2327
 
2342
2328
 
2343
- var _CreateArchiveRuleCommand = class _CreateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2344
- ...commonParams
2345
- }).m(function(Command, cs, config, o) {
2329
+ var _CreateArchiveRuleCommand = class _CreateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2346
2330
  return [
2347
2331
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2348
2332
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2356,9 +2340,7 @@ var CreateArchiveRuleCommand = _CreateArchiveRuleCommand;
2356
2340
 
2357
2341
 
2358
2342
 
2359
- var _DeleteAnalyzerCommand = class _DeleteAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
2360
- ...commonParams
2361
- }).m(function(Command, cs, config, o) {
2343
+ var _DeleteAnalyzerCommand = class _DeleteAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2362
2344
  return [
2363
2345
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2364
2346
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2372,9 +2354,7 @@ var DeleteAnalyzerCommand = _DeleteAnalyzerCommand;
2372
2354
 
2373
2355
 
2374
2356
 
2375
- var _DeleteArchiveRuleCommand = class _DeleteArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2376
- ...commonParams
2377
- }).m(function(Command, cs, config, o) {
2357
+ var _DeleteArchiveRuleCommand = class _DeleteArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2378
2358
  return [
2379
2359
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2380
2360
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2388,9 +2368,7 @@ var DeleteArchiveRuleCommand = _DeleteArchiveRuleCommand;
2388
2368
 
2389
2369
 
2390
2370
 
2391
- var _GenerateFindingRecommendationCommand = class _GenerateFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
2392
- ...commonParams
2393
- }).m(function(Command, cs, config, o) {
2371
+ var _GenerateFindingRecommendationCommand = class _GenerateFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2394
2372
  return [
2395
2373
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2396
2374
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2404,9 +2382,7 @@ var GenerateFindingRecommendationCommand = _GenerateFindingRecommendationCommand
2404
2382
 
2405
2383
 
2406
2384
 
2407
- var _GetAccessPreviewCommand = class _GetAccessPreviewCommand extends import_smithy_client.Command.classBuilder().ep({
2408
- ...commonParams
2409
- }).m(function(Command, cs, config, o) {
2385
+ var _GetAccessPreviewCommand = class _GetAccessPreviewCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2410
2386
  return [
2411
2387
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2412
2388
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2420,9 +2396,7 @@ var GetAccessPreviewCommand = _GetAccessPreviewCommand;
2420
2396
 
2421
2397
 
2422
2398
 
2423
- var _GetAnalyzedResourceCommand = class _GetAnalyzedResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2424
- ...commonParams
2425
- }).m(function(Command, cs, config, o) {
2399
+ var _GetAnalyzedResourceCommand = class _GetAnalyzedResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2426
2400
  return [
2427
2401
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2428
2402
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2436,9 +2410,7 @@ var GetAnalyzedResourceCommand = _GetAnalyzedResourceCommand;
2436
2410
 
2437
2411
 
2438
2412
 
2439
- var _GetAnalyzerCommand = class _GetAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep({
2440
- ...commonParams
2441
- }).m(function(Command, cs, config, o) {
2413
+ var _GetAnalyzerCommand = class _GetAnalyzerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2442
2414
  return [
2443
2415
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2444
2416
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2452,9 +2424,7 @@ var GetAnalyzerCommand = _GetAnalyzerCommand;
2452
2424
 
2453
2425
 
2454
2426
 
2455
- var _GetArchiveRuleCommand = class _GetArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2456
- ...commonParams
2457
- }).m(function(Command, cs, config, o) {
2427
+ var _GetArchiveRuleCommand = class _GetArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2458
2428
  return [
2459
2429
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2460
2430
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2468,9 +2438,7 @@ var GetArchiveRuleCommand = _GetArchiveRuleCommand;
2468
2438
 
2469
2439
 
2470
2440
 
2471
- var _GetFindingCommand = class _GetFindingCommand extends import_smithy_client.Command.classBuilder().ep({
2472
- ...commonParams
2473
- }).m(function(Command, cs, config, o) {
2441
+ var _GetFindingCommand = class _GetFindingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2474
2442
  return [
2475
2443
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2476
2444
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2484,9 +2452,7 @@ var GetFindingCommand = _GetFindingCommand;
2484
2452
 
2485
2453
 
2486
2454
 
2487
- var _GetFindingRecommendationCommand = class _GetFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
2488
- ...commonParams
2489
- }).m(function(Command, cs, config, o) {
2455
+ var _GetFindingRecommendationCommand = class _GetFindingRecommendationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2490
2456
  return [
2491
2457
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2492
2458
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2500,9 +2466,7 @@ var GetFindingRecommendationCommand = _GetFindingRecommendationCommand;
2500
2466
 
2501
2467
 
2502
2468
 
2503
- var _GetFindingV2Command = class _GetFindingV2Command extends import_smithy_client.Command.classBuilder().ep({
2504
- ...commonParams
2505
- }).m(function(Command, cs, config, o) {
2469
+ var _GetFindingV2Command = class _GetFindingV2Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2506
2470
  return [
2507
2471
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2508
2472
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2516,9 +2480,7 @@ var GetFindingV2Command = _GetFindingV2Command;
2516
2480
 
2517
2481
 
2518
2482
 
2519
- var _GetGeneratedPolicyCommand = class _GetGeneratedPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2520
- ...commonParams
2521
- }).m(function(Command, cs, config, o) {
2483
+ var _GetGeneratedPolicyCommand = class _GetGeneratedPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2522
2484
  return [
2523
2485
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2524
2486
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2532,9 +2494,7 @@ var GetGeneratedPolicyCommand = _GetGeneratedPolicyCommand;
2532
2494
 
2533
2495
 
2534
2496
 
2535
- var _ListAccessPreviewFindingsCommand = class _ListAccessPreviewFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
2536
- ...commonParams
2537
- }).m(function(Command, cs, config, o) {
2497
+ var _ListAccessPreviewFindingsCommand = class _ListAccessPreviewFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2538
2498
  return [
2539
2499
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2540
2500
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2548,9 +2508,7 @@ var ListAccessPreviewFindingsCommand = _ListAccessPreviewFindingsCommand;
2548
2508
 
2549
2509
 
2550
2510
 
2551
- var _ListAccessPreviewsCommand = class _ListAccessPreviewsCommand extends import_smithy_client.Command.classBuilder().ep({
2552
- ...commonParams
2553
- }).m(function(Command, cs, config, o) {
2511
+ var _ListAccessPreviewsCommand = class _ListAccessPreviewsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2554
2512
  return [
2555
2513
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2556
2514
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2564,9 +2522,7 @@ var ListAccessPreviewsCommand = _ListAccessPreviewsCommand;
2564
2522
 
2565
2523
 
2566
2524
 
2567
- var _ListAnalyzedResourcesCommand = class _ListAnalyzedResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
2568
- ...commonParams
2569
- }).m(function(Command, cs, config, o) {
2525
+ var _ListAnalyzedResourcesCommand = class _ListAnalyzedResourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2570
2526
  return [
2571
2527
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2572
2528
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2580,9 +2536,7 @@ var ListAnalyzedResourcesCommand = _ListAnalyzedResourcesCommand;
2580
2536
 
2581
2537
 
2582
2538
 
2583
- var _ListAnalyzersCommand = class _ListAnalyzersCommand extends import_smithy_client.Command.classBuilder().ep({
2584
- ...commonParams
2585
- }).m(function(Command, cs, config, o) {
2539
+ var _ListAnalyzersCommand = class _ListAnalyzersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2586
2540
  return [
2587
2541
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2588
2542
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2596,9 +2550,7 @@ var ListAnalyzersCommand = _ListAnalyzersCommand;
2596
2550
 
2597
2551
 
2598
2552
 
2599
- var _ListArchiveRulesCommand = class _ListArchiveRulesCommand extends import_smithy_client.Command.classBuilder().ep({
2600
- ...commonParams
2601
- }).m(function(Command, cs, config, o) {
2553
+ var _ListArchiveRulesCommand = class _ListArchiveRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2602
2554
  return [
2603
2555
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2604
2556
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2612,9 +2564,7 @@ var ListArchiveRulesCommand = _ListArchiveRulesCommand;
2612
2564
 
2613
2565
 
2614
2566
 
2615
- var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
2616
- ...commonParams
2617
- }).m(function(Command, cs, config, o) {
2567
+ var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2618
2568
  return [
2619
2569
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2620
2570
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2628,9 +2578,7 @@ var ListFindingsCommand = _ListFindingsCommand;
2628
2578
 
2629
2579
 
2630
2580
 
2631
- var _ListFindingsV2Command = class _ListFindingsV2Command extends import_smithy_client.Command.classBuilder().ep({
2632
- ...commonParams
2633
- }).m(function(Command, cs, config, o) {
2581
+ var _ListFindingsV2Command = class _ListFindingsV2Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2634
2582
  return [
2635
2583
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2636
2584
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2644,9 +2592,7 @@ var ListFindingsV2Command = _ListFindingsV2Command;
2644
2592
 
2645
2593
 
2646
2594
 
2647
- var _ListPolicyGenerationsCommand = class _ListPolicyGenerationsCommand extends import_smithy_client.Command.classBuilder().ep({
2648
- ...commonParams
2649
- }).m(function(Command, cs, config, o) {
2595
+ var _ListPolicyGenerationsCommand = class _ListPolicyGenerationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2650
2596
  return [
2651
2597
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2652
2598
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2660,9 +2606,7 @@ var ListPolicyGenerationsCommand = _ListPolicyGenerationsCommand;
2660
2606
 
2661
2607
 
2662
2608
 
2663
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2664
- ...commonParams
2665
- }).m(function(Command, cs, config, o) {
2609
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2666
2610
  return [
2667
2611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2668
2612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2676,9 +2620,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2676
2620
 
2677
2621
 
2678
2622
 
2679
- var _StartPolicyGenerationCommand = class _StartPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
2680
- ...commonParams
2681
- }).m(function(Command, cs, config, o) {
2623
+ var _StartPolicyGenerationCommand = class _StartPolicyGenerationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2682
2624
  return [
2683
2625
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2684
2626
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2692,9 +2634,7 @@ var StartPolicyGenerationCommand = _StartPolicyGenerationCommand;
2692
2634
 
2693
2635
 
2694
2636
 
2695
- var _StartResourceScanCommand = class _StartResourceScanCommand extends import_smithy_client.Command.classBuilder().ep({
2696
- ...commonParams
2697
- }).m(function(Command, cs, config, o) {
2637
+ var _StartResourceScanCommand = class _StartResourceScanCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2698
2638
  return [
2699
2639
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2700
2640
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2708,9 +2648,7 @@ var StartResourceScanCommand = _StartResourceScanCommand;
2708
2648
 
2709
2649
 
2710
2650
 
2711
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2712
- ...commonParams
2713
- }).m(function(Command, cs, config, o) {
2651
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2714
2652
  return [
2715
2653
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2716
2654
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2724,9 +2662,7 @@ var TagResourceCommand = _TagResourceCommand;
2724
2662
 
2725
2663
 
2726
2664
 
2727
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2728
- ...commonParams
2729
- }).m(function(Command, cs, config, o) {
2665
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2730
2666
  return [
2731
2667
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2732
2668
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2740,9 +2676,7 @@ var UntagResourceCommand = _UntagResourceCommand;
2740
2676
 
2741
2677
 
2742
2678
 
2743
- var _UpdateArchiveRuleCommand = class _UpdateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep({
2744
- ...commonParams
2745
- }).m(function(Command, cs, config, o) {
2679
+ var _UpdateArchiveRuleCommand = class _UpdateArchiveRuleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2746
2680
  return [
2747
2681
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2748
2682
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2756,9 +2690,7 @@ var UpdateArchiveRuleCommand = _UpdateArchiveRuleCommand;
2756
2690
 
2757
2691
 
2758
2692
 
2759
- var _UpdateFindingsCommand = class _UpdateFindingsCommand extends import_smithy_client.Command.classBuilder().ep({
2760
- ...commonParams
2761
- }).m(function(Command, cs, config, o) {
2693
+ var _UpdateFindingsCommand = class _UpdateFindingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2762
2694
  return [
2763
2695
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2764
2696
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -2772,9 +2704,7 @@ var UpdateFindingsCommand = _UpdateFindingsCommand;
2772
2704
 
2773
2705
 
2774
2706
 
2775
- var _ValidatePolicyCommand = class _ValidatePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2776
- ...commonParams
2777
- }).m(function(Command, cs, config, o) {
2707
+ var _ValidatePolicyCommand = class _ValidatePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2778
2708
  return [
2779
2709
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2780
2710
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_ApplyArchiveRuleCommand, se_ApplyArchiveRuleCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ApplyArchiveRuleCommand 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_CancelPolicyGenerationCommand, se_CancelPolicyGenerationCommand } fr
6
6
  export { $Command };
7
7
  export class CancelPolicyGenerationCommand 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_CheckAccessNotGrantedCommand, se_CheckAccessNotGrantedCommand } from
7
7
  export { $Command };
8
8
  export class CheckAccessNotGrantedCommand 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_CheckNoNewAccessCommand, se_CheckNoNewAccessCommand } from "../proto
7
7
  export { $Command };
8
8
  export class CheckNoNewAccessCommand 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_CheckNoPublicAccessCommand, se_CheckNoPublicAccessCommand } from "..
7
7
  export { $Command };
8
8
  export class CheckNoPublicAccessCommand 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_CreateAccessPreviewCommand, se_CreateAccessPreviewCommand } from "..
6
6
  export { $Command };
7
7
  export class CreateAccessPreviewCommand 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_CreateAnalyzerCommand, se_CreateAnalyzerCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreateAnalyzerCommand 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_CreateArchiveRuleCommand, se_CreateArchiveRuleCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateArchiveRuleCommand 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_DeleteAnalyzerCommand, se_DeleteAnalyzerCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeleteAnalyzerCommand 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_DeleteArchiveRuleCommand, se_DeleteArchiveRuleCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteArchiveRuleCommand 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_GenerateFindingRecommendationCommand, se_GenerateFindingRecommendati
6
6
  export { $Command };
7
7
  export class GenerateFindingRecommendationCommand 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_GetAccessPreviewCommand, se_GetAccessPreviewCommand } from "../proto
6
6
  export { $Command };
7
7
  export class GetAccessPreviewCommand 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_GetAnalyzedResourceCommand, se_GetAnalyzedResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class GetAnalyzedResourceCommand 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_GetAnalyzerCommand, se_GetAnalyzerCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class GetAnalyzerCommand 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_GetArchiveRuleCommand, se_GetArchiveRuleCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class GetArchiveRuleCommand 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_GetFindingCommand, se_GetFindingCommand } from "../protocols/Aws_res
6
6
  export { $Command };
7
7
  export class GetFindingCommand 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_GetFindingRecommendationCommand, se_GetFindingRecommendationCommand
6
6
  export { $Command };
7
7
  export class GetFindingRecommendationCommand 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_GetFindingV2Command, se_GetFindingV2Command } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class GetFindingV2Command 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_GetGeneratedPolicyCommand, se_GetGeneratedPolicyCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetGeneratedPolicyCommand 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_ListAccessPreviewFindingsCommand, se_ListAccessPreviewFindingsComman
6
6
  export { $Command };
7
7
  export class ListAccessPreviewFindingsCommand 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_ListAccessPreviewsCommand, se_ListAccessPreviewsCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListAccessPreviewsCommand 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_ListAnalyzedResourcesCommand, se_ListAnalyzedResourcesCommand } from
6
6
  export { $Command };
7
7
  export class ListAnalyzedResourcesCommand 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_ListAnalyzersCommand, se_ListAnalyzersCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class ListAnalyzersCommand 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_ListArchiveRulesCommand, se_ListArchiveRulesCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListArchiveRulesCommand 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_ListFindingsCommand, se_ListFindingsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListFindingsCommand 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_ListFindingsV2Command, se_ListFindingsV2Command } from "../protocols
6
6
  export { $Command };
7
7
  export class ListFindingsV2Command 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_ListPolicyGenerationsCommand, se_ListPolicyGenerationsCommand } from
6
6
  export { $Command };
7
7
  export class ListPolicyGenerationsCommand 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),
@@ -6,9 +6,7 @@ import { de_StartPolicyGenerationCommand, se_StartPolicyGenerationCommand } from
6
6
  export { $Command };
7
7
  export class StartPolicyGenerationCommand 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_StartResourceScanCommand, se_StartResourceScanCommand } from "../pro
6
6
  export { $Command };
7
7
  export class StartResourceScanCommand 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),
@@ -6,9 +6,7 @@ import { de_UpdateArchiveRuleCommand, se_UpdateArchiveRuleCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateArchiveRuleCommand 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_UpdateFindingsCommand, se_UpdateFindingsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class UpdateFindingsCommand 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_ValidatePolicyCommand, se_ValidatePolicyCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ValidatePolicyCommand 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),
@@ -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: AccessAnalyzerClientConfig) => {
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: AccessAnalyzerClientConfig) => {
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").AccessAnalyzerHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
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: AccessAnalyzerClientConfig) => {
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").AccessAnalyzerHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
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: AccessAnalyzerClientConfig) => {
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").AccessAnalyzerHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
61
62
  }
62
63
  ) => import("@smithy/types").EndpointV2;
63
64
  tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
64
66
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
67
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccessAnalyzerHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
65
66
  }
66
67
  ) => import("@smithy/types").EndpointV2;
67
68
  tls?: boolean | undefined;
69
+ serviceConfiguredEndpoint?: undefined;
68
70
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
71
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccessAnalyzerHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
61
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccessAnalyzerHttpAuthSchemeProvider;
60
62
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
3
  "description": "AWS SDK for JavaScript Accessanalyzer 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-accessanalyzer",
@@ -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"