@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
@@ -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 { InviteOrganizationToTransferResponsibility$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InviteOrganizationToTransferResponsibilityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "InviteOrganizationToTransferResponsibility", {})
13
- .n("OrganizationsClient", "InviteOrganizationToTransferResponsibilityCommand")
14
- .sc(InviteOrganizationToTransferResponsibility$)
15
- .build() {
3
+ export class InviteOrganizationToTransferResponsibilityCommand extends command(_ep0, _mw0, "InviteOrganizationToTransferResponsibility", InviteOrganizationToTransferResponsibility$) {
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 { LeaveOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class LeaveOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "LeaveOrganization", {})
13
- .n("OrganizationsClient", "LeaveOrganizationCommand")
14
- .sc(LeaveOrganization$)
15
- .build() {
3
+ export class LeaveOrganizationCommand extends command(_ep0, _mw0, "LeaveOrganization", LeaveOrganization$) {
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 { ListAWSServiceAccessForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAWSServiceAccessForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListAWSServiceAccessForOrganization", {})
13
- .n("OrganizationsClient", "ListAWSServiceAccessForOrganizationCommand")
14
- .sc(ListAWSServiceAccessForOrganization$)
15
- .build() {
3
+ export class ListAWSServiceAccessForOrganizationCommand extends command(_ep0, _mw0, "ListAWSServiceAccessForOrganization", ListAWSServiceAccessForOrganization$) {
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 { ListAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListAccounts", {})
13
- .n("OrganizationsClient", "ListAccountsCommand")
14
- .sc(ListAccounts$)
15
- .build() {
3
+ export class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
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 { ListAccountsForParent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountsForParentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListAccountsForParent", {})
13
- .n("OrganizationsClient", "ListAccountsForParentCommand")
14
- .sc(ListAccountsForParent$)
15
- .build() {
3
+ export class ListAccountsForParentCommand extends command(_ep0, _mw0, "ListAccountsForParent", ListAccountsForParent$) {
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 { ListAccountsWithInvalidEffectivePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountsWithInvalidEffectivePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListAccountsWithInvalidEffectivePolicy", {})
13
- .n("OrganizationsClient", "ListAccountsWithInvalidEffectivePolicyCommand")
14
- .sc(ListAccountsWithInvalidEffectivePolicy$)
15
- .build() {
3
+ export class ListAccountsWithInvalidEffectivePolicyCommand extends command(_ep0, _mw0, "ListAccountsWithInvalidEffectivePolicy", ListAccountsWithInvalidEffectivePolicy$) {
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 { ListChildren$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChildrenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListChildren", {})
13
- .n("OrganizationsClient", "ListChildrenCommand")
14
- .sc(ListChildren$)
15
- .build() {
3
+ export class ListChildrenCommand extends command(_ep0, _mw0, "ListChildren", ListChildren$) {
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 { ListCreateAccountStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCreateAccountStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListCreateAccountStatus", {})
13
- .n("OrganizationsClient", "ListCreateAccountStatusCommand")
14
- .sc(ListCreateAccountStatus$)
15
- .build() {
3
+ export class ListCreateAccountStatusCommand extends command(_ep0, _mw0, "ListCreateAccountStatus", ListCreateAccountStatus$) {
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 { ListDelegatedAdministrators$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDelegatedAdministratorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListDelegatedAdministrators", {})
13
- .n("OrganizationsClient", "ListDelegatedAdministratorsCommand")
14
- .sc(ListDelegatedAdministrators$)
15
- .build() {
3
+ export class ListDelegatedAdministratorsCommand extends command(_ep0, _mw0, "ListDelegatedAdministrators", ListDelegatedAdministrators$) {
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 { ListDelegatedServicesForAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDelegatedServicesForAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListDelegatedServicesForAccount", {})
13
- .n("OrganizationsClient", "ListDelegatedServicesForAccountCommand")
14
- .sc(ListDelegatedServicesForAccount$)
15
- .build() {
3
+ export class ListDelegatedServicesForAccountCommand extends command(_ep0, _mw0, "ListDelegatedServicesForAccount", ListDelegatedServicesForAccount$) {
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 { ListEffectivePolicyValidationErrors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEffectivePolicyValidationErrorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListEffectivePolicyValidationErrors", {})
13
- .n("OrganizationsClient", "ListEffectivePolicyValidationErrorsCommand")
14
- .sc(ListEffectivePolicyValidationErrors$)
15
- .build() {
3
+ export class ListEffectivePolicyValidationErrorsCommand extends command(_ep0, _mw0, "ListEffectivePolicyValidationErrors", ListEffectivePolicyValidationErrors$) {
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 { ListHandshakesForAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListHandshakesForAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListHandshakesForAccount", {})
13
- .n("OrganizationsClient", "ListHandshakesForAccountCommand")
14
- .sc(ListHandshakesForAccount$)
15
- .build() {
3
+ export class ListHandshakesForAccountCommand extends command(_ep0, _mw0, "ListHandshakesForAccount", ListHandshakesForAccount$) {
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 { ListHandshakesForOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListHandshakesForOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListHandshakesForOrganization", {})
13
- .n("OrganizationsClient", "ListHandshakesForOrganizationCommand")
14
- .sc(ListHandshakesForOrganization$)
15
- .build() {
3
+ export class ListHandshakesForOrganizationCommand extends command(_ep0, _mw0, "ListHandshakesForOrganization", ListHandshakesForOrganization$) {
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 { ListInboundResponsibilityTransfers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInboundResponsibilityTransfersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListInboundResponsibilityTransfers", {})
13
- .n("OrganizationsClient", "ListInboundResponsibilityTransfersCommand")
14
- .sc(ListInboundResponsibilityTransfers$)
15
- .build() {
3
+ export class ListInboundResponsibilityTransfersCommand extends command(_ep0, _mw0, "ListInboundResponsibilityTransfers", ListInboundResponsibilityTransfers$) {
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 { ListOrganizationalUnitsForParent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationalUnitsForParentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListOrganizationalUnitsForParent", {})
13
- .n("OrganizationsClient", "ListOrganizationalUnitsForParentCommand")
14
- .sc(ListOrganizationalUnitsForParent$)
15
- .build() {
3
+ export class ListOrganizationalUnitsForParentCommand extends command(_ep0, _mw0, "ListOrganizationalUnitsForParent", ListOrganizationalUnitsForParent$) {
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 { ListOutboundResponsibilityTransfers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOutboundResponsibilityTransfersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListOutboundResponsibilityTransfers", {})
13
- .n("OrganizationsClient", "ListOutboundResponsibilityTransfersCommand")
14
- .sc(ListOutboundResponsibilityTransfers$)
15
- .build() {
3
+ export class ListOutboundResponsibilityTransfersCommand extends command(_ep0, _mw0, "ListOutboundResponsibilityTransfers", ListOutboundResponsibilityTransfers$) {
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 { ListParents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListParentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListParents", {})
13
- .n("OrganizationsClient", "ListParentsCommand")
14
- .sc(ListParents$)
15
- .build() {
3
+ export class ListParentsCommand extends command(_ep0, _mw0, "ListParents", ListParents$) {
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 { ListPolicies$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPoliciesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListPolicies", {})
13
- .n("OrganizationsClient", "ListPoliciesCommand")
14
- .sc(ListPolicies$)
15
- .build() {
3
+ export class ListPoliciesCommand extends command(_ep0, _mw0, "ListPolicies", ListPolicies$) {
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 { ListPoliciesForTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPoliciesForTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListPoliciesForTarget", {})
13
- .n("OrganizationsClient", "ListPoliciesForTargetCommand")
14
- .sc(ListPoliciesForTarget$)
15
- .build() {
3
+ export class ListPoliciesForTargetCommand extends command(_ep0, _mw0, "ListPoliciesForTarget", ListPoliciesForTarget$) {
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 { ListRoots$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRootsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListRoots", {})
13
- .n("OrganizationsClient", "ListRootsCommand")
14
- .sc(ListRoots$)
15
- .build() {
3
+ export class ListRootsCommand extends command(_ep0, _mw0, "ListRoots", ListRoots$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListTagsForResource", {})
13
- .n("OrganizationsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { ListTargetsForPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTargetsForPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "ListTargetsForPolicy", {})
13
- .n("OrganizationsClient", "ListTargetsForPolicyCommand")
14
- .sc(ListTargetsForPolicy$)
15
- .build() {
3
+ export class ListTargetsForPolicyCommand extends command(_ep0, _mw0, "ListTargetsForPolicy", ListTargetsForPolicy$) {
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 { MoveAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class MoveAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "MoveAccount", {})
13
- .n("OrganizationsClient", "MoveAccountCommand")
14
- .sc(MoveAccount$)
15
- .build() {
3
+ export class MoveAccountCommand extends command(_ep0, _mw0, "MoveAccount", MoveAccount$) {
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 { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "PutResourcePolicy", {})
13
- .n("OrganizationsClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
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 { RegisterDelegatedAdministrator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterDelegatedAdministratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "RegisterDelegatedAdministrator", {})
13
- .n("OrganizationsClient", "RegisterDelegatedAdministratorCommand")
14
- .sc(RegisterDelegatedAdministrator$)
15
- .build() {
3
+ export class RegisterDelegatedAdministratorCommand extends command(_ep0, _mw0, "RegisterDelegatedAdministrator", RegisterDelegatedAdministrator$) {
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 { RemoveAccountFromOrganization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveAccountFromOrganizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "RemoveAccountFromOrganization", {})
13
- .n("OrganizationsClient", "RemoveAccountFromOrganizationCommand")
14
- .sc(RemoveAccountFromOrganization$)
15
- .build() {
3
+ export class RemoveAccountFromOrganizationCommand extends command(_ep0, _mw0, "RemoveAccountFromOrganization", RemoveAccountFromOrganization$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "TagResource", {})
13
- .n("OrganizationsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { TerminateResponsibilityTransfer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TerminateResponsibilityTransferCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "TerminateResponsibilityTransfer", {})
13
- .n("OrganizationsClient", "TerminateResponsibilityTransferCommand")
14
- .sc(TerminateResponsibilityTransfer$)
15
- .build() {
3
+ export class TerminateResponsibilityTransferCommand extends command(_ep0, _mw0, "TerminateResponsibilityTransfer", TerminateResponsibilityTransfer$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "UntagResource", {})
13
- .n("OrganizationsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateOrganizationalUnit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateOrganizationalUnitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "UpdateOrganizationalUnit", {})
13
- .n("OrganizationsClient", "UpdateOrganizationalUnitCommand")
14
- .sc(UpdateOrganizationalUnit$)
15
- .build() {
3
+ export class UpdateOrganizationalUnitCommand extends command(_ep0, _mw0, "UpdateOrganizationalUnit", UpdateOrganizationalUnit$) {
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 { UpdatePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSOrganizationsV20161128", "UpdatePolicy", {})
13
- .n("OrganizationsClient", "UpdatePolicyCommand")
14
- .sc(UpdatePolicy$)
15
- .build() {
3
+ export class UpdatePolicyCommand extends command(_ep0, _mw0, "UpdatePolicy", UpdatePolicy$) {
16
4
  }