@aws-sdk/client-organizations 3.952.0 → 3.954.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 (83) hide show
  1. package/dist-cjs/index.js +943 -636
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/AcceptHandshakeCommand.js +2 -2
  4. package/dist-es/commands/AttachPolicyCommand.js +2 -2
  5. package/dist-es/commands/CancelHandshakeCommand.js +2 -2
  6. package/dist-es/commands/CloseAccountCommand.js +2 -2
  7. package/dist-es/commands/CreateAccountCommand.js +2 -2
  8. package/dist-es/commands/CreateGovCloudAccountCommand.js +2 -2
  9. package/dist-es/commands/CreateOrganizationCommand.js +2 -2
  10. package/dist-es/commands/CreateOrganizationalUnitCommand.js +2 -2
  11. package/dist-es/commands/CreatePolicyCommand.js +2 -2
  12. package/dist-es/commands/DeclineHandshakeCommand.js +2 -2
  13. package/dist-es/commands/DeleteOrganizationCommand.js +2 -2
  14. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +2 -2
  15. package/dist-es/commands/DeletePolicyCommand.js +2 -2
  16. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  17. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +2 -2
  18. package/dist-es/commands/DescribeAccountCommand.js +2 -2
  19. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +2 -2
  20. package/dist-es/commands/DescribeEffectivePolicyCommand.js +2 -2
  21. package/dist-es/commands/DescribeHandshakeCommand.js +2 -2
  22. package/dist-es/commands/DescribeOrganizationCommand.js +2 -2
  23. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +2 -2
  24. package/dist-es/commands/DescribePolicyCommand.js +2 -2
  25. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -2
  26. package/dist-es/commands/DescribeResponsibilityTransferCommand.js +2 -2
  27. package/dist-es/commands/DetachPolicyCommand.js +2 -2
  28. package/dist-es/commands/DisableAWSServiceAccessCommand.js +2 -2
  29. package/dist-es/commands/DisablePolicyTypeCommand.js +2 -2
  30. package/dist-es/commands/EnableAWSServiceAccessCommand.js +2 -2
  31. package/dist-es/commands/EnableAllFeaturesCommand.js +2 -2
  32. package/dist-es/commands/EnablePolicyTypeCommand.js +2 -2
  33. package/dist-es/commands/InviteAccountToOrganizationCommand.js +2 -2
  34. package/dist-es/commands/InviteOrganizationToTransferResponsibilityCommand.js +2 -2
  35. package/dist-es/commands/LeaveOrganizationCommand.js +2 -2
  36. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +2 -2
  37. package/dist-es/commands/ListAccountsCommand.js +2 -2
  38. package/dist-es/commands/ListAccountsForParentCommand.js +2 -2
  39. package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +2 -2
  40. package/dist-es/commands/ListChildrenCommand.js +2 -2
  41. package/dist-es/commands/ListCreateAccountStatusCommand.js +2 -2
  42. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +2 -2
  43. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +2 -2
  44. package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +2 -2
  45. package/dist-es/commands/ListHandshakesForAccountCommand.js +2 -2
  46. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +2 -2
  47. package/dist-es/commands/ListInboundResponsibilityTransfersCommand.js +2 -2
  48. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +2 -2
  49. package/dist-es/commands/ListOutboundResponsibilityTransfersCommand.js +2 -2
  50. package/dist-es/commands/ListParentsCommand.js +2 -2
  51. package/dist-es/commands/ListPoliciesCommand.js +2 -2
  52. package/dist-es/commands/ListPoliciesForTargetCommand.js +2 -2
  53. package/dist-es/commands/ListRootsCommand.js +2 -2
  54. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  55. package/dist-es/commands/ListTargetsForPolicyCommand.js +2 -2
  56. package/dist-es/commands/MoveAccountCommand.js +2 -2
  57. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  58. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +2 -2
  59. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +2 -2
  60. package/dist-es/commands/TagResourceCommand.js +2 -2
  61. package/dist-es/commands/TerminateResponsibilityTransferCommand.js +2 -2
  62. package/dist-es/commands/UntagResourceCommand.js +2 -2
  63. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +2 -2
  64. package/dist-es/commands/UpdatePolicyCommand.js +2 -2
  65. package/dist-es/commands/UpdateResponsibilityTransferCommand.js +2 -2
  66. package/dist-es/index.js +1 -0
  67. package/dist-es/runtimeConfig.shared.js +7 -6
  68. package/dist-es/schemas/schemas_0.js +497 -434
  69. package/dist-types/OrganizationsClient.d.ts +1 -10
  70. package/dist-types/index.d.ts +1 -0
  71. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  72. package/dist-types/runtimeConfig.d.ts +6 -2
  73. package/dist-types/runtimeConfig.native.d.ts +6 -2
  74. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  75. package/dist-types/schemas/schemas_0.d.ts +245 -274
  76. package/dist-types/ts3.4/OrganizationsClient.d.ts +0 -4
  77. package/dist-types/ts3.4/index.d.ts +1 -0
  78. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  79. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  81. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +244 -275
  83. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAccountsForParent } from "../schemas/schemas_0";
4
+ import { ListAccountsForParent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAccountsForParentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAccountsForParentCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListAccountsForParent", {})
13
13
  .n("OrganizationsClient", "ListAccountsForParentCommand")
14
- .sc(ListAccountsForParent)
14
+ .sc(ListAccountsForParent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAccountsWithInvalidEffectivePolicy } from "../schemas/schemas_0";
4
+ import { ListAccountsWithInvalidEffectivePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAccountsWithInvalidEffectivePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAccountsWithInvalidEffectivePolicyCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {})
13
13
  .n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand")
14
- .sc(ListAccountsWithInvalidEffectivePolicy)
14
+ .sc(ListAccountsWithInvalidEffectivePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListChildren } from "../schemas/schemas_0";
4
+ import { ListChildren$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListChildrenCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListChildrenCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListChildren", {})
13
13
  .n("OrganizationsClient", "ListChildrenCommand")
14
- .sc(ListChildren)
14
+ .sc(ListChildren$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCreateAccountStatus } from "../schemas/schemas_0";
4
+ import { ListCreateAccountStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCreateAccountStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCreateAccountStatusCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListCreateAccountStatus", {})
13
13
  .n("OrganizationsClient", "ListCreateAccountStatusCommand")
14
- .sc(ListCreateAccountStatus)
14
+ .sc(ListCreateAccountStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDelegatedAdministrators } from "../schemas/schemas_0";
4
+ import { ListDelegatedAdministrators$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDelegatedAdministratorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDelegatedAdministratorsCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListDelegatedAdministrators", {})
13
13
  .n("OrganizationsClient", "ListDelegatedAdministratorsCommand")
14
- .sc(ListDelegatedAdministrators)
14
+ .sc(ListDelegatedAdministrators$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDelegatedServicesForAccount } from "../schemas/schemas_0";
4
+ import { ListDelegatedServicesForAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDelegatedServicesForAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDelegatedServicesForAccountCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListDelegatedServicesForAccount", {})
13
13
  .n("OrganizationsClient", "ListDelegatedServicesForAccountCommand")
14
- .sc(ListDelegatedServicesForAccount)
14
+ .sc(ListDelegatedServicesForAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListEffectivePolicyValidationErrors } from "../schemas/schemas_0";
4
+ import { ListEffectivePolicyValidationErrors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListEffectivePolicyValidationErrorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListEffectivePolicyValidationErrorsCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {})
13
13
  .n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand")
14
- .sc(ListEffectivePolicyValidationErrors)
14
+ .sc(ListEffectivePolicyValidationErrors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListHandshakesForAccount } from "../schemas/schemas_0";
4
+ import { ListHandshakesForAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListHandshakesForAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListHandshakesForAccountCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListHandshakesForAccount", {})
13
13
  .n("OrganizationsClient", "ListHandshakesForAccountCommand")
14
- .sc(ListHandshakesForAccount)
14
+ .sc(ListHandshakesForAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListHandshakesForOrganization } from "../schemas/schemas_0";
4
+ import { ListHandshakesForOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListHandshakesForOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListHandshakesForOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListHandshakesForOrganization", {})
13
13
  .n("OrganizationsClient", "ListHandshakesForOrganizationCommand")
14
- .sc(ListHandshakesForOrganization)
14
+ .sc(ListHandshakesForOrganization$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListInboundResponsibilityTransfers } from "../schemas/schemas_0";
4
+ import { ListInboundResponsibilityTransfers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInboundResponsibilityTransfersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInboundResponsibilityTransfersCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListInboundResponsibilityTransfers", {})
13
13
  .n("OrganizationsClient", "ListInboundResponsibilityTransfersCommand")
14
- .sc(ListInboundResponsibilityTransfers)
14
+ .sc(ListInboundResponsibilityTransfers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListOrganizationalUnitsForParent } from "../schemas/schemas_0";
4
+ import { ListOrganizationalUnitsForParent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListOrganizationalUnitsForParentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListOrganizationalUnitsForParentCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListOrganizationalUnitsForParent", {})
13
13
  .n("OrganizationsClient", "ListOrganizationalUnitsForParentCommand")
14
- .sc(ListOrganizationalUnitsForParent)
14
+ .sc(ListOrganizationalUnitsForParent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListOutboundResponsibilityTransfers } from "../schemas/schemas_0";
4
+ import { ListOutboundResponsibilityTransfers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListOutboundResponsibilityTransfersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListOutboundResponsibilityTransfersCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListOutboundResponsibilityTransfers", {})
13
13
  .n("OrganizationsClient", "ListOutboundResponsibilityTransfersCommand")
14
- .sc(ListOutboundResponsibilityTransfers)
14
+ .sc(ListOutboundResponsibilityTransfers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListParents } from "../schemas/schemas_0";
4
+ import { ListParents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListParentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListParentsCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListParents", {})
13
13
  .n("OrganizationsClient", "ListParentsCommand")
14
- .sc(ListParents)
14
+ .sc(ListParents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPolicies } from "../schemas/schemas_0";
4
+ import { ListPolicies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPoliciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPoliciesCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListPolicies", {})
13
13
  .n("OrganizationsClient", "ListPoliciesCommand")
14
- .sc(ListPolicies)
14
+ .sc(ListPolicies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPoliciesForTarget } from "../schemas/schemas_0";
4
+ import { ListPoliciesForTarget$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPoliciesForTargetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPoliciesForTargetCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListPoliciesForTarget", {})
13
13
  .n("OrganizationsClient", "ListPoliciesForTargetCommand")
14
- .sc(ListPoliciesForTarget)
14
+ .sc(ListPoliciesForTarget$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRoots } from "../schemas/schemas_0";
4
+ import { ListRoots$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRootsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRootsCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListRoots", {})
13
13
  .n("OrganizationsClient", "ListRootsCommand")
14
- .sc(ListRoots)
14
+ .sc(ListRoots$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListTagsForResource", {})
13
13
  .n("OrganizationsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTargetsForPolicy } from "../schemas/schemas_0";
4
+ import { ListTargetsForPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTargetsForPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTargetsForPolicyCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "ListTargetsForPolicy", {})
13
13
  .n("OrganizationsClient", "ListTargetsForPolicyCommand")
14
- .sc(ListTargetsForPolicy)
14
+ .sc(ListTargetsForPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { MoveAccount } from "../schemas/schemas_0";
4
+ import { MoveAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class MoveAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class MoveAccountCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "MoveAccount", {})
13
13
  .n("OrganizationsClient", "MoveAccountCommand")
14
- .sc(MoveAccount)
14
+ .sc(MoveAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutResourcePolicy } from "../schemas/schemas_0";
4
+ import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutResourcePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutResourcePolicyCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "PutResourcePolicy", {})
13
13
  .n("OrganizationsClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy)
14
+ .sc(PutResourcePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterDelegatedAdministrator } from "../schemas/schemas_0";
4
+ import { RegisterDelegatedAdministrator$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterDelegatedAdministratorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterDelegatedAdministratorCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "RegisterDelegatedAdministrator", {})
13
13
  .n("OrganizationsClient", "RegisterDelegatedAdministratorCommand")
14
- .sc(RegisterDelegatedAdministrator)
14
+ .sc(RegisterDelegatedAdministrator$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RemoveAccountFromOrganization } from "../schemas/schemas_0";
4
+ import { RemoveAccountFromOrganization$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveAccountFromOrganizationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveAccountFromOrganizationCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "RemoveAccountFromOrganization", {})
13
13
  .n("OrganizationsClient", "RemoveAccountFromOrganizationCommand")
14
- .sc(RemoveAccountFromOrganization)
14
+ .sc(RemoveAccountFromOrganization$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "TagResource", {})
13
13
  .n("OrganizationsClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TerminateResponsibilityTransfer } from "../schemas/schemas_0";
4
+ import { TerminateResponsibilityTransfer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TerminateResponsibilityTransferCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TerminateResponsibilityTransferCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "TerminateResponsibilityTransfer", {})
13
13
  .n("OrganizationsClient", "TerminateResponsibilityTransferCommand")
14
- .sc(TerminateResponsibilityTransfer)
14
+ .sc(TerminateResponsibilityTransfer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "UntagResource", {})
13
13
  .n("OrganizationsClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateOrganizationalUnit } from "../schemas/schemas_0";
4
+ import { UpdateOrganizationalUnit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateOrganizationalUnitCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateOrganizationalUnitCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "UpdateOrganizationalUnit", {})
13
13
  .n("OrganizationsClient", "UpdateOrganizationalUnitCommand")
14
- .sc(UpdateOrganizationalUnit)
14
+ .sc(UpdateOrganizationalUnit$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdatePolicy } from "../schemas/schemas_0";
4
+ import { UpdatePolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdatePolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdatePolicyCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "UpdatePolicy", {})
13
13
  .n("OrganizationsClient", "UpdatePolicyCommand")
14
- .sc(UpdatePolicy)
14
+ .sc(UpdatePolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateResponsibilityTransfer } from "../schemas/schemas_0";
4
+ import { UpdateResponsibilityTransfer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateResponsibilityTransferCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateResponsibilityTransferCommand extends $Command
11
11
  })
12
12
  .s("AWSOrganizationsV20161128", "UpdateResponsibilityTransfer", {})
13
13
  .n("OrganizationsClient", "UpdateResponsibilityTransferCommand")
14
- .sc(UpdateResponsibilityTransfer)
14
+ .sc(UpdateResponsibilityTransfer$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./OrganizationsClient";
2
2
  export * from "./Organizations";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.organizations",
29
- serviceTarget: "AWSOrganizationsV20161128",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.organizations",
29
+ xmlNamespace: "http://organizations.amazonaws.com/doc/2016-11-28/",
30
+ version: "2016-11-28",
31
+ serviceTarget: "AWSOrganizationsV20161128",
32
+ },
32
33
  serviceId: config?.serviceId ?? "Organizations",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,