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