@aws-sdk/client-organizations 3.1076.0 → 3.1078.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 (209) hide show
  1. package/dist-cjs/index.js +74 -635
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptHandshakeCommand.js +2 -14
  4. package/dist-es/commands/AttachPolicyCommand.js +2 -14
  5. package/dist-es/commands/CancelHandshakeCommand.js +2 -14
  6. package/dist-es/commands/CloseAccountCommand.js +2 -14
  7. package/dist-es/commands/CreateAccountCommand.js +2 -14
  8. package/dist-es/commands/CreateGovCloudAccountCommand.js +2 -14
  9. package/dist-es/commands/CreateOrganizationCommand.js +2 -14
  10. package/dist-es/commands/CreateOrganizationalUnitCommand.js +2 -14
  11. package/dist-es/commands/CreatePolicyCommand.js +2 -14
  12. package/dist-es/commands/DeclineHandshakeCommand.js +2 -14
  13. package/dist-es/commands/DeleteOrganizationCommand.js +2 -14
  14. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +2 -14
  15. package/dist-es/commands/DeletePolicyCommand.js +2 -14
  16. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  17. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +2 -14
  18. package/dist-es/commands/DescribeAccountCommand.js +2 -14
  19. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +2 -14
  20. package/dist-es/commands/DescribeEffectivePolicyCommand.js +2 -14
  21. package/dist-es/commands/DescribeHandshakeCommand.js +2 -14
  22. package/dist-es/commands/DescribeOrganizationCommand.js +2 -14
  23. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +2 -14
  24. package/dist-es/commands/DescribePolicyCommand.js +2 -14
  25. package/dist-es/commands/DescribeResourcePolicyCommand.js +2 -14
  26. package/dist-es/commands/DescribeResponsibilityTransferCommand.js +2 -14
  27. package/dist-es/commands/DetachPolicyCommand.js +2 -14
  28. package/dist-es/commands/DisableAWSServiceAccessCommand.js +2 -14
  29. package/dist-es/commands/DisablePolicyTypeCommand.js +2 -14
  30. package/dist-es/commands/EnableAWSServiceAccessCommand.js +2 -14
  31. package/dist-es/commands/EnableAllFeaturesCommand.js +2 -14
  32. package/dist-es/commands/EnablePolicyTypeCommand.js +2 -14
  33. package/dist-es/commands/InviteAccountToOrganizationCommand.js +2 -14
  34. package/dist-es/commands/InviteOrganizationToTransferResponsibilityCommand.js +2 -14
  35. package/dist-es/commands/LeaveOrganizationCommand.js +2 -14
  36. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +2 -14
  37. package/dist-es/commands/ListAccountsCommand.js +2 -14
  38. package/dist-es/commands/ListAccountsForParentCommand.js +2 -14
  39. package/dist-es/commands/ListAccountsWithInvalidEffectivePolicyCommand.js +2 -14
  40. package/dist-es/commands/ListChildrenCommand.js +2 -14
  41. package/dist-es/commands/ListCreateAccountStatusCommand.js +2 -14
  42. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +2 -14
  43. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +2 -14
  44. package/dist-es/commands/ListEffectivePolicyValidationErrorsCommand.js +2 -14
  45. package/dist-es/commands/ListHandshakesForAccountCommand.js +2 -14
  46. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +2 -14
  47. package/dist-es/commands/ListInboundResponsibilityTransfersCommand.js +2 -14
  48. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +2 -14
  49. package/dist-es/commands/ListOutboundResponsibilityTransfersCommand.js +2 -14
  50. package/dist-es/commands/ListParentsCommand.js +2 -14
  51. package/dist-es/commands/ListPoliciesCommand.js +2 -14
  52. package/dist-es/commands/ListPoliciesForTargetCommand.js +2 -14
  53. package/dist-es/commands/ListRootsCommand.js +2 -14
  54. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  55. package/dist-es/commands/ListTargetsForPolicyCommand.js +2 -14
  56. package/dist-es/commands/MoveAccountCommand.js +2 -14
  57. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  58. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +2 -14
  59. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +2 -14
  60. package/dist-es/commands/TagResourceCommand.js +2 -14
  61. package/dist-es/commands/TerminateResponsibilityTransferCommand.js +2 -14
  62. package/dist-es/commands/UntagResourceCommand.js +2 -14
  63. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +2 -14
  64. package/dist-es/commands/UpdatePolicyCommand.js +2 -14
  65. package/dist-es/commands/UpdateResponsibilityTransferCommand.js +2 -14
  66. package/dist-es/index.js +1 -0
  67. package/dist-es/runtimeConfig.browser.js +0 -2
  68. package/dist-es/runtimeConfig.js +1 -2
  69. package/dist-es/runtimeConfig.native.js +0 -2
  70. package/dist-es/runtimeConfig.shared.js +2 -0
  71. package/dist-types/commandBuilder.d.ts +18 -0
  72. package/dist-types/commands/AcceptHandshakeCommand.d.ts +3 -8
  73. package/dist-types/commands/AttachPolicyCommand.d.ts +3 -8
  74. package/dist-types/commands/CancelHandshakeCommand.d.ts +3 -8
  75. package/dist-types/commands/CloseAccountCommand.d.ts +3 -8
  76. package/dist-types/commands/CreateAccountCommand.d.ts +3 -8
  77. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +3 -8
  78. package/dist-types/commands/CreateOrganizationCommand.d.ts +3 -8
  79. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +3 -8
  80. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -8
  81. package/dist-types/commands/DeclineHandshakeCommand.d.ts +3 -8
  82. package/dist-types/commands/DeleteOrganizationCommand.d.ts +3 -8
  83. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +3 -8
  84. package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
  85. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  86. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +3 -8
  87. package/dist-types/commands/DescribeAccountCommand.d.ts +3 -8
  88. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +3 -8
  89. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +3 -8
  90. package/dist-types/commands/DescribeHandshakeCommand.d.ts +3 -8
  91. package/dist-types/commands/DescribeOrganizationCommand.d.ts +3 -8
  92. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +3 -8
  93. package/dist-types/commands/DescribePolicyCommand.d.ts +3 -8
  94. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -8
  95. package/dist-types/commands/DescribeResponsibilityTransferCommand.d.ts +3 -8
  96. package/dist-types/commands/DetachPolicyCommand.d.ts +3 -8
  97. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +3 -8
  98. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +3 -8
  99. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +3 -8
  100. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +3 -8
  101. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +3 -8
  102. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +3 -8
  103. package/dist-types/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +3 -8
  104. package/dist-types/commands/LeaveOrganizationCommand.d.ts +3 -8
  105. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +3 -8
  106. package/dist-types/commands/ListAccountsCommand.d.ts +3 -8
  107. package/dist-types/commands/ListAccountsForParentCommand.d.ts +3 -8
  108. package/dist-types/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +3 -8
  109. package/dist-types/commands/ListChildrenCommand.d.ts +3 -8
  110. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +3 -8
  111. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +3 -8
  112. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +3 -8
  113. package/dist-types/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +3 -8
  114. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +3 -8
  115. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +3 -8
  116. package/dist-types/commands/ListInboundResponsibilityTransfersCommand.d.ts +3 -8
  117. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +3 -8
  118. package/dist-types/commands/ListOutboundResponsibilityTransfersCommand.d.ts +3 -8
  119. package/dist-types/commands/ListParentsCommand.d.ts +3 -8
  120. package/dist-types/commands/ListPoliciesCommand.d.ts +3 -8
  121. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +3 -8
  122. package/dist-types/commands/ListRootsCommand.d.ts +3 -8
  123. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  124. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +3 -8
  125. package/dist-types/commands/MoveAccountCommand.d.ts +3 -8
  126. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  127. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +3 -8
  128. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +3 -8
  129. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  130. package/dist-types/commands/TerminateResponsibilityTransferCommand.d.ts +3 -8
  131. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  132. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +3 -8
  133. package/dist-types/commands/UpdatePolicyCommand.d.ts +3 -8
  134. package/dist-types/commands/UpdateResponsibilityTransferCommand.d.ts +3 -8
  135. package/dist-types/index.d.ts +1 -0
  136. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  137. package/dist-types/runtimeConfig.d.ts +1 -1
  138. package/dist-types/runtimeConfig.native.d.ts +1 -1
  139. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  140. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  141. package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/DescribeResponsibilityTransferCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/InviteOrganizationToTransferResponsibilityCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/ListAccountsWithInvalidEffectivePolicyCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/ListEffectivePolicyValidationErrorsCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +7 -16
  184. package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +7 -16
  185. package/dist-types/ts3.4/commands/ListInboundResponsibilityTransfersCommand.d.ts +7 -16
  186. package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +7 -16
  187. package/dist-types/ts3.4/commands/ListOutboundResponsibilityTransfersCommand.d.ts +7 -16
  188. package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +7 -16
  189. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +7 -16
  190. package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +7 -16
  191. package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +7 -16
  192. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  193. package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +7 -16
  194. package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +7 -16
  195. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +7 -16
  197. package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +7 -16
  198. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  199. package/dist-types/ts3.4/commands/TerminateResponsibilityTransferCommand.d.ts +7 -16
  200. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  201. package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +7 -16
  202. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +7 -16
  203. package/dist-types/ts3.4/commands/UpdateResponsibilityTransferCommand.d.ts +7 -16
  204. package/dist-types/ts3.4/index.d.ts +1 -0
  205. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  206. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  207. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  208. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  209. package/package.json +8 -10
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSOrganizationsV20161128", "OrganizationsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AcceptHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AcceptHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "AcceptHandshake", {})
13
- .n("OrganizationsClient", "AcceptHandshakeCommand")
14
- .sc(AcceptHandshake$)
15
- .build() {
3
+ export class AcceptHandshakeCommand extends command(_ep0, _mw0, "AcceptHandshake", AcceptHandshake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AttachPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AttachPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "AttachPolicy", {})
13
- .n("OrganizationsClient", "AttachPolicyCommand")
14
- .sc(AttachPolicy$)
15
- .build() {
3
+ export class AttachPolicyCommand extends command(_ep0, _mw0, "AttachPolicy", AttachPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CancelHandshake", {})
13
- .n("OrganizationsClient", "CancelHandshakeCommand")
14
- .sc(CancelHandshake$)
15
- .build() {
3
+ export class CancelHandshakeCommand extends command(_ep0, _mw0, "CancelHandshake", CancelHandshake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CloseAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CloseAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CloseAccount", {})
13
- .n("OrganizationsClient", "CloseAccountCommand")
14
- .sc(CloseAccount$)
15
- .build() {
3
+ export class CloseAccountCommand extends command(_ep0, _mw0, "CloseAccount", CloseAccount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CreateAccount", {})
13
- .n("OrganizationsClient", "CreateAccountCommand")
14
- .sc(CreateAccount$)
15
- .build() {
3
+ export class CreateAccountCommand extends command(_ep0, _mw0, "CreateAccount", CreateAccount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateGovCloudAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGovCloudAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CreateGovCloudAccount", {})
13
- .n("OrganizationsClient", "CreateGovCloudAccountCommand")
14
- .sc(CreateGovCloudAccount$)
15
- .build() {
3
+ export class CreateGovCloudAccountCommand extends command(_ep0, _mw0, "CreateGovCloudAccount", CreateGovCloudAccount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CreateOrganization", {})
13
- .n("OrganizationsClient", "CreateOrganizationCommand")
14
- .sc(CreateOrganization$)
15
- .build() {
3
+ export class CreateOrganizationCommand extends command(_ep0, _mw0, "CreateOrganization", CreateOrganization$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateOrganizationalUnit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateOrganizationalUnitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CreateOrganizationalUnit", {})
13
- .n("OrganizationsClient", "CreateOrganizationalUnitCommand")
14
- .sc(CreateOrganizationalUnit$)
15
- .build() {
3
+ export class CreateOrganizationalUnitCommand extends command(_ep0, _mw0, "CreateOrganizationalUnit", CreateOrganizationalUnit$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "CreatePolicy", {})
13
- .n("OrganizationsClient", "CreatePolicyCommand")
14
- .sc(CreatePolicy$)
15
- .build() {
3
+ export class CreatePolicyCommand extends command(_ep0, _mw0, "CreatePolicy", CreatePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeclineHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeclineHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeclineHandshake", {})
13
- .n("OrganizationsClient", "DeclineHandshakeCommand")
14
- .sc(DeclineHandshake$)
15
- .build() {
3
+ export class DeclineHandshakeCommand extends command(_ep0, _mw0, "DeclineHandshake", DeclineHandshake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeleteOrganization", {})
13
- .n("OrganizationsClient", "DeleteOrganizationCommand")
14
- .sc(DeleteOrganization$)
15
- .build() {
3
+ export class DeleteOrganizationCommand extends command(_ep0, _mw0, "DeleteOrganization", DeleteOrganization$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteOrganizationalUnit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteOrganizationalUnitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeleteOrganizationalUnit", {})
13
- .n("OrganizationsClient", "DeleteOrganizationalUnitCommand")
14
- .sc(DeleteOrganizationalUnit$)
15
- .build() {
3
+ export class DeleteOrganizationalUnitCommand extends command(_ep0, _mw0, "DeleteOrganizationalUnit", DeleteOrganizationalUnit$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeletePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeletePolicy", {})
13
- .n("OrganizationsClient", "DeletePolicyCommand")
14
- .sc(DeletePolicy$)
15
- .build() {
3
+ export class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeleteResourcePolicy", {})
13
- .n("OrganizationsClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeregisterDelegatedAdministrator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterDelegatedAdministratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DeregisterDelegatedAdministrator", {})
13
- .n("OrganizationsClient", "DeregisterDelegatedAdministratorCommand")
14
- .sc(DeregisterDelegatedAdministrator$)
15
- .build() {
3
+ export class DeregisterDelegatedAdministratorCommand extends command(_ep0, _mw0, "DeregisterDelegatedAdministrator", DeregisterDelegatedAdministrator$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeAccount", {})
13
- .n("OrganizationsClient", "DescribeAccountCommand")
14
- .sc(DescribeAccount$)
15
- .build() {
3
+ export class DescribeAccountCommand extends command(_ep0, _mw0, "DescribeAccount", DescribeAccount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeCreateAccountStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCreateAccountStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeCreateAccountStatus", {})
13
- .n("OrganizationsClient", "DescribeCreateAccountStatusCommand")
14
- .sc(DescribeCreateAccountStatus$)
15
- .build() {
3
+ export class DescribeCreateAccountStatusCommand extends command(_ep0, _mw0, "DescribeCreateAccountStatus", DescribeCreateAccountStatus$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEffectivePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEffectivePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeEffectivePolicy", {})
13
- .n("OrganizationsClient", "DescribeEffectivePolicyCommand")
14
- .sc(DescribeEffectivePolicy$)
15
- .build() {
3
+ export class DescribeEffectivePolicyCommand extends command(_ep0, _mw0, "DescribeEffectivePolicy", DescribeEffectivePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeHandshake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeHandshakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeHandshake", {})
13
- .n("OrganizationsClient", "DescribeHandshakeCommand")
14
- .sc(DescribeHandshake$)
15
- .build() {
3
+ export class DescribeHandshakeCommand extends command(_ep0, _mw0, "DescribeHandshake", DescribeHandshake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeOrganization", {})
13
- .n("OrganizationsClient", "DescribeOrganizationCommand")
14
- .sc(DescribeOrganization$)
15
- .build() {
3
+ export class DescribeOrganizationCommand extends command(_ep0, _mw0, "DescribeOrganization", DescribeOrganization$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeOrganizationalUnit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeOrganizationalUnitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeOrganizationalUnit", {})
13
- .n("OrganizationsClient", "DescribeOrganizationalUnitCommand")
14
- .sc(DescribeOrganizationalUnit$)
15
- .build() {
3
+ export class DescribeOrganizationalUnitCommand extends command(_ep0, _mw0, "DescribeOrganizationalUnit", DescribeOrganizationalUnit$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribePolicy", {})
13
- .n("OrganizationsClient", "DescribePolicyCommand")
14
- .sc(DescribePolicy$)
15
- .build() {
3
+ export class DescribePolicyCommand extends command(_ep0, _mw0, "DescribePolicy", DescribePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeResourcePolicy", {})
13
- .n("OrganizationsClient", "DescribeResourcePolicyCommand")
14
- .sc(DescribeResourcePolicy$)
15
- .build() {
3
+ export class DescribeResourcePolicyCommand extends command(_ep0, _mw0, "DescribeResourcePolicy", DescribeResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeResponsibilityTransfer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeResponsibilityTransferCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DescribeResponsibilityTransfer", {})
13
- .n("OrganizationsClient", "DescribeResponsibilityTransferCommand")
14
- .sc(DescribeResponsibilityTransfer$)
15
- .build() {
3
+ export class DescribeResponsibilityTransferCommand extends command(_ep0, _mw0, "DescribeResponsibilityTransfer", DescribeResponsibilityTransfer$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DetachPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DetachPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DetachPolicy", {})
13
- .n("OrganizationsClient", "DetachPolicyCommand")
14
- .sc(DetachPolicy$)
15
- .build() {
3
+ export class DetachPolicyCommand extends command(_ep0, _mw0, "DetachPolicy", DetachPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableAWSServiceAccess$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableAWSServiceAccessCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DisableAWSServiceAccess", {})
13
- .n("OrganizationsClient", "DisableAWSServiceAccessCommand")
14
- .sc(DisableAWSServiceAccess$)
15
- .build() {
3
+ export class DisableAWSServiceAccessCommand extends command(_ep0, _mw0, "DisableAWSServiceAccess", DisableAWSServiceAccess$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisablePolicyType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisablePolicyTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "DisablePolicyType", {})
13
- .n("OrganizationsClient", "DisablePolicyTypeCommand")
14
- .sc(DisablePolicyType$)
15
- .build() {
3
+ export class DisablePolicyTypeCommand extends command(_ep0, _mw0, "DisablePolicyType", DisablePolicyType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableAWSServiceAccess$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableAWSServiceAccessCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "EnableAWSServiceAccess", {})
13
- .n("OrganizationsClient", "EnableAWSServiceAccessCommand")
14
- .sc(EnableAWSServiceAccess$)
15
- .build() {
3
+ export class EnableAWSServiceAccessCommand extends command(_ep0, _mw0, "EnableAWSServiceAccess", EnableAWSServiceAccess$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableAllFeatures$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableAllFeaturesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "EnableAllFeatures", {})
13
- .n("OrganizationsClient", "EnableAllFeaturesCommand")
14
- .sc(EnableAllFeatures$)
15
- .build() {
3
+ export class EnableAllFeaturesCommand extends command(_ep0, _mw0, "EnableAllFeatures", EnableAllFeatures$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnablePolicyType$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnablePolicyTypeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "EnablePolicyType", {})
13
- .n("OrganizationsClient", "EnablePolicyTypeCommand")
14
- .sc(EnablePolicyType$)
15
- .build() {
3
+ export class EnablePolicyTypeCommand extends command(_ep0, _mw0, "EnablePolicyType", EnablePolicyType$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InviteAccountToOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InviteAccountToOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "InviteAccountToOrganization", {})
13
- .n("OrganizationsClient", "InviteAccountToOrganizationCommand")
14
- .sc(InviteAccountToOrganization$)
15
- .build() {
3
+ export class InviteAccountToOrganizationCommand extends command(_ep0, _mw0, "InviteAccountToOrganization", InviteAccountToOrganization$) {
16
4
  }