@aws-sdk/client-organizations 3.478.0 → 3.481.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 (225) hide show
  1. package/dist-cjs/commands/AcceptHandshakeCommand.js +18 -41
  2. package/dist-cjs/commands/AttachPolicyCommand.js +18 -41
  3. package/dist-cjs/commands/CancelHandshakeCommand.js +18 -41
  4. package/dist-cjs/commands/CloseAccountCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAccountCommand.js +18 -41
  6. package/dist-cjs/commands/CreateGovCloudAccountCommand.js +18 -41
  7. package/dist-cjs/commands/CreateOrganizationCommand.js +18 -41
  8. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +18 -41
  9. package/dist-cjs/commands/CreatePolicyCommand.js +18 -41
  10. package/dist-cjs/commands/DeclineHandshakeCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteOrganizationCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +18 -41
  13. package/dist-cjs/commands/DeletePolicyCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  15. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeAccountCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeHandshakeCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeOrganizationCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +18 -41
  22. package/dist-cjs/commands/DescribePolicyCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +18 -41
  24. package/dist-cjs/commands/DetachPolicyCommand.js +18 -41
  25. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +18 -41
  26. package/dist-cjs/commands/DisablePolicyTypeCommand.js +18 -41
  27. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +18 -41
  28. package/dist-cjs/commands/EnableAllFeaturesCommand.js +18 -41
  29. package/dist-cjs/commands/EnablePolicyTypeCommand.js +18 -41
  30. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +18 -41
  31. package/dist-cjs/commands/LeaveOrganizationCommand.js +18 -41
  32. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +18 -41
  33. package/dist-cjs/commands/ListAccountsCommand.js +18 -41
  34. package/dist-cjs/commands/ListAccountsForParentCommand.js +18 -41
  35. package/dist-cjs/commands/ListChildrenCommand.js +18 -41
  36. package/dist-cjs/commands/ListCreateAccountStatusCommand.js +18 -41
  37. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +18 -41
  38. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +18 -41
  39. package/dist-cjs/commands/ListHandshakesForAccountCommand.js +18 -41
  40. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +18 -41
  41. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +18 -41
  42. package/dist-cjs/commands/ListParentsCommand.js +18 -41
  43. package/dist-cjs/commands/ListPoliciesCommand.js +18 -41
  44. package/dist-cjs/commands/ListPoliciesForTargetCommand.js +18 -41
  45. package/dist-cjs/commands/ListRootsCommand.js +18 -41
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  47. package/dist-cjs/commands/ListTargetsForPolicyCommand.js +18 -41
  48. package/dist-cjs/commands/MoveAccountCommand.js +18 -41
  49. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  50. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +18 -41
  51. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +18 -41
  52. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  53. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +18 -41
  55. package/dist-cjs/commands/UpdatePolicyCommand.js +18 -41
  56. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  57. package/dist-es/commands/AcceptHandshakeCommand.js +18 -41
  58. package/dist-es/commands/AttachPolicyCommand.js +18 -41
  59. package/dist-es/commands/CancelHandshakeCommand.js +18 -41
  60. package/dist-es/commands/CloseAccountCommand.js +18 -41
  61. package/dist-es/commands/CreateAccountCommand.js +18 -41
  62. package/dist-es/commands/CreateGovCloudAccountCommand.js +18 -41
  63. package/dist-es/commands/CreateOrganizationCommand.js +18 -41
  64. package/dist-es/commands/CreateOrganizationalUnitCommand.js +18 -41
  65. package/dist-es/commands/CreatePolicyCommand.js +18 -41
  66. package/dist-es/commands/DeclineHandshakeCommand.js +18 -41
  67. package/dist-es/commands/DeleteOrganizationCommand.js +18 -41
  68. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +18 -41
  69. package/dist-es/commands/DeletePolicyCommand.js +18 -41
  70. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  71. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +18 -41
  72. package/dist-es/commands/DescribeAccountCommand.js +18 -41
  73. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +18 -41
  74. package/dist-es/commands/DescribeEffectivePolicyCommand.js +18 -41
  75. package/dist-es/commands/DescribeHandshakeCommand.js +18 -41
  76. package/dist-es/commands/DescribeOrganizationCommand.js +18 -41
  77. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +18 -41
  78. package/dist-es/commands/DescribePolicyCommand.js +18 -41
  79. package/dist-es/commands/DescribeResourcePolicyCommand.js +18 -41
  80. package/dist-es/commands/DetachPolicyCommand.js +18 -41
  81. package/dist-es/commands/DisableAWSServiceAccessCommand.js +18 -41
  82. package/dist-es/commands/DisablePolicyTypeCommand.js +18 -41
  83. package/dist-es/commands/EnableAWSServiceAccessCommand.js +18 -41
  84. package/dist-es/commands/EnableAllFeaturesCommand.js +18 -41
  85. package/dist-es/commands/EnablePolicyTypeCommand.js +18 -41
  86. package/dist-es/commands/InviteAccountToOrganizationCommand.js +18 -41
  87. package/dist-es/commands/LeaveOrganizationCommand.js +18 -41
  88. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +18 -41
  89. package/dist-es/commands/ListAccountsCommand.js +18 -41
  90. package/dist-es/commands/ListAccountsForParentCommand.js +18 -41
  91. package/dist-es/commands/ListChildrenCommand.js +18 -41
  92. package/dist-es/commands/ListCreateAccountStatusCommand.js +18 -41
  93. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +18 -41
  94. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +18 -41
  95. package/dist-es/commands/ListHandshakesForAccountCommand.js +18 -41
  96. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +18 -41
  97. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +18 -41
  98. package/dist-es/commands/ListParentsCommand.js +18 -41
  99. package/dist-es/commands/ListPoliciesCommand.js +18 -41
  100. package/dist-es/commands/ListPoliciesForTargetCommand.js +18 -41
  101. package/dist-es/commands/ListRootsCommand.js +18 -41
  102. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  103. package/dist-es/commands/ListTargetsForPolicyCommand.js +18 -41
  104. package/dist-es/commands/MoveAccountCommand.js +18 -41
  105. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  106. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +18 -41
  107. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +18 -41
  108. package/dist-es/commands/TagResourceCommand.js +18 -41
  109. package/dist-es/commands/UntagResourceCommand.js +18 -41
  110. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +18 -41
  111. package/dist-es/commands/UpdatePolicyCommand.js +18 -41
  112. package/dist-es/endpoint/EndpointParameters.js +6 -0
  113. package/dist-types/commands/AcceptHandshakeCommand.d.ts +6 -21
  114. package/dist-types/commands/AttachPolicyCommand.d.ts +6 -21
  115. package/dist-types/commands/CancelHandshakeCommand.d.ts +6 -21
  116. package/dist-types/commands/CloseAccountCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateAccountCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateOrganizationCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +6 -21
  121. package/dist-types/commands/CreatePolicyCommand.d.ts +6 -21
  122. package/dist-types/commands/DeclineHandshakeCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +6 -21
  125. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  127. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeAccountCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeHandshakeCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeOrganizationCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribePolicyCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +6 -21
  136. package/dist-types/commands/DetachPolicyCommand.d.ts +6 -21
  137. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +6 -21
  138. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +6 -21
  139. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +6 -21
  140. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +6 -21
  141. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +6 -21
  142. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +6 -21
  143. package/dist-types/commands/LeaveOrganizationCommand.d.ts +6 -21
  144. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +6 -21
  145. package/dist-types/commands/ListAccountsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListAccountsForParentCommand.d.ts +6 -21
  147. package/dist-types/commands/ListChildrenCommand.d.ts +6 -21
  148. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +6 -21
  149. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +6 -21
  151. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +6 -21
  152. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +6 -21
  153. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +6 -21
  154. package/dist-types/commands/ListParentsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListPoliciesCommand.d.ts +6 -21
  156. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +6 -21
  157. package/dist-types/commands/ListRootsCommand.d.ts +6 -21
  158. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  159. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +6 -21
  160. package/dist-types/commands/MoveAccountCommand.d.ts +6 -21
  161. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  162. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +6 -21
  163. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +6 -21
  164. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  165. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdatePolicyCommand.d.ts +6 -21
  168. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  169. package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  225. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeEffectivePolicyCommand, se_DescribeEffectivePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeEffectivePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEffectivePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DescribeEffectivePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DescribeEffectivePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeEffectivePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeEffectivePolicyCommand(output, context);
46
- }
7
+ export class DescribeEffectivePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DescribeEffectivePolicy", {})
19
+ .n("OrganizationsClient", "DescribeEffectivePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeEffectivePolicyCommand)
22
+ .de(de_DescribeEffectivePolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeHandshakeResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeHandshakeCommand, se_DescribeHandshakeCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class DescribeHandshakeCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeHandshakeCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "OrganizationsClient";
27
- const commandName = "DescribeHandshakeCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: DescribeHandshakeResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSOrganizationsV20161128",
36
- operation: "DescribeHandshake",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeHandshakeCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeHandshakeCommand(output, context);
47
- }
8
+ export class DescribeHandshakeCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSOrganizationsV20161128", "DescribeHandshake", {})
20
+ .n("OrganizationsClient", "DescribeHandshakeCommand")
21
+ .f(void 0, DescribeHandshakeResponseFilterSensitiveLog)
22
+ .ser(se_DescribeHandshakeCommand)
23
+ .de(de_DescribeHandshakeCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeOrganizationResponseFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_DescribeOrganizationCommand, se_DescribeOrganizationCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
- export class DescribeOrganizationCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeOrganizationCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "OrganizationsClient";
27
- const commandName = "DescribeOrganizationCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: DescribeOrganizationResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSOrganizationsV20161128",
36
- operation: "DescribeOrganization",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeOrganizationCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeOrganizationCommand(output, context);
47
- }
8
+ export class DescribeOrganizationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSOrganizationsV20161128", "DescribeOrganization", {})
20
+ .n("OrganizationsClient", "DescribeOrganizationCommand")
21
+ .f(void 0, DescribeOrganizationResponseFilterSensitiveLog)
22
+ .ser(se_DescribeOrganizationCommand)
23
+ .de(de_DescribeOrganizationCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeOrganizationalUnitCommand, se_DescribeOrganizationalUnitCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeOrganizationalUnitCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeOrganizationalUnitCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DescribeOrganizationalUnitCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DescribeOrganizationalUnit",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeOrganizationalUnitCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeOrganizationalUnitCommand(output, context);
46
- }
7
+ export class DescribeOrganizationalUnitCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DescribeOrganizationalUnit", {})
19
+ .n("OrganizationsClient", "DescribeOrganizationalUnitCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeOrganizationalUnitCommand)
22
+ .de(de_DescribeOrganizationalUnitCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribePolicyCommand, se_DescribePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DescribePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DescribePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribePolicyCommand(output, context);
46
- }
7
+ export class DescribePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DescribePolicy", {})
19
+ .n("OrganizationsClient", "DescribePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribePolicyCommand)
22
+ .de(de_DescribePolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeResourcePolicyCommand, se_DescribeResourcePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeResourcePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourcePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DescribeResourcePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DescribeResourcePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeResourcePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeResourcePolicyCommand(output, context);
46
- }
7
+ export class DescribeResourcePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DescribeResourcePolicy", {})
19
+ .n("OrganizationsClient", "DescribeResourcePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeResourcePolicyCommand)
22
+ .de(de_DescribeResourcePolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DetachPolicyCommand, se_DetachPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DetachPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DetachPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DetachPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DetachPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DetachPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DetachPolicyCommand(output, context);
46
- }
7
+ export class DetachPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DetachPolicy", {})
19
+ .n("OrganizationsClient", "DetachPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DetachPolicyCommand)
22
+ .de(de_DetachPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisableAWSServiceAccessCommand, se_DisableAWSServiceAccessCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DisableAWSServiceAccessCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisableAWSServiceAccessCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DisableAWSServiceAccessCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DisableAWSServiceAccess",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisableAWSServiceAccessCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisableAWSServiceAccessCommand(output, context);
46
- }
7
+ export class DisableAWSServiceAccessCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DisableAWSServiceAccess", {})
19
+ .n("OrganizationsClient", "DisableAWSServiceAccessCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisableAWSServiceAccessCommand)
22
+ .de(de_DisableAWSServiceAccessCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DisablePolicyTypeCommand, se_DisablePolicyTypeCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DisablePolicyTypeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DisablePolicyTypeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OrganizationsClient";
26
- const commandName = "DisablePolicyTypeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSOrganizationsV20161128",
35
- operation: "DisablePolicyType",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DisablePolicyTypeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DisablePolicyTypeCommand(output, context);
46
- }
7
+ export class DisablePolicyTypeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSOrganizationsV20161128", "DisablePolicyType", {})
19
+ .n("OrganizationsClient", "DisablePolicyTypeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DisablePolicyTypeCommand)
22
+ .de(de_DisablePolicyTypeCommand)
23
+ .build() {
47
24
  }