@aws-sdk/client-organizations 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 (65) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +55 -165
  3. package/dist-es/commands/AcceptHandshakeCommand.js +1 -3
  4. package/dist-es/commands/AttachPolicyCommand.js +1 -3
  5. package/dist-es/commands/CancelHandshakeCommand.js +1 -3
  6. package/dist-es/commands/CloseAccountCommand.js +1 -3
  7. package/dist-es/commands/CreateAccountCommand.js +1 -3
  8. package/dist-es/commands/CreateGovCloudAccountCommand.js +1 -3
  9. package/dist-es/commands/CreateOrganizationCommand.js +1 -3
  10. package/dist-es/commands/CreateOrganizationalUnitCommand.js +1 -3
  11. package/dist-es/commands/CreatePolicyCommand.js +1 -3
  12. package/dist-es/commands/DeclineHandshakeCommand.js +1 -3
  13. package/dist-es/commands/DeleteOrganizationCommand.js +1 -3
  14. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +1 -3
  15. package/dist-es/commands/DeletePolicyCommand.js +1 -3
  16. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  17. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +1 -3
  18. package/dist-es/commands/DescribeAccountCommand.js +1 -3
  19. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +1 -3
  20. package/dist-es/commands/DescribeEffectivePolicyCommand.js +1 -3
  21. package/dist-es/commands/DescribeHandshakeCommand.js +1 -3
  22. package/dist-es/commands/DescribeOrganizationCommand.js +1 -3
  23. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +1 -3
  24. package/dist-es/commands/DescribePolicyCommand.js +1 -3
  25. package/dist-es/commands/DescribeResourcePolicyCommand.js +1 -3
  26. package/dist-es/commands/DetachPolicyCommand.js +1 -3
  27. package/dist-es/commands/DisableAWSServiceAccessCommand.js +1 -3
  28. package/dist-es/commands/DisablePolicyTypeCommand.js +1 -3
  29. package/dist-es/commands/EnableAWSServiceAccessCommand.js +1 -3
  30. package/dist-es/commands/EnableAllFeaturesCommand.js +1 -3
  31. package/dist-es/commands/EnablePolicyTypeCommand.js +1 -3
  32. package/dist-es/commands/InviteAccountToOrganizationCommand.js +1 -3
  33. package/dist-es/commands/LeaveOrganizationCommand.js +1 -3
  34. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +1 -3
  35. package/dist-es/commands/ListAccountsCommand.js +1 -3
  36. package/dist-es/commands/ListAccountsForParentCommand.js +1 -3
  37. package/dist-es/commands/ListChildrenCommand.js +1 -3
  38. package/dist-es/commands/ListCreateAccountStatusCommand.js +1 -3
  39. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +1 -3
  40. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +1 -3
  41. package/dist-es/commands/ListHandshakesForAccountCommand.js +1 -3
  42. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +1 -3
  43. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +1 -3
  44. package/dist-es/commands/ListParentsCommand.js +1 -3
  45. package/dist-es/commands/ListPoliciesCommand.js +1 -3
  46. package/dist-es/commands/ListPoliciesForTargetCommand.js +1 -3
  47. package/dist-es/commands/ListRootsCommand.js +1 -3
  48. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  49. package/dist-es/commands/ListTargetsForPolicyCommand.js +1 -3
  50. package/dist-es/commands/MoveAccountCommand.js +1 -3
  51. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  52. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +1 -3
  53. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +1 -3
  54. package/dist-es/commands/TagResourceCommand.js +1 -3
  55. package/dist-es/commands/UntagResourceCommand.js +1 -3
  56. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +1 -3
  57. package/dist-es/commands/UpdatePolicyCommand.js +1 -3
  58. package/dist-es/endpoint/endpointResolver.js +7 -3
  59. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  60. package/dist-types/runtimeConfig.d.ts +2 -0
  61. package/dist-types/runtimeConfig.native.d.ts +2 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  65. 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
@@ -3344,9 +3344,7 @@ function sharedHeaders(operation) {
3344
3344
  __name(sharedHeaders, "sharedHeaders");
3345
3345
 
3346
3346
  // src/commands/AcceptHandshakeCommand.ts
3347
- var _AcceptHandshakeCommand = class _AcceptHandshakeCommand extends import_smithy_client.Command.classBuilder().ep({
3348
- ...commonParams
3349
- }).m(function(Command, cs, config, o) {
3347
+ var _AcceptHandshakeCommand = class _AcceptHandshakeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3350
3348
  return [
3351
3349
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3352
3350
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3360,9 +3358,7 @@ var AcceptHandshakeCommand = _AcceptHandshakeCommand;
3360
3358
 
3361
3359
 
3362
3360
 
3363
- var _AttachPolicyCommand = class _AttachPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3364
- ...commonParams
3365
- }).m(function(Command, cs, config, o) {
3361
+ var _AttachPolicyCommand = class _AttachPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3366
3362
  return [
3367
3363
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3368
3364
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3376,9 +3372,7 @@ var AttachPolicyCommand = _AttachPolicyCommand;
3376
3372
 
3377
3373
 
3378
3374
 
3379
- var _CancelHandshakeCommand = class _CancelHandshakeCommand extends import_smithy_client.Command.classBuilder().ep({
3380
- ...commonParams
3381
- }).m(function(Command, cs, config, o) {
3375
+ var _CancelHandshakeCommand = class _CancelHandshakeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3382
3376
  return [
3383
3377
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3384
3378
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3392,9 +3386,7 @@ var CancelHandshakeCommand = _CancelHandshakeCommand;
3392
3386
 
3393
3387
 
3394
3388
 
3395
- var _CloseAccountCommand = class _CloseAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3396
- ...commonParams
3397
- }).m(function(Command, cs, config, o) {
3389
+ var _CloseAccountCommand = class _CloseAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3398
3390
  return [
3399
3391
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3400
3392
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3408,9 +3400,7 @@ var CloseAccountCommand = _CloseAccountCommand;
3408
3400
 
3409
3401
 
3410
3402
 
3411
- var _CreateAccountCommand = class _CreateAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3412
- ...commonParams
3413
- }).m(function(Command, cs, config, o) {
3403
+ var _CreateAccountCommand = class _CreateAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3414
3404
  return [
3415
3405
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3416
3406
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3424,9 +3414,7 @@ var CreateAccountCommand = _CreateAccountCommand;
3424
3414
 
3425
3415
 
3426
3416
 
3427
- var _CreateGovCloudAccountCommand = class _CreateGovCloudAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3428
- ...commonParams
3429
- }).m(function(Command, cs, config, o) {
3417
+ var _CreateGovCloudAccountCommand = class _CreateGovCloudAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3430
3418
  return [
3431
3419
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3432
3420
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3440,9 +3428,7 @@ var CreateGovCloudAccountCommand = _CreateGovCloudAccountCommand;
3440
3428
 
3441
3429
 
3442
3430
 
3443
- var _CreateOrganizationalUnitCommand = class _CreateOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep({
3444
- ...commonParams
3445
- }).m(function(Command, cs, config, o) {
3431
+ var _CreateOrganizationalUnitCommand = class _CreateOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3446
3432
  return [
3447
3433
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3448
3434
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3456,9 +3442,7 @@ var CreateOrganizationalUnitCommand = _CreateOrganizationalUnitCommand;
3456
3442
 
3457
3443
 
3458
3444
 
3459
- var _CreateOrganizationCommand = class _CreateOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3460
- ...commonParams
3461
- }).m(function(Command, cs, config, o) {
3445
+ var _CreateOrganizationCommand = class _CreateOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3462
3446
  return [
3463
3447
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3464
3448
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3472,9 +3456,7 @@ var CreateOrganizationCommand = _CreateOrganizationCommand;
3472
3456
 
3473
3457
 
3474
3458
 
3475
- var _CreatePolicyCommand = class _CreatePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3476
- ...commonParams
3477
- }).m(function(Command, cs, config, o) {
3459
+ var _CreatePolicyCommand = class _CreatePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3478
3460
  return [
3479
3461
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3480
3462
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3488,9 +3470,7 @@ var CreatePolicyCommand = _CreatePolicyCommand;
3488
3470
 
3489
3471
 
3490
3472
 
3491
- var _DeclineHandshakeCommand = class _DeclineHandshakeCommand extends import_smithy_client.Command.classBuilder().ep({
3492
- ...commonParams
3493
- }).m(function(Command, cs, config, o) {
3473
+ var _DeclineHandshakeCommand = class _DeclineHandshakeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3494
3474
  return [
3495
3475
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3496
3476
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3504,9 +3484,7 @@ var DeclineHandshakeCommand = _DeclineHandshakeCommand;
3504
3484
 
3505
3485
 
3506
3486
 
3507
- var _DeleteOrganizationalUnitCommand = class _DeleteOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep({
3508
- ...commonParams
3509
- }).m(function(Command, cs, config, o) {
3487
+ var _DeleteOrganizationalUnitCommand = class _DeleteOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3510
3488
  return [
3511
3489
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3512
3490
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3520,9 +3498,7 @@ var DeleteOrganizationalUnitCommand = _DeleteOrganizationalUnitCommand;
3520
3498
 
3521
3499
 
3522
3500
 
3523
- var _DeleteOrganizationCommand = class _DeleteOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3524
- ...commonParams
3525
- }).m(function(Command, cs, config, o) {
3501
+ var _DeleteOrganizationCommand = class _DeleteOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3526
3502
  return [
3527
3503
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3528
3504
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3536,9 +3512,7 @@ var DeleteOrganizationCommand = _DeleteOrganizationCommand;
3536
3512
 
3537
3513
 
3538
3514
 
3539
- var _DeletePolicyCommand = class _DeletePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3540
- ...commonParams
3541
- }).m(function(Command, cs, config, o) {
3515
+ var _DeletePolicyCommand = class _DeletePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3542
3516
  return [
3543
3517
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3544
3518
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3552,9 +3526,7 @@ var DeletePolicyCommand = _DeletePolicyCommand;
3552
3526
 
3553
3527
 
3554
3528
 
3555
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3556
- ...commonParams
3557
- }).m(function(Command, cs, config, o) {
3529
+ var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3558
3530
  return [
3559
3531
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3560
3532
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3568,9 +3540,7 @@ var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
3568
3540
 
3569
3541
 
3570
3542
 
3571
- var _DeregisterDelegatedAdministratorCommand = class _DeregisterDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep({
3572
- ...commonParams
3573
- }).m(function(Command, cs, config, o) {
3543
+ var _DeregisterDelegatedAdministratorCommand = class _DeregisterDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3574
3544
  return [
3575
3545
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3576
3546
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3584,9 +3554,7 @@ var DeregisterDelegatedAdministratorCommand = _DeregisterDelegatedAdministratorC
3584
3554
 
3585
3555
 
3586
3556
 
3587
- var _DescribeAccountCommand = class _DescribeAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3588
- ...commonParams
3589
- }).m(function(Command, cs, config, o) {
3557
+ var _DescribeAccountCommand = class _DescribeAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3590
3558
  return [
3591
3559
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3592
3560
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3600,9 +3568,7 @@ var DescribeAccountCommand = _DescribeAccountCommand;
3600
3568
 
3601
3569
 
3602
3570
 
3603
- var _DescribeCreateAccountStatusCommand = class _DescribeCreateAccountStatusCommand extends import_smithy_client.Command.classBuilder().ep({
3604
- ...commonParams
3605
- }).m(function(Command, cs, config, o) {
3571
+ var _DescribeCreateAccountStatusCommand = class _DescribeCreateAccountStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3606
3572
  return [
3607
3573
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3608
3574
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3616,9 +3582,7 @@ var DescribeCreateAccountStatusCommand = _DescribeCreateAccountStatusCommand;
3616
3582
 
3617
3583
 
3618
3584
 
3619
- var _DescribeEffectivePolicyCommand = class _DescribeEffectivePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3620
- ...commonParams
3621
- }).m(function(Command, cs, config, o) {
3585
+ var _DescribeEffectivePolicyCommand = class _DescribeEffectivePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3622
3586
  return [
3623
3587
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3624
3588
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3632,9 +3596,7 @@ var DescribeEffectivePolicyCommand = _DescribeEffectivePolicyCommand;
3632
3596
 
3633
3597
 
3634
3598
 
3635
- var _DescribeHandshakeCommand = class _DescribeHandshakeCommand extends import_smithy_client.Command.classBuilder().ep({
3636
- ...commonParams
3637
- }).m(function(Command, cs, config, o) {
3599
+ var _DescribeHandshakeCommand = class _DescribeHandshakeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3638
3600
  return [
3639
3601
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3640
3602
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3648,9 +3610,7 @@ var DescribeHandshakeCommand = _DescribeHandshakeCommand;
3648
3610
 
3649
3611
 
3650
3612
 
3651
- var _DescribeOrganizationalUnitCommand = class _DescribeOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep({
3652
- ...commonParams
3653
- }).m(function(Command, cs, config, o) {
3613
+ var _DescribeOrganizationalUnitCommand = class _DescribeOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3654
3614
  return [
3655
3615
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3656
3616
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3664,9 +3624,7 @@ var DescribeOrganizationalUnitCommand = _DescribeOrganizationalUnitCommand;
3664
3624
 
3665
3625
 
3666
3626
 
3667
- var _DescribeOrganizationCommand = class _DescribeOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3668
- ...commonParams
3669
- }).m(function(Command, cs, config, o) {
3627
+ var _DescribeOrganizationCommand = class _DescribeOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3670
3628
  return [
3671
3629
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3672
3630
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3680,9 +3638,7 @@ var DescribeOrganizationCommand = _DescribeOrganizationCommand;
3680
3638
 
3681
3639
 
3682
3640
 
3683
- var _DescribePolicyCommand = class _DescribePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3684
- ...commonParams
3685
- }).m(function(Command, cs, config, o) {
3641
+ var _DescribePolicyCommand = class _DescribePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3686
3642
  return [
3687
3643
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3688
3644
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3696,9 +3652,7 @@ var DescribePolicyCommand = _DescribePolicyCommand;
3696
3652
 
3697
3653
 
3698
3654
 
3699
- var _DescribeResourcePolicyCommand = class _DescribeResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3700
- ...commonParams
3701
- }).m(function(Command, cs, config, o) {
3655
+ var _DescribeResourcePolicyCommand = class _DescribeResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3702
3656
  return [
3703
3657
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3704
3658
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3712,9 +3666,7 @@ var DescribeResourcePolicyCommand = _DescribeResourcePolicyCommand;
3712
3666
 
3713
3667
 
3714
3668
 
3715
- var _DetachPolicyCommand = class _DetachPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3716
- ...commonParams
3717
- }).m(function(Command, cs, config, o) {
3669
+ var _DetachPolicyCommand = class _DetachPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3718
3670
  return [
3719
3671
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3720
3672
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3728,9 +3680,7 @@ var DetachPolicyCommand = _DetachPolicyCommand;
3728
3680
 
3729
3681
 
3730
3682
 
3731
- var _DisableAWSServiceAccessCommand = class _DisableAWSServiceAccessCommand extends import_smithy_client.Command.classBuilder().ep({
3732
- ...commonParams
3733
- }).m(function(Command, cs, config, o) {
3683
+ var _DisableAWSServiceAccessCommand = class _DisableAWSServiceAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3734
3684
  return [
3735
3685
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3736
3686
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3744,9 +3694,7 @@ var DisableAWSServiceAccessCommand = _DisableAWSServiceAccessCommand;
3744
3694
 
3745
3695
 
3746
3696
 
3747
- var _DisablePolicyTypeCommand = class _DisablePolicyTypeCommand extends import_smithy_client.Command.classBuilder().ep({
3748
- ...commonParams
3749
- }).m(function(Command, cs, config, o) {
3697
+ var _DisablePolicyTypeCommand = class _DisablePolicyTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3750
3698
  return [
3751
3699
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3752
3700
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3760,9 +3708,7 @@ var DisablePolicyTypeCommand = _DisablePolicyTypeCommand;
3760
3708
 
3761
3709
 
3762
3710
 
3763
- var _EnableAllFeaturesCommand = class _EnableAllFeaturesCommand extends import_smithy_client.Command.classBuilder().ep({
3764
- ...commonParams
3765
- }).m(function(Command, cs, config, o) {
3711
+ var _EnableAllFeaturesCommand = class _EnableAllFeaturesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3766
3712
  return [
3767
3713
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3768
3714
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3776,9 +3722,7 @@ var EnableAllFeaturesCommand = _EnableAllFeaturesCommand;
3776
3722
 
3777
3723
 
3778
3724
 
3779
- var _EnableAWSServiceAccessCommand = class _EnableAWSServiceAccessCommand extends import_smithy_client.Command.classBuilder().ep({
3780
- ...commonParams
3781
- }).m(function(Command, cs, config, o) {
3725
+ var _EnableAWSServiceAccessCommand = class _EnableAWSServiceAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3782
3726
  return [
3783
3727
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3784
3728
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3792,9 +3736,7 @@ var EnableAWSServiceAccessCommand = _EnableAWSServiceAccessCommand;
3792
3736
 
3793
3737
 
3794
3738
 
3795
- var _EnablePolicyTypeCommand = class _EnablePolicyTypeCommand extends import_smithy_client.Command.classBuilder().ep({
3796
- ...commonParams
3797
- }).m(function(Command, cs, config, o) {
3739
+ var _EnablePolicyTypeCommand = class _EnablePolicyTypeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3798
3740
  return [
3799
3741
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3800
3742
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3808,9 +3750,7 @@ var EnablePolicyTypeCommand = _EnablePolicyTypeCommand;
3808
3750
 
3809
3751
 
3810
3752
 
3811
- var _InviteAccountToOrganizationCommand = class _InviteAccountToOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3812
- ...commonParams
3813
- }).m(function(Command, cs, config, o) {
3753
+ var _InviteAccountToOrganizationCommand = class _InviteAccountToOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3814
3754
  return [
3815
3755
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3816
3756
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3824,9 +3764,7 @@ var InviteAccountToOrganizationCommand = _InviteAccountToOrganizationCommand;
3824
3764
 
3825
3765
 
3826
3766
 
3827
- var _LeaveOrganizationCommand = class _LeaveOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3828
- ...commonParams
3829
- }).m(function(Command, cs, config, o) {
3767
+ var _LeaveOrganizationCommand = class _LeaveOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3830
3768
  return [
3831
3769
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3832
3770
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3840,9 +3778,7 @@ var LeaveOrganizationCommand = _LeaveOrganizationCommand;
3840
3778
 
3841
3779
 
3842
3780
 
3843
- var _ListAccountsCommand = class _ListAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
3844
- ...commonParams
3845
- }).m(function(Command, cs, config, o) {
3781
+ var _ListAccountsCommand = class _ListAccountsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3846
3782
  return [
3847
3783
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3848
3784
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3856,9 +3792,7 @@ var ListAccountsCommand = _ListAccountsCommand;
3856
3792
 
3857
3793
 
3858
3794
 
3859
- var _ListAccountsForParentCommand = class _ListAccountsForParentCommand extends import_smithy_client.Command.classBuilder().ep({
3860
- ...commonParams
3861
- }).m(function(Command, cs, config, o) {
3795
+ var _ListAccountsForParentCommand = class _ListAccountsForParentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3862
3796
  return [
3863
3797
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3864
3798
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3872,9 +3806,7 @@ var ListAccountsForParentCommand = _ListAccountsForParentCommand;
3872
3806
 
3873
3807
 
3874
3808
 
3875
- var _ListAWSServiceAccessForOrganizationCommand = class _ListAWSServiceAccessForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3876
- ...commonParams
3877
- }).m(function(Command, cs, config, o) {
3809
+ var _ListAWSServiceAccessForOrganizationCommand = class _ListAWSServiceAccessForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3878
3810
  return [
3879
3811
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3880
3812
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3888,9 +3820,7 @@ var ListAWSServiceAccessForOrganizationCommand = _ListAWSServiceAccessForOrganiz
3888
3820
 
3889
3821
 
3890
3822
 
3891
- var _ListChildrenCommand = class _ListChildrenCommand extends import_smithy_client.Command.classBuilder().ep({
3892
- ...commonParams
3893
- }).m(function(Command, cs, config, o) {
3823
+ var _ListChildrenCommand = class _ListChildrenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3894
3824
  return [
3895
3825
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3896
3826
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3904,9 +3834,7 @@ var ListChildrenCommand = _ListChildrenCommand;
3904
3834
 
3905
3835
 
3906
3836
 
3907
- var _ListCreateAccountStatusCommand = class _ListCreateAccountStatusCommand extends import_smithy_client.Command.classBuilder().ep({
3908
- ...commonParams
3909
- }).m(function(Command, cs, config, o) {
3837
+ var _ListCreateAccountStatusCommand = class _ListCreateAccountStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3910
3838
  return [
3911
3839
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3912
3840
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3920,9 +3848,7 @@ var ListCreateAccountStatusCommand = _ListCreateAccountStatusCommand;
3920
3848
 
3921
3849
 
3922
3850
 
3923
- var _ListDelegatedAdministratorsCommand = class _ListDelegatedAdministratorsCommand extends import_smithy_client.Command.classBuilder().ep({
3924
- ...commonParams
3925
- }).m(function(Command, cs, config, o) {
3851
+ var _ListDelegatedAdministratorsCommand = class _ListDelegatedAdministratorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3926
3852
  return [
3927
3853
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3928
3854
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3936,9 +3862,7 @@ var ListDelegatedAdministratorsCommand = _ListDelegatedAdministratorsCommand;
3936
3862
 
3937
3863
 
3938
3864
 
3939
- var _ListDelegatedServicesForAccountCommand = class _ListDelegatedServicesForAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3940
- ...commonParams
3941
- }).m(function(Command, cs, config, o) {
3865
+ var _ListDelegatedServicesForAccountCommand = class _ListDelegatedServicesForAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3942
3866
  return [
3943
3867
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3944
3868
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3952,9 +3876,7 @@ var ListDelegatedServicesForAccountCommand = _ListDelegatedServicesForAccountCom
3952
3876
 
3953
3877
 
3954
3878
 
3955
- var _ListHandshakesForAccountCommand = class _ListHandshakesForAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3956
- ...commonParams
3957
- }).m(function(Command, cs, config, o) {
3879
+ var _ListHandshakesForAccountCommand = class _ListHandshakesForAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3958
3880
  return [
3959
3881
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3960
3882
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3968,9 +3890,7 @@ var ListHandshakesForAccountCommand = _ListHandshakesForAccountCommand;
3968
3890
 
3969
3891
 
3970
3892
 
3971
- var _ListHandshakesForOrganizationCommand = class _ListHandshakesForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3972
- ...commonParams
3973
- }).m(function(Command, cs, config, o) {
3893
+ var _ListHandshakesForOrganizationCommand = class _ListHandshakesForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3974
3894
  return [
3975
3895
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3976
3896
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -3984,9 +3904,7 @@ var ListHandshakesForOrganizationCommand = _ListHandshakesForOrganizationCommand
3984
3904
 
3985
3905
 
3986
3906
 
3987
- var _ListOrganizationalUnitsForParentCommand = class _ListOrganizationalUnitsForParentCommand extends import_smithy_client.Command.classBuilder().ep({
3988
- ...commonParams
3989
- }).m(function(Command, cs, config, o) {
3907
+ var _ListOrganizationalUnitsForParentCommand = class _ListOrganizationalUnitsForParentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3990
3908
  return [
3991
3909
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3992
3910
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4000,9 +3918,7 @@ var ListOrganizationalUnitsForParentCommand = _ListOrganizationalUnitsForParentC
4000
3918
 
4001
3919
 
4002
3920
 
4003
- var _ListParentsCommand = class _ListParentsCommand extends import_smithy_client.Command.classBuilder().ep({
4004
- ...commonParams
4005
- }).m(function(Command, cs, config, o) {
3921
+ var _ListParentsCommand = class _ListParentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4006
3922
  return [
4007
3923
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4008
3924
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4016,9 +3932,7 @@ var ListParentsCommand = _ListParentsCommand;
4016
3932
 
4017
3933
 
4018
3934
 
4019
- var _ListPoliciesCommand = class _ListPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
4020
- ...commonParams
4021
- }).m(function(Command, cs, config, o) {
3935
+ var _ListPoliciesCommand = class _ListPoliciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4022
3936
  return [
4023
3937
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4024
3938
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4032,9 +3946,7 @@ var ListPoliciesCommand = _ListPoliciesCommand;
4032
3946
 
4033
3947
 
4034
3948
 
4035
- var _ListPoliciesForTargetCommand = class _ListPoliciesForTargetCommand extends import_smithy_client.Command.classBuilder().ep({
4036
- ...commonParams
4037
- }).m(function(Command, cs, config, o) {
3949
+ var _ListPoliciesForTargetCommand = class _ListPoliciesForTargetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4038
3950
  return [
4039
3951
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4040
3952
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4048,9 +3960,7 @@ var ListPoliciesForTargetCommand = _ListPoliciesForTargetCommand;
4048
3960
 
4049
3961
 
4050
3962
 
4051
- var _ListRootsCommand = class _ListRootsCommand extends import_smithy_client.Command.classBuilder().ep({
4052
- ...commonParams
4053
- }).m(function(Command, cs, config, o) {
3963
+ var _ListRootsCommand = class _ListRootsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4054
3964
  return [
4055
3965
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4056
3966
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4064,9 +3974,7 @@ var ListRootsCommand = _ListRootsCommand;
4064
3974
 
4065
3975
 
4066
3976
 
4067
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4068
- ...commonParams
4069
- }).m(function(Command, cs, config, o) {
3977
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4070
3978
  return [
4071
3979
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4072
3980
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4080,9 +3988,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
4080
3988
 
4081
3989
 
4082
3990
 
4083
- var _ListTargetsForPolicyCommand = class _ListTargetsForPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4084
- ...commonParams
4085
- }).m(function(Command, cs, config, o) {
3991
+ var _ListTargetsForPolicyCommand = class _ListTargetsForPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4086
3992
  return [
4087
3993
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4088
3994
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4096,9 +4002,7 @@ var ListTargetsForPolicyCommand = _ListTargetsForPolicyCommand;
4096
4002
 
4097
4003
 
4098
4004
 
4099
- var _MoveAccountCommand = class _MoveAccountCommand extends import_smithy_client.Command.classBuilder().ep({
4100
- ...commonParams
4101
- }).m(function(Command, cs, config, o) {
4005
+ var _MoveAccountCommand = class _MoveAccountCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4102
4006
  return [
4103
4007
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4104
4008
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4112,9 +4016,7 @@ var MoveAccountCommand = _MoveAccountCommand;
4112
4016
 
4113
4017
 
4114
4018
 
4115
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4116
- ...commonParams
4117
- }).m(function(Command, cs, config, o) {
4019
+ var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4118
4020
  return [
4119
4021
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4120
4022
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4128,9 +4030,7 @@ var PutResourcePolicyCommand = _PutResourcePolicyCommand;
4128
4030
 
4129
4031
 
4130
4032
 
4131
- var _RegisterDelegatedAdministratorCommand = class _RegisterDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep({
4132
- ...commonParams
4133
- }).m(function(Command, cs, config, o) {
4033
+ var _RegisterDelegatedAdministratorCommand = class _RegisterDelegatedAdministratorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4134
4034
  return [
4135
4035
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4136
4036
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4144,9 +4044,7 @@ var RegisterDelegatedAdministratorCommand = _RegisterDelegatedAdministratorComma
4144
4044
 
4145
4045
 
4146
4046
 
4147
- var _RemoveAccountFromOrganizationCommand = class _RemoveAccountFromOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
4148
- ...commonParams
4149
- }).m(function(Command, cs, config, o) {
4047
+ var _RemoveAccountFromOrganizationCommand = class _RemoveAccountFromOrganizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4150
4048
  return [
4151
4049
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4152
4050
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4160,9 +4058,7 @@ var RemoveAccountFromOrganizationCommand = _RemoveAccountFromOrganizationCommand
4160
4058
 
4161
4059
 
4162
4060
 
4163
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4164
- ...commonParams
4165
- }).m(function(Command, cs, config, o) {
4061
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4166
4062
  return [
4167
4063
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4168
4064
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4176,9 +4072,7 @@ var TagResourceCommand = _TagResourceCommand;
4176
4072
 
4177
4073
 
4178
4074
 
4179
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
4180
- ...commonParams
4181
- }).m(function(Command, cs, config, o) {
4075
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4182
4076
  return [
4183
4077
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4184
4078
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4192,9 +4086,7 @@ var UntagResourceCommand = _UntagResourceCommand;
4192
4086
 
4193
4087
 
4194
4088
 
4195
- var _UpdateOrganizationalUnitCommand = class _UpdateOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep({
4196
- ...commonParams
4197
- }).m(function(Command, cs, config, o) {
4089
+ var _UpdateOrganizationalUnitCommand = class _UpdateOrganizationalUnitCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4198
4090
  return [
4199
4091
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4200
4092
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -4208,9 +4100,7 @@ var UpdateOrganizationalUnitCommand = _UpdateOrganizationalUnitCommand;
4208
4100
 
4209
4101
 
4210
4102
 
4211
- var _UpdatePolicyCommand = class _UpdatePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
4212
- ...commonParams
4213
- }).m(function(Command, cs, config, o) {
4103
+ var _UpdatePolicyCommand = class _UpdatePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4214
4104
  return [
4215
4105
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4216
4106
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_AcceptHandshakeCommand, se_AcceptHandshakeCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class AcceptHandshakeCommand 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_AttachPolicyCommand, se_AttachPolicyCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class AttachPolicyCommand 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_CancelHandshakeCommand, se_CancelHandshakeCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class CancelHandshakeCommand 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_CloseAccountCommand, se_CloseAccountCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class CloseAccountCommand 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),