@aws-sdk/client-organizations 3.34.0 → 3.35.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 (1082) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/Organizations.js +846 -0
  3. package/dist-cjs/Organizations.js.map +1 -0
  4. package/dist-cjs/OrganizationsClient.js +114 -0
  5. package/dist-cjs/OrganizationsClient.js.map +1 -0
  6. package/dist-cjs/commands/AcceptHandshakeCommand.js +90 -0
  7. package/dist-cjs/commands/AcceptHandshakeCommand.js.map +1 -0
  8. package/dist-cjs/commands/AttachPolicyCommand.js +86 -0
  9. package/dist-cjs/commands/AttachPolicyCommand.js.map +1 -0
  10. package/dist-cjs/commands/CancelHandshakeCommand.js +66 -0
  11. package/dist-cjs/commands/CancelHandshakeCommand.js.map +1 -0
  12. package/dist-cjs/commands/CreateAccountCommand.js +138 -0
  13. package/dist-cjs/commands/CreateAccountCommand.js.map +1 -0
  14. package/dist-cjs/commands/CreateGovCloudAccountCommand.js +194 -0
  15. package/dist-cjs/commands/CreateGovCloudAccountCommand.js.map +1 -0
  16. package/dist-cjs/commands/CreateOrganizationCommand.js +71 -0
  17. package/dist-cjs/commands/CreateOrganizationCommand.js.map +1 -0
  18. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +71 -0
  19. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js.map +1 -0
  20. package/dist-cjs/commands/CreatePolicyCommand.js +67 -0
  21. package/dist-cjs/commands/CreatePolicyCommand.js.map +1 -0
  22. package/dist-cjs/commands/DeclineHandshakeCommand.js +67 -0
  23. package/dist-cjs/commands/DeclineHandshakeCommand.js.map +1 -0
  24. package/dist-cjs/commands/DeleteOrganizationCommand.js +61 -0
  25. package/dist-cjs/commands/DeleteOrganizationCommand.js.map +1 -0
  26. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +63 -0
  27. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js.map +1 -0
  28. package/dist-cjs/commands/DeletePolicyCommand.js +64 -0
  29. package/dist-cjs/commands/DeletePolicyCommand.js.map +1 -0
  30. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +74 -0
  31. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js.map +1 -0
  32. package/dist-cjs/commands/DescribeAccountCommand.js +63 -0
  33. package/dist-cjs/commands/DescribeAccountCommand.js.map +1 -0
  34. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +63 -0
  35. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js.map +1 -0
  36. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +70 -0
  37. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js.map +1 -0
  38. package/dist-cjs/commands/DescribeHandshakeCommand.js +67 -0
  39. package/dist-cjs/commands/DescribeHandshakeCommand.js.map +1 -0
  40. package/dist-cjs/commands/DescribeOrganizationCommand.js +68 -0
  41. package/dist-cjs/commands/DescribeOrganizationCommand.js.map +1 -0
  42. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +63 -0
  43. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js.map +1 -0
  44. package/dist-cjs/commands/DescribePolicyCommand.js +63 -0
  45. package/dist-cjs/commands/DescribePolicyCommand.js.map +1 -0
  46. package/dist-cjs/commands/DetachPolicyCommand.js +75 -0
  47. package/dist-cjs/commands/DetachPolicyCommand.js.map +1 -0
  48. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +116 -0
  49. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js.map +1 -0
  50. package/dist-cjs/commands/DisablePolicyTypeCommand.js +71 -0
  51. package/dist-cjs/commands/DisablePolicyTypeCommand.js.map +1 -0
  52. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +79 -0
  53. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js.map +1 -0
  54. package/dist-cjs/commands/EnableAllFeaturesCommand.js +86 -0
  55. package/dist-cjs/commands/EnableAllFeaturesCommand.js.map +1 -0
  56. package/dist-cjs/commands/EnablePolicyTypeCommand.js +71 -0
  57. package/dist-cjs/commands/EnablePolicyTypeCommand.js.map +1 -0
  58. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +86 -0
  59. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js.map +1 -0
  60. package/dist-cjs/commands/LeaveOrganizationCommand.js +124 -0
  61. package/dist-cjs/commands/LeaveOrganizationCommand.js.map +1 -0
  62. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +69 -0
  63. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js.map +1 -0
  64. package/dist-cjs/commands/ListAccountsCommand.js +72 -0
  65. package/dist-cjs/commands/ListAccountsCommand.js.map +1 -0
  66. package/dist-cjs/commands/ListAccountsForParentCommand.js +75 -0
  67. package/dist-cjs/commands/ListAccountsForParentCommand.js.map +1 -0
  68. package/dist-cjs/commands/ListChildrenCommand.js +73 -0
  69. package/dist-cjs/commands/ListChildrenCommand.js.map +1 -0
  70. package/dist-cjs/commands/ListCreateAccountStatusCommand.js +72 -0
  71. package/dist-cjs/commands/ListCreateAccountStatusCommand.js.map +1 -0
  72. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +64 -0
  73. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js.map +1 -0
  74. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +64 -0
  75. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js.map +1 -0
  76. package/dist-cjs/commands/ListHandshakesForAccountCommand.js +74 -0
  77. package/dist-cjs/commands/ListHandshakesForAccountCommand.js.map +1 -0
  78. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +77 -0
  79. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js.map +1 -0
  80. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +71 -0
  81. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js.map +1 -0
  82. package/dist-cjs/commands/ListParentsCommand.js +76 -0
  83. package/dist-cjs/commands/ListParentsCommand.js.map +1 -0
  84. package/dist-cjs/commands/ListPoliciesCommand.js +71 -0
  85. package/dist-cjs/commands/ListPoliciesCommand.js.map +1 -0
  86. package/dist-cjs/commands/ListPoliciesForTargetCommand.js +73 -0
  87. package/dist-cjs/commands/ListPoliciesForTargetCommand.js.map +1 -0
  88. package/dist-cjs/commands/ListRootsCommand.js +78 -0
  89. package/dist-cjs/commands/ListRootsCommand.js.map +1 -0
  90. package/dist-cjs/commands/ListTagsForResourceCommand.js +78 -0
  91. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  92. package/dist-cjs/commands/ListTargetsForPolicyCommand.js +72 -0
  93. package/dist-cjs/commands/ListTargetsForPolicyCommand.js.map +1 -0
  94. package/dist-cjs/commands/MoveAccountCommand.js +63 -0
  95. package/dist-cjs/commands/MoveAccountCommand.js.map +1 -0
  96. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +69 -0
  97. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js.map +1 -0
  98. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +98 -0
  99. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js.map +1 -0
  100. package/dist-cjs/commands/TagResourceCommand.js +77 -0
  101. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  102. package/dist-cjs/commands/UntagResourceCommand.js +77 -0
  103. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  104. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +64 -0
  105. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js.map +1 -0
  106. package/dist-cjs/commands/UpdatePolicyCommand.js +64 -0
  107. package/dist-cjs/commands/UpdatePolicyCommand.js.map +1 -0
  108. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  109. package/dist-cjs/endpoints.js.map +1 -0
  110. package/{dist/cjs → dist-cjs}/index.js +0 -0
  111. package/dist-cjs/index.js.map +1 -0
  112. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  113. package/dist-cjs/models/index.js.map +1 -0
  114. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  115. package/dist-cjs/models/models_0.js.map +1 -0
  116. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  117. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  118. package/dist-cjs/pagination/ListAWSServiceAccessForOrganizationPaginator.js +46 -0
  119. package/dist-cjs/pagination/ListAWSServiceAccessForOrganizationPaginator.js.map +1 -0
  120. package/dist-cjs/pagination/ListAccountsForParentPaginator.js +46 -0
  121. package/dist-cjs/pagination/ListAccountsForParentPaginator.js.map +1 -0
  122. package/dist-cjs/pagination/ListAccountsPaginator.js +46 -0
  123. package/dist-cjs/pagination/ListAccountsPaginator.js.map +1 -0
  124. package/dist-cjs/pagination/ListChildrenPaginator.js +46 -0
  125. package/dist-cjs/pagination/ListChildrenPaginator.js.map +1 -0
  126. package/dist-cjs/pagination/ListCreateAccountStatusPaginator.js +46 -0
  127. package/dist-cjs/pagination/ListCreateAccountStatusPaginator.js.map +1 -0
  128. package/dist-cjs/pagination/ListDelegatedAdministratorsPaginator.js +46 -0
  129. package/dist-cjs/pagination/ListDelegatedAdministratorsPaginator.js.map +1 -0
  130. package/dist-cjs/pagination/ListDelegatedServicesForAccountPaginator.js +46 -0
  131. package/dist-cjs/pagination/ListDelegatedServicesForAccountPaginator.js.map +1 -0
  132. package/dist-cjs/pagination/ListHandshakesForAccountPaginator.js +46 -0
  133. package/dist-cjs/pagination/ListHandshakesForAccountPaginator.js.map +1 -0
  134. package/dist-cjs/pagination/ListHandshakesForOrganizationPaginator.js +46 -0
  135. package/dist-cjs/pagination/ListHandshakesForOrganizationPaginator.js.map +1 -0
  136. package/dist-cjs/pagination/ListOrganizationalUnitsForParentPaginator.js +46 -0
  137. package/dist-cjs/pagination/ListOrganizationalUnitsForParentPaginator.js.map +1 -0
  138. package/dist-cjs/pagination/ListParentsPaginator.js +46 -0
  139. package/dist-cjs/pagination/ListParentsPaginator.js.map +1 -0
  140. package/dist-cjs/pagination/ListPoliciesForTargetPaginator.js +46 -0
  141. package/dist-cjs/pagination/ListPoliciesForTargetPaginator.js.map +1 -0
  142. package/dist-cjs/pagination/ListPoliciesPaginator.js +46 -0
  143. package/dist-cjs/pagination/ListPoliciesPaginator.js.map +1 -0
  144. package/dist-cjs/pagination/ListRootsPaginator.js +46 -0
  145. package/dist-cjs/pagination/ListRootsPaginator.js.map +1 -0
  146. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +45 -0
  147. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +1 -0
  148. package/dist-cjs/pagination/ListTargetsForPolicyPaginator.js +46 -0
  149. package/dist-cjs/pagination/ListTargetsForPolicyPaginator.js.map +1 -0
  150. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  151. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  152. package/dist-cjs/runtimeConfig.browser.js +42 -0
  153. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  154. package/dist-cjs/runtimeConfig.js +47 -0
  155. package/dist-cjs/runtimeConfig.js.map +1 -0
  156. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  157. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  158. package/dist-cjs/runtimeConfig.shared.js +21 -0
  159. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  160. package/dist-es/Organizations.js +776 -0
  161. package/dist-es/Organizations.js.map +1 -0
  162. package/dist-es/OrganizationsClient.js +38 -0
  163. package/dist-es/OrganizationsClient.js.map +1 -0
  164. package/dist-es/commands/AcceptHandshakeCommand.js +40 -0
  165. package/dist-es/commands/AcceptHandshakeCommand.js.map +1 -0
  166. package/dist-es/commands/AttachPolicyCommand.js +40 -0
  167. package/dist-es/commands/AttachPolicyCommand.js.map +1 -0
  168. package/dist-es/commands/CancelHandshakeCommand.js +40 -0
  169. package/dist-es/commands/CancelHandshakeCommand.js.map +1 -0
  170. package/dist-es/commands/CreateAccountCommand.js +40 -0
  171. package/dist-es/commands/CreateAccountCommand.js.map +1 -0
  172. package/dist-es/commands/CreateGovCloudAccountCommand.js +40 -0
  173. package/dist-es/commands/CreateGovCloudAccountCommand.js.map +1 -0
  174. package/dist-es/commands/CreateOrganizationCommand.js +40 -0
  175. package/dist-es/commands/CreateOrganizationCommand.js.map +1 -0
  176. package/dist-es/commands/CreateOrganizationalUnitCommand.js +40 -0
  177. package/dist-es/commands/CreateOrganizationalUnitCommand.js.map +1 -0
  178. package/dist-es/commands/CreatePolicyCommand.js +40 -0
  179. package/dist-es/commands/CreatePolicyCommand.js.map +1 -0
  180. package/dist-es/commands/DeclineHandshakeCommand.js +40 -0
  181. package/dist-es/commands/DeclineHandshakeCommand.js.map +1 -0
  182. package/dist-es/commands/DeleteOrganizationCommand.js +39 -0
  183. package/dist-es/commands/DeleteOrganizationCommand.js.map +1 -0
  184. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +40 -0
  185. package/dist-es/commands/DeleteOrganizationalUnitCommand.js.map +1 -0
  186. package/dist-es/commands/DeletePolicyCommand.js +40 -0
  187. package/dist-es/commands/DeletePolicyCommand.js.map +1 -0
  188. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +40 -0
  189. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js.map +1 -0
  190. package/dist-es/commands/DescribeAccountCommand.js +40 -0
  191. package/dist-es/commands/DescribeAccountCommand.js.map +1 -0
  192. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +40 -0
  193. package/dist-es/commands/DescribeCreateAccountStatusCommand.js.map +1 -0
  194. package/dist-es/commands/DescribeEffectivePolicyCommand.js +40 -0
  195. package/dist-es/commands/DescribeEffectivePolicyCommand.js.map +1 -0
  196. package/dist-es/commands/DescribeHandshakeCommand.js +40 -0
  197. package/dist-es/commands/DescribeHandshakeCommand.js.map +1 -0
  198. package/dist-es/commands/DescribeOrganizationCommand.js +40 -0
  199. package/dist-es/commands/DescribeOrganizationCommand.js.map +1 -0
  200. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +40 -0
  201. package/dist-es/commands/DescribeOrganizationalUnitCommand.js.map +1 -0
  202. package/dist-es/commands/DescribePolicyCommand.js +40 -0
  203. package/dist-es/commands/DescribePolicyCommand.js.map +1 -0
  204. package/dist-es/commands/DetachPolicyCommand.js +40 -0
  205. package/dist-es/commands/DetachPolicyCommand.js.map +1 -0
  206. package/dist-es/commands/DisableAWSServiceAccessCommand.js +40 -0
  207. package/dist-es/commands/DisableAWSServiceAccessCommand.js.map +1 -0
  208. package/dist-es/commands/DisablePolicyTypeCommand.js +40 -0
  209. package/dist-es/commands/DisablePolicyTypeCommand.js.map +1 -0
  210. package/dist-es/commands/EnableAWSServiceAccessCommand.js +40 -0
  211. package/dist-es/commands/EnableAWSServiceAccessCommand.js.map +1 -0
  212. package/dist-es/commands/EnableAllFeaturesCommand.js +40 -0
  213. package/dist-es/commands/EnableAllFeaturesCommand.js.map +1 -0
  214. package/dist-es/commands/EnablePolicyTypeCommand.js +40 -0
  215. package/dist-es/commands/EnablePolicyTypeCommand.js.map +1 -0
  216. package/dist-es/commands/InviteAccountToOrganizationCommand.js +40 -0
  217. package/dist-es/commands/InviteAccountToOrganizationCommand.js.map +1 -0
  218. package/dist-es/commands/LeaveOrganizationCommand.js +39 -0
  219. package/dist-es/commands/LeaveOrganizationCommand.js.map +1 -0
  220. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +40 -0
  221. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js.map +1 -0
  222. package/dist-es/commands/ListAccountsCommand.js +40 -0
  223. package/dist-es/commands/ListAccountsCommand.js.map +1 -0
  224. package/dist-es/commands/ListAccountsForParentCommand.js +40 -0
  225. package/dist-es/commands/ListAccountsForParentCommand.js.map +1 -0
  226. package/dist-es/commands/ListChildrenCommand.js +40 -0
  227. package/dist-es/commands/ListChildrenCommand.js.map +1 -0
  228. package/dist-es/commands/ListCreateAccountStatusCommand.js +40 -0
  229. package/dist-es/commands/ListCreateAccountStatusCommand.js.map +1 -0
  230. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +40 -0
  231. package/dist-es/commands/ListDelegatedAdministratorsCommand.js.map +1 -0
  232. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +40 -0
  233. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js.map +1 -0
  234. package/dist-es/commands/ListHandshakesForAccountCommand.js +40 -0
  235. package/dist-es/commands/ListHandshakesForAccountCommand.js.map +1 -0
  236. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +40 -0
  237. package/dist-es/commands/ListHandshakesForOrganizationCommand.js.map +1 -0
  238. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +40 -0
  239. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js.map +1 -0
  240. package/dist-es/commands/ListParentsCommand.js +40 -0
  241. package/dist-es/commands/ListParentsCommand.js.map +1 -0
  242. package/dist-es/commands/ListPoliciesCommand.js +40 -0
  243. package/dist-es/commands/ListPoliciesCommand.js.map +1 -0
  244. package/dist-es/commands/ListPoliciesForTargetCommand.js +40 -0
  245. package/dist-es/commands/ListPoliciesForTargetCommand.js.map +1 -0
  246. package/dist-es/commands/ListRootsCommand.js +40 -0
  247. package/dist-es/commands/ListRootsCommand.js.map +1 -0
  248. package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
  249. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  250. package/dist-es/commands/ListTargetsForPolicyCommand.js +40 -0
  251. package/dist-es/commands/ListTargetsForPolicyCommand.js.map +1 -0
  252. package/dist-es/commands/MoveAccountCommand.js +40 -0
  253. package/dist-es/commands/MoveAccountCommand.js.map +1 -0
  254. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +40 -0
  255. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js.map +1 -0
  256. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +40 -0
  257. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js.map +1 -0
  258. package/dist-es/commands/TagResourceCommand.js +40 -0
  259. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  260. package/dist-es/commands/UntagResourceCommand.js +40 -0
  261. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  262. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +40 -0
  263. package/dist-es/commands/UpdateOrganizationalUnitCommand.js.map +1 -0
  264. package/dist-es/commands/UpdatePolicyCommand.js +40 -0
  265. package/dist-es/commands/UpdatePolicyCommand.js.map +1 -0
  266. package/{dist/es → dist-es}/endpoints.js +0 -0
  267. package/dist-es/endpoints.js.map +1 -0
  268. package/{dist/es → dist-es}/index.js +0 -0
  269. package/dist-es/index.js.map +1 -0
  270. package/{dist/es → dist-es}/models/index.js +0 -0
  271. package/dist-es/models/index.js.map +1 -0
  272. package/{dist/es → dist-es}/models/models_0.js +0 -0
  273. package/dist-es/models/models_0.js.map +1 -0
  274. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  275. package/dist-es/pagination/Interfaces.js.map +1 -0
  276. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +75 -0
  277. package/dist-es/pagination/ListAWSServiceAccessForOrganizationPaginator.js.map +1 -0
  278. package/dist-es/pagination/ListAccountsForParentPaginator.js +75 -0
  279. package/dist-es/pagination/ListAccountsForParentPaginator.js.map +1 -0
  280. package/dist-es/pagination/ListAccountsPaginator.js +75 -0
  281. package/dist-es/pagination/ListAccountsPaginator.js.map +1 -0
  282. package/dist-es/pagination/ListChildrenPaginator.js +75 -0
  283. package/dist-es/pagination/ListChildrenPaginator.js.map +1 -0
  284. package/dist-es/pagination/ListCreateAccountStatusPaginator.js +75 -0
  285. package/dist-es/pagination/ListCreateAccountStatusPaginator.js.map +1 -0
  286. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js +75 -0
  287. package/dist-es/pagination/ListDelegatedAdministratorsPaginator.js.map +1 -0
  288. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js +75 -0
  289. package/dist-es/pagination/ListDelegatedServicesForAccountPaginator.js.map +1 -0
  290. package/dist-es/pagination/ListHandshakesForAccountPaginator.js +75 -0
  291. package/dist-es/pagination/ListHandshakesForAccountPaginator.js.map +1 -0
  292. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js +75 -0
  293. package/dist-es/pagination/ListHandshakesForOrganizationPaginator.js.map +1 -0
  294. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js +75 -0
  295. package/dist-es/pagination/ListOrganizationalUnitsForParentPaginator.js.map +1 -0
  296. package/dist-es/pagination/ListParentsPaginator.js +75 -0
  297. package/dist-es/pagination/ListParentsPaginator.js.map +1 -0
  298. package/dist-es/pagination/ListPoliciesForTargetPaginator.js +75 -0
  299. package/dist-es/pagination/ListPoliciesForTargetPaginator.js.map +1 -0
  300. package/dist-es/pagination/ListPoliciesPaginator.js +75 -0
  301. package/dist-es/pagination/ListPoliciesPaginator.js.map +1 -0
  302. package/dist-es/pagination/ListRootsPaginator.js +75 -0
  303. package/dist-es/pagination/ListRootsPaginator.js.map +1 -0
  304. package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
  305. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +1 -0
  306. package/dist-es/pagination/ListTargetsForPolicyPaginator.js +75 -0
  307. package/dist-es/pagination/ListTargetsForPolicyPaginator.js.map +1 -0
  308. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  309. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  310. package/dist-es/runtimeConfig.browser.js +17 -0
  311. package/dist-es/runtimeConfig.browser.js.map +1 -0
  312. package/dist-es/runtimeConfig.js +22 -0
  313. package/dist-es/runtimeConfig.js.map +1 -0
  314. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  315. package/dist-es/runtimeConfig.native.js.map +1 -0
  316. package/dist-es/runtimeConfig.shared.js +14 -0
  317. package/dist-es/runtimeConfig.shared.js.map +1 -0
  318. package/dist-types/Organizations.d.ts +1273 -0
  319. package/dist-types/OrganizationsClient.d.ts +253 -0
  320. package/dist-types/commands/AcceptHandshakeCommand.d.ts +64 -0
  321. package/dist-types/commands/AttachPolicyCommand.d.ts +60 -0
  322. package/dist-types/commands/CancelHandshakeCommand.d.ts +40 -0
  323. package/dist-types/commands/CreateAccountCommand.d.ts +112 -0
  324. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +168 -0
  325. package/dist-types/commands/CreateOrganizationCommand.d.ts +45 -0
  326. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +45 -0
  327. package/dist-types/commands/CreatePolicyCommand.d.ts +41 -0
  328. package/dist-types/commands/DeclineHandshakeCommand.d.ts +41 -0
  329. package/dist-types/commands/DeleteOrganizationCommand.d.ts +35 -0
  330. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +37 -0
  331. package/dist-types/commands/DeletePolicyCommand.d.ts +38 -0
  332. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +48 -0
  333. package/dist-types/commands/DescribeAccountCommand.d.ts +37 -0
  334. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +37 -0
  335. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +44 -0
  336. package/dist-types/commands/DescribeHandshakeCommand.d.ts +41 -0
  337. package/dist-types/commands/DescribeOrganizationCommand.d.ts +42 -0
  338. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +37 -0
  339. package/dist-types/commands/DescribePolicyCommand.d.ts +37 -0
  340. package/dist-types/commands/DetachPolicyCommand.d.ts +49 -0
  341. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +90 -0
  342. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +45 -0
  343. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +53 -0
  344. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +60 -0
  345. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +45 -0
  346. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +60 -0
  347. package/dist-types/commands/LeaveOrganizationCommand.d.ts +98 -0
  348. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +43 -0
  349. package/dist-types/commands/ListAccountsCommand.d.ts +46 -0
  350. package/dist-types/commands/ListAccountsForParentCommand.d.ts +49 -0
  351. package/dist-types/commands/ListChildrenCommand.d.ts +47 -0
  352. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +46 -0
  353. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +38 -0
  354. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +38 -0
  355. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +48 -0
  356. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +51 -0
  357. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +45 -0
  358. package/dist-types/commands/ListParentsCommand.d.ts +50 -0
  359. package/dist-types/commands/ListPoliciesCommand.d.ts +45 -0
  360. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +47 -0
  361. package/dist-types/commands/ListRootsCommand.d.ts +52 -0
  362. package/dist-types/commands/ListTagsForResourceCommand.d.ts +52 -0
  363. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +46 -0
  364. package/dist-types/commands/MoveAccountCommand.d.ts +37 -0
  365. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +43 -0
  366. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +72 -0
  367. package/dist-types/commands/TagResourceCommand.d.ts +51 -0
  368. package/dist-types/commands/UntagResourceCommand.d.ts +51 -0
  369. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +38 -0
  370. package/dist-types/commands/UpdatePolicyCommand.d.ts +38 -0
  371. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  372. package/{dist/types → dist-types}/index.d.ts +0 -0
  373. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  374. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  375. package/dist-types/pagination/Interfaces.d.ts +6 -0
  376. package/dist-types/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +4 -0
  377. package/dist-types/pagination/ListAccountsForParentPaginator.d.ts +4 -0
  378. package/dist-types/pagination/ListAccountsPaginator.d.ts +4 -0
  379. package/dist-types/pagination/ListChildrenPaginator.d.ts +4 -0
  380. package/dist-types/pagination/ListCreateAccountStatusPaginator.d.ts +4 -0
  381. package/dist-types/pagination/ListDelegatedAdministratorsPaginator.d.ts +4 -0
  382. package/dist-types/pagination/ListDelegatedServicesForAccountPaginator.d.ts +4 -0
  383. package/dist-types/pagination/ListHandshakesForAccountPaginator.d.ts +4 -0
  384. package/dist-types/pagination/ListHandshakesForOrganizationPaginator.d.ts +4 -0
  385. package/dist-types/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +4 -0
  386. package/dist-types/pagination/ListParentsPaginator.d.ts +4 -0
  387. package/dist-types/pagination/ListPoliciesForTargetPaginator.d.ts +4 -0
  388. package/dist-types/pagination/ListPoliciesPaginator.d.ts +4 -0
  389. package/dist-types/pagination/ListRootsPaginator.d.ts +4 -0
  390. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  391. package/dist-types/pagination/ListTargetsForPolicyPaginator.d.ts +4 -0
  392. package/dist-types/protocols/Aws_json1_1.d.ts +155 -0
  393. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  394. package/dist-types/runtimeConfig.d.ts +37 -0
  395. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  396. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  397. package/dist-types/ts3.4/Organizations.d.ts +1273 -0
  398. package/dist-types/ts3.4/OrganizationsClient.d.ts +253 -0
  399. package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +64 -0
  400. package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +60 -0
  401. package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +40 -0
  402. package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +112 -0
  403. package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +168 -0
  404. package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +45 -0
  405. package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +45 -0
  406. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +41 -0
  407. package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +41 -0
  408. package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +35 -0
  409. package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +37 -0
  410. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +38 -0
  411. package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +48 -0
  412. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +37 -0
  413. package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +37 -0
  414. package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +44 -0
  415. package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +41 -0
  416. package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +42 -0
  417. package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +37 -0
  418. package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +37 -0
  419. package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +49 -0
  420. package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +90 -0
  421. package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +45 -0
  422. package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +53 -0
  423. package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +60 -0
  424. package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +45 -0
  425. package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +60 -0
  426. package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +98 -0
  427. package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +43 -0
  428. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +46 -0
  429. package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +49 -0
  430. package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +47 -0
  431. package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +46 -0
  432. package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +38 -0
  433. package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +38 -0
  434. package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +48 -0
  435. package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +51 -0
  436. package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +45 -0
  437. package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +50 -0
  438. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +45 -0
  439. package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +47 -0
  440. package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +52 -0
  441. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +52 -0
  442. package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +46 -0
  443. package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +37 -0
  444. package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +43 -0
  445. package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +72 -0
  446. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +51 -0
  447. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +51 -0
  448. package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +38 -0
  449. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +38 -0
  450. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  451. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  452. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  453. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  454. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  455. package/dist-types/ts3.4/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +4 -0
  456. package/dist-types/ts3.4/pagination/ListAccountsForParentPaginator.d.ts +4 -0
  457. package/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +4 -0
  458. package/dist-types/ts3.4/pagination/ListChildrenPaginator.d.ts +4 -0
  459. package/dist-types/ts3.4/pagination/ListCreateAccountStatusPaginator.d.ts +4 -0
  460. package/dist-types/ts3.4/pagination/ListDelegatedAdministratorsPaginator.d.ts +4 -0
  461. package/dist-types/ts3.4/pagination/ListDelegatedServicesForAccountPaginator.d.ts +4 -0
  462. package/dist-types/ts3.4/pagination/ListHandshakesForAccountPaginator.d.ts +4 -0
  463. package/dist-types/ts3.4/pagination/ListHandshakesForOrganizationPaginator.d.ts +4 -0
  464. package/dist-types/ts3.4/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +4 -0
  465. package/dist-types/ts3.4/pagination/ListParentsPaginator.d.ts +4 -0
  466. package/dist-types/ts3.4/pagination/ListPoliciesForTargetPaginator.d.ts +4 -0
  467. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +4 -0
  468. package/dist-types/ts3.4/pagination/ListRootsPaginator.d.ts +4 -0
  469. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
  470. package/dist-types/ts3.4/pagination/ListTargetsForPolicyPaginator.d.ts +4 -0
  471. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +155 -0
  472. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  473. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  474. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  475. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  476. package/package.json +42 -42
  477. package/src/Organizations.ts +2740 -0
  478. package/src/OrganizationsClient.ts +534 -0
  479. package/src/commands/AcceptHandshakeCommand.ts +124 -0
  480. package/src/commands/AttachPolicyCommand.ts +120 -0
  481. package/src/commands/CancelHandshakeCommand.ts +100 -0
  482. package/src/commands/CreateAccountCommand.ts +172 -0
  483. package/src/commands/CreateGovCloudAccountCommand.ts +228 -0
  484. package/src/commands/CreateOrganizationCommand.ts +105 -0
  485. package/src/commands/CreateOrganizationalUnitCommand.ts +105 -0
  486. package/src/commands/CreatePolicyCommand.ts +101 -0
  487. package/src/commands/DeclineHandshakeCommand.ts +101 -0
  488. package/src/commands/DeleteOrganizationCommand.ts +95 -0
  489. package/src/commands/DeleteOrganizationalUnitCommand.ts +97 -0
  490. package/src/commands/DeletePolicyCommand.ts +98 -0
  491. package/src/commands/DeregisterDelegatedAdministratorCommand.ts +114 -0
  492. package/src/commands/DescribeAccountCommand.ts +97 -0
  493. package/src/commands/DescribeCreateAccountStatusCommand.ts +102 -0
  494. package/src/commands/DescribeEffectivePolicyCommand.ts +104 -0
  495. package/src/commands/DescribeHandshakeCommand.ts +101 -0
  496. package/src/commands/DescribeOrganizationCommand.ts +102 -0
  497. package/src/commands/DescribeOrganizationalUnitCommand.ts +100 -0
  498. package/src/commands/DescribePolicyCommand.ts +97 -0
  499. package/src/commands/DetachPolicyCommand.ts +109 -0
  500. package/src/commands/DisableAWSServiceAccessCommand.ts +150 -0
  501. package/src/commands/DisablePolicyTypeCommand.ts +105 -0
  502. package/src/commands/EnableAWSServiceAccessCommand.ts +113 -0
  503. package/src/commands/EnableAllFeaturesCommand.ts +120 -0
  504. package/src/commands/EnablePolicyTypeCommand.ts +105 -0
  505. package/src/commands/InviteAccountToOrganizationCommand.ts +125 -0
  506. package/src/commands/LeaveOrganizationCommand.ts +158 -0
  507. package/src/commands/ListAWSServiceAccessForOrganizationCommand.ts +114 -0
  508. package/src/commands/ListAccountsCommand.ts +106 -0
  509. package/src/commands/ListAccountsForParentCommand.ts +109 -0
  510. package/src/commands/ListChildrenCommand.ts +107 -0
  511. package/src/commands/ListCreateAccountStatusCommand.ts +106 -0
  512. package/src/commands/ListDelegatedAdministratorsCommand.ts +103 -0
  513. package/src/commands/ListDelegatedServicesForAccountCommand.ts +106 -0
  514. package/src/commands/ListHandshakesForAccountCommand.ts +108 -0
  515. package/src/commands/ListHandshakesForOrganizationCommand.ts +116 -0
  516. package/src/commands/ListOrganizationalUnitsForParentCommand.ts +113 -0
  517. package/src/commands/ListParentsCommand.ts +110 -0
  518. package/src/commands/ListPoliciesCommand.ts +105 -0
  519. package/src/commands/ListPoliciesForTargetCommand.ts +107 -0
  520. package/src/commands/ListRootsCommand.ts +109 -0
  521. package/src/commands/ListTagsForResourceCommand.ts +112 -0
  522. package/src/commands/ListTargetsForPolicyCommand.ts +106 -0
  523. package/src/commands/MoveAccountCommand.ts +97 -0
  524. package/src/commands/RegisterDelegatedAdministratorCommand.ts +109 -0
  525. package/src/commands/RemoveAccountFromOrganizationCommand.ts +135 -0
  526. package/src/commands/TagResourceCommand.ts +111 -0
  527. package/src/commands/UntagResourceCommand.ts +111 -0
  528. package/src/commands/UpdateOrganizationalUnitCommand.ts +98 -0
  529. package/src/commands/UpdatePolicyCommand.ts +98 -0
  530. package/src/endpoints.ts +80 -0
  531. package/{index.ts → src/index.ts} +0 -0
  532. package/{models → src/models}/index.ts +0 -0
  533. package/{models → src/models}/models_0.ts +0 -0
  534. package/src/pagination/Interfaces.ts +8 -0
  535. package/src/pagination/ListAWSServiceAccessForOrganizationPaginator.ts +59 -0
  536. package/src/pagination/ListAccountsForParentPaginator.ts +59 -0
  537. package/src/pagination/ListAccountsPaginator.ts +59 -0
  538. package/src/pagination/ListChildrenPaginator.ts +59 -0
  539. package/src/pagination/ListCreateAccountStatusPaginator.ts +59 -0
  540. package/src/pagination/ListDelegatedAdministratorsPaginator.ts +59 -0
  541. package/src/pagination/ListDelegatedServicesForAccountPaginator.ts +59 -0
  542. package/src/pagination/ListHandshakesForAccountPaginator.ts +59 -0
  543. package/src/pagination/ListHandshakesForOrganizationPaginator.ts +59 -0
  544. package/src/pagination/ListOrganizationalUnitsForParentPaginator.ts +59 -0
  545. package/src/pagination/ListParentsPaginator.ts +55 -0
  546. package/src/pagination/ListPoliciesForTargetPaginator.ts +59 -0
  547. package/src/pagination/ListPoliciesPaginator.ts +59 -0
  548. package/src/pagination/ListRootsPaginator.ts +55 -0
  549. package/src/pagination/ListTagsForResourcePaginator.ts +58 -0
  550. package/src/pagination/ListTargetsForPolicyPaginator.ts +59 -0
  551. package/src/protocols/Aws_json1_1.ts +8999 -0
  552. package/src/runtimeConfig.browser.ts +41 -0
  553. package/src/runtimeConfig.native.ts +17 -0
  554. package/src/runtimeConfig.shared.ts +17 -0
  555. package/src/runtimeConfig.ts +46 -0
  556. package/tsconfig.es.json +1 -1
  557. package/tsconfig.json +4 -2
  558. package/tsconfig.types.json +3 -2
  559. package/Organizations.ts +0 -2739
  560. package/OrganizationsClient.ts +0 -533
  561. package/commands/AcceptHandshakeCommand.ts +0 -123
  562. package/commands/AttachPolicyCommand.ts +0 -119
  563. package/commands/CancelHandshakeCommand.ts +0 -99
  564. package/commands/CreateAccountCommand.ts +0 -171
  565. package/commands/CreateGovCloudAccountCommand.ts +0 -227
  566. package/commands/CreateOrganizationCommand.ts +0 -104
  567. package/commands/CreateOrganizationalUnitCommand.ts +0 -104
  568. package/commands/CreatePolicyCommand.ts +0 -100
  569. package/commands/DeclineHandshakeCommand.ts +0 -100
  570. package/commands/DeleteOrganizationCommand.ts +0 -94
  571. package/commands/DeleteOrganizationalUnitCommand.ts +0 -96
  572. package/commands/DeletePolicyCommand.ts +0 -97
  573. package/commands/DeregisterDelegatedAdministratorCommand.ts +0 -113
  574. package/commands/DescribeAccountCommand.ts +0 -96
  575. package/commands/DescribeCreateAccountStatusCommand.ts +0 -101
  576. package/commands/DescribeEffectivePolicyCommand.ts +0 -103
  577. package/commands/DescribeHandshakeCommand.ts +0 -100
  578. package/commands/DescribeOrganizationCommand.ts +0 -101
  579. package/commands/DescribeOrganizationalUnitCommand.ts +0 -99
  580. package/commands/DescribePolicyCommand.ts +0 -96
  581. package/commands/DetachPolicyCommand.ts +0 -108
  582. package/commands/DisableAWSServiceAccessCommand.ts +0 -149
  583. package/commands/DisablePolicyTypeCommand.ts +0 -104
  584. package/commands/EnableAWSServiceAccessCommand.ts +0 -112
  585. package/commands/EnableAllFeaturesCommand.ts +0 -119
  586. package/commands/EnablePolicyTypeCommand.ts +0 -104
  587. package/commands/InviteAccountToOrganizationCommand.ts +0 -124
  588. package/commands/LeaveOrganizationCommand.ts +0 -157
  589. package/commands/ListAWSServiceAccessForOrganizationCommand.ts +0 -113
  590. package/commands/ListAccountsCommand.ts +0 -105
  591. package/commands/ListAccountsForParentCommand.ts +0 -108
  592. package/commands/ListChildrenCommand.ts +0 -106
  593. package/commands/ListCreateAccountStatusCommand.ts +0 -105
  594. package/commands/ListDelegatedAdministratorsCommand.ts +0 -102
  595. package/commands/ListDelegatedServicesForAccountCommand.ts +0 -105
  596. package/commands/ListHandshakesForAccountCommand.ts +0 -107
  597. package/commands/ListHandshakesForOrganizationCommand.ts +0 -115
  598. package/commands/ListOrganizationalUnitsForParentCommand.ts +0 -112
  599. package/commands/ListParentsCommand.ts +0 -109
  600. package/commands/ListPoliciesCommand.ts +0 -104
  601. package/commands/ListPoliciesForTargetCommand.ts +0 -106
  602. package/commands/ListRootsCommand.ts +0 -108
  603. package/commands/ListTagsForResourceCommand.ts +0 -111
  604. package/commands/ListTargetsForPolicyCommand.ts +0 -105
  605. package/commands/MoveAccountCommand.ts +0 -96
  606. package/commands/RegisterDelegatedAdministratorCommand.ts +0 -108
  607. package/commands/RemoveAccountFromOrganizationCommand.ts +0 -134
  608. package/commands/TagResourceCommand.ts +0 -110
  609. package/commands/UntagResourceCommand.ts +0 -110
  610. package/commands/UpdateOrganizationalUnitCommand.ts +0 -97
  611. package/commands/UpdatePolicyCommand.ts +0 -97
  612. package/dist/cjs/Organizations.js +0 -846
  613. package/dist/cjs/Organizations.js.map +0 -1
  614. package/dist/cjs/OrganizationsClient.js +0 -114
  615. package/dist/cjs/OrganizationsClient.js.map +0 -1
  616. package/dist/cjs/commands/AcceptHandshakeCommand.js +0 -90
  617. package/dist/cjs/commands/AcceptHandshakeCommand.js.map +0 -1
  618. package/dist/cjs/commands/AttachPolicyCommand.js +0 -86
  619. package/dist/cjs/commands/AttachPolicyCommand.js.map +0 -1
  620. package/dist/cjs/commands/CancelHandshakeCommand.js +0 -66
  621. package/dist/cjs/commands/CancelHandshakeCommand.js.map +0 -1
  622. package/dist/cjs/commands/CreateAccountCommand.js +0 -138
  623. package/dist/cjs/commands/CreateAccountCommand.js.map +0 -1
  624. package/dist/cjs/commands/CreateGovCloudAccountCommand.js +0 -194
  625. package/dist/cjs/commands/CreateGovCloudAccountCommand.js.map +0 -1
  626. package/dist/cjs/commands/CreateOrganizationCommand.js +0 -71
  627. package/dist/cjs/commands/CreateOrganizationCommand.js.map +0 -1
  628. package/dist/cjs/commands/CreateOrganizationalUnitCommand.js +0 -71
  629. package/dist/cjs/commands/CreateOrganizationalUnitCommand.js.map +0 -1
  630. package/dist/cjs/commands/CreatePolicyCommand.js +0 -67
  631. package/dist/cjs/commands/CreatePolicyCommand.js.map +0 -1
  632. package/dist/cjs/commands/DeclineHandshakeCommand.js +0 -67
  633. package/dist/cjs/commands/DeclineHandshakeCommand.js.map +0 -1
  634. package/dist/cjs/commands/DeleteOrganizationCommand.js +0 -61
  635. package/dist/cjs/commands/DeleteOrganizationCommand.js.map +0 -1
  636. package/dist/cjs/commands/DeleteOrganizationalUnitCommand.js +0 -63
  637. package/dist/cjs/commands/DeleteOrganizationalUnitCommand.js.map +0 -1
  638. package/dist/cjs/commands/DeletePolicyCommand.js +0 -64
  639. package/dist/cjs/commands/DeletePolicyCommand.js.map +0 -1
  640. package/dist/cjs/commands/DeregisterDelegatedAdministratorCommand.js +0 -74
  641. package/dist/cjs/commands/DeregisterDelegatedAdministratorCommand.js.map +0 -1
  642. package/dist/cjs/commands/DescribeAccountCommand.js +0 -63
  643. package/dist/cjs/commands/DescribeAccountCommand.js.map +0 -1
  644. package/dist/cjs/commands/DescribeCreateAccountStatusCommand.js +0 -63
  645. package/dist/cjs/commands/DescribeCreateAccountStatusCommand.js.map +0 -1
  646. package/dist/cjs/commands/DescribeEffectivePolicyCommand.js +0 -70
  647. package/dist/cjs/commands/DescribeEffectivePolicyCommand.js.map +0 -1
  648. package/dist/cjs/commands/DescribeHandshakeCommand.js +0 -67
  649. package/dist/cjs/commands/DescribeHandshakeCommand.js.map +0 -1
  650. package/dist/cjs/commands/DescribeOrganizationCommand.js +0 -68
  651. package/dist/cjs/commands/DescribeOrganizationCommand.js.map +0 -1
  652. package/dist/cjs/commands/DescribeOrganizationalUnitCommand.js +0 -63
  653. package/dist/cjs/commands/DescribeOrganizationalUnitCommand.js.map +0 -1
  654. package/dist/cjs/commands/DescribePolicyCommand.js +0 -63
  655. package/dist/cjs/commands/DescribePolicyCommand.js.map +0 -1
  656. package/dist/cjs/commands/DetachPolicyCommand.js +0 -75
  657. package/dist/cjs/commands/DetachPolicyCommand.js.map +0 -1
  658. package/dist/cjs/commands/DisableAWSServiceAccessCommand.js +0 -116
  659. package/dist/cjs/commands/DisableAWSServiceAccessCommand.js.map +0 -1
  660. package/dist/cjs/commands/DisablePolicyTypeCommand.js +0 -71
  661. package/dist/cjs/commands/DisablePolicyTypeCommand.js.map +0 -1
  662. package/dist/cjs/commands/EnableAWSServiceAccessCommand.js +0 -79
  663. package/dist/cjs/commands/EnableAWSServiceAccessCommand.js.map +0 -1
  664. package/dist/cjs/commands/EnableAllFeaturesCommand.js +0 -86
  665. package/dist/cjs/commands/EnableAllFeaturesCommand.js.map +0 -1
  666. package/dist/cjs/commands/EnablePolicyTypeCommand.js +0 -71
  667. package/dist/cjs/commands/EnablePolicyTypeCommand.js.map +0 -1
  668. package/dist/cjs/commands/InviteAccountToOrganizationCommand.js +0 -86
  669. package/dist/cjs/commands/InviteAccountToOrganizationCommand.js.map +0 -1
  670. package/dist/cjs/commands/LeaveOrganizationCommand.js +0 -124
  671. package/dist/cjs/commands/LeaveOrganizationCommand.js.map +0 -1
  672. package/dist/cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +0 -69
  673. package/dist/cjs/commands/ListAWSServiceAccessForOrganizationCommand.js.map +0 -1
  674. package/dist/cjs/commands/ListAccountsCommand.js +0 -72
  675. package/dist/cjs/commands/ListAccountsCommand.js.map +0 -1
  676. package/dist/cjs/commands/ListAccountsForParentCommand.js +0 -75
  677. package/dist/cjs/commands/ListAccountsForParentCommand.js.map +0 -1
  678. package/dist/cjs/commands/ListChildrenCommand.js +0 -73
  679. package/dist/cjs/commands/ListChildrenCommand.js.map +0 -1
  680. package/dist/cjs/commands/ListCreateAccountStatusCommand.js +0 -72
  681. package/dist/cjs/commands/ListCreateAccountStatusCommand.js.map +0 -1
  682. package/dist/cjs/commands/ListDelegatedAdministratorsCommand.js +0 -64
  683. package/dist/cjs/commands/ListDelegatedAdministratorsCommand.js.map +0 -1
  684. package/dist/cjs/commands/ListDelegatedServicesForAccountCommand.js +0 -64
  685. package/dist/cjs/commands/ListDelegatedServicesForAccountCommand.js.map +0 -1
  686. package/dist/cjs/commands/ListHandshakesForAccountCommand.js +0 -74
  687. package/dist/cjs/commands/ListHandshakesForAccountCommand.js.map +0 -1
  688. package/dist/cjs/commands/ListHandshakesForOrganizationCommand.js +0 -77
  689. package/dist/cjs/commands/ListHandshakesForOrganizationCommand.js.map +0 -1
  690. package/dist/cjs/commands/ListOrganizationalUnitsForParentCommand.js +0 -71
  691. package/dist/cjs/commands/ListOrganizationalUnitsForParentCommand.js.map +0 -1
  692. package/dist/cjs/commands/ListParentsCommand.js +0 -76
  693. package/dist/cjs/commands/ListParentsCommand.js.map +0 -1
  694. package/dist/cjs/commands/ListPoliciesCommand.js +0 -71
  695. package/dist/cjs/commands/ListPoliciesCommand.js.map +0 -1
  696. package/dist/cjs/commands/ListPoliciesForTargetCommand.js +0 -73
  697. package/dist/cjs/commands/ListPoliciesForTargetCommand.js.map +0 -1
  698. package/dist/cjs/commands/ListRootsCommand.js +0 -78
  699. package/dist/cjs/commands/ListRootsCommand.js.map +0 -1
  700. package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -78
  701. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  702. package/dist/cjs/commands/ListTargetsForPolicyCommand.js +0 -72
  703. package/dist/cjs/commands/ListTargetsForPolicyCommand.js.map +0 -1
  704. package/dist/cjs/commands/MoveAccountCommand.js +0 -63
  705. package/dist/cjs/commands/MoveAccountCommand.js.map +0 -1
  706. package/dist/cjs/commands/RegisterDelegatedAdministratorCommand.js +0 -69
  707. package/dist/cjs/commands/RegisterDelegatedAdministratorCommand.js.map +0 -1
  708. package/dist/cjs/commands/RemoveAccountFromOrganizationCommand.js +0 -98
  709. package/dist/cjs/commands/RemoveAccountFromOrganizationCommand.js.map +0 -1
  710. package/dist/cjs/commands/TagResourceCommand.js +0 -77
  711. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  712. package/dist/cjs/commands/UntagResourceCommand.js +0 -77
  713. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  714. package/dist/cjs/commands/UpdateOrganizationalUnitCommand.js +0 -64
  715. package/dist/cjs/commands/UpdateOrganizationalUnitCommand.js.map +0 -1
  716. package/dist/cjs/commands/UpdatePolicyCommand.js +0 -64
  717. package/dist/cjs/commands/UpdatePolicyCommand.js.map +0 -1
  718. package/dist/cjs/endpoints.js.map +0 -1
  719. package/dist/cjs/index.js.map +0 -1
  720. package/dist/cjs/models/index.js.map +0 -1
  721. package/dist/cjs/models/models_0.js.map +0 -1
  722. package/dist/cjs/package.json +0 -91
  723. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  724. package/dist/cjs/pagination/ListAWSServiceAccessForOrganizationPaginator.js +0 -46
  725. package/dist/cjs/pagination/ListAWSServiceAccessForOrganizationPaginator.js.map +0 -1
  726. package/dist/cjs/pagination/ListAccountsForParentPaginator.js +0 -46
  727. package/dist/cjs/pagination/ListAccountsForParentPaginator.js.map +0 -1
  728. package/dist/cjs/pagination/ListAccountsPaginator.js +0 -46
  729. package/dist/cjs/pagination/ListAccountsPaginator.js.map +0 -1
  730. package/dist/cjs/pagination/ListChildrenPaginator.js +0 -46
  731. package/dist/cjs/pagination/ListChildrenPaginator.js.map +0 -1
  732. package/dist/cjs/pagination/ListCreateAccountStatusPaginator.js +0 -46
  733. package/dist/cjs/pagination/ListCreateAccountStatusPaginator.js.map +0 -1
  734. package/dist/cjs/pagination/ListDelegatedAdministratorsPaginator.js +0 -46
  735. package/dist/cjs/pagination/ListDelegatedAdministratorsPaginator.js.map +0 -1
  736. package/dist/cjs/pagination/ListDelegatedServicesForAccountPaginator.js +0 -46
  737. package/dist/cjs/pagination/ListDelegatedServicesForAccountPaginator.js.map +0 -1
  738. package/dist/cjs/pagination/ListHandshakesForAccountPaginator.js +0 -46
  739. package/dist/cjs/pagination/ListHandshakesForAccountPaginator.js.map +0 -1
  740. package/dist/cjs/pagination/ListHandshakesForOrganizationPaginator.js +0 -46
  741. package/dist/cjs/pagination/ListHandshakesForOrganizationPaginator.js.map +0 -1
  742. package/dist/cjs/pagination/ListOrganizationalUnitsForParentPaginator.js +0 -46
  743. package/dist/cjs/pagination/ListOrganizationalUnitsForParentPaginator.js.map +0 -1
  744. package/dist/cjs/pagination/ListParentsPaginator.js +0 -46
  745. package/dist/cjs/pagination/ListParentsPaginator.js.map +0 -1
  746. package/dist/cjs/pagination/ListPoliciesForTargetPaginator.js +0 -46
  747. package/dist/cjs/pagination/ListPoliciesForTargetPaginator.js.map +0 -1
  748. package/dist/cjs/pagination/ListPoliciesPaginator.js +0 -46
  749. package/dist/cjs/pagination/ListPoliciesPaginator.js.map +0 -1
  750. package/dist/cjs/pagination/ListRootsPaginator.js +0 -46
  751. package/dist/cjs/pagination/ListRootsPaginator.js.map +0 -1
  752. package/dist/cjs/pagination/ListTagsForResourcePaginator.js +0 -45
  753. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  754. package/dist/cjs/pagination/ListTargetsForPolicyPaginator.js +0 -46
  755. package/dist/cjs/pagination/ListTargetsForPolicyPaginator.js.map +0 -1
  756. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  757. package/dist/cjs/runtimeConfig.browser.js +0 -41
  758. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  759. package/dist/cjs/runtimeConfig.js +0 -46
  760. package/dist/cjs/runtimeConfig.js.map +0 -1
  761. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  762. package/dist/cjs/runtimeConfig.shared.js +0 -21
  763. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  764. package/dist/es/Organizations.js +0 -776
  765. package/dist/es/Organizations.js.map +0 -1
  766. package/dist/es/OrganizationsClient.js +0 -38
  767. package/dist/es/OrganizationsClient.js.map +0 -1
  768. package/dist/es/commands/AcceptHandshakeCommand.js +0 -40
  769. package/dist/es/commands/AcceptHandshakeCommand.js.map +0 -1
  770. package/dist/es/commands/AttachPolicyCommand.js +0 -40
  771. package/dist/es/commands/AttachPolicyCommand.js.map +0 -1
  772. package/dist/es/commands/CancelHandshakeCommand.js +0 -40
  773. package/dist/es/commands/CancelHandshakeCommand.js.map +0 -1
  774. package/dist/es/commands/CreateAccountCommand.js +0 -40
  775. package/dist/es/commands/CreateAccountCommand.js.map +0 -1
  776. package/dist/es/commands/CreateGovCloudAccountCommand.js +0 -40
  777. package/dist/es/commands/CreateGovCloudAccountCommand.js.map +0 -1
  778. package/dist/es/commands/CreateOrganizationCommand.js +0 -40
  779. package/dist/es/commands/CreateOrganizationCommand.js.map +0 -1
  780. package/dist/es/commands/CreateOrganizationalUnitCommand.js +0 -40
  781. package/dist/es/commands/CreateOrganizationalUnitCommand.js.map +0 -1
  782. package/dist/es/commands/CreatePolicyCommand.js +0 -40
  783. package/dist/es/commands/CreatePolicyCommand.js.map +0 -1
  784. package/dist/es/commands/DeclineHandshakeCommand.js +0 -40
  785. package/dist/es/commands/DeclineHandshakeCommand.js.map +0 -1
  786. package/dist/es/commands/DeleteOrganizationCommand.js +0 -39
  787. package/dist/es/commands/DeleteOrganizationCommand.js.map +0 -1
  788. package/dist/es/commands/DeleteOrganizationalUnitCommand.js +0 -40
  789. package/dist/es/commands/DeleteOrganizationalUnitCommand.js.map +0 -1
  790. package/dist/es/commands/DeletePolicyCommand.js +0 -40
  791. package/dist/es/commands/DeletePolicyCommand.js.map +0 -1
  792. package/dist/es/commands/DeregisterDelegatedAdministratorCommand.js +0 -40
  793. package/dist/es/commands/DeregisterDelegatedAdministratorCommand.js.map +0 -1
  794. package/dist/es/commands/DescribeAccountCommand.js +0 -40
  795. package/dist/es/commands/DescribeAccountCommand.js.map +0 -1
  796. package/dist/es/commands/DescribeCreateAccountStatusCommand.js +0 -40
  797. package/dist/es/commands/DescribeCreateAccountStatusCommand.js.map +0 -1
  798. package/dist/es/commands/DescribeEffectivePolicyCommand.js +0 -40
  799. package/dist/es/commands/DescribeEffectivePolicyCommand.js.map +0 -1
  800. package/dist/es/commands/DescribeHandshakeCommand.js +0 -40
  801. package/dist/es/commands/DescribeHandshakeCommand.js.map +0 -1
  802. package/dist/es/commands/DescribeOrganizationCommand.js +0 -40
  803. package/dist/es/commands/DescribeOrganizationCommand.js.map +0 -1
  804. package/dist/es/commands/DescribeOrganizationalUnitCommand.js +0 -40
  805. package/dist/es/commands/DescribeOrganizationalUnitCommand.js.map +0 -1
  806. package/dist/es/commands/DescribePolicyCommand.js +0 -40
  807. package/dist/es/commands/DescribePolicyCommand.js.map +0 -1
  808. package/dist/es/commands/DetachPolicyCommand.js +0 -40
  809. package/dist/es/commands/DetachPolicyCommand.js.map +0 -1
  810. package/dist/es/commands/DisableAWSServiceAccessCommand.js +0 -40
  811. package/dist/es/commands/DisableAWSServiceAccessCommand.js.map +0 -1
  812. package/dist/es/commands/DisablePolicyTypeCommand.js +0 -40
  813. package/dist/es/commands/DisablePolicyTypeCommand.js.map +0 -1
  814. package/dist/es/commands/EnableAWSServiceAccessCommand.js +0 -40
  815. package/dist/es/commands/EnableAWSServiceAccessCommand.js.map +0 -1
  816. package/dist/es/commands/EnableAllFeaturesCommand.js +0 -40
  817. package/dist/es/commands/EnableAllFeaturesCommand.js.map +0 -1
  818. package/dist/es/commands/EnablePolicyTypeCommand.js +0 -40
  819. package/dist/es/commands/EnablePolicyTypeCommand.js.map +0 -1
  820. package/dist/es/commands/InviteAccountToOrganizationCommand.js +0 -40
  821. package/dist/es/commands/InviteAccountToOrganizationCommand.js.map +0 -1
  822. package/dist/es/commands/LeaveOrganizationCommand.js +0 -39
  823. package/dist/es/commands/LeaveOrganizationCommand.js.map +0 -1
  824. package/dist/es/commands/ListAWSServiceAccessForOrganizationCommand.js +0 -40
  825. package/dist/es/commands/ListAWSServiceAccessForOrganizationCommand.js.map +0 -1
  826. package/dist/es/commands/ListAccountsCommand.js +0 -40
  827. package/dist/es/commands/ListAccountsCommand.js.map +0 -1
  828. package/dist/es/commands/ListAccountsForParentCommand.js +0 -40
  829. package/dist/es/commands/ListAccountsForParentCommand.js.map +0 -1
  830. package/dist/es/commands/ListChildrenCommand.js +0 -40
  831. package/dist/es/commands/ListChildrenCommand.js.map +0 -1
  832. package/dist/es/commands/ListCreateAccountStatusCommand.js +0 -40
  833. package/dist/es/commands/ListCreateAccountStatusCommand.js.map +0 -1
  834. package/dist/es/commands/ListDelegatedAdministratorsCommand.js +0 -40
  835. package/dist/es/commands/ListDelegatedAdministratorsCommand.js.map +0 -1
  836. package/dist/es/commands/ListDelegatedServicesForAccountCommand.js +0 -40
  837. package/dist/es/commands/ListDelegatedServicesForAccountCommand.js.map +0 -1
  838. package/dist/es/commands/ListHandshakesForAccountCommand.js +0 -40
  839. package/dist/es/commands/ListHandshakesForAccountCommand.js.map +0 -1
  840. package/dist/es/commands/ListHandshakesForOrganizationCommand.js +0 -40
  841. package/dist/es/commands/ListHandshakesForOrganizationCommand.js.map +0 -1
  842. package/dist/es/commands/ListOrganizationalUnitsForParentCommand.js +0 -40
  843. package/dist/es/commands/ListOrganizationalUnitsForParentCommand.js.map +0 -1
  844. package/dist/es/commands/ListParentsCommand.js +0 -40
  845. package/dist/es/commands/ListParentsCommand.js.map +0 -1
  846. package/dist/es/commands/ListPoliciesCommand.js +0 -40
  847. package/dist/es/commands/ListPoliciesCommand.js.map +0 -1
  848. package/dist/es/commands/ListPoliciesForTargetCommand.js +0 -40
  849. package/dist/es/commands/ListPoliciesForTargetCommand.js.map +0 -1
  850. package/dist/es/commands/ListRootsCommand.js +0 -40
  851. package/dist/es/commands/ListRootsCommand.js.map +0 -1
  852. package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
  853. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  854. package/dist/es/commands/ListTargetsForPolicyCommand.js +0 -40
  855. package/dist/es/commands/ListTargetsForPolicyCommand.js.map +0 -1
  856. package/dist/es/commands/MoveAccountCommand.js +0 -40
  857. package/dist/es/commands/MoveAccountCommand.js.map +0 -1
  858. package/dist/es/commands/RegisterDelegatedAdministratorCommand.js +0 -40
  859. package/dist/es/commands/RegisterDelegatedAdministratorCommand.js.map +0 -1
  860. package/dist/es/commands/RemoveAccountFromOrganizationCommand.js +0 -40
  861. package/dist/es/commands/RemoveAccountFromOrganizationCommand.js.map +0 -1
  862. package/dist/es/commands/TagResourceCommand.js +0 -40
  863. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  864. package/dist/es/commands/UntagResourceCommand.js +0 -40
  865. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  866. package/dist/es/commands/UpdateOrganizationalUnitCommand.js +0 -40
  867. package/dist/es/commands/UpdateOrganizationalUnitCommand.js.map +0 -1
  868. package/dist/es/commands/UpdatePolicyCommand.js +0 -40
  869. package/dist/es/commands/UpdatePolicyCommand.js.map +0 -1
  870. package/dist/es/endpoints.js.map +0 -1
  871. package/dist/es/index.js.map +0 -1
  872. package/dist/es/models/index.js.map +0 -1
  873. package/dist/es/models/models_0.js.map +0 -1
  874. package/dist/es/package.json +0 -91
  875. package/dist/es/pagination/Interfaces.js.map +0 -1
  876. package/dist/es/pagination/ListAWSServiceAccessForOrganizationPaginator.js +0 -75
  877. package/dist/es/pagination/ListAWSServiceAccessForOrganizationPaginator.js.map +0 -1
  878. package/dist/es/pagination/ListAccountsForParentPaginator.js +0 -75
  879. package/dist/es/pagination/ListAccountsForParentPaginator.js.map +0 -1
  880. package/dist/es/pagination/ListAccountsPaginator.js +0 -75
  881. package/dist/es/pagination/ListAccountsPaginator.js.map +0 -1
  882. package/dist/es/pagination/ListChildrenPaginator.js +0 -75
  883. package/dist/es/pagination/ListChildrenPaginator.js.map +0 -1
  884. package/dist/es/pagination/ListCreateAccountStatusPaginator.js +0 -75
  885. package/dist/es/pagination/ListCreateAccountStatusPaginator.js.map +0 -1
  886. package/dist/es/pagination/ListDelegatedAdministratorsPaginator.js +0 -75
  887. package/dist/es/pagination/ListDelegatedAdministratorsPaginator.js.map +0 -1
  888. package/dist/es/pagination/ListDelegatedServicesForAccountPaginator.js +0 -75
  889. package/dist/es/pagination/ListDelegatedServicesForAccountPaginator.js.map +0 -1
  890. package/dist/es/pagination/ListHandshakesForAccountPaginator.js +0 -75
  891. package/dist/es/pagination/ListHandshakesForAccountPaginator.js.map +0 -1
  892. package/dist/es/pagination/ListHandshakesForOrganizationPaginator.js +0 -75
  893. package/dist/es/pagination/ListHandshakesForOrganizationPaginator.js.map +0 -1
  894. package/dist/es/pagination/ListOrganizationalUnitsForParentPaginator.js +0 -75
  895. package/dist/es/pagination/ListOrganizationalUnitsForParentPaginator.js.map +0 -1
  896. package/dist/es/pagination/ListParentsPaginator.js +0 -75
  897. package/dist/es/pagination/ListParentsPaginator.js.map +0 -1
  898. package/dist/es/pagination/ListPoliciesForTargetPaginator.js +0 -75
  899. package/dist/es/pagination/ListPoliciesForTargetPaginator.js.map +0 -1
  900. package/dist/es/pagination/ListPoliciesPaginator.js +0 -75
  901. package/dist/es/pagination/ListPoliciesPaginator.js.map +0 -1
  902. package/dist/es/pagination/ListRootsPaginator.js +0 -75
  903. package/dist/es/pagination/ListRootsPaginator.js.map +0 -1
  904. package/dist/es/pagination/ListTagsForResourcePaginator.js +0 -74
  905. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  906. package/dist/es/pagination/ListTargetsForPolicyPaginator.js +0 -75
  907. package/dist/es/pagination/ListTargetsForPolicyPaginator.js.map +0 -1
  908. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  909. package/dist/es/runtimeConfig.browser.js +0 -17
  910. package/dist/es/runtimeConfig.browser.js.map +0 -1
  911. package/dist/es/runtimeConfig.js +0 -22
  912. package/dist/es/runtimeConfig.js.map +0 -1
  913. package/dist/es/runtimeConfig.native.js.map +0 -1
  914. package/dist/es/runtimeConfig.shared.js +0 -14
  915. package/dist/es/runtimeConfig.shared.js.map +0 -1
  916. package/dist/types/Organizations.d.ts +0 -1273
  917. package/dist/types/OrganizationsClient.d.ts +0 -253
  918. package/dist/types/commands/AcceptHandshakeCommand.d.ts +0 -64
  919. package/dist/types/commands/AttachPolicyCommand.d.ts +0 -60
  920. package/dist/types/commands/CancelHandshakeCommand.d.ts +0 -40
  921. package/dist/types/commands/CreateAccountCommand.d.ts +0 -112
  922. package/dist/types/commands/CreateGovCloudAccountCommand.d.ts +0 -168
  923. package/dist/types/commands/CreateOrganizationCommand.d.ts +0 -45
  924. package/dist/types/commands/CreateOrganizationalUnitCommand.d.ts +0 -45
  925. package/dist/types/commands/CreatePolicyCommand.d.ts +0 -41
  926. package/dist/types/commands/DeclineHandshakeCommand.d.ts +0 -41
  927. package/dist/types/commands/DeleteOrganizationCommand.d.ts +0 -35
  928. package/dist/types/commands/DeleteOrganizationalUnitCommand.d.ts +0 -37
  929. package/dist/types/commands/DeletePolicyCommand.d.ts +0 -38
  930. package/dist/types/commands/DeregisterDelegatedAdministratorCommand.d.ts +0 -48
  931. package/dist/types/commands/DescribeAccountCommand.d.ts +0 -37
  932. package/dist/types/commands/DescribeCreateAccountStatusCommand.d.ts +0 -37
  933. package/dist/types/commands/DescribeEffectivePolicyCommand.d.ts +0 -44
  934. package/dist/types/commands/DescribeHandshakeCommand.d.ts +0 -41
  935. package/dist/types/commands/DescribeOrganizationCommand.d.ts +0 -42
  936. package/dist/types/commands/DescribeOrganizationalUnitCommand.d.ts +0 -37
  937. package/dist/types/commands/DescribePolicyCommand.d.ts +0 -37
  938. package/dist/types/commands/DetachPolicyCommand.d.ts +0 -49
  939. package/dist/types/commands/DisableAWSServiceAccessCommand.d.ts +0 -90
  940. package/dist/types/commands/DisablePolicyTypeCommand.d.ts +0 -45
  941. package/dist/types/commands/EnableAWSServiceAccessCommand.d.ts +0 -53
  942. package/dist/types/commands/EnableAllFeaturesCommand.d.ts +0 -60
  943. package/dist/types/commands/EnablePolicyTypeCommand.d.ts +0 -45
  944. package/dist/types/commands/InviteAccountToOrganizationCommand.d.ts +0 -60
  945. package/dist/types/commands/LeaveOrganizationCommand.d.ts +0 -98
  946. package/dist/types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +0 -43
  947. package/dist/types/commands/ListAccountsCommand.d.ts +0 -46
  948. package/dist/types/commands/ListAccountsForParentCommand.d.ts +0 -49
  949. package/dist/types/commands/ListChildrenCommand.d.ts +0 -47
  950. package/dist/types/commands/ListCreateAccountStatusCommand.d.ts +0 -46
  951. package/dist/types/commands/ListDelegatedAdministratorsCommand.d.ts +0 -38
  952. package/dist/types/commands/ListDelegatedServicesForAccountCommand.d.ts +0 -38
  953. package/dist/types/commands/ListHandshakesForAccountCommand.d.ts +0 -48
  954. package/dist/types/commands/ListHandshakesForOrganizationCommand.d.ts +0 -51
  955. package/dist/types/commands/ListOrganizationalUnitsForParentCommand.d.ts +0 -45
  956. package/dist/types/commands/ListParentsCommand.d.ts +0 -50
  957. package/dist/types/commands/ListPoliciesCommand.d.ts +0 -45
  958. package/dist/types/commands/ListPoliciesForTargetCommand.d.ts +0 -47
  959. package/dist/types/commands/ListRootsCommand.d.ts +0 -52
  960. package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -52
  961. package/dist/types/commands/ListTargetsForPolicyCommand.d.ts +0 -46
  962. package/dist/types/commands/MoveAccountCommand.d.ts +0 -37
  963. package/dist/types/commands/RegisterDelegatedAdministratorCommand.d.ts +0 -43
  964. package/dist/types/commands/RemoveAccountFromOrganizationCommand.d.ts +0 -72
  965. package/dist/types/commands/TagResourceCommand.d.ts +0 -51
  966. package/dist/types/commands/UntagResourceCommand.d.ts +0 -51
  967. package/dist/types/commands/UpdateOrganizationalUnitCommand.d.ts +0 -38
  968. package/dist/types/commands/UpdatePolicyCommand.d.ts +0 -38
  969. package/dist/types/pagination/Interfaces.d.ts +0 -6
  970. package/dist/types/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +0 -4
  971. package/dist/types/pagination/ListAccountsForParentPaginator.d.ts +0 -4
  972. package/dist/types/pagination/ListAccountsPaginator.d.ts +0 -4
  973. package/dist/types/pagination/ListChildrenPaginator.d.ts +0 -4
  974. package/dist/types/pagination/ListCreateAccountStatusPaginator.d.ts +0 -4
  975. package/dist/types/pagination/ListDelegatedAdministratorsPaginator.d.ts +0 -4
  976. package/dist/types/pagination/ListDelegatedServicesForAccountPaginator.d.ts +0 -4
  977. package/dist/types/pagination/ListHandshakesForAccountPaginator.d.ts +0 -4
  978. package/dist/types/pagination/ListHandshakesForOrganizationPaginator.d.ts +0 -4
  979. package/dist/types/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +0 -4
  980. package/dist/types/pagination/ListParentsPaginator.d.ts +0 -4
  981. package/dist/types/pagination/ListPoliciesForTargetPaginator.d.ts +0 -4
  982. package/dist/types/pagination/ListPoliciesPaginator.d.ts +0 -4
  983. package/dist/types/pagination/ListRootsPaginator.d.ts +0 -4
  984. package/dist/types/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  985. package/dist/types/pagination/ListTargetsForPolicyPaginator.d.ts +0 -4
  986. package/dist/types/protocols/Aws_json1_1.d.ts +0 -155
  987. package/dist/types/runtimeConfig.d.ts +0 -37
  988. package/dist/types/ts3.4/Organizations.d.ts +0 -1273
  989. package/dist/types/ts3.4/OrganizationsClient.d.ts +0 -253
  990. package/dist/types/ts3.4/commands/AcceptHandshakeCommand.d.ts +0 -64
  991. package/dist/types/ts3.4/commands/AttachPolicyCommand.d.ts +0 -60
  992. package/dist/types/ts3.4/commands/CancelHandshakeCommand.d.ts +0 -40
  993. package/dist/types/ts3.4/commands/CreateAccountCommand.d.ts +0 -112
  994. package/dist/types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +0 -168
  995. package/dist/types/ts3.4/commands/CreateOrganizationCommand.d.ts +0 -45
  996. package/dist/types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +0 -45
  997. package/dist/types/ts3.4/commands/CreatePolicyCommand.d.ts +0 -41
  998. package/dist/types/ts3.4/commands/DeclineHandshakeCommand.d.ts +0 -41
  999. package/dist/types/ts3.4/commands/DeleteOrganizationCommand.d.ts +0 -35
  1000. package/dist/types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +0 -37
  1001. package/dist/types/ts3.4/commands/DeletePolicyCommand.d.ts +0 -38
  1002. package/dist/types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +0 -48
  1003. package/dist/types/ts3.4/commands/DescribeAccountCommand.d.ts +0 -37
  1004. package/dist/types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +0 -37
  1005. package/dist/types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +0 -44
  1006. package/dist/types/ts3.4/commands/DescribeHandshakeCommand.d.ts +0 -41
  1007. package/dist/types/ts3.4/commands/DescribeOrganizationCommand.d.ts +0 -42
  1008. package/dist/types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +0 -37
  1009. package/dist/types/ts3.4/commands/DescribePolicyCommand.d.ts +0 -37
  1010. package/dist/types/ts3.4/commands/DetachPolicyCommand.d.ts +0 -49
  1011. package/dist/types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +0 -90
  1012. package/dist/types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +0 -45
  1013. package/dist/types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +0 -53
  1014. package/dist/types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +0 -60
  1015. package/dist/types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +0 -45
  1016. package/dist/types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +0 -60
  1017. package/dist/types/ts3.4/commands/LeaveOrganizationCommand.d.ts +0 -98
  1018. package/dist/types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +0 -43
  1019. package/dist/types/ts3.4/commands/ListAccountsCommand.d.ts +0 -46
  1020. package/dist/types/ts3.4/commands/ListAccountsForParentCommand.d.ts +0 -49
  1021. package/dist/types/ts3.4/commands/ListChildrenCommand.d.ts +0 -47
  1022. package/dist/types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +0 -46
  1023. package/dist/types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +0 -38
  1024. package/dist/types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +0 -38
  1025. package/dist/types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +0 -48
  1026. package/dist/types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +0 -51
  1027. package/dist/types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +0 -45
  1028. package/dist/types/ts3.4/commands/ListParentsCommand.d.ts +0 -50
  1029. package/dist/types/ts3.4/commands/ListPoliciesCommand.d.ts +0 -45
  1030. package/dist/types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +0 -47
  1031. package/dist/types/ts3.4/commands/ListRootsCommand.d.ts +0 -52
  1032. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -52
  1033. package/dist/types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +0 -46
  1034. package/dist/types/ts3.4/commands/MoveAccountCommand.d.ts +0 -37
  1035. package/dist/types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +0 -43
  1036. package/dist/types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +0 -72
  1037. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -51
  1038. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -51
  1039. package/dist/types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +0 -38
  1040. package/dist/types/ts3.4/commands/UpdatePolicyCommand.d.ts +0 -38
  1041. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  1042. package/dist/types/ts3.4/pagination/ListAWSServiceAccessForOrganizationPaginator.d.ts +0 -4
  1043. package/dist/types/ts3.4/pagination/ListAccountsForParentPaginator.d.ts +0 -4
  1044. package/dist/types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -4
  1045. package/dist/types/ts3.4/pagination/ListChildrenPaginator.d.ts +0 -4
  1046. package/dist/types/ts3.4/pagination/ListCreateAccountStatusPaginator.d.ts +0 -4
  1047. package/dist/types/ts3.4/pagination/ListDelegatedAdministratorsPaginator.d.ts +0 -4
  1048. package/dist/types/ts3.4/pagination/ListDelegatedServicesForAccountPaginator.d.ts +0 -4
  1049. package/dist/types/ts3.4/pagination/ListHandshakesForAccountPaginator.d.ts +0 -4
  1050. package/dist/types/ts3.4/pagination/ListHandshakesForOrganizationPaginator.d.ts +0 -4
  1051. package/dist/types/ts3.4/pagination/ListOrganizationalUnitsForParentPaginator.d.ts +0 -4
  1052. package/dist/types/ts3.4/pagination/ListParentsPaginator.d.ts +0 -4
  1053. package/dist/types/ts3.4/pagination/ListPoliciesForTargetPaginator.d.ts +0 -4
  1054. package/dist/types/ts3.4/pagination/ListPoliciesPaginator.d.ts +0 -4
  1055. package/dist/types/ts3.4/pagination/ListRootsPaginator.d.ts +0 -4
  1056. package/dist/types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +0 -4
  1057. package/dist/types/ts3.4/pagination/ListTargetsForPolicyPaginator.d.ts +0 -4
  1058. package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -155
  1059. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  1060. package/endpoints.ts +0 -80
  1061. package/pagination/Interfaces.ts +0 -7
  1062. package/pagination/ListAWSServiceAccessForOrganizationPaginator.ts +0 -58
  1063. package/pagination/ListAccountsForParentPaginator.ts +0 -58
  1064. package/pagination/ListAccountsPaginator.ts +0 -58
  1065. package/pagination/ListChildrenPaginator.ts +0 -58
  1066. package/pagination/ListCreateAccountStatusPaginator.ts +0 -58
  1067. package/pagination/ListDelegatedAdministratorsPaginator.ts +0 -58
  1068. package/pagination/ListDelegatedServicesForAccountPaginator.ts +0 -58
  1069. package/pagination/ListHandshakesForAccountPaginator.ts +0 -58
  1070. package/pagination/ListHandshakesForOrganizationPaginator.ts +0 -58
  1071. package/pagination/ListOrganizationalUnitsForParentPaginator.ts +0 -58
  1072. package/pagination/ListParentsPaginator.ts +0 -54
  1073. package/pagination/ListPoliciesForTargetPaginator.ts +0 -58
  1074. package/pagination/ListPoliciesPaginator.ts +0 -58
  1075. package/pagination/ListRootsPaginator.ts +0 -54
  1076. package/pagination/ListTagsForResourcePaginator.ts +0 -57
  1077. package/pagination/ListTargetsForPolicyPaginator.ts +0 -58
  1078. package/protocols/Aws_json1_1.ts +0 -8998
  1079. package/runtimeConfig.browser.ts +0 -40
  1080. package/runtimeConfig.native.ts +0 -16
  1081. package/runtimeConfig.shared.ts +0 -16
  1082. package/runtimeConfig.ts +0 -45
package/Organizations.ts DELETED
@@ -1,2739 +0,0 @@
1
- import { OrganizationsClient } from "./OrganizationsClient";
2
- import {
3
- AcceptHandshakeCommand,
4
- AcceptHandshakeCommandInput,
5
- AcceptHandshakeCommandOutput,
6
- } from "./commands/AcceptHandshakeCommand";
7
- import {
8
- AttachPolicyCommand,
9
- AttachPolicyCommandInput,
10
- AttachPolicyCommandOutput,
11
- } from "./commands/AttachPolicyCommand";
12
- import {
13
- CancelHandshakeCommand,
14
- CancelHandshakeCommandInput,
15
- CancelHandshakeCommandOutput,
16
- } from "./commands/CancelHandshakeCommand";
17
- import {
18
- CreateAccountCommand,
19
- CreateAccountCommandInput,
20
- CreateAccountCommandOutput,
21
- } from "./commands/CreateAccountCommand";
22
- import {
23
- CreateGovCloudAccountCommand,
24
- CreateGovCloudAccountCommandInput,
25
- CreateGovCloudAccountCommandOutput,
26
- } from "./commands/CreateGovCloudAccountCommand";
27
- import {
28
- CreateOrganizationCommand,
29
- CreateOrganizationCommandInput,
30
- CreateOrganizationCommandOutput,
31
- } from "./commands/CreateOrganizationCommand";
32
- import {
33
- CreateOrganizationalUnitCommand,
34
- CreateOrganizationalUnitCommandInput,
35
- CreateOrganizationalUnitCommandOutput,
36
- } from "./commands/CreateOrganizationalUnitCommand";
37
- import {
38
- CreatePolicyCommand,
39
- CreatePolicyCommandInput,
40
- CreatePolicyCommandOutput,
41
- } from "./commands/CreatePolicyCommand";
42
- import {
43
- DeclineHandshakeCommand,
44
- DeclineHandshakeCommandInput,
45
- DeclineHandshakeCommandOutput,
46
- } from "./commands/DeclineHandshakeCommand";
47
- import {
48
- DeleteOrganizationCommand,
49
- DeleteOrganizationCommandInput,
50
- DeleteOrganizationCommandOutput,
51
- } from "./commands/DeleteOrganizationCommand";
52
- import {
53
- DeleteOrganizationalUnitCommand,
54
- DeleteOrganizationalUnitCommandInput,
55
- DeleteOrganizationalUnitCommandOutput,
56
- } from "./commands/DeleteOrganizationalUnitCommand";
57
- import {
58
- DeletePolicyCommand,
59
- DeletePolicyCommandInput,
60
- DeletePolicyCommandOutput,
61
- } from "./commands/DeletePolicyCommand";
62
- import {
63
- DeregisterDelegatedAdministratorCommand,
64
- DeregisterDelegatedAdministratorCommandInput,
65
- DeregisterDelegatedAdministratorCommandOutput,
66
- } from "./commands/DeregisterDelegatedAdministratorCommand";
67
- import {
68
- DescribeAccountCommand,
69
- DescribeAccountCommandInput,
70
- DescribeAccountCommandOutput,
71
- } from "./commands/DescribeAccountCommand";
72
- import {
73
- DescribeCreateAccountStatusCommand,
74
- DescribeCreateAccountStatusCommandInput,
75
- DescribeCreateAccountStatusCommandOutput,
76
- } from "./commands/DescribeCreateAccountStatusCommand";
77
- import {
78
- DescribeEffectivePolicyCommand,
79
- DescribeEffectivePolicyCommandInput,
80
- DescribeEffectivePolicyCommandOutput,
81
- } from "./commands/DescribeEffectivePolicyCommand";
82
- import {
83
- DescribeHandshakeCommand,
84
- DescribeHandshakeCommandInput,
85
- DescribeHandshakeCommandOutput,
86
- } from "./commands/DescribeHandshakeCommand";
87
- import {
88
- DescribeOrganizationCommand,
89
- DescribeOrganizationCommandInput,
90
- DescribeOrganizationCommandOutput,
91
- } from "./commands/DescribeOrganizationCommand";
92
- import {
93
- DescribeOrganizationalUnitCommand,
94
- DescribeOrganizationalUnitCommandInput,
95
- DescribeOrganizationalUnitCommandOutput,
96
- } from "./commands/DescribeOrganizationalUnitCommand";
97
- import {
98
- DescribePolicyCommand,
99
- DescribePolicyCommandInput,
100
- DescribePolicyCommandOutput,
101
- } from "./commands/DescribePolicyCommand";
102
- import {
103
- DetachPolicyCommand,
104
- DetachPolicyCommandInput,
105
- DetachPolicyCommandOutput,
106
- } from "./commands/DetachPolicyCommand";
107
- import {
108
- DisableAWSServiceAccessCommand,
109
- DisableAWSServiceAccessCommandInput,
110
- DisableAWSServiceAccessCommandOutput,
111
- } from "./commands/DisableAWSServiceAccessCommand";
112
- import {
113
- DisablePolicyTypeCommand,
114
- DisablePolicyTypeCommandInput,
115
- DisablePolicyTypeCommandOutput,
116
- } from "./commands/DisablePolicyTypeCommand";
117
- import {
118
- EnableAWSServiceAccessCommand,
119
- EnableAWSServiceAccessCommandInput,
120
- EnableAWSServiceAccessCommandOutput,
121
- } from "./commands/EnableAWSServiceAccessCommand";
122
- import {
123
- EnableAllFeaturesCommand,
124
- EnableAllFeaturesCommandInput,
125
- EnableAllFeaturesCommandOutput,
126
- } from "./commands/EnableAllFeaturesCommand";
127
- import {
128
- EnablePolicyTypeCommand,
129
- EnablePolicyTypeCommandInput,
130
- EnablePolicyTypeCommandOutput,
131
- } from "./commands/EnablePolicyTypeCommand";
132
- import {
133
- InviteAccountToOrganizationCommand,
134
- InviteAccountToOrganizationCommandInput,
135
- InviteAccountToOrganizationCommandOutput,
136
- } from "./commands/InviteAccountToOrganizationCommand";
137
- import {
138
- LeaveOrganizationCommand,
139
- LeaveOrganizationCommandInput,
140
- LeaveOrganizationCommandOutput,
141
- } from "./commands/LeaveOrganizationCommand";
142
- import {
143
- ListAWSServiceAccessForOrganizationCommand,
144
- ListAWSServiceAccessForOrganizationCommandInput,
145
- ListAWSServiceAccessForOrganizationCommandOutput,
146
- } from "./commands/ListAWSServiceAccessForOrganizationCommand";
147
- import {
148
- ListAccountsCommand,
149
- ListAccountsCommandInput,
150
- ListAccountsCommandOutput,
151
- } from "./commands/ListAccountsCommand";
152
- import {
153
- ListAccountsForParentCommand,
154
- ListAccountsForParentCommandInput,
155
- ListAccountsForParentCommandOutput,
156
- } from "./commands/ListAccountsForParentCommand";
157
- import {
158
- ListChildrenCommand,
159
- ListChildrenCommandInput,
160
- ListChildrenCommandOutput,
161
- } from "./commands/ListChildrenCommand";
162
- import {
163
- ListCreateAccountStatusCommand,
164
- ListCreateAccountStatusCommandInput,
165
- ListCreateAccountStatusCommandOutput,
166
- } from "./commands/ListCreateAccountStatusCommand";
167
- import {
168
- ListDelegatedAdministratorsCommand,
169
- ListDelegatedAdministratorsCommandInput,
170
- ListDelegatedAdministratorsCommandOutput,
171
- } from "./commands/ListDelegatedAdministratorsCommand";
172
- import {
173
- ListDelegatedServicesForAccountCommand,
174
- ListDelegatedServicesForAccountCommandInput,
175
- ListDelegatedServicesForAccountCommandOutput,
176
- } from "./commands/ListDelegatedServicesForAccountCommand";
177
- import {
178
- ListHandshakesForAccountCommand,
179
- ListHandshakesForAccountCommandInput,
180
- ListHandshakesForAccountCommandOutput,
181
- } from "./commands/ListHandshakesForAccountCommand";
182
- import {
183
- ListHandshakesForOrganizationCommand,
184
- ListHandshakesForOrganizationCommandInput,
185
- ListHandshakesForOrganizationCommandOutput,
186
- } from "./commands/ListHandshakesForOrganizationCommand";
187
- import {
188
- ListOrganizationalUnitsForParentCommand,
189
- ListOrganizationalUnitsForParentCommandInput,
190
- ListOrganizationalUnitsForParentCommandOutput,
191
- } from "./commands/ListOrganizationalUnitsForParentCommand";
192
- import { ListParentsCommand, ListParentsCommandInput, ListParentsCommandOutput } from "./commands/ListParentsCommand";
193
- import {
194
- ListPoliciesCommand,
195
- ListPoliciesCommandInput,
196
- ListPoliciesCommandOutput,
197
- } from "./commands/ListPoliciesCommand";
198
- import {
199
- ListPoliciesForTargetCommand,
200
- ListPoliciesForTargetCommandInput,
201
- ListPoliciesForTargetCommandOutput,
202
- } from "./commands/ListPoliciesForTargetCommand";
203
- import { ListRootsCommand, ListRootsCommandInput, ListRootsCommandOutput } from "./commands/ListRootsCommand";
204
- import {
205
- ListTagsForResourceCommand,
206
- ListTagsForResourceCommandInput,
207
- ListTagsForResourceCommandOutput,
208
- } from "./commands/ListTagsForResourceCommand";
209
- import {
210
- ListTargetsForPolicyCommand,
211
- ListTargetsForPolicyCommandInput,
212
- ListTargetsForPolicyCommandOutput,
213
- } from "./commands/ListTargetsForPolicyCommand";
214
- import { MoveAccountCommand, MoveAccountCommandInput, MoveAccountCommandOutput } from "./commands/MoveAccountCommand";
215
- import {
216
- RegisterDelegatedAdministratorCommand,
217
- RegisterDelegatedAdministratorCommandInput,
218
- RegisterDelegatedAdministratorCommandOutput,
219
- } from "./commands/RegisterDelegatedAdministratorCommand";
220
- import {
221
- RemoveAccountFromOrganizationCommand,
222
- RemoveAccountFromOrganizationCommandInput,
223
- RemoveAccountFromOrganizationCommandOutput,
224
- } from "./commands/RemoveAccountFromOrganizationCommand";
225
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
226
- import {
227
- UntagResourceCommand,
228
- UntagResourceCommandInput,
229
- UntagResourceCommandOutput,
230
- } from "./commands/UntagResourceCommand";
231
- import {
232
- UpdateOrganizationalUnitCommand,
233
- UpdateOrganizationalUnitCommandInput,
234
- UpdateOrganizationalUnitCommandOutput,
235
- } from "./commands/UpdateOrganizationalUnitCommand";
236
- import {
237
- UpdatePolicyCommand,
238
- UpdatePolicyCommandInput,
239
- UpdatePolicyCommandOutput,
240
- } from "./commands/UpdatePolicyCommand";
241
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
242
-
243
- /**
244
- * <p>AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts
245
- * into an <i>organization</i> and centrally manage your accounts and their
246
- * resources.</p>
247
- * <p>This guide provides descriptions of the Organizations operations. For more information about
248
- * using this service, see the <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">AWS Organizations User Guide</a>.</p>
249
- * <p>
250
- * <b>Support and feedback for AWS Organizations</b>
251
- * </p>
252
- * <p>We welcome your feedback. Send your comments to <a href="mailto:feedback-awsorganizations@amazon.com">feedback-awsorganizations@amazon.com</a> or post your feedback and questions in
253
- * the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=219">AWS Organizations support forum</a>. For
254
- * more information about the AWS support forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums Help</a>.</p>
255
- * <p>
256
- * <b>Endpoint to call When using the AWS CLI or the AWS
257
- * SDK</b>
258
- * </p>
259
- * <p>For the current release of Organizations, specify the <code>us-east-1</code> region for all
260
- * AWS API and AWS CLI calls made from the commercial AWS Regions outside of China. If
261
- * calling from one of the AWS Regions in China, then specify
262
- * <code>cn-northwest-1</code>. You can do this in the AWS CLI by using these parameters and
263
- * commands:</p>
264
- * <ul>
265
- * <li>
266
- * <p>Use the following parameter with each command to specify both the endpoint and
267
- * its region:</p>
268
- * <p>
269
- * <code>--endpoint-url https://organizations.us-east-1.amazonaws.com</code>
270
- * <i>(from commercial AWS Regions outside of China)</i>
271
- * </p>
272
- * <p>or</p>
273
- * <p>
274
- * <code>--endpoint-url
275
- * https://organizations.cn-northwest-1.amazonaws.com.cn</code>
276
- * <i>(from AWS Regions in China)</i>
277
- * </p>
278
- * </li>
279
- * <li>
280
- * <p>Use the default endpoint, but configure your default region with this
281
- * command:</p>
282
- * <p>
283
- * <code>aws configure set default.region us-east-1</code>
284
- * <i>(from commercial AWS Regions outside of China)</i>
285
- * </p>
286
- * <p>or</p>
287
- * <p>
288
- * <code>aws configure set default.region cn-northwest-1</code>
289
- * <i>(from AWS Regions in China)</i>
290
- * </p>
291
- * </li>
292
- * <li>
293
- * <p>Use the following parameter with each command to specify the endpoint:</p>
294
- * <p>
295
- * <code>--region us-east-1</code>
296
- * <i>(from commercial AWS Regions outside of China)</i>
297
- * </p>
298
- * <p>or</p>
299
- * <p>
300
- * <code>--region cn-northwest-1</code>
301
- * <i>(from AWS Regions in China)</i>
302
- * </p>
303
- * </li>
304
- * </ul>
305
- * <p>
306
- * <b>Recording API Requests</b>
307
- * </p>
308
- * <p>AWS Organizations supports AWS CloudTrail, a service that records AWS API calls for your AWS
309
- * account and delivers log files to an Amazon S3 bucket. By using information collected by
310
- * AWS CloudTrail, you can determine which requests the Organizations service received, who made the request
311
- * and when, and so on. For more about AWS Organizations and its support for AWS CloudTrail, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_incident-response.html#orgs_cloudtrail-integration">Logging
312
- * AWS Organizations Events with AWS CloudTrail</a> in the <i>AWS Organizations User Guide</i>.
313
- * To learn more about AWS CloudTrail, including how to turn it on and find your log files, see the
314
- * <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">AWS CloudTrail User Guide</a>.</p>
315
- */
316
- export class Organizations extends OrganizationsClient {
317
- /**
318
- * <p>Sends a response to the originator of a handshake agreeing to the action proposed by
319
- * the handshake request.</p>
320
- * <p>This operation can be called only by the following principals when they also have the
321
- * relevant IAM permissions:</p>
322
- * <ul>
323
- * <li>
324
- * <p>
325
- * <b>Invitation to join</b> or <b>Approve all features request</b> handshakes: only a principal from
326
- * the member account.</p>
327
- * <p>The user who calls the API for an invitation to join must have the
328
- * <code>organizations:AcceptHandshake</code> permission. If you enabled all
329
- * features in the organization, the user must also have the
330
- * <code>iam:CreateServiceLinkedRole</code> permission so that AWS Organizations can
331
- * create the required service-linked role named <code>AWSServiceRoleForOrganizations</code>. For
332
- * more information, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles">AWS Organizations and Service-Linked Roles</a> in the
333
- * <i>AWS Organizations User Guide</i>.</p>
334
- * </li>
335
- * <li>
336
- * <p>
337
- * <b>Enable all features final confirmation</b>
338
- * handshake: only a principal from the management account.</p>
339
- * <p>For more information about invitations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html">Inviting an AWS Account to Join Your Organization</a> in the
340
- * <i>AWS Organizations User Guide.</i> For more information about requests to
341
- * enable all features in the organization, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling All Features in Your Organization</a> in
342
- * the <i>AWS Organizations User Guide.</i>
343
- * </p>
344
- * </li>
345
- * </ul>
346
- * <p>After you accept a handshake, it continues to appear in the results of relevant APIs
347
- * for only 30 days. After that, it's deleted.</p>
348
- */
349
- public acceptHandshake(
350
- args: AcceptHandshakeCommandInput,
351
- options?: __HttpHandlerOptions
352
- ): Promise<AcceptHandshakeCommandOutput>;
353
- public acceptHandshake(
354
- args: AcceptHandshakeCommandInput,
355
- cb: (err: any, data?: AcceptHandshakeCommandOutput) => void
356
- ): void;
357
- public acceptHandshake(
358
- args: AcceptHandshakeCommandInput,
359
- options: __HttpHandlerOptions,
360
- cb: (err: any, data?: AcceptHandshakeCommandOutput) => void
361
- ): void;
362
- public acceptHandshake(
363
- args: AcceptHandshakeCommandInput,
364
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AcceptHandshakeCommandOutput) => void),
365
- cb?: (err: any, data?: AcceptHandshakeCommandOutput) => void
366
- ): Promise<AcceptHandshakeCommandOutput> | void {
367
- const command = new AcceptHandshakeCommand(args);
368
- if (typeof optionsOrCb === "function") {
369
- this.send(command, optionsOrCb);
370
- } else if (typeof cb === "function") {
371
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
372
- this.send(command, optionsOrCb || {}, cb);
373
- } else {
374
- return this.send(command, optionsOrCb);
375
- }
376
- }
377
-
378
- /**
379
- * <p>Attaches a policy to a root, an organizational unit (OU), or an individual account.
380
- * How the policy affects accounts depends on the type of policy. Refer to the
381
- * <i>AWS Organizations User Guide</i> for information about each policy type:</p>
382
- * <ul>
383
- * <li>
384
- * <p>
385
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html">AISERVICES_OPT_OUT_POLICY</a>
386
- * </p>
387
- * </li>
388
- * <li>
389
- * <p>
390
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html">BACKUP_POLICY</a>
391
- * </p>
392
- * </li>
393
- * <li>
394
- * <p>
395
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html">SERVICE_CONTROL_POLICY</a>
396
- * </p>
397
- * </li>
398
- * <li>
399
- * <p>
400
- * <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">TAG_POLICY</a>
401
- * </p>
402
- * </li>
403
- * </ul>
404
- * <p>This operation can be called only from the organization's management account.</p>
405
- */
406
- public attachPolicy(
407
- args: AttachPolicyCommandInput,
408
- options?: __HttpHandlerOptions
409
- ): Promise<AttachPolicyCommandOutput>;
410
- public attachPolicy(args: AttachPolicyCommandInput, cb: (err: any, data?: AttachPolicyCommandOutput) => void): void;
411
- public attachPolicy(
412
- args: AttachPolicyCommandInput,
413
- options: __HttpHandlerOptions,
414
- cb: (err: any, data?: AttachPolicyCommandOutput) => void
415
- ): void;
416
- public attachPolicy(
417
- args: AttachPolicyCommandInput,
418
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachPolicyCommandOutput) => void),
419
- cb?: (err: any, data?: AttachPolicyCommandOutput) => void
420
- ): Promise<AttachPolicyCommandOutput> | void {
421
- const command = new AttachPolicyCommand(args);
422
- if (typeof optionsOrCb === "function") {
423
- this.send(command, optionsOrCb);
424
- } else if (typeof cb === "function") {
425
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
- this.send(command, optionsOrCb || {}, cb);
427
- } else {
428
- return this.send(command, optionsOrCb);
429
- }
430
- }
431
-
432
- /**
433
- * <p>Cancels a handshake. Canceling a handshake sets the handshake state to
434
- * <code>CANCELED</code>.</p>
435
- * <p>This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use <a>DeclineHandshake</a> instead. After a handshake is canceled, the recipient
436
- * can no longer respond to that handshake.</p>
437
- * <p>After you cancel a handshake, it continues to appear in the results of relevant APIs
438
- * for only 30 days. After that, it's deleted.</p>
439
- */
440
- public cancelHandshake(
441
- args: CancelHandshakeCommandInput,
442
- options?: __HttpHandlerOptions
443
- ): Promise<CancelHandshakeCommandOutput>;
444
- public cancelHandshake(
445
- args: CancelHandshakeCommandInput,
446
- cb: (err: any, data?: CancelHandshakeCommandOutput) => void
447
- ): void;
448
- public cancelHandshake(
449
- args: CancelHandshakeCommandInput,
450
- options: __HttpHandlerOptions,
451
- cb: (err: any, data?: CancelHandshakeCommandOutput) => void
452
- ): void;
453
- public cancelHandshake(
454
- args: CancelHandshakeCommandInput,
455
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelHandshakeCommandOutput) => void),
456
- cb?: (err: any, data?: CancelHandshakeCommandOutput) => void
457
- ): Promise<CancelHandshakeCommandOutput> | void {
458
- const command = new CancelHandshakeCommand(args);
459
- if (typeof optionsOrCb === "function") {
460
- this.send(command, optionsOrCb);
461
- } else if (typeof cb === "function") {
462
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
463
- this.send(command, optionsOrCb || {}, cb);
464
- } else {
465
- return this.send(command, optionsOrCb);
466
- }
467
- }
468
-
469
- /**
470
- * <p>Creates an AWS account that is automatically a member of the organization whose
471
- * credentials made the request. This is an asynchronous request that AWS performs in the
472
- * background. Because <code>CreateAccount</code> operates asynchronously, it can return a
473
- * successful completion message even though account initialization might still be in
474
- * progress. You might need to wait a few minutes before you can successfully access the
475
- * account. To check the status of the request, do one of the following:</p>
476
- * <ul>
477
- * <li>
478
- * <p>Use the <code>Id</code> member of the <code>CreateAccountStatus</code>
479
- * response element from this operation to provide as a parameter to the <a>DescribeCreateAccountStatus</a> operation.</p>
480
- * </li>
481
- * <li>
482
- * <p>Check the AWS CloudTrail log for the <code>CreateAccountResult</code> event. For
483
- * information on using AWS CloudTrail with AWS Organizations, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration">Logging and monitoring in AWS Organizations</a> in the
484
- * <i>AWS Organizations User Guide.</i>
485
- * </p>
486
- * </li>
487
- * </ul>
488
- * <p>The user who calls the API to create an account must have the
489
- * <code>organizations:CreateAccount</code> permission. If you enabled all features in
490
- * the organization, AWS Organizations creates the required service-linked role named
491
- * <code>AWSServiceRoleForOrganizations</code>. For more information, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs">AWS Organizations and Service-Linked Roles</a> in the
492
- * <i>AWS Organizations User Guide</i>.</p>
493
- * <p>If the request includes tags, then the requester must have the
494
- * <code>organizations:TagResource</code> permission.</p>
495
- * <p>AWS Organizations preconfigures the new member account with a role (named
496
- * <code>OrganizationAccountAccessRole</code> by default) that grants users in the
497
- * management account administrator permissions in the new member account. Principals in
498
- * the management account can assume the role. AWS Organizations clones the company name and address
499
- * information for the new account from the organization's management account.</p>
500
- * <p>This operation can be called only from the organization's management account.</p>
501
- * <p>For more information about creating accounts, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html">Creating
502
- * an AWS Account in Your Organization</a> in the
503
- * <i>AWS Organizations User Guide.</i>
504
- * </p>
505
- * <important>
506
- * <ul>
507
- * <li>
508
- * <p>When you create an account in an organization using the AWS Organizations console,
509
- * API, or CLI commands, the information required for the account to operate as
510
- * a standalone account, such as a payment method and signing the end user
511
- * license agreement (EULA) is <i>not</i> automatically
512
- * collected. If you must remove an account from your organization later, you
513
- * can do so only after you provide the missing information. Follow the steps
514
- * at <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info"> To leave an organization as a member account</a> in the
515
- * <i>AWS Organizations User Guide</i>.</p>
516
- * </li>
517
- * <li>
518
- * <p>If you get an exception that indicates that you exceeded your account
519
- * limits for the organization, contact <a href="https://console.aws.amazon.com/support/home#/">AWS Support</a>.</p>
520
- * </li>
521
- * <li>
522
- * <p>If you get an exception that indicates that the operation failed because
523
- * your organization is still initializing, wait one hour and then try again.
524
- * If the error persists, contact <a href="https://console.aws.amazon.com/support/home#/">AWS
525
- * Support</a>.</p>
526
- * </li>
527
- * <li>
528
- * <p>Using <code>CreateAccount</code> to create multiple temporary accounts
529
- * isn't recommended. You can only close an account from the Billing and Cost
530
- * Management Console, and you must be signed in as the root user. For
531
- * information on the requirements and process for closing an account, see
532
- * <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html">Closing an
533
- * AWS Account</a> in the
534
- * <i>AWS Organizations User Guide</i>.</p>
535
- * </li>
536
- * </ul>
537
- * </important>
538
- * <note>
539
- * <p>When you create a member account with this operation, you can choose whether to
540
- * create the account with the <b>IAM User and Role Access to
541
- * Billing Information</b> switch enabled. If you enable it, IAM users and
542
- * roles that have appropriate permissions can view billing information for the
543
- * account. If you disable it, only the account root user can access billing
544
- * information. For information about how to disable this switch for an account, see
545
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html">Granting
546
- * Access to Your Billing Information and Tools</a>.</p>
547
- * </note>
548
- */
549
- public createAccount(
550
- args: CreateAccountCommandInput,
551
- options?: __HttpHandlerOptions
552
- ): Promise<CreateAccountCommandOutput>;
553
- public createAccount(
554
- args: CreateAccountCommandInput,
555
- cb: (err: any, data?: CreateAccountCommandOutput) => void
556
- ): void;
557
- public createAccount(
558
- args: CreateAccountCommandInput,
559
- options: __HttpHandlerOptions,
560
- cb: (err: any, data?: CreateAccountCommandOutput) => void
561
- ): void;
562
- public createAccount(
563
- args: CreateAccountCommandInput,
564
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAccountCommandOutput) => void),
565
- cb?: (err: any, data?: CreateAccountCommandOutput) => void
566
- ): Promise<CreateAccountCommandOutput> | void {
567
- const command = new CreateAccountCommand(args);
568
- if (typeof optionsOrCb === "function") {
569
- this.send(command, optionsOrCb);
570
- } else if (typeof cb === "function") {
571
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
572
- this.send(command, optionsOrCb || {}, cb);
573
- } else {
574
- return this.send(command, optionsOrCb);
575
- }
576
- }
577
-
578
- /**
579
- * <p>This action is available if all of the following are true:</p>
580
- * <ul>
581
- * <li>
582
- * <p>You're authorized to create accounts in the AWS GovCloud (US) Region. For
583
- * more information on the AWS GovCloud (US) Region, see the <a href="http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html">
584
- * <i>AWS GovCloud User Guide</i>.</a>
585
- * </p>
586
- * </li>
587
- * <li>
588
- * <p>You already have an account in the AWS GovCloud (US) Region that is paired
589
- * with a management account of an organization in the commercial Region.</p>
590
- * </li>
591
- * <li>
592
- * <p>You call this action from the management account of your organization in the
593
- * commercial Region.</p>
594
- * </li>
595
- * <li>
596
- * <p>You have the <code>organizations:CreateGovCloudAccount</code> permission.
597
- * </p>
598
- * </li>
599
- * </ul>
600
- * <p>AWS Organizations automatically creates the required service-linked role named
601
- * <code>AWSServiceRoleForOrganizations</code>. For more information, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html#orgs_integrate_services-using_slrs">AWS Organizations and Service-Linked Roles</a> in the
602
- * <i>AWS Organizations User Guide.</i>
603
- * </p>
604
- * <p>AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also
605
- * do the following:</p>
606
- * <ul>
607
- * <li>
608
- * <p>Verify that AWS CloudTrail is enabled to store logs.</p>
609
- * </li>
610
- * <li>
611
- * <p>Create an S3 bucket for AWS CloudTrail log storage.</p>
612
- * <p>For more information, see <a href="http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/verifying-cloudtrail.html">Verifying AWS CloudTrail Is
613
- * Enabled</a> in the <i>AWS GovCloud User Guide</i>.
614
- * </p>
615
- * </li>
616
- * </ul>
617
- * <p>If the request includes tags, then the requester must have the
618
- * <code>organizations:TagResource</code> permission. The tags are attached to the
619
- * commercial account associated with the GovCloud account, rather than the GovCloud
620
- * account itself. To add tags to the GovCloud account, call the <a>TagResource</a> operation in the GovCloud Region after the new GovCloud
621
- * account exists.</p>
622
- * <p>You call this action from the management account of your organization in the
623
- * commercial Region to create a standalone AWS account in the AWS GovCloud (US)
624
- * Region. After the account is created, the management account of an organization in the
625
- * AWS GovCloud (US) Region can invite it to that organization. For more information on
626
- * inviting standalone accounts in the AWS GovCloud (US) to join an organization, see
627
- * <a href="http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">AWS Organizations</a> in
628
- * the <i>AWS GovCloud User Guide.</i>
629
- * </p>
630
- * <p>Calling <code>CreateGovCloudAccount</code> is an asynchronous request that AWS
631
- * performs in the background. Because <code>CreateGovCloudAccount</code> operates
632
- * asynchronously, it can return a successful completion message even though account
633
- * initialization might still be in progress. You might need to wait a few minutes before
634
- * you can successfully access the account. To check the status of the request, do one of
635
- * the following:</p>
636
- * <ul>
637
- * <li>
638
- * <p>Use the <code>OperationId</code> response element from this operation to
639
- * provide as a parameter to the <a>DescribeCreateAccountStatus</a>
640
- * operation.</p>
641
- * </li>
642
- * <li>
643
- * <p>Check the AWS CloudTrail log for the <code>CreateAccountResult</code> event. For
644
- * information on using AWS CloudTrail with Organizations, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html">Monitoring the Activity in Your
645
- * Organization</a> in the <i>AWS Organizations User Guide.</i>
646
- * </p>
647
- * </li>
648
- * </ul>
649
- * <p></p>
650
- * <p>When you call the <code>CreateGovCloudAccount</code> action, you create two accounts:
651
- * a standalone account in the AWS GovCloud (US) Region and an associated account in the
652
- * commercial Region for billing and support purposes. The account in the commercial Region
653
- * is automatically a member of the organization whose credentials made the request. Both
654
- * accounts are associated with the same email address.</p>
655
- * <p>A role is created in the new account in the commercial Region that allows the
656
- * management account in the organization in the commercial Region to assume it. An AWS
657
- * GovCloud (US) account is then created and associated with the commercial account that
658
- * you just created. A role is also created in the new AWS GovCloud (US) account that can
659
- * be assumed by the AWS GovCloud (US) account that is associated with the management
660
- * account of the commercial organization. For more information and to view a diagram that
661
- * explains how account access works, see <a href="http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html">AWS Organizations</a> in the
662
- * <i>AWS GovCloud User Guide.</i>
663
- * </p>
664
- *
665
- *
666
- * <p>For more information about creating accounts, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html">Creating
667
- * an AWS Account in Your Organization</a> in the
668
- * <i>AWS Organizations User Guide.</i>
669
- * </p>
670
- * <important>
671
- * <ul>
672
- * <li>
673
- * <p>When you create an account in an organization using the AWS Organizations console,
674
- * API, or CLI commands, the information required for the account to operate as
675
- * a standalone account is <i>not</i> automatically collected.
676
- * This includes a payment method and signing the end user license agreement
677
- * (EULA). If you must remove an account from your organization later, you can
678
- * do so only after you provide the missing information. Follow the steps at
679
- * <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info"> To leave an organization as a member account</a> in the
680
- * <i>AWS Organizations User Guide.</i>
681
- * </p>
682
- * </li>
683
- * <li>
684
- * <p>If you get an exception that indicates that you exceeded your account
685
- * limits for the organization, contact <a href="https://console.aws.amazon.com/support/home#/">AWS Support</a>.</p>
686
- * </li>
687
- * <li>
688
- * <p>If you get an exception that indicates that the operation failed because
689
- * your organization is still initializing, wait one hour and then try again.
690
- * If the error persists, contact <a href="https://console.aws.amazon.com/support/home#/">AWS
691
- * Support</a>.</p>
692
- * </li>
693
- * <li>
694
- * <p>Using <code>CreateGovCloudAccount</code> to create multiple temporary
695
- * accounts isn't recommended. You can only close an account from the AWS
696
- * Billing and Cost Management console, and you must be signed in as the root
697
- * user. For information on the requirements and process for closing an
698
- * account, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html">Closing an AWS Account</a> in the
699
- * <i>AWS Organizations User Guide</i>.</p>
700
- * </li>
701
- * </ul>
702
- * </important>
703
- * <note>
704
- * <p>When you create a member account with this operation, you can choose whether to
705
- * create the account with the <b>IAM User and Role Access to
706
- * Billing Information</b> switch enabled. If you enable it, IAM users and
707
- * roles that have appropriate permissions can view billing information for the
708
- * account. If you disable it, only the account root user can access billing
709
- * information. For information about how to disable this switch for an account, see
710
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html">Granting
711
- * Access to Your Billing Information and Tools</a>.</p>
712
- * </note>
713
- */
714
- public createGovCloudAccount(
715
- args: CreateGovCloudAccountCommandInput,
716
- options?: __HttpHandlerOptions
717
- ): Promise<CreateGovCloudAccountCommandOutput>;
718
- public createGovCloudAccount(
719
- args: CreateGovCloudAccountCommandInput,
720
- cb: (err: any, data?: CreateGovCloudAccountCommandOutput) => void
721
- ): void;
722
- public createGovCloudAccount(
723
- args: CreateGovCloudAccountCommandInput,
724
- options: __HttpHandlerOptions,
725
- cb: (err: any, data?: CreateGovCloudAccountCommandOutput) => void
726
- ): void;
727
- public createGovCloudAccount(
728
- args: CreateGovCloudAccountCommandInput,
729
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGovCloudAccountCommandOutput) => void),
730
- cb?: (err: any, data?: CreateGovCloudAccountCommandOutput) => void
731
- ): Promise<CreateGovCloudAccountCommandOutput> | void {
732
- const command = new CreateGovCloudAccountCommand(args);
733
- if (typeof optionsOrCb === "function") {
734
- this.send(command, optionsOrCb);
735
- } else if (typeof cb === "function") {
736
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
737
- this.send(command, optionsOrCb || {}, cb);
738
- } else {
739
- return this.send(command, optionsOrCb);
740
- }
741
- }
742
-
743
- /**
744
- * <p>Creates an AWS organization. The account whose user is calling the
745
- * <code>CreateOrganization</code> operation automatically becomes the <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account">management account</a> of the new organization.</p>
746
- * <p>This operation must be called using credentials from the account that is to become the
747
- * new organization's management account. The principal must also have the relevant IAM
748
- * permissions.</p>
749
- * <p>By default (or if you set the <code>FeatureSet</code> parameter to <code>ALL</code>),
750
- * the new organization is created with all features enabled and service control policies
751
- * automatically enabled in the root. If you instead choose to create the organization
752
- * supporting only the consolidated billing features by setting the <code>FeatureSet</code>
753
- * parameter to <code>CONSOLIDATED_BILLING"</code>, no policy types are enabled by default,
754
- * and you can't use organization policies</p>
755
- */
756
- public createOrganization(
757
- args: CreateOrganizationCommandInput,
758
- options?: __HttpHandlerOptions
759
- ): Promise<CreateOrganizationCommandOutput>;
760
- public createOrganization(
761
- args: CreateOrganizationCommandInput,
762
- cb: (err: any, data?: CreateOrganizationCommandOutput) => void
763
- ): void;
764
- public createOrganization(
765
- args: CreateOrganizationCommandInput,
766
- options: __HttpHandlerOptions,
767
- cb: (err: any, data?: CreateOrganizationCommandOutput) => void
768
- ): void;
769
- public createOrganization(
770
- args: CreateOrganizationCommandInput,
771
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOrganizationCommandOutput) => void),
772
- cb?: (err: any, data?: CreateOrganizationCommandOutput) => void
773
- ): Promise<CreateOrganizationCommandOutput> | void {
774
- const command = new CreateOrganizationCommand(args);
775
- if (typeof optionsOrCb === "function") {
776
- this.send(command, optionsOrCb);
777
- } else if (typeof cb === "function") {
778
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
779
- this.send(command, optionsOrCb || {}, cb);
780
- } else {
781
- return this.send(command, optionsOrCb);
782
- }
783
- }
784
-
785
- /**
786
- * <p>Creates an organizational unit (OU) within a root or parent OU. An OU is a container
787
- * for accounts that enables you to organize your accounts to apply policies according to
788
- * your business requirements. The number of levels deep that you can nest OUs is dependent
789
- * upon the policy types enabled for that root. For service control policies, the limit is
790
- * five.</p>
791
- * <p>For more information about OUs, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_ous.html">Managing Organizational Units</a> in the
792
- * <i>AWS Organizations User Guide.</i>
793
- * </p>
794
- * <p>If the request includes tags, then the requester must have the
795
- * <code>organizations:TagResource</code> permission.</p>
796
- * <p>This operation can be called only from the organization's management account.</p>
797
- */
798
- public createOrganizationalUnit(
799
- args: CreateOrganizationalUnitCommandInput,
800
- options?: __HttpHandlerOptions
801
- ): Promise<CreateOrganizationalUnitCommandOutput>;
802
- public createOrganizationalUnit(
803
- args: CreateOrganizationalUnitCommandInput,
804
- cb: (err: any, data?: CreateOrganizationalUnitCommandOutput) => void
805
- ): void;
806
- public createOrganizationalUnit(
807
- args: CreateOrganizationalUnitCommandInput,
808
- options: __HttpHandlerOptions,
809
- cb: (err: any, data?: CreateOrganizationalUnitCommandOutput) => void
810
- ): void;
811
- public createOrganizationalUnit(
812
- args: CreateOrganizationalUnitCommandInput,
813
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOrganizationalUnitCommandOutput) => void),
814
- cb?: (err: any, data?: CreateOrganizationalUnitCommandOutput) => void
815
- ): Promise<CreateOrganizationalUnitCommandOutput> | void {
816
- const command = new CreateOrganizationalUnitCommand(args);
817
- if (typeof optionsOrCb === "function") {
818
- this.send(command, optionsOrCb);
819
- } else if (typeof cb === "function") {
820
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
821
- this.send(command, optionsOrCb || {}, cb);
822
- } else {
823
- return this.send(command, optionsOrCb);
824
- }
825
- }
826
-
827
- /**
828
- * <p>Creates a policy of a specified type that you can attach to a root, an organizational
829
- * unit (OU), or an individual AWS account.</p>
830
- * <p>For more information about policies and their use, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html">Managing
831
- * Organization Policies</a>.</p>
832
- * <p>If the request includes tags, then the requester must have the
833
- * <code>organizations:TagResource</code> permission.</p>
834
- * <p>This operation can be called only from the organization's management account.</p>
835
- */
836
- public createPolicy(
837
- args: CreatePolicyCommandInput,
838
- options?: __HttpHandlerOptions
839
- ): Promise<CreatePolicyCommandOutput>;
840
- public createPolicy(args: CreatePolicyCommandInput, cb: (err: any, data?: CreatePolicyCommandOutput) => void): void;
841
- public createPolicy(
842
- args: CreatePolicyCommandInput,
843
- options: __HttpHandlerOptions,
844
- cb: (err: any, data?: CreatePolicyCommandOutput) => void
845
- ): void;
846
- public createPolicy(
847
- args: CreatePolicyCommandInput,
848
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePolicyCommandOutput) => void),
849
- cb?: (err: any, data?: CreatePolicyCommandOutput) => void
850
- ): Promise<CreatePolicyCommandOutput> | void {
851
- const command = new CreatePolicyCommand(args);
852
- if (typeof optionsOrCb === "function") {
853
- this.send(command, optionsOrCb);
854
- } else if (typeof cb === "function") {
855
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
856
- this.send(command, optionsOrCb || {}, cb);
857
- } else {
858
- return this.send(command, optionsOrCb);
859
- }
860
- }
861
-
862
- /**
863
- * <p>Declines a handshake request. This sets the handshake state to <code>DECLINED</code>
864
- * and effectively deactivates the request.</p>
865
- * <p>This operation can be called only from the account that received the handshake. The originator of the handshake can use <a>CancelHandshake</a>
866
- * instead. The originator can't reactivate a declined request, but can reinitiate the
867
- * process with a new handshake request.</p>
868
- * <p>After you decline a handshake, it continues to appear in the results of relevant APIs
869
- * for only 30 days. After that, it's deleted.</p>
870
- */
871
- public declineHandshake(
872
- args: DeclineHandshakeCommandInput,
873
- options?: __HttpHandlerOptions
874
- ): Promise<DeclineHandshakeCommandOutput>;
875
- public declineHandshake(
876
- args: DeclineHandshakeCommandInput,
877
- cb: (err: any, data?: DeclineHandshakeCommandOutput) => void
878
- ): void;
879
- public declineHandshake(
880
- args: DeclineHandshakeCommandInput,
881
- options: __HttpHandlerOptions,
882
- cb: (err: any, data?: DeclineHandshakeCommandOutput) => void
883
- ): void;
884
- public declineHandshake(
885
- args: DeclineHandshakeCommandInput,
886
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeclineHandshakeCommandOutput) => void),
887
- cb?: (err: any, data?: DeclineHandshakeCommandOutput) => void
888
- ): Promise<DeclineHandshakeCommandOutput> | void {
889
- const command = new DeclineHandshakeCommand(args);
890
- if (typeof optionsOrCb === "function") {
891
- this.send(command, optionsOrCb);
892
- } else if (typeof cb === "function") {
893
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
894
- this.send(command, optionsOrCb || {}, cb);
895
- } else {
896
- return this.send(command, optionsOrCb);
897
- }
898
- }
899
-
900
- /**
901
- * <p>Deletes the organization. You can delete an organization only by using credentials
902
- * from the management account. The organization must be empty of member accounts.</p>
903
- */
904
- public deleteOrganization(
905
- args: DeleteOrganizationCommandInput,
906
- options?: __HttpHandlerOptions
907
- ): Promise<DeleteOrganizationCommandOutput>;
908
- public deleteOrganization(
909
- args: DeleteOrganizationCommandInput,
910
- cb: (err: any, data?: DeleteOrganizationCommandOutput) => void
911
- ): void;
912
- public deleteOrganization(
913
- args: DeleteOrganizationCommandInput,
914
- options: __HttpHandlerOptions,
915
- cb: (err: any, data?: DeleteOrganizationCommandOutput) => void
916
- ): void;
917
- public deleteOrganization(
918
- args: DeleteOrganizationCommandInput,
919
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteOrganizationCommandOutput) => void),
920
- cb?: (err: any, data?: DeleteOrganizationCommandOutput) => void
921
- ): Promise<DeleteOrganizationCommandOutput> | void {
922
- const command = new DeleteOrganizationCommand(args);
923
- if (typeof optionsOrCb === "function") {
924
- this.send(command, optionsOrCb);
925
- } else if (typeof cb === "function") {
926
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
927
- this.send(command, optionsOrCb || {}, cb);
928
- } else {
929
- return this.send(command, optionsOrCb);
930
- }
931
- }
932
-
933
- /**
934
- * <p>Deletes an organizational unit (OU) from a root or another OU. You must first remove
935
- * all accounts and child OUs from the OU that you want to delete.</p>
936
- * <p>This operation can be called only from the organization's management account.</p>
937
- */
938
- public deleteOrganizationalUnit(
939
- args: DeleteOrganizationalUnitCommandInput,
940
- options?: __HttpHandlerOptions
941
- ): Promise<DeleteOrganizationalUnitCommandOutput>;
942
- public deleteOrganizationalUnit(
943
- args: DeleteOrganizationalUnitCommandInput,
944
- cb: (err: any, data?: DeleteOrganizationalUnitCommandOutput) => void
945
- ): void;
946
- public deleteOrganizationalUnit(
947
- args: DeleteOrganizationalUnitCommandInput,
948
- options: __HttpHandlerOptions,
949
- cb: (err: any, data?: DeleteOrganizationalUnitCommandOutput) => void
950
- ): void;
951
- public deleteOrganizationalUnit(
952
- args: DeleteOrganizationalUnitCommandInput,
953
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteOrganizationalUnitCommandOutput) => void),
954
- cb?: (err: any, data?: DeleteOrganizationalUnitCommandOutput) => void
955
- ): Promise<DeleteOrganizationalUnitCommandOutput> | void {
956
- const command = new DeleteOrganizationalUnitCommand(args);
957
- if (typeof optionsOrCb === "function") {
958
- this.send(command, optionsOrCb);
959
- } else if (typeof cb === "function") {
960
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
961
- this.send(command, optionsOrCb || {}, cb);
962
- } else {
963
- return this.send(command, optionsOrCb);
964
- }
965
- }
966
-
967
- /**
968
- * <p>Deletes the specified policy from your organization. Before you perform this
969
- * operation, you must first detach the policy from all organizational units (OUs), roots,
970
- * and accounts.</p>
971
- * <p>This operation can be called only from the organization's management account.</p>
972
- */
973
- public deletePolicy(
974
- args: DeletePolicyCommandInput,
975
- options?: __HttpHandlerOptions
976
- ): Promise<DeletePolicyCommandOutput>;
977
- public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
978
- public deletePolicy(
979
- args: DeletePolicyCommandInput,
980
- options: __HttpHandlerOptions,
981
- cb: (err: any, data?: DeletePolicyCommandOutput) => void
982
- ): void;
983
- public deletePolicy(
984
- args: DeletePolicyCommandInput,
985
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void),
986
- cb?: (err: any, data?: DeletePolicyCommandOutput) => void
987
- ): Promise<DeletePolicyCommandOutput> | void {
988
- const command = new DeletePolicyCommand(args);
989
- if (typeof optionsOrCb === "function") {
990
- this.send(command, optionsOrCb);
991
- } else if (typeof cb === "function") {
992
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
993
- this.send(command, optionsOrCb || {}, cb);
994
- } else {
995
- return this.send(command, optionsOrCb);
996
- }
997
- }
998
-
999
- /**
1000
- * <p>Removes the specified member AWS account as a delegated administrator for the
1001
- * specified AWS service.</p>
1002
- * <important>
1003
- * <p>Deregistering a delegated administrator can have unintended impacts on the
1004
- * functionality of the enabled AWS service. See the documentation for the enabled
1005
- * service before you deregister a delegated administrator so that you understand any
1006
- * potential impacts.</p>
1007
- * </important>
1008
- * <p>You can run this action only for AWS services that support this
1009
- * feature. For a current list of services that support it, see the column <i>Supports
1010
- * Delegated Administrator</i> in the table at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html">AWS Services that you can use with
1011
- * AWS Organizations</a> in the <i>AWS Organizations User Guide.</i>
1012
- * </p>
1013
- * <p>This operation can be called only from the organization's management account.</p>
1014
- */
1015
- public deregisterDelegatedAdministrator(
1016
- args: DeregisterDelegatedAdministratorCommandInput,
1017
- options?: __HttpHandlerOptions
1018
- ): Promise<DeregisterDelegatedAdministratorCommandOutput>;
1019
- public deregisterDelegatedAdministrator(
1020
- args: DeregisterDelegatedAdministratorCommandInput,
1021
- cb: (err: any, data?: DeregisterDelegatedAdministratorCommandOutput) => void
1022
- ): void;
1023
- public deregisterDelegatedAdministrator(
1024
- args: DeregisterDelegatedAdministratorCommandInput,
1025
- options: __HttpHandlerOptions,
1026
- cb: (err: any, data?: DeregisterDelegatedAdministratorCommandOutput) => void
1027
- ): void;
1028
- public deregisterDelegatedAdministrator(
1029
- args: DeregisterDelegatedAdministratorCommandInput,
1030
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterDelegatedAdministratorCommandOutput) => void),
1031
- cb?: (err: any, data?: DeregisterDelegatedAdministratorCommandOutput) => void
1032
- ): Promise<DeregisterDelegatedAdministratorCommandOutput> | void {
1033
- const command = new DeregisterDelegatedAdministratorCommand(args);
1034
- if (typeof optionsOrCb === "function") {
1035
- this.send(command, optionsOrCb);
1036
- } else if (typeof cb === "function") {
1037
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1038
- this.send(command, optionsOrCb || {}, cb);
1039
- } else {
1040
- return this.send(command, optionsOrCb);
1041
- }
1042
- }
1043
-
1044
- /**
1045
- * <p>Retrieves AWS Organizations-related information about the specified account.</p>
1046
- * <p>This operation can be called only from the organization's
1047
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1048
- */
1049
- public describeAccount(
1050
- args: DescribeAccountCommandInput,
1051
- options?: __HttpHandlerOptions
1052
- ): Promise<DescribeAccountCommandOutput>;
1053
- public describeAccount(
1054
- args: DescribeAccountCommandInput,
1055
- cb: (err: any, data?: DescribeAccountCommandOutput) => void
1056
- ): void;
1057
- public describeAccount(
1058
- args: DescribeAccountCommandInput,
1059
- options: __HttpHandlerOptions,
1060
- cb: (err: any, data?: DescribeAccountCommandOutput) => void
1061
- ): void;
1062
- public describeAccount(
1063
- args: DescribeAccountCommandInput,
1064
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountCommandOutput) => void),
1065
- cb?: (err: any, data?: DescribeAccountCommandOutput) => void
1066
- ): Promise<DescribeAccountCommandOutput> | void {
1067
- const command = new DescribeAccountCommand(args);
1068
- if (typeof optionsOrCb === "function") {
1069
- this.send(command, optionsOrCb);
1070
- } else if (typeof cb === "function") {
1071
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1072
- this.send(command, optionsOrCb || {}, cb);
1073
- } else {
1074
- return this.send(command, optionsOrCb);
1075
- }
1076
- }
1077
-
1078
- /**
1079
- * <p>Retrieves the current status of an asynchronous request to create an account.</p>
1080
- * <p>This operation can be called only from the organization's
1081
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1082
- */
1083
- public describeCreateAccountStatus(
1084
- args: DescribeCreateAccountStatusCommandInput,
1085
- options?: __HttpHandlerOptions
1086
- ): Promise<DescribeCreateAccountStatusCommandOutput>;
1087
- public describeCreateAccountStatus(
1088
- args: DescribeCreateAccountStatusCommandInput,
1089
- cb: (err: any, data?: DescribeCreateAccountStatusCommandOutput) => void
1090
- ): void;
1091
- public describeCreateAccountStatus(
1092
- args: DescribeCreateAccountStatusCommandInput,
1093
- options: __HttpHandlerOptions,
1094
- cb: (err: any, data?: DescribeCreateAccountStatusCommandOutput) => void
1095
- ): void;
1096
- public describeCreateAccountStatus(
1097
- args: DescribeCreateAccountStatusCommandInput,
1098
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCreateAccountStatusCommandOutput) => void),
1099
- cb?: (err: any, data?: DescribeCreateAccountStatusCommandOutput) => void
1100
- ): Promise<DescribeCreateAccountStatusCommandOutput> | void {
1101
- const command = new DescribeCreateAccountStatusCommand(args);
1102
- if (typeof optionsOrCb === "function") {
1103
- this.send(command, optionsOrCb);
1104
- } else if (typeof cb === "function") {
1105
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1106
- this.send(command, optionsOrCb || {}, cb);
1107
- } else {
1108
- return this.send(command, optionsOrCb);
1109
- }
1110
- }
1111
-
1112
- /**
1113
- * <p>Returns the contents of the effective policy for specified policy type and account.
1114
- * The effective policy is the aggregation of any policies of the specified type that the
1115
- * account inherits, plus any policy of that type that is directly attached to the
1116
- * account.</p>
1117
- * <p>This operation applies only to policy types <i>other</i> than service
1118
- * control policies (SCPs).</p>
1119
- * <p>For more information about policy inheritance, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html">How Policy Inheritance
1120
- * Works</a> in the <i>AWS Organizations User Guide</i>.</p>
1121
- * <p>This operation can be called only from the organization's
1122
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1123
- */
1124
- public describeEffectivePolicy(
1125
- args: DescribeEffectivePolicyCommandInput,
1126
- options?: __HttpHandlerOptions
1127
- ): Promise<DescribeEffectivePolicyCommandOutput>;
1128
- public describeEffectivePolicy(
1129
- args: DescribeEffectivePolicyCommandInput,
1130
- cb: (err: any, data?: DescribeEffectivePolicyCommandOutput) => void
1131
- ): void;
1132
- public describeEffectivePolicy(
1133
- args: DescribeEffectivePolicyCommandInput,
1134
- options: __HttpHandlerOptions,
1135
- cb: (err: any, data?: DescribeEffectivePolicyCommandOutput) => void
1136
- ): void;
1137
- public describeEffectivePolicy(
1138
- args: DescribeEffectivePolicyCommandInput,
1139
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEffectivePolicyCommandOutput) => void),
1140
- cb?: (err: any, data?: DescribeEffectivePolicyCommandOutput) => void
1141
- ): Promise<DescribeEffectivePolicyCommandOutput> | void {
1142
- const command = new DescribeEffectivePolicyCommand(args);
1143
- if (typeof optionsOrCb === "function") {
1144
- this.send(command, optionsOrCb);
1145
- } else if (typeof cb === "function") {
1146
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1147
- this.send(command, optionsOrCb || {}, cb);
1148
- } else {
1149
- return this.send(command, optionsOrCb);
1150
- }
1151
- }
1152
-
1153
- /**
1154
- * <p>Retrieves information about a previously requested handshake. The handshake ID comes
1155
- * from the response to the original <a>InviteAccountToOrganization</a>
1156
- * operation that generated the handshake.</p>
1157
- * <p>You can access handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or
1158
- * <code>CANCELED</code> for only 30 days after they change to that state. They're then
1159
- * deleted and no longer accessible.</p>
1160
- * <p>This operation can be called from any account in the organization.</p>
1161
- */
1162
- public describeHandshake(
1163
- args: DescribeHandshakeCommandInput,
1164
- options?: __HttpHandlerOptions
1165
- ): Promise<DescribeHandshakeCommandOutput>;
1166
- public describeHandshake(
1167
- args: DescribeHandshakeCommandInput,
1168
- cb: (err: any, data?: DescribeHandshakeCommandOutput) => void
1169
- ): void;
1170
- public describeHandshake(
1171
- args: DescribeHandshakeCommandInput,
1172
- options: __HttpHandlerOptions,
1173
- cb: (err: any, data?: DescribeHandshakeCommandOutput) => void
1174
- ): void;
1175
- public describeHandshake(
1176
- args: DescribeHandshakeCommandInput,
1177
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeHandshakeCommandOutput) => void),
1178
- cb?: (err: any, data?: DescribeHandshakeCommandOutput) => void
1179
- ): Promise<DescribeHandshakeCommandOutput> | void {
1180
- const command = new DescribeHandshakeCommand(args);
1181
- if (typeof optionsOrCb === "function") {
1182
- this.send(command, optionsOrCb);
1183
- } else if (typeof cb === "function") {
1184
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1185
- this.send(command, optionsOrCb || {}, cb);
1186
- } else {
1187
- return this.send(command, optionsOrCb);
1188
- }
1189
- }
1190
-
1191
- /**
1192
- * <p>Retrieves information about the organization that the user's account belongs
1193
- * to.</p>
1194
- * <p>This operation can be called from any account in the organization.</p>
1195
- * <note>
1196
- * <p>Even if a policy type is shown as available in the organization, you can disable
1197
- * it separately at the root level with <a>DisablePolicyType</a>. Use <a>ListRoots</a> to see the status of policy types for a specified
1198
- * root.</p>
1199
- * </note>
1200
- */
1201
- public describeOrganization(
1202
- args: DescribeOrganizationCommandInput,
1203
- options?: __HttpHandlerOptions
1204
- ): Promise<DescribeOrganizationCommandOutput>;
1205
- public describeOrganization(
1206
- args: DescribeOrganizationCommandInput,
1207
- cb: (err: any, data?: DescribeOrganizationCommandOutput) => void
1208
- ): void;
1209
- public describeOrganization(
1210
- args: DescribeOrganizationCommandInput,
1211
- options: __HttpHandlerOptions,
1212
- cb: (err: any, data?: DescribeOrganizationCommandOutput) => void
1213
- ): void;
1214
- public describeOrganization(
1215
- args: DescribeOrganizationCommandInput,
1216
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeOrganizationCommandOutput) => void),
1217
- cb?: (err: any, data?: DescribeOrganizationCommandOutput) => void
1218
- ): Promise<DescribeOrganizationCommandOutput> | void {
1219
- const command = new DescribeOrganizationCommand(args);
1220
- if (typeof optionsOrCb === "function") {
1221
- this.send(command, optionsOrCb);
1222
- } else if (typeof cb === "function") {
1223
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1224
- this.send(command, optionsOrCb || {}, cb);
1225
- } else {
1226
- return this.send(command, optionsOrCb);
1227
- }
1228
- }
1229
-
1230
- /**
1231
- * <p>Retrieves information about an organizational unit (OU).</p>
1232
- * <p>This operation can be called only from the organization's
1233
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1234
- */
1235
- public describeOrganizationalUnit(
1236
- args: DescribeOrganizationalUnitCommandInput,
1237
- options?: __HttpHandlerOptions
1238
- ): Promise<DescribeOrganizationalUnitCommandOutput>;
1239
- public describeOrganizationalUnit(
1240
- args: DescribeOrganizationalUnitCommandInput,
1241
- cb: (err: any, data?: DescribeOrganizationalUnitCommandOutput) => void
1242
- ): void;
1243
- public describeOrganizationalUnit(
1244
- args: DescribeOrganizationalUnitCommandInput,
1245
- options: __HttpHandlerOptions,
1246
- cb: (err: any, data?: DescribeOrganizationalUnitCommandOutput) => void
1247
- ): void;
1248
- public describeOrganizationalUnit(
1249
- args: DescribeOrganizationalUnitCommandInput,
1250
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeOrganizationalUnitCommandOutput) => void),
1251
- cb?: (err: any, data?: DescribeOrganizationalUnitCommandOutput) => void
1252
- ): Promise<DescribeOrganizationalUnitCommandOutput> | void {
1253
- const command = new DescribeOrganizationalUnitCommand(args);
1254
- if (typeof optionsOrCb === "function") {
1255
- this.send(command, optionsOrCb);
1256
- } else if (typeof cb === "function") {
1257
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1258
- this.send(command, optionsOrCb || {}, cb);
1259
- } else {
1260
- return this.send(command, optionsOrCb);
1261
- }
1262
- }
1263
-
1264
- /**
1265
- * <p>Retrieves information about a policy.</p>
1266
- * <p>This operation can be called only from the organization's
1267
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1268
- */
1269
- public describePolicy(
1270
- args: DescribePolicyCommandInput,
1271
- options?: __HttpHandlerOptions
1272
- ): Promise<DescribePolicyCommandOutput>;
1273
- public describePolicy(
1274
- args: DescribePolicyCommandInput,
1275
- cb: (err: any, data?: DescribePolicyCommandOutput) => void
1276
- ): void;
1277
- public describePolicy(
1278
- args: DescribePolicyCommandInput,
1279
- options: __HttpHandlerOptions,
1280
- cb: (err: any, data?: DescribePolicyCommandOutput) => void
1281
- ): void;
1282
- public describePolicy(
1283
- args: DescribePolicyCommandInput,
1284
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribePolicyCommandOutput) => void),
1285
- cb?: (err: any, data?: DescribePolicyCommandOutput) => void
1286
- ): Promise<DescribePolicyCommandOutput> | void {
1287
- const command = new DescribePolicyCommand(args);
1288
- if (typeof optionsOrCb === "function") {
1289
- this.send(command, optionsOrCb);
1290
- } else if (typeof cb === "function") {
1291
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1292
- this.send(command, optionsOrCb || {}, cb);
1293
- } else {
1294
- return this.send(command, optionsOrCb);
1295
- }
1296
- }
1297
-
1298
- /**
1299
- * <p>Detaches a policy from a target root, organizational unit (OU), or account.</p>
1300
- * <important>
1301
- * <p>If the policy being detached is a service control policy (SCP), the changes to
1302
- * permissions for AWS Identity and Access Management (IAM) users and roles in affected accounts are
1303
- * immediate.</p>
1304
- * </important>
1305
- * <p>Every root, OU, and account must have at least one SCP attached. If you want to
1306
- * replace the default <code>FullAWSAccess</code> policy with an SCP that limits the
1307
- * permissions that can be delegated, you must attach the replacement SCP before you can
1308
- * remove the default SCP. This is the authorization strategy of an "<a href="https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_allowlist">allow list</a>". If you instead attach a second SCP and
1309
- * leave the <code>FullAWSAccess</code> SCP still attached, and specify <code>"Effect":
1310
- * "Deny"</code> in the second SCP to override the <code>"Effect": "Allow"</code> in
1311
- * the <code>FullAWSAccess</code> policy (or any other attached SCP), you're using the
1312
- * authorization strategy of a "<a href="https://docs.aws.amazon.com/organizations/latest/userguide/SCP_strategies.html#orgs_policies_denylist">deny list</a>".</p>
1313
- * <p>This operation can be called only from the organization's management account.</p>
1314
- */
1315
- public detachPolicy(
1316
- args: DetachPolicyCommandInput,
1317
- options?: __HttpHandlerOptions
1318
- ): Promise<DetachPolicyCommandOutput>;
1319
- public detachPolicy(args: DetachPolicyCommandInput, cb: (err: any, data?: DetachPolicyCommandOutput) => void): void;
1320
- public detachPolicy(
1321
- args: DetachPolicyCommandInput,
1322
- options: __HttpHandlerOptions,
1323
- cb: (err: any, data?: DetachPolicyCommandOutput) => void
1324
- ): void;
1325
- public detachPolicy(
1326
- args: DetachPolicyCommandInput,
1327
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachPolicyCommandOutput) => void),
1328
- cb?: (err: any, data?: DetachPolicyCommandOutput) => void
1329
- ): Promise<DetachPolicyCommandOutput> | void {
1330
- const command = new DetachPolicyCommand(args);
1331
- if (typeof optionsOrCb === "function") {
1332
- this.send(command, optionsOrCb);
1333
- } else if (typeof cb === "function") {
1334
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1335
- this.send(command, optionsOrCb || {}, cb);
1336
- } else {
1337
- return this.send(command, optionsOrCb);
1338
- }
1339
- }
1340
-
1341
- /**
1342
- * <p>Disables the integration of an AWS service (the service that is specified by
1343
- * <code>ServicePrincipal</code>) with AWS Organizations. When you disable integration, the
1344
- * specified service no longer can create a <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html">service-linked role</a> in
1345
- * <i>new</i> accounts in your organization. This means the service can't
1346
- * perform operations on your behalf on any new accounts in your organization. The service
1347
- * can still perform operations in older accounts until the service completes its clean-up
1348
- * from AWS Organizations.</p>
1349
- * <important>
1350
- * <p>We <b>
1351
- * <i>strongly recommend</i>
1352
- * </b> that
1353
- * you don't use this command to disable integration between AWS Organizations and the specified
1354
- * AWS service. Instead, use the console or commands that are provided by the
1355
- * specified service. This lets the trusted service perform any required initialization
1356
- * when enabling trusted access, such as creating any required resources and any
1357
- * required clean up of resources when disabling trusted access. </p>
1358
- * <p>For information about how to disable trusted service access to your organization
1359
- * using the trusted service, see the <b>Learn more</b> link
1360
- * under the <b>Supports Trusted Access</b> column at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html">AWS services that you can use with AWS Organizations</a>. on this page.</p>
1361
- * <p>If you disable access by using this command, it causes the following actions to
1362
- * occur:</p>
1363
- * <ul>
1364
- * <li>
1365
- * <p>The service can no longer create a service-linked role in the accounts in
1366
- * your organization. This means that the service can't perform operations on
1367
- * your behalf on any new accounts in your organization. The service can still
1368
- * perform operations in older accounts until the service completes its
1369
- * clean-up from AWS Organizations. </p>
1370
- * </li>
1371
- * <li>
1372
- * <p>The service can no longer perform tasks in the member accounts in the
1373
- * organization, unless those operations are explicitly permitted by the IAM
1374
- * policies that are attached to your roles. This includes any data aggregation
1375
- * from the member accounts to the management account, or to a delegated
1376
- * administrator account, where relevant.</p>
1377
- * </li>
1378
- * <li>
1379
- * <p>Some services detect this and clean up any remaining data or resources
1380
- * related to the integration, while other services stop accessing the
1381
- * organization but leave any historical data and configuration in place to
1382
- * support a possible re-enabling of the integration.</p>
1383
- * </li>
1384
- * </ul>
1385
- * <p>Using the other service's console or commands to disable the integration ensures
1386
- * that the other service is aware that it can clean up any resources that are required
1387
- * only for the integration. How the service cleans up its resources in the
1388
- * organization's accounts depends on that service. For more information, see the
1389
- * documentation for the other AWS service. </p>
1390
- * </important>
1391
- * <p>After you perform the <code>DisableAWSServiceAccess</code> operation, the specified
1392
- * service can no longer perform operations in your organization's accounts </p>
1393
- * <p>For more information about integrating other services with AWS Organizations, including the
1394
- * list of services that work with Organizations, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Integrating AWS Organizations with Other
1395
- * AWS Services</a> in the <i>AWS Organizations User Guide.</i>
1396
- * </p>
1397
- * <p>This operation can be called only from the organization's management account.</p>
1398
- */
1399
- public disableAWSServiceAccess(
1400
- args: DisableAWSServiceAccessCommandInput,
1401
- options?: __HttpHandlerOptions
1402
- ): Promise<DisableAWSServiceAccessCommandOutput>;
1403
- public disableAWSServiceAccess(
1404
- args: DisableAWSServiceAccessCommandInput,
1405
- cb: (err: any, data?: DisableAWSServiceAccessCommandOutput) => void
1406
- ): void;
1407
- public disableAWSServiceAccess(
1408
- args: DisableAWSServiceAccessCommandInput,
1409
- options: __HttpHandlerOptions,
1410
- cb: (err: any, data?: DisableAWSServiceAccessCommandOutput) => void
1411
- ): void;
1412
- public disableAWSServiceAccess(
1413
- args: DisableAWSServiceAccessCommandInput,
1414
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableAWSServiceAccessCommandOutput) => void),
1415
- cb?: (err: any, data?: DisableAWSServiceAccessCommandOutput) => void
1416
- ): Promise<DisableAWSServiceAccessCommandOutput> | void {
1417
- const command = new DisableAWSServiceAccessCommand(args);
1418
- if (typeof optionsOrCb === "function") {
1419
- this.send(command, optionsOrCb);
1420
- } else if (typeof cb === "function") {
1421
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1422
- this.send(command, optionsOrCb || {}, cb);
1423
- } else {
1424
- return this.send(command, optionsOrCb);
1425
- }
1426
- }
1427
-
1428
- /**
1429
- * <p>Disables an organizational policy type in a root. A policy of a certain type can be
1430
- * attached to entities in a root only if that type is enabled in the root. After you
1431
- * perform this operation, you no longer can attach policies of the specified type to that
1432
- * root or to any organizational unit (OU) or account in that root. You can undo this by
1433
- * using the <a>EnablePolicyType</a> operation.</p>
1434
- * <p>This is an asynchronous request that AWS performs in the background. If you disable
1435
- * a policy type for a root, it still appears enabled for the organization if <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">all features</a> are enabled for the organization. AWS recommends that you
1436
- * first use <a>ListRoots</a> to see the status of policy types for a specified
1437
- * root, and then use this operation.</p>
1438
- * <p>This operation can be called only from the organization's management account.</p>
1439
- * <p> To view the status of available policy types in the organization, use <a>DescribeOrganization</a>.</p>
1440
- */
1441
- public disablePolicyType(
1442
- args: DisablePolicyTypeCommandInput,
1443
- options?: __HttpHandlerOptions
1444
- ): Promise<DisablePolicyTypeCommandOutput>;
1445
- public disablePolicyType(
1446
- args: DisablePolicyTypeCommandInput,
1447
- cb: (err: any, data?: DisablePolicyTypeCommandOutput) => void
1448
- ): void;
1449
- public disablePolicyType(
1450
- args: DisablePolicyTypeCommandInput,
1451
- options: __HttpHandlerOptions,
1452
- cb: (err: any, data?: DisablePolicyTypeCommandOutput) => void
1453
- ): void;
1454
- public disablePolicyType(
1455
- args: DisablePolicyTypeCommandInput,
1456
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisablePolicyTypeCommandOutput) => void),
1457
- cb?: (err: any, data?: DisablePolicyTypeCommandOutput) => void
1458
- ): Promise<DisablePolicyTypeCommandOutput> | void {
1459
- const command = new DisablePolicyTypeCommand(args);
1460
- if (typeof optionsOrCb === "function") {
1461
- this.send(command, optionsOrCb);
1462
- } else if (typeof cb === "function") {
1463
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1464
- this.send(command, optionsOrCb || {}, cb);
1465
- } else {
1466
- return this.send(command, optionsOrCb);
1467
- }
1468
- }
1469
-
1470
- /**
1471
- * <p>Enables all features in an organization. This enables the use of organization policies
1472
- * that can restrict the services and actions that can be called in each account. Until you
1473
- * enable all features, you have access only to consolidated billing, and you can't use any
1474
- * of the advanced account administration features that AWS Organizations supports. For more
1475
- * information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">Enabling All Features in Your Organization</a> in the
1476
- * <i>AWS Organizations User Guide.</i>
1477
- * </p>
1478
- * <important>
1479
- * <p>This operation is required only for organizations that were created explicitly
1480
- * with only the consolidated billing features enabled. Calling this operation sends a
1481
- * handshake to every invited account in the organization. The feature set change can
1482
- * be finalized and the additional features enabled only after all administrators in
1483
- * the invited accounts approve the change by accepting the handshake.</p>
1484
- * </important>
1485
- * <p>After you enable all features, you can separately enable or disable individual policy
1486
- * types in a root using <a>EnablePolicyType</a> and <a>DisablePolicyType</a>. To see the status of policy types in a root, use
1487
- * <a>ListRoots</a>.</p>
1488
- * <p>After all invited member accounts accept the handshake, you finalize the feature set
1489
- * change by accepting the handshake that contains <code>"Action":
1490
- * "ENABLE_ALL_FEATURES"</code>. This completes the change.</p>
1491
- * <p>After you enable all features in your organization, the management account in the
1492
- * organization can apply policies on all member accounts. These policies can restrict what
1493
- * users and even administrators in those accounts can do. The management account can apply
1494
- * policies that prevent accounts from leaving the organization. Ensure that your account
1495
- * administrators are aware of this.</p>
1496
- * <p>This operation can be called only from the organization's management account.</p>
1497
- */
1498
- public enableAllFeatures(
1499
- args: EnableAllFeaturesCommandInput,
1500
- options?: __HttpHandlerOptions
1501
- ): Promise<EnableAllFeaturesCommandOutput>;
1502
- public enableAllFeatures(
1503
- args: EnableAllFeaturesCommandInput,
1504
- cb: (err: any, data?: EnableAllFeaturesCommandOutput) => void
1505
- ): void;
1506
- public enableAllFeatures(
1507
- args: EnableAllFeaturesCommandInput,
1508
- options: __HttpHandlerOptions,
1509
- cb: (err: any, data?: EnableAllFeaturesCommandOutput) => void
1510
- ): void;
1511
- public enableAllFeatures(
1512
- args: EnableAllFeaturesCommandInput,
1513
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableAllFeaturesCommandOutput) => void),
1514
- cb?: (err: any, data?: EnableAllFeaturesCommandOutput) => void
1515
- ): Promise<EnableAllFeaturesCommandOutput> | void {
1516
- const command = new EnableAllFeaturesCommand(args);
1517
- if (typeof optionsOrCb === "function") {
1518
- this.send(command, optionsOrCb);
1519
- } else if (typeof cb === "function") {
1520
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1521
- this.send(command, optionsOrCb || {}, cb);
1522
- } else {
1523
- return this.send(command, optionsOrCb);
1524
- }
1525
- }
1526
-
1527
- /**
1528
- * <p>Enables the integration of an AWS service (the service that is specified by
1529
- * <code>ServicePrincipal</code>) with AWS Organizations. When you enable integration, you allow
1530
- * the specified service to create a <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html">service-linked role</a> in
1531
- * all the accounts in your organization. This allows the service to perform operations on
1532
- * your behalf in your organization and its accounts.</p>
1533
- * <important>
1534
- * <p>We recommend that you enable integration between AWS Organizations and the specified AWS
1535
- * service by using the console or commands that are provided by the specified service.
1536
- * Doing so ensures that the service is aware that it can create the resources that are
1537
- * required for the integration. How the service creates those resources in the
1538
- * organization's accounts depends on that service. For more information, see the
1539
- * documentation for the other AWS service.</p>
1540
- * </important>
1541
- * <p>For more information about enabling services to integrate with AWS Organizations, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Integrating AWS Organizations with Other
1542
- * AWS Services</a> in the <i>AWS Organizations User Guide.</i>
1543
- * </p>
1544
- * <p>This operation can be called only from the organization's management account and only
1545
- * if the organization has <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html">enabled all
1546
- * features</a>.</p>
1547
- */
1548
- public enableAWSServiceAccess(
1549
- args: EnableAWSServiceAccessCommandInput,
1550
- options?: __HttpHandlerOptions
1551
- ): Promise<EnableAWSServiceAccessCommandOutput>;
1552
- public enableAWSServiceAccess(
1553
- args: EnableAWSServiceAccessCommandInput,
1554
- cb: (err: any, data?: EnableAWSServiceAccessCommandOutput) => void
1555
- ): void;
1556
- public enableAWSServiceAccess(
1557
- args: EnableAWSServiceAccessCommandInput,
1558
- options: __HttpHandlerOptions,
1559
- cb: (err: any, data?: EnableAWSServiceAccessCommandOutput) => void
1560
- ): void;
1561
- public enableAWSServiceAccess(
1562
- args: EnableAWSServiceAccessCommandInput,
1563
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableAWSServiceAccessCommandOutput) => void),
1564
- cb?: (err: any, data?: EnableAWSServiceAccessCommandOutput) => void
1565
- ): Promise<EnableAWSServiceAccessCommandOutput> | void {
1566
- const command = new EnableAWSServiceAccessCommand(args);
1567
- if (typeof optionsOrCb === "function") {
1568
- this.send(command, optionsOrCb);
1569
- } else if (typeof cb === "function") {
1570
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1571
- this.send(command, optionsOrCb || {}, cb);
1572
- } else {
1573
- return this.send(command, optionsOrCb);
1574
- }
1575
- }
1576
-
1577
- /**
1578
- * <p>Enables a policy type in a root. After you enable a policy type in a root, you can
1579
- * attach policies of that type to the root, any organizational unit (OU), or account in
1580
- * that root. You can undo this by using the <a>DisablePolicyType</a>
1581
- * operation.</p>
1582
- * <p>This is an asynchronous request that AWS performs in the background. AWS
1583
- * recommends that you first use <a>ListRoots</a> to see the status of policy
1584
- * types for a specified root, and then use this operation.</p>
1585
- * <p>This operation can be called only from the organization's management account.</p>
1586
- * <p>You can enable a policy type in a root only if that policy type is available in the
1587
- * organization. To view the status of available policy types in the organization, use
1588
- * <a>DescribeOrganization</a>.</p>
1589
- */
1590
- public enablePolicyType(
1591
- args: EnablePolicyTypeCommandInput,
1592
- options?: __HttpHandlerOptions
1593
- ): Promise<EnablePolicyTypeCommandOutput>;
1594
- public enablePolicyType(
1595
- args: EnablePolicyTypeCommandInput,
1596
- cb: (err: any, data?: EnablePolicyTypeCommandOutput) => void
1597
- ): void;
1598
- public enablePolicyType(
1599
- args: EnablePolicyTypeCommandInput,
1600
- options: __HttpHandlerOptions,
1601
- cb: (err: any, data?: EnablePolicyTypeCommandOutput) => void
1602
- ): void;
1603
- public enablePolicyType(
1604
- args: EnablePolicyTypeCommandInput,
1605
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnablePolicyTypeCommandOutput) => void),
1606
- cb?: (err: any, data?: EnablePolicyTypeCommandOutput) => void
1607
- ): Promise<EnablePolicyTypeCommandOutput> | void {
1608
- const command = new EnablePolicyTypeCommand(args);
1609
- if (typeof optionsOrCb === "function") {
1610
- this.send(command, optionsOrCb);
1611
- } else if (typeof cb === "function") {
1612
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1613
- this.send(command, optionsOrCb || {}, cb);
1614
- } else {
1615
- return this.send(command, optionsOrCb);
1616
- }
1617
- }
1618
-
1619
- /**
1620
- * <p>Sends an invitation to another account to join your organization as a member account.
1621
- * AWS Organizations sends email on your behalf to the email address that is associated with the
1622
- * other account's owner. The invitation is implemented as a <a>Handshake</a>
1623
- * whose details are in the response.</p>
1624
- * <important>
1625
- * <ul>
1626
- * <li>
1627
- * <p>You can invite AWS accounts only from the same seller as the management
1628
- * account. For example, if your organization's management account was created
1629
- * by Amazon Internet Services Pvt. Ltd (AISPL), an AWS seller in India, you
1630
- * can invite only other AISPL accounts to your organization. You can't combine
1631
- * accounts from AISPL and AWS or from any other AWS seller. For more
1632
- * information, see <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html">Consolidated
1633
- * Billing in India</a>.</p>
1634
- * </li>
1635
- * <li>
1636
- * <p>If you receive an exception that indicates that you exceeded your account
1637
- * limits for the organization or that the operation failed because your
1638
- * organization is still initializing, wait one hour and then try again. If the
1639
- * error persists after an hour, contact <a href="https://console.aws.amazon.com/support/home#/">AWS Support</a>.</p>
1640
- * </li>
1641
- * </ul>
1642
- * </important>
1643
- * <p>If the request includes tags, then the requester must have the
1644
- * <code>organizations:TagResource</code> permission.</p>
1645
- * <p>This operation can be called only from the organization's management account.</p>
1646
- */
1647
- public inviteAccountToOrganization(
1648
- args: InviteAccountToOrganizationCommandInput,
1649
- options?: __HttpHandlerOptions
1650
- ): Promise<InviteAccountToOrganizationCommandOutput>;
1651
- public inviteAccountToOrganization(
1652
- args: InviteAccountToOrganizationCommandInput,
1653
- cb: (err: any, data?: InviteAccountToOrganizationCommandOutput) => void
1654
- ): void;
1655
- public inviteAccountToOrganization(
1656
- args: InviteAccountToOrganizationCommandInput,
1657
- options: __HttpHandlerOptions,
1658
- cb: (err: any, data?: InviteAccountToOrganizationCommandOutput) => void
1659
- ): void;
1660
- public inviteAccountToOrganization(
1661
- args: InviteAccountToOrganizationCommandInput,
1662
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: InviteAccountToOrganizationCommandOutput) => void),
1663
- cb?: (err: any, data?: InviteAccountToOrganizationCommandOutput) => void
1664
- ): Promise<InviteAccountToOrganizationCommandOutput> | void {
1665
- const command = new InviteAccountToOrganizationCommand(args);
1666
- if (typeof optionsOrCb === "function") {
1667
- this.send(command, optionsOrCb);
1668
- } else if (typeof cb === "function") {
1669
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1670
- this.send(command, optionsOrCb || {}, cb);
1671
- } else {
1672
- return this.send(command, optionsOrCb);
1673
- }
1674
- }
1675
-
1676
- /**
1677
- * <p>Removes a member account from its parent organization. This version of the operation
1678
- * is performed by the account that wants to leave. To remove a member account as a user in
1679
- * the management account, use <a>RemoveAccountFromOrganization</a>
1680
- * instead.</p>
1681
- * <p>This operation can be called only from a member account in the organization.</p>
1682
- * <important>
1683
- * <ul>
1684
- * <li>
1685
- * <p>The management account in an organization with all features enabled can
1686
- * set service control policies (SCPs) that can restrict what administrators of
1687
- * member accounts can do. This includes preventing them from successfully
1688
- * calling <code>LeaveOrganization</code> and leaving the organization.</p>
1689
- * </li>
1690
- * <li>
1691
- * <p>You can leave an organization as a member account only if the account is
1692
- * configured with the information required to operate as a standalone account.
1693
- * When you create an account in an organization using the AWS Organizations console,
1694
- * API, or CLI commands, the information required of standalone accounts is
1695
- * <i>not</i> automatically collected. For each account that
1696
- * you want to make standalone, you must perform the following steps. If any of
1697
- * the steps are already completed for this account, that step doesn't
1698
- * appear.</p>
1699
- * <ul>
1700
- * <li>
1701
- * <p>Choose a support plan</p>
1702
- * </li>
1703
- * <li>
1704
- * <p>Provide and verify the required contact information</p>
1705
- * </li>
1706
- * <li>
1707
- * <p>Provide a current payment method</p>
1708
- * </li>
1709
- * </ul>
1710
- * <p>AWS uses the payment method to charge for any billable (not free tier)
1711
- * AWS activity that occurs while the account isn't attached to an
1712
- * organization. Follow the steps at <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info"> To leave an organization when all required account information has not
1713
- * yet been provided</a> in the
1714
- * <i>AWS Organizations User Guide.</i>
1715
- * </p>
1716
- * </li>
1717
- * <li>
1718
- * <p>The account that you want to leave must not be a delegated administrator
1719
- * account for any AWS service enabled for your organization. If the account
1720
- * is a delegated administrator, you must first change the delegated
1721
- * administrator account to another account that is remaining in the
1722
- * organization.</p>
1723
- * </li>
1724
- * <li>
1725
- * <p>You can leave an organization only after you enable IAM user access to
1726
- * billing in your account. For more information, see <a href="http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate">Activating Access to the Billing and Cost Management Console</a> in
1727
- * the <i>AWS Billing and Cost Management User Guide.</i>
1728
- * </p>
1729
- * </li>
1730
- * <li>
1731
- * <p>After the account leaves the organization, all tags that were attached to
1732
- * the account object in the organization are deleted. AWS accounts outside
1733
- * of an organization do not support tags.</p>
1734
- * </li>
1735
- * <li>
1736
- * <p>A newly created account has a waiting period before it can be removed from
1737
- * its organization. If you get an error that indicates that a wait period is
1738
- * required, then try again in a few days.</p>
1739
- * </li>
1740
- * </ul>
1741
- * </important>
1742
- */
1743
- public leaveOrganization(
1744
- args: LeaveOrganizationCommandInput,
1745
- options?: __HttpHandlerOptions
1746
- ): Promise<LeaveOrganizationCommandOutput>;
1747
- public leaveOrganization(
1748
- args: LeaveOrganizationCommandInput,
1749
- cb: (err: any, data?: LeaveOrganizationCommandOutput) => void
1750
- ): void;
1751
- public leaveOrganization(
1752
- args: LeaveOrganizationCommandInput,
1753
- options: __HttpHandlerOptions,
1754
- cb: (err: any, data?: LeaveOrganizationCommandOutput) => void
1755
- ): void;
1756
- public leaveOrganization(
1757
- args: LeaveOrganizationCommandInput,
1758
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: LeaveOrganizationCommandOutput) => void),
1759
- cb?: (err: any, data?: LeaveOrganizationCommandOutput) => void
1760
- ): Promise<LeaveOrganizationCommandOutput> | void {
1761
- const command = new LeaveOrganizationCommand(args);
1762
- if (typeof optionsOrCb === "function") {
1763
- this.send(command, optionsOrCb);
1764
- } else if (typeof cb === "function") {
1765
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1766
- this.send(command, optionsOrCb || {}, cb);
1767
- } else {
1768
- return this.send(command, optionsOrCb);
1769
- }
1770
- }
1771
-
1772
- /**
1773
- * <p>Lists all the accounts in the organization. To request only the accounts in a
1774
- * specified root or organizational unit (OU), use the <a>ListAccountsForParent</a> operation instead.</p>
1775
- * <note>
1776
- * <p>Always check the <code>NextToken</code> response parameter
1777
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
1778
- * occasionally return an empty set of results even when there are more results available. The
1779
- * <code>NextToken</code> response parameter value is <code>null</code>
1780
- * <i>only</i>
1781
- * when there are no more results to display.</p>
1782
- * </note>
1783
- * <p>This operation can be called only from the organization's
1784
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1785
- */
1786
- public listAccounts(
1787
- args: ListAccountsCommandInput,
1788
- options?: __HttpHandlerOptions
1789
- ): Promise<ListAccountsCommandOutput>;
1790
- public listAccounts(args: ListAccountsCommandInput, cb: (err: any, data?: ListAccountsCommandOutput) => void): void;
1791
- public listAccounts(
1792
- args: ListAccountsCommandInput,
1793
- options: __HttpHandlerOptions,
1794
- cb: (err: any, data?: ListAccountsCommandOutput) => void
1795
- ): void;
1796
- public listAccounts(
1797
- args: ListAccountsCommandInput,
1798
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAccountsCommandOutput) => void),
1799
- cb?: (err: any, data?: ListAccountsCommandOutput) => void
1800
- ): Promise<ListAccountsCommandOutput> | void {
1801
- const command = new ListAccountsCommand(args);
1802
- if (typeof optionsOrCb === "function") {
1803
- this.send(command, optionsOrCb);
1804
- } else if (typeof cb === "function") {
1805
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1806
- this.send(command, optionsOrCb || {}, cb);
1807
- } else {
1808
- return this.send(command, optionsOrCb);
1809
- }
1810
- }
1811
-
1812
- /**
1813
- * <p>Lists the accounts in an organization that are contained by the specified target root
1814
- * or organizational unit (OU). If you specify the root, you get a list of all the accounts
1815
- * that aren't in any OU. If you specify an OU, you get a list of all the accounts in only
1816
- * that OU and not in any child OUs. To get a list of all accounts in the organization, use
1817
- * the <a>ListAccounts</a> operation.</p>
1818
- * <note>
1819
- * <p>Always check the <code>NextToken</code> response parameter
1820
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
1821
- * occasionally return an empty set of results even when there are more results available. The
1822
- * <code>NextToken</code> response parameter value is <code>null</code>
1823
- * <i>only</i>
1824
- * when there are no more results to display.</p>
1825
- * </note>
1826
- * <p>This operation can be called only from the organization's
1827
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1828
- */
1829
- public listAccountsForParent(
1830
- args: ListAccountsForParentCommandInput,
1831
- options?: __HttpHandlerOptions
1832
- ): Promise<ListAccountsForParentCommandOutput>;
1833
- public listAccountsForParent(
1834
- args: ListAccountsForParentCommandInput,
1835
- cb: (err: any, data?: ListAccountsForParentCommandOutput) => void
1836
- ): void;
1837
- public listAccountsForParent(
1838
- args: ListAccountsForParentCommandInput,
1839
- options: __HttpHandlerOptions,
1840
- cb: (err: any, data?: ListAccountsForParentCommandOutput) => void
1841
- ): void;
1842
- public listAccountsForParent(
1843
- args: ListAccountsForParentCommandInput,
1844
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAccountsForParentCommandOutput) => void),
1845
- cb?: (err: any, data?: ListAccountsForParentCommandOutput) => void
1846
- ): Promise<ListAccountsForParentCommandOutput> | void {
1847
- const command = new ListAccountsForParentCommand(args);
1848
- if (typeof optionsOrCb === "function") {
1849
- this.send(command, optionsOrCb);
1850
- } else if (typeof cb === "function") {
1851
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1852
- this.send(command, optionsOrCb || {}, cb);
1853
- } else {
1854
- return this.send(command, optionsOrCb);
1855
- }
1856
- }
1857
-
1858
- /**
1859
- * <p>Returns a list of the AWS services that you enabled to integrate with your
1860
- * organization. After a service on this list creates the resources that it requires for
1861
- * the integration, it can perform operations on your organization and its accounts.</p>
1862
- * <p>For more information about integrating other services with AWS Organizations, including the
1863
- * list of services that currently work with Organizations, see <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Integrating AWS Organizations with Other
1864
- * AWS Services</a> in the <i>AWS Organizations User Guide.</i>
1865
- * </p>
1866
- * <p>This operation can be called only from the organization's
1867
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1868
- */
1869
- public listAWSServiceAccessForOrganization(
1870
- args: ListAWSServiceAccessForOrganizationCommandInput,
1871
- options?: __HttpHandlerOptions
1872
- ): Promise<ListAWSServiceAccessForOrganizationCommandOutput>;
1873
- public listAWSServiceAccessForOrganization(
1874
- args: ListAWSServiceAccessForOrganizationCommandInput,
1875
- cb: (err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void
1876
- ): void;
1877
- public listAWSServiceAccessForOrganization(
1878
- args: ListAWSServiceAccessForOrganizationCommandInput,
1879
- options: __HttpHandlerOptions,
1880
- cb: (err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void
1881
- ): void;
1882
- public listAWSServiceAccessForOrganization(
1883
- args: ListAWSServiceAccessForOrganizationCommandInput,
1884
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void),
1885
- cb?: (err: any, data?: ListAWSServiceAccessForOrganizationCommandOutput) => void
1886
- ): Promise<ListAWSServiceAccessForOrganizationCommandOutput> | void {
1887
- const command = new ListAWSServiceAccessForOrganizationCommand(args);
1888
- if (typeof optionsOrCb === "function") {
1889
- this.send(command, optionsOrCb);
1890
- } else if (typeof cb === "function") {
1891
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1892
- this.send(command, optionsOrCb || {}, cb);
1893
- } else {
1894
- return this.send(command, optionsOrCb);
1895
- }
1896
- }
1897
-
1898
- /**
1899
- * <p>Lists all of the organizational units (OUs) or accounts that are contained in the
1900
- * specified parent OU or root. This operation, along with <a>ListParents</a>
1901
- * enables you to traverse the tree structure that makes up this root.</p>
1902
- * <note>
1903
- * <p>Always check the <code>NextToken</code> response parameter
1904
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
1905
- * occasionally return an empty set of results even when there are more results available. The
1906
- * <code>NextToken</code> response parameter value is <code>null</code>
1907
- * <i>only</i>
1908
- * when there are no more results to display.</p>
1909
- * </note>
1910
- * <p>This operation can be called only from the organization's
1911
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1912
- */
1913
- public listChildren(
1914
- args: ListChildrenCommandInput,
1915
- options?: __HttpHandlerOptions
1916
- ): Promise<ListChildrenCommandOutput>;
1917
- public listChildren(args: ListChildrenCommandInput, cb: (err: any, data?: ListChildrenCommandOutput) => void): void;
1918
- public listChildren(
1919
- args: ListChildrenCommandInput,
1920
- options: __HttpHandlerOptions,
1921
- cb: (err: any, data?: ListChildrenCommandOutput) => void
1922
- ): void;
1923
- public listChildren(
1924
- args: ListChildrenCommandInput,
1925
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChildrenCommandOutput) => void),
1926
- cb?: (err: any, data?: ListChildrenCommandOutput) => void
1927
- ): Promise<ListChildrenCommandOutput> | void {
1928
- const command = new ListChildrenCommand(args);
1929
- if (typeof optionsOrCb === "function") {
1930
- this.send(command, optionsOrCb);
1931
- } else if (typeof cb === "function") {
1932
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1933
- this.send(command, optionsOrCb || {}, cb);
1934
- } else {
1935
- return this.send(command, optionsOrCb);
1936
- }
1937
- }
1938
-
1939
- /**
1940
- * <p>Lists the account creation requests that match the specified status that is currently
1941
- * being tracked for the organization.</p>
1942
- * <note>
1943
- * <p>Always check the <code>NextToken</code> response parameter
1944
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
1945
- * occasionally return an empty set of results even when there are more results available. The
1946
- * <code>NextToken</code> response parameter value is <code>null</code>
1947
- * <i>only</i>
1948
- * when there are no more results to display.</p>
1949
- * </note>
1950
- * <p>This operation can be called only from the organization's
1951
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1952
- */
1953
- public listCreateAccountStatus(
1954
- args: ListCreateAccountStatusCommandInput,
1955
- options?: __HttpHandlerOptions
1956
- ): Promise<ListCreateAccountStatusCommandOutput>;
1957
- public listCreateAccountStatus(
1958
- args: ListCreateAccountStatusCommandInput,
1959
- cb: (err: any, data?: ListCreateAccountStatusCommandOutput) => void
1960
- ): void;
1961
- public listCreateAccountStatus(
1962
- args: ListCreateAccountStatusCommandInput,
1963
- options: __HttpHandlerOptions,
1964
- cb: (err: any, data?: ListCreateAccountStatusCommandOutput) => void
1965
- ): void;
1966
- public listCreateAccountStatus(
1967
- args: ListCreateAccountStatusCommandInput,
1968
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListCreateAccountStatusCommandOutput) => void),
1969
- cb?: (err: any, data?: ListCreateAccountStatusCommandOutput) => void
1970
- ): Promise<ListCreateAccountStatusCommandOutput> | void {
1971
- const command = new ListCreateAccountStatusCommand(args);
1972
- if (typeof optionsOrCb === "function") {
1973
- this.send(command, optionsOrCb);
1974
- } else if (typeof cb === "function") {
1975
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1976
- this.send(command, optionsOrCb || {}, cb);
1977
- } else {
1978
- return this.send(command, optionsOrCb);
1979
- }
1980
- }
1981
-
1982
- /**
1983
- * <p>Lists the AWS accounts that are designated as delegated administrators in this
1984
- * organization.</p>
1985
- * <p>This operation can be called only from the organization's
1986
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
1987
- */
1988
- public listDelegatedAdministrators(
1989
- args: ListDelegatedAdministratorsCommandInput,
1990
- options?: __HttpHandlerOptions
1991
- ): Promise<ListDelegatedAdministratorsCommandOutput>;
1992
- public listDelegatedAdministrators(
1993
- args: ListDelegatedAdministratorsCommandInput,
1994
- cb: (err: any, data?: ListDelegatedAdministratorsCommandOutput) => void
1995
- ): void;
1996
- public listDelegatedAdministrators(
1997
- args: ListDelegatedAdministratorsCommandInput,
1998
- options: __HttpHandlerOptions,
1999
- cb: (err: any, data?: ListDelegatedAdministratorsCommandOutput) => void
2000
- ): void;
2001
- public listDelegatedAdministrators(
2002
- args: ListDelegatedAdministratorsCommandInput,
2003
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDelegatedAdministratorsCommandOutput) => void),
2004
- cb?: (err: any, data?: ListDelegatedAdministratorsCommandOutput) => void
2005
- ): Promise<ListDelegatedAdministratorsCommandOutput> | void {
2006
- const command = new ListDelegatedAdministratorsCommand(args);
2007
- if (typeof optionsOrCb === "function") {
2008
- this.send(command, optionsOrCb);
2009
- } else if (typeof cb === "function") {
2010
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2011
- this.send(command, optionsOrCb || {}, cb);
2012
- } else {
2013
- return this.send(command, optionsOrCb);
2014
- }
2015
- }
2016
-
2017
- /**
2018
- * <p>List the AWS services for which the specified account is a delegated
2019
- * administrator.</p>
2020
- * <p>This operation can be called only from the organization's
2021
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2022
- */
2023
- public listDelegatedServicesForAccount(
2024
- args: ListDelegatedServicesForAccountCommandInput,
2025
- options?: __HttpHandlerOptions
2026
- ): Promise<ListDelegatedServicesForAccountCommandOutput>;
2027
- public listDelegatedServicesForAccount(
2028
- args: ListDelegatedServicesForAccountCommandInput,
2029
- cb: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void
2030
- ): void;
2031
- public listDelegatedServicesForAccount(
2032
- args: ListDelegatedServicesForAccountCommandInput,
2033
- options: __HttpHandlerOptions,
2034
- cb: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void
2035
- ): void;
2036
- public listDelegatedServicesForAccount(
2037
- args: ListDelegatedServicesForAccountCommandInput,
2038
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void),
2039
- cb?: (err: any, data?: ListDelegatedServicesForAccountCommandOutput) => void
2040
- ): Promise<ListDelegatedServicesForAccountCommandOutput> | void {
2041
- const command = new ListDelegatedServicesForAccountCommand(args);
2042
- if (typeof optionsOrCb === "function") {
2043
- this.send(command, optionsOrCb);
2044
- } else if (typeof cb === "function") {
2045
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2046
- this.send(command, optionsOrCb || {}, cb);
2047
- } else {
2048
- return this.send(command, optionsOrCb);
2049
- }
2050
- }
2051
-
2052
- /**
2053
- * <p>Lists the current handshakes that are associated with the account of the requesting
2054
- * user.</p>
2055
- * <p>Handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or
2056
- * <code>CANCELED</code> appear in the results of this API for only 30 days after
2057
- * changing to that state. After that, they're deleted and no longer accessible.</p>
2058
- * <note>
2059
- * <p>Always check the <code>NextToken</code> response parameter
2060
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2061
- * occasionally return an empty set of results even when there are more results available. The
2062
- * <code>NextToken</code> response parameter value is <code>null</code>
2063
- * <i>only</i>
2064
- * when there are no more results to display.</p>
2065
- * </note>
2066
- * <p>This operation can be called from any account in the organization.</p>
2067
- */
2068
- public listHandshakesForAccount(
2069
- args: ListHandshakesForAccountCommandInput,
2070
- options?: __HttpHandlerOptions
2071
- ): Promise<ListHandshakesForAccountCommandOutput>;
2072
- public listHandshakesForAccount(
2073
- args: ListHandshakesForAccountCommandInput,
2074
- cb: (err: any, data?: ListHandshakesForAccountCommandOutput) => void
2075
- ): void;
2076
- public listHandshakesForAccount(
2077
- args: ListHandshakesForAccountCommandInput,
2078
- options: __HttpHandlerOptions,
2079
- cb: (err: any, data?: ListHandshakesForAccountCommandOutput) => void
2080
- ): void;
2081
- public listHandshakesForAccount(
2082
- args: ListHandshakesForAccountCommandInput,
2083
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHandshakesForAccountCommandOutput) => void),
2084
- cb?: (err: any, data?: ListHandshakesForAccountCommandOutput) => void
2085
- ): Promise<ListHandshakesForAccountCommandOutput> | void {
2086
- const command = new ListHandshakesForAccountCommand(args);
2087
- if (typeof optionsOrCb === "function") {
2088
- this.send(command, optionsOrCb);
2089
- } else if (typeof cb === "function") {
2090
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2091
- this.send(command, optionsOrCb || {}, cb);
2092
- } else {
2093
- return this.send(command, optionsOrCb);
2094
- }
2095
- }
2096
-
2097
- /**
2098
- * <p>Lists the handshakes that are associated with the organization that the requesting
2099
- * user is part of. The <code>ListHandshakesForOrganization</code> operation returns a list
2100
- * of handshake structures. Each structure contains details and status about a
2101
- * handshake.</p>
2102
- * <p>Handshakes that are <code>ACCEPTED</code>, <code>DECLINED</code>, or
2103
- * <code>CANCELED</code> appear in the results of this API for only 30 days after
2104
- * changing to that state. After that, they're deleted and no longer accessible.</p>
2105
- * <note>
2106
- * <p>Always check the <code>NextToken</code> response parameter
2107
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2108
- * occasionally return an empty set of results even when there are more results available. The
2109
- * <code>NextToken</code> response parameter value is <code>null</code>
2110
- * <i>only</i>
2111
- * when there are no more results to display.</p>
2112
- * </note>
2113
- * <p>This operation can be called only from the organization's
2114
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2115
- */
2116
- public listHandshakesForOrganization(
2117
- args: ListHandshakesForOrganizationCommandInput,
2118
- options?: __HttpHandlerOptions
2119
- ): Promise<ListHandshakesForOrganizationCommandOutput>;
2120
- public listHandshakesForOrganization(
2121
- args: ListHandshakesForOrganizationCommandInput,
2122
- cb: (err: any, data?: ListHandshakesForOrganizationCommandOutput) => void
2123
- ): void;
2124
- public listHandshakesForOrganization(
2125
- args: ListHandshakesForOrganizationCommandInput,
2126
- options: __HttpHandlerOptions,
2127
- cb: (err: any, data?: ListHandshakesForOrganizationCommandOutput) => void
2128
- ): void;
2129
- public listHandshakesForOrganization(
2130
- args: ListHandshakesForOrganizationCommandInput,
2131
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHandshakesForOrganizationCommandOutput) => void),
2132
- cb?: (err: any, data?: ListHandshakesForOrganizationCommandOutput) => void
2133
- ): Promise<ListHandshakesForOrganizationCommandOutput> | void {
2134
- const command = new ListHandshakesForOrganizationCommand(args);
2135
- if (typeof optionsOrCb === "function") {
2136
- this.send(command, optionsOrCb);
2137
- } else if (typeof cb === "function") {
2138
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2139
- this.send(command, optionsOrCb || {}, cb);
2140
- } else {
2141
- return this.send(command, optionsOrCb);
2142
- }
2143
- }
2144
-
2145
- /**
2146
- * <p>Lists the organizational units (OUs) in a parent organizational unit or root.</p>
2147
- * <note>
2148
- * <p>Always check the <code>NextToken</code> response parameter
2149
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2150
- * occasionally return an empty set of results even when there are more results available. The
2151
- * <code>NextToken</code> response parameter value is <code>null</code>
2152
- * <i>only</i>
2153
- * when there are no more results to display.</p>
2154
- * </note>
2155
- * <p>This operation can be called only from the organization's
2156
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2157
- */
2158
- public listOrganizationalUnitsForParent(
2159
- args: ListOrganizationalUnitsForParentCommandInput,
2160
- options?: __HttpHandlerOptions
2161
- ): Promise<ListOrganizationalUnitsForParentCommandOutput>;
2162
- public listOrganizationalUnitsForParent(
2163
- args: ListOrganizationalUnitsForParentCommandInput,
2164
- cb: (err: any, data?: ListOrganizationalUnitsForParentCommandOutput) => void
2165
- ): void;
2166
- public listOrganizationalUnitsForParent(
2167
- args: ListOrganizationalUnitsForParentCommandInput,
2168
- options: __HttpHandlerOptions,
2169
- cb: (err: any, data?: ListOrganizationalUnitsForParentCommandOutput) => void
2170
- ): void;
2171
- public listOrganizationalUnitsForParent(
2172
- args: ListOrganizationalUnitsForParentCommandInput,
2173
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOrganizationalUnitsForParentCommandOutput) => void),
2174
- cb?: (err: any, data?: ListOrganizationalUnitsForParentCommandOutput) => void
2175
- ): Promise<ListOrganizationalUnitsForParentCommandOutput> | void {
2176
- const command = new ListOrganizationalUnitsForParentCommand(args);
2177
- if (typeof optionsOrCb === "function") {
2178
- this.send(command, optionsOrCb);
2179
- } else if (typeof cb === "function") {
2180
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2181
- this.send(command, optionsOrCb || {}, cb);
2182
- } else {
2183
- return this.send(command, optionsOrCb);
2184
- }
2185
- }
2186
-
2187
- /**
2188
- * <p>Lists the root or organizational units (OUs) that serve as the immediate parent of the
2189
- * specified child OU or account. This operation, along with <a>ListChildren</a>
2190
- * enables you to traverse the tree structure that makes up this root.</p>
2191
- * <note>
2192
- * <p>Always check the <code>NextToken</code> response parameter
2193
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2194
- * occasionally return an empty set of results even when there are more results available. The
2195
- * <code>NextToken</code> response parameter value is <code>null</code>
2196
- * <i>only</i>
2197
- * when there are no more results to display.</p>
2198
- * </note>
2199
- * <p>This operation can be called only from the organization's
2200
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2201
- * <note>
2202
- * <p>In the current release, a child can have only a single parent.</p>
2203
- * </note>
2204
- */
2205
- public listParents(args: ListParentsCommandInput, options?: __HttpHandlerOptions): Promise<ListParentsCommandOutput>;
2206
- public listParents(args: ListParentsCommandInput, cb: (err: any, data?: ListParentsCommandOutput) => void): void;
2207
- public listParents(
2208
- args: ListParentsCommandInput,
2209
- options: __HttpHandlerOptions,
2210
- cb: (err: any, data?: ListParentsCommandOutput) => void
2211
- ): void;
2212
- public listParents(
2213
- args: ListParentsCommandInput,
2214
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListParentsCommandOutput) => void),
2215
- cb?: (err: any, data?: ListParentsCommandOutput) => void
2216
- ): Promise<ListParentsCommandOutput> | void {
2217
- const command = new ListParentsCommand(args);
2218
- if (typeof optionsOrCb === "function") {
2219
- this.send(command, optionsOrCb);
2220
- } else if (typeof cb === "function") {
2221
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2222
- this.send(command, optionsOrCb || {}, cb);
2223
- } else {
2224
- return this.send(command, optionsOrCb);
2225
- }
2226
- }
2227
-
2228
- /**
2229
- * <p>Retrieves the list of all policies in an organization of a specified type.</p>
2230
- * <note>
2231
- * <p>Always check the <code>NextToken</code> response parameter
2232
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2233
- * occasionally return an empty set of results even when there are more results available. The
2234
- * <code>NextToken</code> response parameter value is <code>null</code>
2235
- * <i>only</i>
2236
- * when there are no more results to display.</p>
2237
- * </note>
2238
- * <p>This operation can be called only from the organization's
2239
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2240
- */
2241
- public listPolicies(
2242
- args: ListPoliciesCommandInput,
2243
- options?: __HttpHandlerOptions
2244
- ): Promise<ListPoliciesCommandOutput>;
2245
- public listPolicies(args: ListPoliciesCommandInput, cb: (err: any, data?: ListPoliciesCommandOutput) => void): void;
2246
- public listPolicies(
2247
- args: ListPoliciesCommandInput,
2248
- options: __HttpHandlerOptions,
2249
- cb: (err: any, data?: ListPoliciesCommandOutput) => void
2250
- ): void;
2251
- public listPolicies(
2252
- args: ListPoliciesCommandInput,
2253
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPoliciesCommandOutput) => void),
2254
- cb?: (err: any, data?: ListPoliciesCommandOutput) => void
2255
- ): Promise<ListPoliciesCommandOutput> | void {
2256
- const command = new ListPoliciesCommand(args);
2257
- if (typeof optionsOrCb === "function") {
2258
- this.send(command, optionsOrCb);
2259
- } else if (typeof cb === "function") {
2260
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2261
- this.send(command, optionsOrCb || {}, cb);
2262
- } else {
2263
- return this.send(command, optionsOrCb);
2264
- }
2265
- }
2266
-
2267
- /**
2268
- * <p>Lists the policies that are directly attached to the specified target root,
2269
- * organizational unit (OU), or account. You must specify the policy type that you want
2270
- * included in the returned list.</p>
2271
- * <note>
2272
- * <p>Always check the <code>NextToken</code> response parameter
2273
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2274
- * occasionally return an empty set of results even when there are more results available. The
2275
- * <code>NextToken</code> response parameter value is <code>null</code>
2276
- * <i>only</i>
2277
- * when there are no more results to display.</p>
2278
- * </note>
2279
- * <p>This operation can be called only from the organization's
2280
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2281
- */
2282
- public listPoliciesForTarget(
2283
- args: ListPoliciesForTargetCommandInput,
2284
- options?: __HttpHandlerOptions
2285
- ): Promise<ListPoliciesForTargetCommandOutput>;
2286
- public listPoliciesForTarget(
2287
- args: ListPoliciesForTargetCommandInput,
2288
- cb: (err: any, data?: ListPoliciesForTargetCommandOutput) => void
2289
- ): void;
2290
- public listPoliciesForTarget(
2291
- args: ListPoliciesForTargetCommandInput,
2292
- options: __HttpHandlerOptions,
2293
- cb: (err: any, data?: ListPoliciesForTargetCommandOutput) => void
2294
- ): void;
2295
- public listPoliciesForTarget(
2296
- args: ListPoliciesForTargetCommandInput,
2297
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPoliciesForTargetCommandOutput) => void),
2298
- cb?: (err: any, data?: ListPoliciesForTargetCommandOutput) => void
2299
- ): Promise<ListPoliciesForTargetCommandOutput> | void {
2300
- const command = new ListPoliciesForTargetCommand(args);
2301
- if (typeof optionsOrCb === "function") {
2302
- this.send(command, optionsOrCb);
2303
- } else if (typeof cb === "function") {
2304
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2305
- this.send(command, optionsOrCb || {}, cb);
2306
- } else {
2307
- return this.send(command, optionsOrCb);
2308
- }
2309
- }
2310
-
2311
- /**
2312
- * <p>Lists the roots that are defined in the current organization.</p>
2313
- * <note>
2314
- * <p>Always check the <code>NextToken</code> response parameter
2315
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2316
- * occasionally return an empty set of results even when there are more results available. The
2317
- * <code>NextToken</code> response parameter value is <code>null</code>
2318
- * <i>only</i>
2319
- * when there are no more results to display.</p>
2320
- * </note>
2321
- * <p>This operation can be called only from the organization's
2322
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2323
- * <note>
2324
- * <p>Policy types can be enabled and disabled in roots. This is distinct from whether
2325
- * they're available in the organization. When you enable all features, you make policy
2326
- * types available for use in that organization. Individual policy types can then be
2327
- * enabled and disabled in a root. To see the availability of a policy type in an
2328
- * organization, use <a>DescribeOrganization</a>.</p>
2329
- * </note>
2330
- */
2331
- public listRoots(args: ListRootsCommandInput, options?: __HttpHandlerOptions): Promise<ListRootsCommandOutput>;
2332
- public listRoots(args: ListRootsCommandInput, cb: (err: any, data?: ListRootsCommandOutput) => void): void;
2333
- public listRoots(
2334
- args: ListRootsCommandInput,
2335
- options: __HttpHandlerOptions,
2336
- cb: (err: any, data?: ListRootsCommandOutput) => void
2337
- ): void;
2338
- public listRoots(
2339
- args: ListRootsCommandInput,
2340
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRootsCommandOutput) => void),
2341
- cb?: (err: any, data?: ListRootsCommandOutput) => void
2342
- ): Promise<ListRootsCommandOutput> | void {
2343
- const command = new ListRootsCommand(args);
2344
- if (typeof optionsOrCb === "function") {
2345
- this.send(command, optionsOrCb);
2346
- } else if (typeof cb === "function") {
2347
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2348
- this.send(command, optionsOrCb || {}, cb);
2349
- } else {
2350
- return this.send(command, optionsOrCb);
2351
- }
2352
- }
2353
-
2354
- /**
2355
- * <p>Lists tags that are attached to the specified resource.</p>
2356
- * <p>You can attach tags to the following resources in AWS Organizations.</p>
2357
- * <ul>
2358
- * <li>
2359
- * <p>AWS account</p>
2360
- * </li>
2361
- * <li>
2362
- * <p>Organization root</p>
2363
- * </li>
2364
- * <li>
2365
- * <p>Organizational unit (OU)</p>
2366
- * </li>
2367
- * <li>
2368
- * <p>Policy (any type)</p>
2369
- * </li>
2370
- * </ul>
2371
- * <p>This operation can be called only from the organization's
2372
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2373
- */
2374
- public listTagsForResource(
2375
- args: ListTagsForResourceCommandInput,
2376
- options?: __HttpHandlerOptions
2377
- ): Promise<ListTagsForResourceCommandOutput>;
2378
- public listTagsForResource(
2379
- args: ListTagsForResourceCommandInput,
2380
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
2381
- ): void;
2382
- public listTagsForResource(
2383
- args: ListTagsForResourceCommandInput,
2384
- options: __HttpHandlerOptions,
2385
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
2386
- ): void;
2387
- public listTagsForResource(
2388
- args: ListTagsForResourceCommandInput,
2389
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
2390
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
2391
- ): Promise<ListTagsForResourceCommandOutput> | void {
2392
- const command = new ListTagsForResourceCommand(args);
2393
- if (typeof optionsOrCb === "function") {
2394
- this.send(command, optionsOrCb);
2395
- } else if (typeof cb === "function") {
2396
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2397
- this.send(command, optionsOrCb || {}, cb);
2398
- } else {
2399
- return this.send(command, optionsOrCb);
2400
- }
2401
- }
2402
-
2403
- /**
2404
- * <p>Lists all the roots, organizational units (OUs), and accounts that the specified
2405
- * policy is attached to.</p>
2406
- * <note>
2407
- * <p>Always check the <code>NextToken</code> response parameter
2408
- * for a <code>null</code> value when calling a <code>List*</code> operation. These operations can
2409
- * occasionally return an empty set of results even when there are more results available. The
2410
- * <code>NextToken</code> response parameter value is <code>null</code>
2411
- * <i>only</i>
2412
- * when there are no more results to display.</p>
2413
- * </note>
2414
- * <p>This operation can be called only from the organization's
2415
- * management account or by a member account that is a delegated administrator for an AWS service.</p>
2416
- */
2417
- public listTargetsForPolicy(
2418
- args: ListTargetsForPolicyCommandInput,
2419
- options?: __HttpHandlerOptions
2420
- ): Promise<ListTargetsForPolicyCommandOutput>;
2421
- public listTargetsForPolicy(
2422
- args: ListTargetsForPolicyCommandInput,
2423
- cb: (err: any, data?: ListTargetsForPolicyCommandOutput) => void
2424
- ): void;
2425
- public listTargetsForPolicy(
2426
- args: ListTargetsForPolicyCommandInput,
2427
- options: __HttpHandlerOptions,
2428
- cb: (err: any, data?: ListTargetsForPolicyCommandOutput) => void
2429
- ): void;
2430
- public listTargetsForPolicy(
2431
- args: ListTargetsForPolicyCommandInput,
2432
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTargetsForPolicyCommandOutput) => void),
2433
- cb?: (err: any, data?: ListTargetsForPolicyCommandOutput) => void
2434
- ): Promise<ListTargetsForPolicyCommandOutput> | void {
2435
- const command = new ListTargetsForPolicyCommand(args);
2436
- if (typeof optionsOrCb === "function") {
2437
- this.send(command, optionsOrCb);
2438
- } else if (typeof cb === "function") {
2439
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2440
- this.send(command, optionsOrCb || {}, cb);
2441
- } else {
2442
- return this.send(command, optionsOrCb);
2443
- }
2444
- }
2445
-
2446
- /**
2447
- * <p>Moves an account from its current source parent root or organizational unit (OU) to
2448
- * the specified destination parent root or OU.</p>
2449
- * <p>This operation can be called only from the organization's management account.</p>
2450
- */
2451
- public moveAccount(args: MoveAccountCommandInput, options?: __HttpHandlerOptions): Promise<MoveAccountCommandOutput>;
2452
- public moveAccount(args: MoveAccountCommandInput, cb: (err: any, data?: MoveAccountCommandOutput) => void): void;
2453
- public moveAccount(
2454
- args: MoveAccountCommandInput,
2455
- options: __HttpHandlerOptions,
2456
- cb: (err: any, data?: MoveAccountCommandOutput) => void
2457
- ): void;
2458
- public moveAccount(
2459
- args: MoveAccountCommandInput,
2460
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: MoveAccountCommandOutput) => void),
2461
- cb?: (err: any, data?: MoveAccountCommandOutput) => void
2462
- ): Promise<MoveAccountCommandOutput> | void {
2463
- const command = new MoveAccountCommand(args);
2464
- if (typeof optionsOrCb === "function") {
2465
- this.send(command, optionsOrCb);
2466
- } else if (typeof cb === "function") {
2467
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2468
- this.send(command, optionsOrCb || {}, cb);
2469
- } else {
2470
- return this.send(command, optionsOrCb);
2471
- }
2472
- }
2473
-
2474
- /**
2475
- * <p>Enables the specified member account to administer the Organizations features of the specified
2476
- * AWS service. It grants read-only access to AWS Organizations service data. The account still
2477
- * requires IAM permissions to access and administer the AWS service.</p>
2478
- * <p>You can run this action only for AWS services that support this
2479
- * feature. For a current list of services that support it, see the column <i>Supports
2480
- * Delegated Administrator</i> in the table at <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services_list.html">AWS Services that you can use with
2481
- * AWS Organizations</a> in the <i>AWS Organizations User Guide.</i>
2482
- * </p>
2483
- * <p>This operation can be called only from the organization's management account.</p>
2484
- */
2485
- public registerDelegatedAdministrator(
2486
- args: RegisterDelegatedAdministratorCommandInput,
2487
- options?: __HttpHandlerOptions
2488
- ): Promise<RegisterDelegatedAdministratorCommandOutput>;
2489
- public registerDelegatedAdministrator(
2490
- args: RegisterDelegatedAdministratorCommandInput,
2491
- cb: (err: any, data?: RegisterDelegatedAdministratorCommandOutput) => void
2492
- ): void;
2493
- public registerDelegatedAdministrator(
2494
- args: RegisterDelegatedAdministratorCommandInput,
2495
- options: __HttpHandlerOptions,
2496
- cb: (err: any, data?: RegisterDelegatedAdministratorCommandOutput) => void
2497
- ): void;
2498
- public registerDelegatedAdministrator(
2499
- args: RegisterDelegatedAdministratorCommandInput,
2500
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterDelegatedAdministratorCommandOutput) => void),
2501
- cb?: (err: any, data?: RegisterDelegatedAdministratorCommandOutput) => void
2502
- ): Promise<RegisterDelegatedAdministratorCommandOutput> | void {
2503
- const command = new RegisterDelegatedAdministratorCommand(args);
2504
- if (typeof optionsOrCb === "function") {
2505
- this.send(command, optionsOrCb);
2506
- } else if (typeof cb === "function") {
2507
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2508
- this.send(command, optionsOrCb || {}, cb);
2509
- } else {
2510
- return this.send(command, optionsOrCb);
2511
- }
2512
- }
2513
-
2514
- /**
2515
- * <p>Removes the specified account from the organization.</p>
2516
- * <p>The removed account becomes a standalone account that isn't a member of any
2517
- * organization. It's no longer subject to any policies and is responsible for its own bill
2518
- * payments. The organization's management account is no longer charged for any expenses
2519
- * accrued by the member account after it's removed from the organization.</p>
2520
- * <p>This operation can be called only from the organization's management account. Member accounts can remove themselves with <a>LeaveOrganization</a> instead.</p>
2521
- * <important>
2522
- * <ul>
2523
- * <li>
2524
- * <p>You can remove an account from your organization only if the account is
2525
- * configured with the information required to operate as a standalone account.
2526
- * When you create an account in an organization using the AWS Organizations console,
2527
- * API, or CLI commands, the information required of standalone accounts is
2528
- * <i>not</i> automatically collected. For an account that
2529
- * you want to make standalone, you must choose a support plan, provide and
2530
- * verify the required contact information, and provide a current payment
2531
- * method. AWS uses the payment method to charge for any billable (not free
2532
- * tier) AWS activity that occurs while the account isn't attached to an
2533
- * organization. To remove an account that doesn't yet have this information,
2534
- * you must sign in as the member account and follow the steps at <a href="http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info"> To leave an organization when all required account information has not
2535
- * yet been provided</a> in the
2536
- * <i>AWS Organizations User Guide.</i>
2537
- * </p>
2538
- * </li>
2539
- * <li>
2540
- * <p>The account that you want to leave must not be a delegated administrator
2541
- * account for any AWS service enabled for your organization. If the account
2542
- * is a delegated administrator, you must first change the delegated
2543
- * administrator account to another account that is remaining in the
2544
- * organization.</p>
2545
- * </li>
2546
- * <li>
2547
- * <p>After the account leaves the organization, all tags that were attached to
2548
- * the account object in the organization are deleted. AWS accounts outside
2549
- * of an organization do not support tags.</p>
2550
- * </li>
2551
- * </ul>
2552
- * </important>
2553
- */
2554
- public removeAccountFromOrganization(
2555
- args: RemoveAccountFromOrganizationCommandInput,
2556
- options?: __HttpHandlerOptions
2557
- ): Promise<RemoveAccountFromOrganizationCommandOutput>;
2558
- public removeAccountFromOrganization(
2559
- args: RemoveAccountFromOrganizationCommandInput,
2560
- cb: (err: any, data?: RemoveAccountFromOrganizationCommandOutput) => void
2561
- ): void;
2562
- public removeAccountFromOrganization(
2563
- args: RemoveAccountFromOrganizationCommandInput,
2564
- options: __HttpHandlerOptions,
2565
- cb: (err: any, data?: RemoveAccountFromOrganizationCommandOutput) => void
2566
- ): void;
2567
- public removeAccountFromOrganization(
2568
- args: RemoveAccountFromOrganizationCommandInput,
2569
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveAccountFromOrganizationCommandOutput) => void),
2570
- cb?: (err: any, data?: RemoveAccountFromOrganizationCommandOutput) => void
2571
- ): Promise<RemoveAccountFromOrganizationCommandOutput> | void {
2572
- const command = new RemoveAccountFromOrganizationCommand(args);
2573
- if (typeof optionsOrCb === "function") {
2574
- this.send(command, optionsOrCb);
2575
- } else if (typeof cb === "function") {
2576
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2577
- this.send(command, optionsOrCb || {}, cb);
2578
- } else {
2579
- return this.send(command, optionsOrCb);
2580
- }
2581
- }
2582
-
2583
- /**
2584
- * <p>Adds one or more tags to the specified resource.</p>
2585
- * <p>Currently, you can attach tags to the following resources in AWS Organizations.</p>
2586
- * <ul>
2587
- * <li>
2588
- * <p>AWS account</p>
2589
- * </li>
2590
- * <li>
2591
- * <p>Organization root</p>
2592
- * </li>
2593
- * <li>
2594
- * <p>Organizational unit (OU)</p>
2595
- * </li>
2596
- * <li>
2597
- * <p>Policy (any type)</p>
2598
- * </li>
2599
- * </ul>
2600
- * <p>This operation can be called only from the organization's management account.</p>
2601
- */
2602
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
2603
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
2604
- public tagResource(
2605
- args: TagResourceCommandInput,
2606
- options: __HttpHandlerOptions,
2607
- cb: (err: any, data?: TagResourceCommandOutput) => void
2608
- ): void;
2609
- public tagResource(
2610
- args: TagResourceCommandInput,
2611
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
2612
- cb?: (err: any, data?: TagResourceCommandOutput) => void
2613
- ): Promise<TagResourceCommandOutput> | void {
2614
- const command = new TagResourceCommand(args);
2615
- if (typeof optionsOrCb === "function") {
2616
- this.send(command, optionsOrCb);
2617
- } else if (typeof cb === "function") {
2618
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2619
- this.send(command, optionsOrCb || {}, cb);
2620
- } else {
2621
- return this.send(command, optionsOrCb);
2622
- }
2623
- }
2624
-
2625
- /**
2626
- * <p>Removes any tags with the specified keys from the specified resource.</p>
2627
- * <p>You can attach tags to the following resources in AWS Organizations.</p>
2628
- * <ul>
2629
- * <li>
2630
- * <p>AWS account</p>
2631
- * </li>
2632
- * <li>
2633
- * <p>Organization root</p>
2634
- * </li>
2635
- * <li>
2636
- * <p>Organizational unit (OU)</p>
2637
- * </li>
2638
- * <li>
2639
- * <p>Policy (any type)</p>
2640
- * </li>
2641
- * </ul>
2642
- * <p>This operation can be called only from the organization's management account.</p>
2643
- */
2644
- public untagResource(
2645
- args: UntagResourceCommandInput,
2646
- options?: __HttpHandlerOptions
2647
- ): Promise<UntagResourceCommandOutput>;
2648
- public untagResource(
2649
- args: UntagResourceCommandInput,
2650
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2651
- ): void;
2652
- public untagResource(
2653
- args: UntagResourceCommandInput,
2654
- options: __HttpHandlerOptions,
2655
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2656
- ): void;
2657
- public untagResource(
2658
- args: UntagResourceCommandInput,
2659
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
2660
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
2661
- ): Promise<UntagResourceCommandOutput> | void {
2662
- const command = new UntagResourceCommand(args);
2663
- if (typeof optionsOrCb === "function") {
2664
- this.send(command, optionsOrCb);
2665
- } else if (typeof cb === "function") {
2666
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2667
- this.send(command, optionsOrCb || {}, cb);
2668
- } else {
2669
- return this.send(command, optionsOrCb);
2670
- }
2671
- }
2672
-
2673
- /**
2674
- * <p>Renames the specified organizational unit (OU). The ID and ARN don't change. The child
2675
- * OUs and accounts remain in place, and any attached policies of the OU remain
2676
- * attached.</p>
2677
- * <p>This operation can be called only from the organization's management account.</p>
2678
- */
2679
- public updateOrganizationalUnit(
2680
- args: UpdateOrganizationalUnitCommandInput,
2681
- options?: __HttpHandlerOptions
2682
- ): Promise<UpdateOrganizationalUnitCommandOutput>;
2683
- public updateOrganizationalUnit(
2684
- args: UpdateOrganizationalUnitCommandInput,
2685
- cb: (err: any, data?: UpdateOrganizationalUnitCommandOutput) => void
2686
- ): void;
2687
- public updateOrganizationalUnit(
2688
- args: UpdateOrganizationalUnitCommandInput,
2689
- options: __HttpHandlerOptions,
2690
- cb: (err: any, data?: UpdateOrganizationalUnitCommandOutput) => void
2691
- ): void;
2692
- public updateOrganizationalUnit(
2693
- args: UpdateOrganizationalUnitCommandInput,
2694
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateOrganizationalUnitCommandOutput) => void),
2695
- cb?: (err: any, data?: UpdateOrganizationalUnitCommandOutput) => void
2696
- ): Promise<UpdateOrganizationalUnitCommandOutput> | void {
2697
- const command = new UpdateOrganizationalUnitCommand(args);
2698
- if (typeof optionsOrCb === "function") {
2699
- this.send(command, optionsOrCb);
2700
- } else if (typeof cb === "function") {
2701
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2702
- this.send(command, optionsOrCb || {}, cb);
2703
- } else {
2704
- return this.send(command, optionsOrCb);
2705
- }
2706
- }
2707
-
2708
- /**
2709
- * <p>Updates an existing policy with a new name, description, or content. If you don't
2710
- * supply any parameter, that value remains unchanged. You can't change a policy's
2711
- * type.</p>
2712
- * <p>This operation can be called only from the organization's management account.</p>
2713
- */
2714
- public updatePolicy(
2715
- args: UpdatePolicyCommandInput,
2716
- options?: __HttpHandlerOptions
2717
- ): Promise<UpdatePolicyCommandOutput>;
2718
- public updatePolicy(args: UpdatePolicyCommandInput, cb: (err: any, data?: UpdatePolicyCommandOutput) => void): void;
2719
- public updatePolicy(
2720
- args: UpdatePolicyCommandInput,
2721
- options: __HttpHandlerOptions,
2722
- cb: (err: any, data?: UpdatePolicyCommandOutput) => void
2723
- ): void;
2724
- public updatePolicy(
2725
- args: UpdatePolicyCommandInput,
2726
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePolicyCommandOutput) => void),
2727
- cb?: (err: any, data?: UpdatePolicyCommandOutput) => void
2728
- ): Promise<UpdatePolicyCommandOutput> | void {
2729
- const command = new UpdatePolicyCommand(args);
2730
- if (typeof optionsOrCb === "function") {
2731
- this.send(command, optionsOrCb);
2732
- } else if (typeof cb === "function") {
2733
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2734
- this.send(command, optionsOrCb || {}, cb);
2735
- } else {
2736
- return this.send(command, optionsOrCb);
2737
- }
2738
- }
2739
- }