@aws-sdk/client-organizations 3.649.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 (59) hide show
  1. package/dist-cjs/index.js +55 -165
  2. package/dist-es/commands/AcceptHandshakeCommand.js +1 -3
  3. package/dist-es/commands/AttachPolicyCommand.js +1 -3
  4. package/dist-es/commands/CancelHandshakeCommand.js +1 -3
  5. package/dist-es/commands/CloseAccountCommand.js +1 -3
  6. package/dist-es/commands/CreateAccountCommand.js +1 -3
  7. package/dist-es/commands/CreateGovCloudAccountCommand.js +1 -3
  8. package/dist-es/commands/CreateOrganizationCommand.js +1 -3
  9. package/dist-es/commands/CreateOrganizationalUnitCommand.js +1 -3
  10. package/dist-es/commands/CreatePolicyCommand.js +1 -3
  11. package/dist-es/commands/DeclineHandshakeCommand.js +1 -3
  12. package/dist-es/commands/DeleteOrganizationCommand.js +1 -3
  13. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +1 -3
  14. package/dist-es/commands/DeletePolicyCommand.js +1 -3
  15. package/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  16. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +1 -3
  17. package/dist-es/commands/DescribeAccountCommand.js +1 -3
  18. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +1 -3
  19. package/dist-es/commands/DescribeEffectivePolicyCommand.js +1 -3
  20. package/dist-es/commands/DescribeHandshakeCommand.js +1 -3
  21. package/dist-es/commands/DescribeOrganizationCommand.js +1 -3
  22. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +1 -3
  23. package/dist-es/commands/DescribePolicyCommand.js +1 -3
  24. package/dist-es/commands/DescribeResourcePolicyCommand.js +1 -3
  25. package/dist-es/commands/DetachPolicyCommand.js +1 -3
  26. package/dist-es/commands/DisableAWSServiceAccessCommand.js +1 -3
  27. package/dist-es/commands/DisablePolicyTypeCommand.js +1 -3
  28. package/dist-es/commands/EnableAWSServiceAccessCommand.js +1 -3
  29. package/dist-es/commands/EnableAllFeaturesCommand.js +1 -3
  30. package/dist-es/commands/EnablePolicyTypeCommand.js +1 -3
  31. package/dist-es/commands/InviteAccountToOrganizationCommand.js +1 -3
  32. package/dist-es/commands/LeaveOrganizationCommand.js +1 -3
  33. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +1 -3
  34. package/dist-es/commands/ListAccountsCommand.js +1 -3
  35. package/dist-es/commands/ListAccountsForParentCommand.js +1 -3
  36. package/dist-es/commands/ListChildrenCommand.js +1 -3
  37. package/dist-es/commands/ListCreateAccountStatusCommand.js +1 -3
  38. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +1 -3
  39. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +1 -3
  40. package/dist-es/commands/ListHandshakesForAccountCommand.js +1 -3
  41. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +1 -3
  42. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +1 -3
  43. package/dist-es/commands/ListParentsCommand.js +1 -3
  44. package/dist-es/commands/ListPoliciesCommand.js +1 -3
  45. package/dist-es/commands/ListPoliciesForTargetCommand.js +1 -3
  46. package/dist-es/commands/ListRootsCommand.js +1 -3
  47. package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
  48. package/dist-es/commands/ListTargetsForPolicyCommand.js +1 -3
  49. package/dist-es/commands/MoveAccountCommand.js +1 -3
  50. package/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  51. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +1 -3
  52. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +1 -3
  53. package/dist-es/commands/TagResourceCommand.js +1 -3
  54. package/dist-es/commands/UntagResourceCommand.js +1 -3
  55. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +1 -3
  56. package/dist-es/commands/UpdatePolicyCommand.js +1 -3
  57. package/dist-es/endpoint/endpointResolver.js +7 -3
  58. package/package.json +4 -4
  59. package/dist-types/tsdoc-metadata.json +0 -11
@@ -7,9 +7,7 @@ import { de_CreateOrganizationCommand, se_CreateOrganizationCommand } from "../p
7
7
  export { $Command };
8
8
  export class CreateOrganizationCommand 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_CreateOrganizationalUnitCommand, se_CreateOrganizationalUnitCommand
6
6
  export { $Command };
7
7
  export class CreateOrganizationalUnitCommand 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_CreatePolicyCommand, se_CreatePolicyCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class CreatePolicyCommand 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_DeclineHandshakeCommand, se_DeclineHandshakeCommand } from "../proto
7
7
  export { $Command };
8
8
  export class DeclineHandshakeCommand 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_DeleteOrganizationCommand, se_DeleteOrganizationCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeleteOrganizationCommand 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_DeleteOrganizationalUnitCommand, se_DeleteOrganizationalUnitCommand
6
6
  export { $Command };
7
7
  export class DeleteOrganizationalUnitCommand 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_DeletePolicyCommand, se_DeletePolicyCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeletePolicyCommand 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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteResourcePolicyCommand 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_DeregisterDelegatedAdministratorCommand, se_DeregisterDelegatedAdmin
6
6
  export { $Command };
7
7
  export class DeregisterDelegatedAdministratorCommand 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_DescribeAccountCommand, se_DescribeAccountCommand } from "../protoco
7
7
  export { $Command };
8
8
  export class DescribeAccountCommand 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_DescribeCreateAccountStatusCommand, se_DescribeCreateAccountStatusCo
7
7
  export { $Command };
8
8
  export class DescribeCreateAccountStatusCommand 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_DescribeEffectivePolicyCommand, se_DescribeEffectivePolicyCommand }
6
6
  export { $Command };
7
7
  export class DescribeEffectivePolicyCommand 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_DescribeHandshakeCommand, se_DescribeHandshakeCommand } from "../pro
7
7
  export { $Command };
8
8
  export class DescribeHandshakeCommand 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_DescribeOrganizationCommand, se_DescribeOrganizationCommand } from "
7
7
  export { $Command };
8
8
  export class DescribeOrganizationCommand 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_DescribeOrganizationalUnitCommand, se_DescribeOrganizationalUnitComm
6
6
  export { $Command };
7
7
  export class DescribeOrganizationalUnitCommand 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_DescribePolicyCommand, se_DescribePolicyCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribePolicyCommand 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_DescribeResourcePolicyCommand, se_DescribeResourcePolicyCommand } fr
6
6
  export { $Command };
7
7
  export class DescribeResourcePolicyCommand 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_DetachPolicyCommand, se_DetachPolicyCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DetachPolicyCommand 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_DisableAWSServiceAccessCommand, se_DisableAWSServiceAccessCommand }
6
6
  export { $Command };
7
7
  export class DisableAWSServiceAccessCommand 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_DisablePolicyTypeCommand, se_DisablePolicyTypeCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DisablePolicyTypeCommand 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_EnableAWSServiceAccessCommand, se_EnableAWSServiceAccessCommand } fr
6
6
  export { $Command };
7
7
  export class EnableAWSServiceAccessCommand 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_EnableAllFeaturesCommand, se_EnableAllFeaturesCommand } from "../pro
7
7
  export { $Command };
8
8
  export class EnableAllFeaturesCommand 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_EnablePolicyTypeCommand, se_EnablePolicyTypeCommand } from "../proto
6
6
  export { $Command };
7
7
  export class EnablePolicyTypeCommand 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_InviteAccountToOrganizationCommand, se_InviteAccountToOrganizationCo
7
7
  export { $Command };
8
8
  export class InviteAccountToOrganizationCommand 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_LeaveOrganizationCommand, se_LeaveOrganizationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class LeaveOrganizationCommand 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_ListAWSServiceAccessForOrganizationCommand, se_ListAWSServiceAccessF
6
6
  export { $Command };
7
7
  export class ListAWSServiceAccessForOrganizationCommand 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_ListAccountsCommand, se_ListAccountsCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class ListAccountsCommand 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_ListAccountsForParentCommand, se_ListAccountsForParentCommand } from
7
7
  export { $Command };
8
8
  export class ListAccountsForParentCommand 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_ListChildrenCommand, se_ListChildrenCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListChildrenCommand 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_ListCreateAccountStatusCommand, se_ListCreateAccountStatusCommand }
7
7
  export { $Command };
8
8
  export class ListCreateAccountStatusCommand 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_ListDelegatedAdministratorsCommand, se_ListDelegatedAdministratorsCo
7
7
  export { $Command };
8
8
  export class ListDelegatedAdministratorsCommand 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_ListDelegatedServicesForAccountCommand, se_ListDelegatedServicesForA
6
6
  export { $Command };
7
7
  export class ListDelegatedServicesForAccountCommand 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_ListHandshakesForAccountCommand, se_ListHandshakesForAccountCommand
7
7
  export { $Command };
8
8
  export class ListHandshakesForAccountCommand 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_ListHandshakesForOrganizationCommand, se_ListHandshakesForOrganizati
7
7
  export { $Command };
8
8
  export class ListHandshakesForOrganizationCommand 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_ListOrganizationalUnitsForParentCommand, se_ListOrganizationalUnitsF
6
6
  export { $Command };
7
7
  export class ListOrganizationalUnitsForParentCommand 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_ListParentsCommand, se_ListParentsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListParentsCommand 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_ListPoliciesCommand, se_ListPoliciesCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListPoliciesCommand 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_ListPoliciesForTargetCommand, se_ListPoliciesForTargetCommand } from
6
6
  export { $Command };
7
7
  export class ListPoliciesForTargetCommand 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_ListRootsCommand, se_ListRootsCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class ListRootsCommand 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_ListTargetsForPolicyCommand, se_ListTargetsForPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class ListTargetsForPolicyCommand 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_MoveAccountCommand, se_MoveAccountCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class MoveAccountCommand 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_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand 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_RegisterDelegatedAdministratorCommand, se_RegisterDelegatedAdministr
6
6
  export { $Command };
7
7
  export class RegisterDelegatedAdministratorCommand 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_RemoveAccountFromOrganizationCommand, se_RemoveAccountFromOrganizati
6
6
  export { $Command };
7
7
  export class RemoveAccountFromOrganizationCommand 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_j
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_UpdateOrganizationalUnitCommand, se_UpdateOrganizationalUnitCommand
6
6
  export { $Command };
7
7
  export class UpdateOrganizationalUnitCommand 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_UpdatePolicyCommand, se_UpdatePolicyCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class UpdatePolicyCommand 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-organizations",
3
3
  "description": "AWS SDK for JavaScript Organizations Client for Node.js, Browser and React Native",
4
- "version": "3.649.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-organizations",
@@ -20,10 +20,10 @@
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.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",