@volcengine/organization 1.0.1

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 (350) hide show
  1. package/.turbo/turbo-build.log +19 -0
  2. package/LICENSE.txt +202 -0
  3. package/dist/cjs/index.js +525 -0
  4. package/dist/esm/api.d.ts +540 -0
  5. package/dist/esm/api.d.ts.map +1 -0
  6. package/dist/esm/index.d.ts +13 -0
  7. package/dist/esm/index.d.ts.map +1 -0
  8. package/dist/esm/index.mjs +350 -0
  9. package/dist/esm/types/accept-invitation-request.d.ts +30 -0
  10. package/dist/esm/types/accept-invitation-request.d.ts.map +1 -0
  11. package/dist/esm/types/accept-invitation-response.d.ts +20 -0
  12. package/dist/esm/types/accept-invitation-response.d.ts.map +1 -0
  13. package/dist/esm/types/accept-quit-application-request.d.ts +35 -0
  14. package/dist/esm/types/accept-quit-application-request.d.ts.map +1 -0
  15. package/dist/esm/types/accept-quit-application-response.d.ts +20 -0
  16. package/dist/esm/types/accept-quit-application-response.d.ts.map +1 -0
  17. package/dist/esm/types/account-for-describe-account-output.d.ts +115 -0
  18. package/dist/esm/types/account-for-describe-account-output.d.ts.map +1 -0
  19. package/dist/esm/types/account-list-for-list-accounts-output.d.ts +126 -0
  20. package/dist/esm/types/account-list-for-list-accounts-output.d.ts.map +1 -0
  21. package/dist/esm/types/attach-service-control-policy-request.d.ts +35 -0
  22. package/dist/esm/types/attach-service-control-policy-request.d.ts.map +1 -0
  23. package/dist/esm/types/attach-service-control-policy-response.d.ts +20 -0
  24. package/dist/esm/types/attach-service-control-policy-response.d.ts.map +1 -0
  25. package/dist/esm/types/cancel-change-account-secure-contact-info-request.d.ts +30 -0
  26. package/dist/esm/types/cancel-change-account-secure-contact-info-request.d.ts.map +1 -0
  27. package/dist/esm/types/cancel-change-account-secure-contact-info-response.d.ts +20 -0
  28. package/dist/esm/types/cancel-change-account-secure-contact-info-response.d.ts.map +1 -0
  29. package/dist/esm/types/cancel-invitation-request.d.ts +25 -0
  30. package/dist/esm/types/cancel-invitation-request.d.ts.map +1 -0
  31. package/dist/esm/types/cancel-invitation-response.d.ts +20 -0
  32. package/dist/esm/types/cancel-invitation-response.d.ts.map +1 -0
  33. package/dist/esm/types/change-account-secure-contact-info-request.d.ts +35 -0
  34. package/dist/esm/types/change-account-secure-contact-info-request.d.ts.map +1 -0
  35. package/dist/esm/types/change-account-secure-contact-info-response.d.ts +20 -0
  36. package/dist/esm/types/change-account-secure-contact-info-response.d.ts.map +1 -0
  37. package/dist/esm/types/create-account-request.d.ts +50 -0
  38. package/dist/esm/types/create-account-request.d.ts.map +1 -0
  39. package/dist/esm/types/create-account-response.d.ts +25 -0
  40. package/dist/esm/types/create-account-response.d.ts.map +1 -0
  41. package/dist/esm/types/create-organization-request.d.ts +20 -0
  42. package/dist/esm/types/create-organization-request.d.ts.map +1 -0
  43. package/dist/esm/types/create-organization-response.d.ts +25 -0
  44. package/dist/esm/types/create-organization-response.d.ts.map +1 -0
  45. package/dist/esm/types/create-organizational-unit-request.d.ts +35 -0
  46. package/dist/esm/types/create-organizational-unit-request.d.ts.map +1 -0
  47. package/dist/esm/types/create-organizational-unit-response.d.ts +25 -0
  48. package/dist/esm/types/create-organizational-unit-response.d.ts.map +1 -0
  49. package/dist/esm/types/create-service-control-policy-request.d.ts +35 -0
  50. package/dist/esm/types/create-service-control-policy-request.d.ts.map +1 -0
  51. package/dist/esm/types/create-service-control-policy-response.d.ts +50 -0
  52. package/dist/esm/types/create-service-control-policy-response.d.ts.map +1 -0
  53. package/dist/esm/types/delete-organization-request.d.ts +20 -0
  54. package/dist/esm/types/delete-organization-request.d.ts.map +1 -0
  55. package/dist/esm/types/delete-organization-response.d.ts +20 -0
  56. package/dist/esm/types/delete-organization-response.d.ts.map +1 -0
  57. package/dist/esm/types/delete-organizational-unit-request.d.ts +25 -0
  58. package/dist/esm/types/delete-organizational-unit-request.d.ts.map +1 -0
  59. package/dist/esm/types/delete-organizational-unit-response.d.ts +20 -0
  60. package/dist/esm/types/delete-organizational-unit-response.d.ts.map +1 -0
  61. package/dist/esm/types/delete-service-control-policy-request.d.ts +25 -0
  62. package/dist/esm/types/delete-service-control-policy-request.d.ts.map +1 -0
  63. package/dist/esm/types/delete-service-control-policy-response.d.ts +20 -0
  64. package/dist/esm/types/delete-service-control-policy-response.d.ts.map +1 -0
  65. package/dist/esm/types/describe-account-invitation-request.d.ts +25 -0
  66. package/dist/esm/types/describe-account-invitation-request.d.ts.map +1 -0
  67. package/dist/esm/types/describe-account-invitation-response.d.ts +26 -0
  68. package/dist/esm/types/describe-account-invitation-response.d.ts.map +1 -0
  69. package/dist/esm/types/describe-account-request.d.ts +25 -0
  70. package/dist/esm/types/describe-account-request.d.ts.map +1 -0
  71. package/dist/esm/types/describe-account-response.d.ts +26 -0
  72. package/dist/esm/types/describe-account-response.d.ts.map +1 -0
  73. package/dist/esm/types/describe-organization-request.d.ts +20 -0
  74. package/dist/esm/types/describe-organization-request.d.ts.map +1 -0
  75. package/dist/esm/types/describe-organization-response.d.ts +32 -0
  76. package/dist/esm/types/describe-organization-response.d.ts.map +1 -0
  77. package/dist/esm/types/describe-organizational-unit-request.d.ts +25 -0
  78. package/dist/esm/types/describe-organizational-unit-request.d.ts.map +1 -0
  79. package/dist/esm/types/describe-organizational-unit-response.d.ts +26 -0
  80. package/dist/esm/types/describe-organizational-unit-response.d.ts.map +1 -0
  81. package/dist/esm/types/describe-quit-application-request.d.ts +25 -0
  82. package/dist/esm/types/describe-quit-application-request.d.ts.map +1 -0
  83. package/dist/esm/types/describe-quit-application-response.d.ts +26 -0
  84. package/dist/esm/types/describe-quit-application-response.d.ts.map +1 -0
  85. package/dist/esm/types/detach-service-control-policy-request.d.ts +30 -0
  86. package/dist/esm/types/detach-service-control-policy-request.d.ts.map +1 -0
  87. package/dist/esm/types/detach-service-control-policy-response.d.ts +20 -0
  88. package/dist/esm/types/detach-service-control-policy-response.d.ts.map +1 -0
  89. package/dist/esm/types/disable-console-login-request.d.ts +25 -0
  90. package/dist/esm/types/disable-console-login-request.d.ts.map +1 -0
  91. package/dist/esm/types/disable-console-login-response.d.ts +20 -0
  92. package/dist/esm/types/disable-console-login-response.d.ts.map +1 -0
  93. package/dist/esm/types/disable-service-control-policy-request.d.ts +20 -0
  94. package/dist/esm/types/disable-service-control-policy-request.d.ts.map +1 -0
  95. package/dist/esm/types/disable-service-control-policy-response.d.ts +25 -0
  96. package/dist/esm/types/disable-service-control-policy-response.d.ts.map +1 -0
  97. package/dist/esm/types/enable-console-login-request.d.ts +30 -0
  98. package/dist/esm/types/enable-console-login-request.d.ts.map +1 -0
  99. package/dist/esm/types/enable-console-login-response.d.ts +20 -0
  100. package/dist/esm/types/enable-console-login-response.d.ts.map +1 -0
  101. package/dist/esm/types/enable-service-control-policy-request.d.ts +20 -0
  102. package/dist/esm/types/enable-service-control-policy-request.d.ts.map +1 -0
  103. package/dist/esm/types/enable-service-control-policy-response.d.ts +25 -0
  104. package/dist/esm/types/enable-service-control-policy-response.d.ts.map +1 -0
  105. package/dist/esm/types/get-account-secure-contact-info-request.d.ts +25 -0
  106. package/dist/esm/types/get-account-secure-contact-info-request.d.ts.map +1 -0
  107. package/dist/esm/types/get-account-secure-contact-info-response.d.ts +50 -0
  108. package/dist/esm/types/get-account-secure-contact-info-response.d.ts.map +1 -0
  109. package/dist/esm/types/get-service-control-policy-enablement-request.d.ts +20 -0
  110. package/dist/esm/types/get-service-control-policy-enablement-request.d.ts.map +1 -0
  111. package/dist/esm/types/get-service-control-policy-enablement-response.d.ts +30 -0
  112. package/dist/esm/types/get-service-control-policy-enablement-response.d.ts.map +1 -0
  113. package/dist/esm/types/get-service-control-policy-request.d.ts +25 -0
  114. package/dist/esm/types/get-service-control-policy-request.d.ts.map +1 -0
  115. package/dist/esm/types/get-service-control-policy-response.d.ts +55 -0
  116. package/dist/esm/types/get-service-control-policy-response.d.ts.map +1 -0
  117. package/dist/esm/types/index.d.ts +112 -0
  118. package/dist/esm/types/index.d.ts.map +1 -0
  119. package/dist/esm/types/invation-info-for-describe-account-invitation-output.d.ts +110 -0
  120. package/dist/esm/types/invation-info-for-describe-account-invitation-output.d.ts.map +1 -0
  121. package/dist/esm/types/invitation-list-for-list-invitations-output.d.ts +110 -0
  122. package/dist/esm/types/invitation-list-for-list-invitations-output.d.ts.map +1 -0
  123. package/dist/esm/types/invite-account-request.d.ts +45 -0
  124. package/dist/esm/types/invite-account-request.d.ts.map +1 -0
  125. package/dist/esm/types/invite-account-response.d.ts +25 -0
  126. package/dist/esm/types/invite-account-response.d.ts.map +1 -0
  127. package/dist/esm/types/list-accounts-request.d.ts +55 -0
  128. package/dist/esm/types/list-accounts-request.d.ts.map +1 -0
  129. package/dist/esm/types/list-accounts-response.d.ts +41 -0
  130. package/dist/esm/types/list-accounts-response.d.ts.map +1 -0
  131. package/dist/esm/types/list-invitations-request.d.ts +50 -0
  132. package/dist/esm/types/list-invitations-request.d.ts.map +1 -0
  133. package/dist/esm/types/list-invitations-response.d.ts +41 -0
  134. package/dist/esm/types/list-invitations-response.d.ts.map +1 -0
  135. package/dist/esm/types/list-organizational-units-for-parent-request.d.ts +35 -0
  136. package/dist/esm/types/list-organizational-units-for-parent-request.d.ts.map +1 -0
  137. package/dist/esm/types/list-organizational-units-for-parent-response.d.ts +41 -0
  138. package/dist/esm/types/list-organizational-units-for-parent-response.d.ts.map +1 -0
  139. package/dist/esm/types/list-organizational-units-request.d.ts +20 -0
  140. package/dist/esm/types/list-organizational-units-request.d.ts.map +1 -0
  141. package/dist/esm/types/list-organizational-units-response.d.ts +26 -0
  142. package/dist/esm/types/list-organizational-units-response.d.ts.map +1 -0
  143. package/dist/esm/types/list-policies-for-target-request.d.ts +35 -0
  144. package/dist/esm/types/list-policies-for-target-request.d.ts.map +1 -0
  145. package/dist/esm/types/list-policies-for-target-response.d.ts +41 -0
  146. package/dist/esm/types/list-policies-for-target-response.d.ts.map +1 -0
  147. package/dist/esm/types/list-service-control-policies-request.d.ts +50 -0
  148. package/dist/esm/types/list-service-control-policies-request.d.ts.map +1 -0
  149. package/dist/esm/types/list-service-control-policies-response.d.ts +41 -0
  150. package/dist/esm/types/list-service-control-policies-response.d.ts.map +1 -0
  151. package/dist/esm/types/list-tag-resources-request.d.ts +54 -0
  152. package/dist/esm/types/list-tag-resources-request.d.ts.map +1 -0
  153. package/dist/esm/types/list-tag-resources-response.d.ts +41 -0
  154. package/dist/esm/types/list-tag-resources-response.d.ts.map +1 -0
  155. package/dist/esm/types/list-targets-for-policy-request.d.ts +45 -0
  156. package/dist/esm/types/list-targets-for-policy-request.d.ts.map +1 -0
  157. package/dist/esm/types/list-targets-for-policy-response.d.ts +41 -0
  158. package/dist/esm/types/list-targets-for-policy-response.d.ts.map +1 -0
  159. package/dist/esm/types/move-account-request.d.ts +30 -0
  160. package/dist/esm/types/move-account-request.d.ts.map +1 -0
  161. package/dist/esm/types/move-account-response.d.ts +20 -0
  162. package/dist/esm/types/move-account-response.d.ts.map +1 -0
  163. package/dist/esm/types/org-quit-application-for-describe-quit-application-output.d.ts +80 -0
  164. package/dist/esm/types/org-quit-application-for-describe-quit-application-output.d.ts.map +1 -0
  165. package/dist/esm/types/organization-for-describe-organization-output.d.ts +70 -0
  166. package/dist/esm/types/organization-for-describe-organization-output.d.ts.map +1 -0
  167. package/dist/esm/types/organization-unit-for-describe-organizational-unit-output.d.ts +80 -0
  168. package/dist/esm/types/organization-unit-for-describe-organizational-unit-output.d.ts.map +1 -0
  169. package/dist/esm/types/owner-for-describe-organization-output.d.ts +35 -0
  170. package/dist/esm/types/owner-for-describe-organization-output.d.ts.map +1 -0
  171. package/dist/esm/types/policy-for-list-policies-for-target-output.d.ts +45 -0
  172. package/dist/esm/types/policy-for-list-policies-for-target-output.d.ts.map +1 -0
  173. package/dist/esm/types/quit-organization-request.d.ts +25 -0
  174. package/dist/esm/types/quit-organization-request.d.ts.map +1 -0
  175. package/dist/esm/types/quit-organization-response.d.ts +25 -0
  176. package/dist/esm/types/quit-organization-response.d.ts.map +1 -0
  177. package/dist/esm/types/re-invite-account-request.d.ts +25 -0
  178. package/dist/esm/types/re-invite-account-request.d.ts.map +1 -0
  179. package/dist/esm/types/re-invite-account-response.d.ts +20 -0
  180. package/dist/esm/types/re-invite-account-response.d.ts.map +1 -0
  181. package/dist/esm/types/reject-invitation-request.d.ts +35 -0
  182. package/dist/esm/types/reject-invitation-request.d.ts.map +1 -0
  183. package/dist/esm/types/reject-invitation-response.d.ts +20 -0
  184. package/dist/esm/types/reject-invitation-response.d.ts.map +1 -0
  185. package/dist/esm/types/reject-quit-application-request.d.ts +35 -0
  186. package/dist/esm/types/reject-quit-application-request.d.ts.map +1 -0
  187. package/dist/esm/types/reject-quit-application-response.d.ts +20 -0
  188. package/dist/esm/types/reject-quit-application-response.d.ts.map +1 -0
  189. package/dist/esm/types/remove-account-request.d.ts +25 -0
  190. package/dist/esm/types/remove-account-request.d.ts.map +1 -0
  191. package/dist/esm/types/remove-account-response.d.ts +20 -0
  192. package/dist/esm/types/remove-account-response.d.ts.map +1 -0
  193. package/dist/esm/types/resource-tag-for-list-tag-resources-output.d.ts +48 -0
  194. package/dist/esm/types/resource-tag-for-list-tag-resources-output.d.ts.map +1 -0
  195. package/dist/esm/types/retry-change-account-secure-contact-info-request.d.ts +30 -0
  196. package/dist/esm/types/retry-change-account-secure-contact-info-request.d.ts.map +1 -0
  197. package/dist/esm/types/retry-change-account-secure-contact-info-response.d.ts +20 -0
  198. package/dist/esm/types/retry-change-account-secure-contact-info-response.d.ts.map +1 -0
  199. package/dist/esm/types/service-control-policy-for-list-service-control-policies-output.d.ts +50 -0
  200. package/dist/esm/types/service-control-policy-for-list-service-control-policies-output.d.ts.map +1 -0
  201. package/dist/esm/types/sub-unit-list-for-list-organizational-units-for-parent-output.d.ts +80 -0
  202. package/dist/esm/types/sub-unit-list-for-list-organizational-units-for-parent-output.d.ts.map +1 -0
  203. package/dist/esm/types/sub-unit-list-for-list-organizational-units-output.d.ts +80 -0
  204. package/dist/esm/types/sub-unit-list-for-list-organizational-units-output.d.ts.map +1 -0
  205. package/dist/esm/types/tag-filter-for-list-tag-resources-input.d.ts +30 -0
  206. package/dist/esm/types/tag-filter-for-list-tag-resources-input.d.ts.map +1 -0
  207. package/dist/esm/types/tag-for-list-accounts-output.d.ts +30 -0
  208. package/dist/esm/types/tag-for-list-accounts-output.d.ts.map +1 -0
  209. package/dist/esm/types/tag-for-tag-resources-input.d.ts +30 -0
  210. package/dist/esm/types/tag-for-tag-resources-input.d.ts.map +1 -0
  211. package/dist/esm/types/tag-resources-request.d.ts +44 -0
  212. package/dist/esm/types/tag-resources-request.d.ts.map +1 -0
  213. package/dist/esm/types/tag-resources-response.d.ts +20 -0
  214. package/dist/esm/types/tag-resources-response.d.ts.map +1 -0
  215. package/dist/esm/types/target-for-list-targets-for-policy-output.d.ts +48 -0
  216. package/dist/esm/types/target-for-list-targets-for-policy-output.d.ts.map +1 -0
  217. package/dist/esm/types/untag-resources-request.d.ts +43 -0
  218. package/dist/esm/types/untag-resources-request.d.ts.map +1 -0
  219. package/dist/esm/types/untag-resources-response.d.ts +20 -0
  220. package/dist/esm/types/untag-resources-response.d.ts.map +1 -0
  221. package/dist/esm/types/update-account-request.d.ts +40 -0
  222. package/dist/esm/types/update-account-request.d.ts.map +1 -0
  223. package/dist/esm/types/update-account-response.d.ts +20 -0
  224. package/dist/esm/types/update-account-response.d.ts.map +1 -0
  225. package/dist/esm/types/update-organizational-unit-request.d.ts +35 -0
  226. package/dist/esm/types/update-organizational-unit-request.d.ts.map +1 -0
  227. package/dist/esm/types/update-organizational-unit-response.d.ts +20 -0
  228. package/dist/esm/types/update-organizational-unit-response.d.ts.map +1 -0
  229. package/dist/esm/types/update-service-control-policy-request.d.ts +40 -0
  230. package/dist/esm/types/update-service-control-policy-request.d.ts.map +1 -0
  231. package/dist/esm/types/update-service-control-policy-response.d.ts +55 -0
  232. package/dist/esm/types/update-service-control-policy-response.d.ts.map +1 -0
  233. package/dist/tsconfig.tsbuildinfo +1 -0
  234. package/package.json +37 -0
  235. package/rslib.config.ts +26 -0
  236. package/src/api.ts +932 -0
  237. package/src/index.ts +14 -0
  238. package/src/types/accept-invitation-request.ts +34 -0
  239. package/src/types/accept-invitation-response.ts +22 -0
  240. package/src/types/accept-quit-application-request.ts +40 -0
  241. package/src/types/accept-quit-application-response.ts +22 -0
  242. package/src/types/account-for-describe-account-output.ts +136 -0
  243. package/src/types/account-list-for-list-accounts-output.ts +149 -0
  244. package/src/types/attach-service-control-policy-request.ts +40 -0
  245. package/src/types/attach-service-control-policy-response.ts +22 -0
  246. package/src/types/cancel-change-account-secure-contact-info-request.ts +34 -0
  247. package/src/types/cancel-change-account-secure-contact-info-response.ts +22 -0
  248. package/src/types/cancel-invitation-request.ts +28 -0
  249. package/src/types/cancel-invitation-response.ts +22 -0
  250. package/src/types/change-account-secure-contact-info-request.ts +40 -0
  251. package/src/types/change-account-secure-contact-info-response.ts +22 -0
  252. package/src/types/create-account-request.ts +58 -0
  253. package/src/types/create-account-response.ts +28 -0
  254. package/src/types/create-organization-request.ts +22 -0
  255. package/src/types/create-organization-response.ts +28 -0
  256. package/src/types/create-organizational-unit-request.ts +40 -0
  257. package/src/types/create-organizational-unit-response.ts +28 -0
  258. package/src/types/create-service-control-policy-request.ts +40 -0
  259. package/src/types/create-service-control-policy-response.ts +58 -0
  260. package/src/types/delete-organization-request.ts +22 -0
  261. package/src/types/delete-organization-response.ts +22 -0
  262. package/src/types/delete-organizational-unit-request.ts +28 -0
  263. package/src/types/delete-organizational-unit-response.ts +22 -0
  264. package/src/types/delete-service-control-policy-request.ts +28 -0
  265. package/src/types/delete-service-control-policy-response.ts +22 -0
  266. package/src/types/describe-account-invitation-request.ts +28 -0
  267. package/src/types/describe-account-invitation-response.ts +29 -0
  268. package/src/types/describe-account-request.ts +28 -0
  269. package/src/types/describe-account-response.ts +29 -0
  270. package/src/types/describe-organization-request.ts +22 -0
  271. package/src/types/describe-organization-response.ts +36 -0
  272. package/src/types/describe-organizational-unit-request.ts +28 -0
  273. package/src/types/describe-organizational-unit-response.ts +29 -0
  274. package/src/types/describe-quit-application-request.ts +28 -0
  275. package/src/types/describe-quit-application-response.ts +29 -0
  276. package/src/types/detach-service-control-policy-request.ts +34 -0
  277. package/src/types/detach-service-control-policy-response.ts +22 -0
  278. package/src/types/disable-console-login-request.ts +28 -0
  279. package/src/types/disable-console-login-response.ts +22 -0
  280. package/src/types/disable-service-control-policy-request.ts +22 -0
  281. package/src/types/disable-service-control-policy-response.ts +28 -0
  282. package/src/types/enable-console-login-request.ts +34 -0
  283. package/src/types/enable-console-login-response.ts +22 -0
  284. package/src/types/enable-service-control-policy-request.ts +22 -0
  285. package/src/types/enable-service-control-policy-response.ts +28 -0
  286. package/src/types/get-account-secure-contact-info-request.ts +28 -0
  287. package/src/types/get-account-secure-contact-info-response.ts +58 -0
  288. package/src/types/get-service-control-policy-enablement-request.ts +22 -0
  289. package/src/types/get-service-control-policy-enablement-response.ts +34 -0
  290. package/src/types/get-service-control-policy-request.ts +28 -0
  291. package/src/types/get-service-control-policy-response.ts +64 -0
  292. package/src/types/index.ts +111 -0
  293. package/src/types/invation-info-for-describe-account-invitation-output.ts +130 -0
  294. package/src/types/invitation-list-for-list-invitations-output.ts +130 -0
  295. package/src/types/invite-account-request.ts +52 -0
  296. package/src/types/invite-account-response.ts +28 -0
  297. package/src/types/list-accounts-request.ts +64 -0
  298. package/src/types/list-accounts-response.ts +47 -0
  299. package/src/types/list-invitations-request.ts +58 -0
  300. package/src/types/list-invitations-response.ts +47 -0
  301. package/src/types/list-organizational-units-for-parent-request.ts +40 -0
  302. package/src/types/list-organizational-units-for-parent-response.ts +47 -0
  303. package/src/types/list-organizational-units-request.ts +22 -0
  304. package/src/types/list-organizational-units-response.ts +29 -0
  305. package/src/types/list-policies-for-target-request.ts +40 -0
  306. package/src/types/list-policies-for-target-response.ts +47 -0
  307. package/src/types/list-service-control-policies-request.ts +58 -0
  308. package/src/types/list-service-control-policies-response.ts +47 -0
  309. package/src/types/list-tag-resources-request.ts +63 -0
  310. package/src/types/list-tag-resources-response.ts +47 -0
  311. package/src/types/list-targets-for-policy-request.ts +52 -0
  312. package/src/types/list-targets-for-policy-response.ts +47 -0
  313. package/src/types/move-account-request.ts +34 -0
  314. package/src/types/move-account-response.ts +22 -0
  315. package/src/types/org-quit-application-for-describe-quit-application-output.ts +94 -0
  316. package/src/types/organization-for-describe-organization-output.ts +82 -0
  317. package/src/types/organization-unit-for-describe-organizational-unit-output.ts +94 -0
  318. package/src/types/owner-for-describe-organization-output.ts +40 -0
  319. package/src/types/policy-for-list-policies-for-target-output.ts +52 -0
  320. package/src/types/quit-organization-request.ts +28 -0
  321. package/src/types/quit-organization-response.ts +28 -0
  322. package/src/types/re-invite-account-request.ts +28 -0
  323. package/src/types/re-invite-account-response.ts +22 -0
  324. package/src/types/reject-invitation-request.ts +40 -0
  325. package/src/types/reject-invitation-response.ts +22 -0
  326. package/src/types/reject-quit-application-request.ts +40 -0
  327. package/src/types/reject-quit-application-response.ts +22 -0
  328. package/src/types/remove-account-request.ts +28 -0
  329. package/src/types/remove-account-response.ts +22 -0
  330. package/src/types/resource-tag-for-list-tag-resources-output.ts +56 -0
  331. package/src/types/retry-change-account-secure-contact-info-request.ts +34 -0
  332. package/src/types/retry-change-account-secure-contact-info-response.ts +22 -0
  333. package/src/types/service-control-policy-for-list-service-control-policies-output.ts +58 -0
  334. package/src/types/sub-unit-list-for-list-organizational-units-for-parent-output.ts +94 -0
  335. package/src/types/sub-unit-list-for-list-organizational-units-output.ts +94 -0
  336. package/src/types/tag-filter-for-list-tag-resources-input.ts +34 -0
  337. package/src/types/tag-for-list-accounts-output.ts +34 -0
  338. package/src/types/tag-for-tag-resources-input.ts +34 -0
  339. package/src/types/tag-resources-request.ts +51 -0
  340. package/src/types/tag-resources-response.ts +22 -0
  341. package/src/types/target-for-list-targets-for-policy-output.ts +56 -0
  342. package/src/types/untag-resources-request.ts +50 -0
  343. package/src/types/untag-resources-response.ts +22 -0
  344. package/src/types/update-account-request.ts +46 -0
  345. package/src/types/update-account-response.ts +22 -0
  346. package/src/types/update-organizational-unit-request.ts +40 -0
  347. package/src/types/update-organizational-unit-response.ts +22 -0
  348. package/src/types/update-service-control-policy-request.ts +46 -0
  349. package/src/types/update-service-control-policy-response.ts +64 -0
  350. package/tsconfig.json +12 -0
package/src/api.ts ADDED
@@ -0,0 +1,932 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * organization
5
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+ *
7
+ * OpenAPI spec version: common-version
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by the swagger code generator program.
11
+ * https://github.com/swagger-api/swagger-codegen.git
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
16
+
17
+ import { AcceptInvitationRequest } from './types/index';
18
+ import { AcceptInvitationResponse } from './types/index';
19
+ import { AcceptQuitApplicationRequest } from './types/index';
20
+ import { AcceptQuitApplicationResponse } from './types/index';
21
+ import { AttachServiceControlPolicyRequest } from './types/index';
22
+ import { AttachServiceControlPolicyResponse } from './types/index';
23
+ import { CancelChangeAccountSecureContactInfoRequest } from './types/index';
24
+ import { CancelChangeAccountSecureContactInfoResponse } from './types/index';
25
+ import { CancelInvitationRequest } from './types/index';
26
+ import { CancelInvitationResponse } from './types/index';
27
+ import { ChangeAccountSecureContactInfoRequest } from './types/index';
28
+ import { ChangeAccountSecureContactInfoResponse } from './types/index';
29
+ import { CreateAccountRequest } from './types/index';
30
+ import { CreateAccountResponse } from './types/index';
31
+ import { CreateOrganizationRequest } from './types/index';
32
+ import { CreateOrganizationResponse } from './types/index';
33
+ import { CreateOrganizationalUnitRequest } from './types/index';
34
+ import { CreateOrganizationalUnitResponse } from './types/index';
35
+ import { CreateServiceControlPolicyRequest } from './types/index';
36
+ import { CreateServiceControlPolicyResponse } from './types/index';
37
+ import { DeleteOrganizationRequest } from './types/index';
38
+ import { DeleteOrganizationResponse } from './types/index';
39
+ import { DeleteOrganizationalUnitRequest } from './types/index';
40
+ import { DeleteOrganizationalUnitResponse } from './types/index';
41
+ import { DeleteServiceControlPolicyRequest } from './types/index';
42
+ import { DeleteServiceControlPolicyResponse } from './types/index';
43
+ import { DescribeAccountInvitationRequest } from './types/index';
44
+ import { DescribeAccountInvitationResponse } from './types/index';
45
+ import { DescribeAccountRequest } from './types/index';
46
+ import { DescribeAccountResponse } from './types/index';
47
+ import { DescribeOrganizationRequest } from './types/index';
48
+ import { DescribeOrganizationResponse } from './types/index';
49
+ import { DescribeOrganizationalUnitRequest } from './types/index';
50
+ import { DescribeOrganizationalUnitResponse } from './types/index';
51
+ import { DescribeQuitApplicationRequest } from './types/index';
52
+ import { DescribeQuitApplicationResponse } from './types/index';
53
+ import { DetachServiceControlPolicyRequest } from './types/index';
54
+ import { DetachServiceControlPolicyResponse } from './types/index';
55
+ import { DisableConsoleLoginRequest } from './types/index';
56
+ import { DisableConsoleLoginResponse } from './types/index';
57
+ import { DisableServiceControlPolicyRequest } from './types/index';
58
+ import { DisableServiceControlPolicyResponse } from './types/index';
59
+ import { EnableConsoleLoginRequest } from './types/index';
60
+ import { EnableConsoleLoginResponse } from './types/index';
61
+ import { EnableServiceControlPolicyRequest } from './types/index';
62
+ import { EnableServiceControlPolicyResponse } from './types/index';
63
+ import { GetAccountSecureContactInfoRequest } from './types/index';
64
+ import { GetAccountSecureContactInfoResponse } from './types/index';
65
+ import { GetServiceControlPolicyEnablementRequest } from './types/index';
66
+ import { GetServiceControlPolicyEnablementResponse } from './types/index';
67
+ import { GetServiceControlPolicyRequest } from './types/index';
68
+ import { GetServiceControlPolicyResponse } from './types/index';
69
+ import { InviteAccountRequest } from './types/index';
70
+ import { InviteAccountResponse } from './types/index';
71
+ import { ListAccountsRequest } from './types/index';
72
+ import { ListAccountsResponse } from './types/index';
73
+ import { ListInvitationsRequest } from './types/index';
74
+ import { ListInvitationsResponse } from './types/index';
75
+ import { ListOrganizationalUnitsForParentRequest } from './types/index';
76
+ import { ListOrganizationalUnitsForParentResponse } from './types/index';
77
+ import { ListOrganizationalUnitsRequest } from './types/index';
78
+ import { ListOrganizationalUnitsResponse } from './types/index';
79
+ import { ListPoliciesForTargetRequest } from './types/index';
80
+ import { ListPoliciesForTargetResponse } from './types/index';
81
+ import { ListServiceControlPoliciesRequest } from './types/index';
82
+ import { ListServiceControlPoliciesResponse } from './types/index';
83
+ import { ListTagResourcesRequest } from './types/index';
84
+ import { ListTagResourcesResponse } from './types/index';
85
+ import { ListTargetsForPolicyRequest } from './types/index';
86
+ import { ListTargetsForPolicyResponse } from './types/index';
87
+ import { MoveAccountRequest } from './types/index';
88
+ import { MoveAccountResponse } from './types/index';
89
+ import { QuitOrganizationRequest } from './types/index';
90
+ import { QuitOrganizationResponse } from './types/index';
91
+ import { ReInviteAccountRequest } from './types/index';
92
+ import { ReInviteAccountResponse } from './types/index';
93
+ import { RejectInvitationRequest } from './types/index';
94
+ import { RejectInvitationResponse } from './types/index';
95
+ import { RejectQuitApplicationRequest } from './types/index';
96
+ import { RejectQuitApplicationResponse } from './types/index';
97
+ import { RemoveAccountRequest } from './types/index';
98
+ import { RemoveAccountResponse } from './types/index';
99
+ import { RetryChangeAccountSecureContactInfoRequest } from './types/index';
100
+ import { RetryChangeAccountSecureContactInfoResponse } from './types/index';
101
+ import { TagResourcesRequest } from './types/index';
102
+ import { TagResourcesResponse } from './types/index';
103
+ import { UntagResourcesRequest } from './types/index';
104
+ import { UntagResourcesResponse } from './types/index';
105
+ import { UpdateAccountRequest } from './types/index';
106
+ import { UpdateAccountResponse } from './types/index';
107
+ import { UpdateOrganizationalUnitRequest } from './types/index';
108
+ import { UpdateOrganizationalUnitResponse } from './types/index';
109
+ import { UpdateServiceControlPolicyRequest } from './types/index';
110
+ import { UpdateServiceControlPolicyResponse } from './types/index';
111
+
112
+ // ============================================================================
113
+ // Output Type Definitions
114
+ // ============================================================================
115
+ export type AcceptInvitationCommandOutput = CommandOutput<AcceptInvitationResponse>;
116
+ export type AcceptQuitApplicationCommandOutput = CommandOutput<AcceptQuitApplicationResponse>;
117
+ export type AttachServiceControlPolicyCommandOutput = CommandOutput<AttachServiceControlPolicyResponse>;
118
+ export type CancelChangeAccountSecureContactInfoCommandOutput = CommandOutput<CancelChangeAccountSecureContactInfoResponse>;
119
+ export type CancelInvitationCommandOutput = CommandOutput<CancelInvitationResponse>;
120
+ export type ChangeAccountSecureContactInfoCommandOutput = CommandOutput<ChangeAccountSecureContactInfoResponse>;
121
+ export type CreateAccountCommandOutput = CommandOutput<CreateAccountResponse>;
122
+ export type CreateOrganizationCommandOutput = CommandOutput<CreateOrganizationResponse>;
123
+ export type CreateOrganizationalUnitCommandOutput = CommandOutput<CreateOrganizationalUnitResponse>;
124
+ export type CreateServiceControlPolicyCommandOutput = CommandOutput<CreateServiceControlPolicyResponse>;
125
+ export type DeleteOrganizationCommandOutput = CommandOutput<DeleteOrganizationResponse>;
126
+ export type DeleteOrganizationalUnitCommandOutput = CommandOutput<DeleteOrganizationalUnitResponse>;
127
+ export type DeleteServiceControlPolicyCommandOutput = CommandOutput<DeleteServiceControlPolicyResponse>;
128
+ export type DescribeAccountCommandOutput = CommandOutput<DescribeAccountResponse>;
129
+ export type DescribeAccountInvitationCommandOutput = CommandOutput<DescribeAccountInvitationResponse>;
130
+ export type DescribeOrganizationCommandOutput = CommandOutput<DescribeOrganizationResponse>;
131
+ export type DescribeOrganizationalUnitCommandOutput = CommandOutput<DescribeOrganizationalUnitResponse>;
132
+ export type DescribeQuitApplicationCommandOutput = CommandOutput<DescribeQuitApplicationResponse>;
133
+ export type DetachServiceControlPolicyCommandOutput = CommandOutput<DetachServiceControlPolicyResponse>;
134
+ export type DisableConsoleLoginCommandOutput = CommandOutput<DisableConsoleLoginResponse>;
135
+ export type DisableServiceControlPolicyCommandOutput = CommandOutput<DisableServiceControlPolicyResponse>;
136
+ export type EnableConsoleLoginCommandOutput = CommandOutput<EnableConsoleLoginResponse>;
137
+ export type EnableServiceControlPolicyCommandOutput = CommandOutput<EnableServiceControlPolicyResponse>;
138
+ export type GetAccountSecureContactInfoCommandOutput = CommandOutput<GetAccountSecureContactInfoResponse>;
139
+ export type GetServiceControlPolicyCommandOutput = CommandOutput<GetServiceControlPolicyResponse>;
140
+ export type GetServiceControlPolicyEnablementCommandOutput = CommandOutput<GetServiceControlPolicyEnablementResponse>;
141
+ export type InviteAccountCommandOutput = CommandOutput<InviteAccountResponse>;
142
+ export type ListAccountsCommandOutput = CommandOutput<ListAccountsResponse>;
143
+ export type ListInvitationsCommandOutput = CommandOutput<ListInvitationsResponse>;
144
+ export type ListOrganizationalUnitsCommandOutput = CommandOutput<ListOrganizationalUnitsResponse>;
145
+ export type ListOrganizationalUnitsForParentCommandOutput = CommandOutput<ListOrganizationalUnitsForParentResponse>;
146
+ export type ListPoliciesForTargetCommandOutput = CommandOutput<ListPoliciesForTargetResponse>;
147
+ export type ListServiceControlPoliciesCommandOutput = CommandOutput<ListServiceControlPoliciesResponse>;
148
+ export type ListTagResourcesCommandOutput = CommandOutput<ListTagResourcesResponse>;
149
+ export type ListTargetsForPolicyCommandOutput = CommandOutput<ListTargetsForPolicyResponse>;
150
+ export type MoveAccountCommandOutput = CommandOutput<MoveAccountResponse>;
151
+ export type QuitOrganizationCommandOutput = CommandOutput<QuitOrganizationResponse>;
152
+ export type ReInviteAccountCommandOutput = CommandOutput<ReInviteAccountResponse>;
153
+ export type RejectInvitationCommandOutput = CommandOutput<RejectInvitationResponse>;
154
+ export type RejectQuitApplicationCommandOutput = CommandOutput<RejectQuitApplicationResponse>;
155
+ export type RemoveAccountCommandOutput = CommandOutput<RemoveAccountResponse>;
156
+ export type RetryChangeAccountSecureContactInfoCommandOutput = CommandOutput<RetryChangeAccountSecureContactInfoResponse>;
157
+ export type TagResourcesCommandOutput = CommandOutput<TagResourcesResponse>;
158
+ export type UntagResourcesCommandOutput = CommandOutput<UntagResourcesResponse>;
159
+ export type UpdateAccountCommandOutput = CommandOutput<UpdateAccountResponse>;
160
+ export type UpdateOrganizationalUnitCommandOutput = CommandOutput<UpdateOrganizationalUnitResponse>;
161
+ export type UpdateServiceControlPolicyCommandOutput = CommandOutput<UpdateServiceControlPolicyResponse>;
162
+
163
+
164
+ /**
165
+ * ORGANIZATIONClient Service Client
166
+ */
167
+ export class ORGANIZATIONClient extends Client {
168
+ constructor(config: ClientConfig = {}) {
169
+ super({
170
+ protocol: 'https',
171
+ region: 'cn-beijing',
172
+ ...config,
173
+ });
174
+ }
175
+ }
176
+
177
+ /**
178
+ * Command to AcceptInvitation
179
+ */
180
+ export class AcceptInvitationCommand extends Command<
181
+ AcceptInvitationRequest,
182
+ AcceptInvitationCommandOutput,
183
+ 'AcceptInvitationCommand'
184
+ > {
185
+ static readonly metaPath = '/AcceptInvitation/2022-01-01/organization/post/application_json/';
186
+
187
+ constructor(input: AcceptInvitationRequest) {
188
+ super(input);
189
+ this.requestConfig = buildRequestConfigFromMetaPath(AcceptInvitationCommand.metaPath);
190
+ }
191
+ }
192
+ /**
193
+ * Command to AcceptQuitApplication
194
+ */
195
+ export class AcceptQuitApplicationCommand extends Command<
196
+ AcceptQuitApplicationRequest,
197
+ AcceptQuitApplicationCommandOutput,
198
+ 'AcceptQuitApplicationCommand'
199
+ > {
200
+ static readonly metaPath = '/AcceptQuitApplication/2022-01-01/organization/post/application_json/';
201
+
202
+ constructor(input: AcceptQuitApplicationRequest) {
203
+ super(input);
204
+ this.requestConfig = buildRequestConfigFromMetaPath(AcceptQuitApplicationCommand.metaPath);
205
+ }
206
+ }
207
+ /**
208
+ * Command to AttachServiceControlPolicy
209
+ */
210
+ export class AttachServiceControlPolicyCommand extends Command<
211
+ AttachServiceControlPolicyRequest,
212
+ AttachServiceControlPolicyCommandOutput,
213
+ 'AttachServiceControlPolicyCommand'
214
+ > {
215
+ static readonly metaPath = '/AttachServiceControlPolicy/2022-01-01/organization/post/application_json/';
216
+
217
+ constructor(input: AttachServiceControlPolicyRequest) {
218
+ super(input);
219
+ this.requestConfig = buildRequestConfigFromMetaPath(AttachServiceControlPolicyCommand.metaPath);
220
+ }
221
+ }
222
+ /**
223
+ * Command to CancelChangeAccountSecureContactInfo
224
+ */
225
+ export class CancelChangeAccountSecureContactInfoCommand extends Command<
226
+ CancelChangeAccountSecureContactInfoRequest,
227
+ CancelChangeAccountSecureContactInfoCommandOutput,
228
+ 'CancelChangeAccountSecureContactInfoCommand'
229
+ > {
230
+ static readonly metaPath = '/CancelChangeAccountSecureContactInfo/2022-01-01/organization/post/application_json/';
231
+
232
+ constructor(input: CancelChangeAccountSecureContactInfoRequest) {
233
+ super(input);
234
+ this.requestConfig = buildRequestConfigFromMetaPath(CancelChangeAccountSecureContactInfoCommand.metaPath);
235
+ }
236
+ }
237
+ /**
238
+ * Command to CancelInvitation
239
+ */
240
+ export class CancelInvitationCommand extends Command<
241
+ CancelInvitationRequest,
242
+ CancelInvitationCommandOutput,
243
+ 'CancelInvitationCommand'
244
+ > {
245
+ static readonly metaPath = '/CancelInvitation/2022-01-01/organization/post/application_json/';
246
+
247
+ constructor(input: CancelInvitationRequest) {
248
+ super(input);
249
+ this.requestConfig = buildRequestConfigFromMetaPath(CancelInvitationCommand.metaPath);
250
+ }
251
+ }
252
+ /**
253
+ * Command to ChangeAccountSecureContactInfo
254
+ */
255
+ export class ChangeAccountSecureContactInfoCommand extends Command<
256
+ ChangeAccountSecureContactInfoRequest,
257
+ ChangeAccountSecureContactInfoCommandOutput,
258
+ 'ChangeAccountSecureContactInfoCommand'
259
+ > {
260
+ static readonly metaPath = '/ChangeAccountSecureContactInfo/2022-01-01/organization/post/application_json/';
261
+
262
+ constructor(input: ChangeAccountSecureContactInfoRequest) {
263
+ super(input);
264
+ this.requestConfig = buildRequestConfigFromMetaPath(ChangeAccountSecureContactInfoCommand.metaPath);
265
+ }
266
+ }
267
+ /**
268
+ * Command to CreateAccount
269
+ */
270
+ export class CreateAccountCommand extends Command<
271
+ CreateAccountRequest,
272
+ CreateAccountCommandOutput,
273
+ 'CreateAccountCommand'
274
+ > {
275
+ static readonly metaPath = '/CreateAccount/2022-01-01/organization/post/application_json/';
276
+
277
+ constructor(input: CreateAccountRequest) {
278
+ super(input);
279
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateAccountCommand.metaPath);
280
+ }
281
+ }
282
+ /**
283
+ * Command to CreateOrganization
284
+ */
285
+ export class CreateOrganizationCommand extends Command<
286
+ CreateOrganizationRequest,
287
+ CreateOrganizationCommandOutput,
288
+ 'CreateOrganizationCommand'
289
+ > {
290
+ static readonly metaPath = '/CreateOrganization/2022-01-01/organization/post/application_json/';
291
+
292
+ constructor(input: CreateOrganizationRequest) {
293
+ super(input);
294
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateOrganizationCommand.metaPath);
295
+ }
296
+ }
297
+ /**
298
+ * Command to CreateOrganizationalUnit
299
+ */
300
+ export class CreateOrganizationalUnitCommand extends Command<
301
+ CreateOrganizationalUnitRequest,
302
+ CreateOrganizationalUnitCommandOutput,
303
+ 'CreateOrganizationalUnitCommand'
304
+ > {
305
+ static readonly metaPath = '/CreateOrganizationalUnit/2022-01-01/organization/post/application_json/';
306
+
307
+ constructor(input: CreateOrganizationalUnitRequest) {
308
+ super(input);
309
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateOrganizationalUnitCommand.metaPath);
310
+ }
311
+ }
312
+ /**
313
+ * Command to CreateServiceControlPolicy
314
+ */
315
+ export class CreateServiceControlPolicyCommand extends Command<
316
+ CreateServiceControlPolicyRequest,
317
+ CreateServiceControlPolicyCommandOutput,
318
+ 'CreateServiceControlPolicyCommand'
319
+ > {
320
+ static readonly metaPath = '/CreateServiceControlPolicy/2022-01-01/organization/post/application_json/';
321
+
322
+ constructor(input: CreateServiceControlPolicyRequest) {
323
+ super(input);
324
+ this.requestConfig = buildRequestConfigFromMetaPath(CreateServiceControlPolicyCommand.metaPath);
325
+ }
326
+ }
327
+ /**
328
+ * Command to DeleteOrganization
329
+ */
330
+ export class DeleteOrganizationCommand extends Command<
331
+ DeleteOrganizationRequest,
332
+ DeleteOrganizationCommandOutput,
333
+ 'DeleteOrganizationCommand'
334
+ > {
335
+ static readonly metaPath = '/DeleteOrganization/2022-01-01/organization/post/application_json/';
336
+
337
+ constructor(input: DeleteOrganizationRequest) {
338
+ super(input);
339
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteOrganizationCommand.metaPath);
340
+ }
341
+ }
342
+ /**
343
+ * Command to DeleteOrganizationalUnit
344
+ */
345
+ export class DeleteOrganizationalUnitCommand extends Command<
346
+ DeleteOrganizationalUnitRequest,
347
+ DeleteOrganizationalUnitCommandOutput,
348
+ 'DeleteOrganizationalUnitCommand'
349
+ > {
350
+ static readonly metaPath = '/DeleteOrganizationalUnit/2022-01-01/organization/post/application_json/';
351
+
352
+ constructor(input: DeleteOrganizationalUnitRequest) {
353
+ super(input);
354
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteOrganizationalUnitCommand.metaPath);
355
+ }
356
+ }
357
+ /**
358
+ * Command to DeleteServiceControlPolicy
359
+ */
360
+ export class DeleteServiceControlPolicyCommand extends Command<
361
+ DeleteServiceControlPolicyRequest,
362
+ DeleteServiceControlPolicyCommandOutput,
363
+ 'DeleteServiceControlPolicyCommand'
364
+ > {
365
+ static readonly metaPath = '/DeleteServiceControlPolicy/2022-01-01/organization/post/application_json/';
366
+
367
+ constructor(input: DeleteServiceControlPolicyRequest) {
368
+ super(input);
369
+ this.requestConfig = buildRequestConfigFromMetaPath(DeleteServiceControlPolicyCommand.metaPath);
370
+ }
371
+ }
372
+ /**
373
+ * Command to DescribeAccount
374
+ */
375
+ export class DescribeAccountCommand extends Command<
376
+ DescribeAccountRequest,
377
+ DescribeAccountCommandOutput,
378
+ 'DescribeAccountCommand'
379
+ > {
380
+ static readonly metaPath = '/DescribeAccount/2022-01-01/organization/post/application_json/';
381
+
382
+ constructor(input: DescribeAccountRequest) {
383
+ super(input);
384
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeAccountCommand.metaPath);
385
+ }
386
+ }
387
+ /**
388
+ * Command to DescribeAccountInvitation
389
+ */
390
+ export class DescribeAccountInvitationCommand extends Command<
391
+ DescribeAccountInvitationRequest,
392
+ DescribeAccountInvitationCommandOutput,
393
+ 'DescribeAccountInvitationCommand'
394
+ > {
395
+ static readonly metaPath = '/DescribeAccountInvitation/2022-01-01/organization/post/application_json/';
396
+
397
+ constructor(input: DescribeAccountInvitationRequest) {
398
+ super(input);
399
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeAccountInvitationCommand.metaPath);
400
+ }
401
+ }
402
+ /**
403
+ * Command to DescribeOrganization
404
+ */
405
+ export class DescribeOrganizationCommand extends Command<
406
+ DescribeOrganizationRequest,
407
+ DescribeOrganizationCommandOutput,
408
+ 'DescribeOrganizationCommand'
409
+ > {
410
+ static readonly metaPath = '/DescribeOrganization/2022-01-01/organization/post/application_json/';
411
+
412
+ constructor(input: DescribeOrganizationRequest) {
413
+ super(input);
414
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeOrganizationCommand.metaPath);
415
+ }
416
+ }
417
+ /**
418
+ * Command to DescribeOrganizationalUnit
419
+ */
420
+ export class DescribeOrganizationalUnitCommand extends Command<
421
+ DescribeOrganizationalUnitRequest,
422
+ DescribeOrganizationalUnitCommandOutput,
423
+ 'DescribeOrganizationalUnitCommand'
424
+ > {
425
+ static readonly metaPath = '/DescribeOrganizationalUnit/2022-01-01/organization/post/application_json/';
426
+
427
+ constructor(input: DescribeOrganizationalUnitRequest) {
428
+ super(input);
429
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeOrganizationalUnitCommand.metaPath);
430
+ }
431
+ }
432
+ /**
433
+ * Command to DescribeQuitApplication
434
+ */
435
+ export class DescribeQuitApplicationCommand extends Command<
436
+ DescribeQuitApplicationRequest,
437
+ DescribeQuitApplicationCommandOutput,
438
+ 'DescribeQuitApplicationCommand'
439
+ > {
440
+ static readonly metaPath = '/DescribeQuitApplication/2022-01-01/organization/post/application_json/';
441
+
442
+ constructor(input: DescribeQuitApplicationRequest) {
443
+ super(input);
444
+ this.requestConfig = buildRequestConfigFromMetaPath(DescribeQuitApplicationCommand.metaPath);
445
+ }
446
+ }
447
+ /**
448
+ * Command to DetachServiceControlPolicy
449
+ */
450
+ export class DetachServiceControlPolicyCommand extends Command<
451
+ DetachServiceControlPolicyRequest,
452
+ DetachServiceControlPolicyCommandOutput,
453
+ 'DetachServiceControlPolicyCommand'
454
+ > {
455
+ static readonly metaPath = '/DetachServiceControlPolicy/2022-01-01/organization/post/application_json/';
456
+
457
+ constructor(input: DetachServiceControlPolicyRequest) {
458
+ super(input);
459
+ this.requestConfig = buildRequestConfigFromMetaPath(DetachServiceControlPolicyCommand.metaPath);
460
+ }
461
+ }
462
+ /**
463
+ * Command to DisableConsoleLogin
464
+ */
465
+ export class DisableConsoleLoginCommand extends Command<
466
+ DisableConsoleLoginRequest,
467
+ DisableConsoleLoginCommandOutput,
468
+ 'DisableConsoleLoginCommand'
469
+ > {
470
+ static readonly metaPath = '/DisableConsoleLogin/2022-01-01/organization/post/application_json/';
471
+
472
+ constructor(input: DisableConsoleLoginRequest) {
473
+ super(input);
474
+ this.requestConfig = buildRequestConfigFromMetaPath(DisableConsoleLoginCommand.metaPath);
475
+ }
476
+ }
477
+ /**
478
+ * Command to DisableServiceControlPolicy
479
+ */
480
+ export class DisableServiceControlPolicyCommand extends Command<
481
+ DisableServiceControlPolicyRequest,
482
+ DisableServiceControlPolicyCommandOutput,
483
+ 'DisableServiceControlPolicyCommand'
484
+ > {
485
+ static readonly metaPath = '/DisableServiceControlPolicy/2022-01-01/organization/post/application_json/';
486
+
487
+ constructor(input: DisableServiceControlPolicyRequest) {
488
+ super(input);
489
+ this.requestConfig = buildRequestConfigFromMetaPath(DisableServiceControlPolicyCommand.metaPath);
490
+ }
491
+ }
492
+ /**
493
+ * Command to EnableConsoleLogin
494
+ */
495
+ export class EnableConsoleLoginCommand extends Command<
496
+ EnableConsoleLoginRequest,
497
+ EnableConsoleLoginCommandOutput,
498
+ 'EnableConsoleLoginCommand'
499
+ > {
500
+ static readonly metaPath = '/EnableConsoleLogin/2022-01-01/organization/post/application_json/';
501
+
502
+ constructor(input: EnableConsoleLoginRequest) {
503
+ super(input);
504
+ this.requestConfig = buildRequestConfigFromMetaPath(EnableConsoleLoginCommand.metaPath);
505
+ }
506
+ }
507
+ /**
508
+ * Command to EnableServiceControlPolicy
509
+ */
510
+ export class EnableServiceControlPolicyCommand extends Command<
511
+ EnableServiceControlPolicyRequest,
512
+ EnableServiceControlPolicyCommandOutput,
513
+ 'EnableServiceControlPolicyCommand'
514
+ > {
515
+ static readonly metaPath = '/EnableServiceControlPolicy/2022-01-01/organization/post/application_json/';
516
+
517
+ constructor(input: EnableServiceControlPolicyRequest) {
518
+ super(input);
519
+ this.requestConfig = buildRequestConfigFromMetaPath(EnableServiceControlPolicyCommand.metaPath);
520
+ }
521
+ }
522
+ /**
523
+ * Command to GetAccountSecureContactInfo
524
+ */
525
+ export class GetAccountSecureContactInfoCommand extends Command<
526
+ GetAccountSecureContactInfoRequest,
527
+ GetAccountSecureContactInfoCommandOutput,
528
+ 'GetAccountSecureContactInfoCommand'
529
+ > {
530
+ static readonly metaPath = '/GetAccountSecureContactInfo/2022-01-01/organization/post/application_json/';
531
+
532
+ constructor(input: GetAccountSecureContactInfoRequest) {
533
+ super(input);
534
+ this.requestConfig = buildRequestConfigFromMetaPath(GetAccountSecureContactInfoCommand.metaPath);
535
+ }
536
+ }
537
+ /**
538
+ * Command to GetServiceControlPolicy
539
+ */
540
+ export class GetServiceControlPolicyCommand extends Command<
541
+ GetServiceControlPolicyRequest,
542
+ GetServiceControlPolicyCommandOutput,
543
+ 'GetServiceControlPolicyCommand'
544
+ > {
545
+ static readonly metaPath = '/GetServiceControlPolicy/2022-01-01/organization/post/application_json/';
546
+
547
+ constructor(input: GetServiceControlPolicyRequest) {
548
+ super(input);
549
+ this.requestConfig = buildRequestConfigFromMetaPath(GetServiceControlPolicyCommand.metaPath);
550
+ }
551
+ }
552
+ /**
553
+ * Command to GetServiceControlPolicyEnablement
554
+ */
555
+ export class GetServiceControlPolicyEnablementCommand extends Command<
556
+ GetServiceControlPolicyEnablementRequest,
557
+ GetServiceControlPolicyEnablementCommandOutput,
558
+ 'GetServiceControlPolicyEnablementCommand'
559
+ > {
560
+ static readonly metaPath = '/GetServiceControlPolicyEnablement/2022-01-01/organization/post/application_json/';
561
+
562
+ constructor(input: GetServiceControlPolicyEnablementRequest) {
563
+ super(input);
564
+ this.requestConfig = buildRequestConfigFromMetaPath(GetServiceControlPolicyEnablementCommand.metaPath);
565
+ }
566
+ }
567
+ /**
568
+ * Command to InviteAccount
569
+ */
570
+ export class InviteAccountCommand extends Command<
571
+ InviteAccountRequest,
572
+ InviteAccountCommandOutput,
573
+ 'InviteAccountCommand'
574
+ > {
575
+ static readonly metaPath = '/InviteAccount/2022-01-01/organization/post/application_json/';
576
+
577
+ constructor(input: InviteAccountRequest) {
578
+ super(input);
579
+ this.requestConfig = buildRequestConfigFromMetaPath(InviteAccountCommand.metaPath);
580
+ }
581
+ }
582
+ /**
583
+ * Command to ListAccounts
584
+ */
585
+ export class ListAccountsCommand extends Command<
586
+ ListAccountsRequest,
587
+ ListAccountsCommandOutput,
588
+ 'ListAccountsCommand'
589
+ > {
590
+ static readonly metaPath = '/ListAccounts/2022-01-01/organization/post/application_json/';
591
+
592
+ constructor(input: ListAccountsRequest) {
593
+ super(input);
594
+ this.requestConfig = buildRequestConfigFromMetaPath(ListAccountsCommand.metaPath);
595
+ }
596
+ }
597
+ /**
598
+ * Command to ListInvitations
599
+ */
600
+ export class ListInvitationsCommand extends Command<
601
+ ListInvitationsRequest,
602
+ ListInvitationsCommandOutput,
603
+ 'ListInvitationsCommand'
604
+ > {
605
+ static readonly metaPath = '/ListInvitations/2022-01-01/organization/post/application_json/';
606
+
607
+ constructor(input: ListInvitationsRequest) {
608
+ super(input);
609
+ this.requestConfig = buildRequestConfigFromMetaPath(ListInvitationsCommand.metaPath);
610
+ }
611
+ }
612
+ /**
613
+ * Command to ListOrganizationalUnits
614
+ */
615
+ export class ListOrganizationalUnitsCommand extends Command<
616
+ ListOrganizationalUnitsRequest,
617
+ ListOrganizationalUnitsCommandOutput,
618
+ 'ListOrganizationalUnitsCommand'
619
+ > {
620
+ static readonly metaPath = '/ListOrganizationalUnits/2022-01-01/organization/post/application_json/';
621
+
622
+ constructor(input: ListOrganizationalUnitsRequest) {
623
+ super(input);
624
+ this.requestConfig = buildRequestConfigFromMetaPath(ListOrganizationalUnitsCommand.metaPath);
625
+ }
626
+ }
627
+ /**
628
+ * Command to ListOrganizationalUnitsForParent
629
+ */
630
+ export class ListOrganizationalUnitsForParentCommand extends Command<
631
+ ListOrganizationalUnitsForParentRequest,
632
+ ListOrganizationalUnitsForParentCommandOutput,
633
+ 'ListOrganizationalUnitsForParentCommand'
634
+ > {
635
+ static readonly metaPath = '/ListOrganizationalUnitsForParent/2022-01-01/organization/post/application_json/';
636
+
637
+ constructor(input: ListOrganizationalUnitsForParentRequest) {
638
+ super(input);
639
+ this.requestConfig = buildRequestConfigFromMetaPath(ListOrganizationalUnitsForParentCommand.metaPath);
640
+ }
641
+ }
642
+ /**
643
+ * Command to ListPoliciesForTarget
644
+ */
645
+ export class ListPoliciesForTargetCommand extends Command<
646
+ ListPoliciesForTargetRequest,
647
+ ListPoliciesForTargetCommandOutput,
648
+ 'ListPoliciesForTargetCommand'
649
+ > {
650
+ static readonly metaPath = '/ListPoliciesForTarget/2022-01-01/organization/post/application_json/';
651
+
652
+ constructor(input: ListPoliciesForTargetRequest) {
653
+ super(input);
654
+ this.requestConfig = buildRequestConfigFromMetaPath(ListPoliciesForTargetCommand.metaPath);
655
+ }
656
+ }
657
+ /**
658
+ * Command to ListServiceControlPolicies
659
+ */
660
+ export class ListServiceControlPoliciesCommand extends Command<
661
+ ListServiceControlPoliciesRequest,
662
+ ListServiceControlPoliciesCommandOutput,
663
+ 'ListServiceControlPoliciesCommand'
664
+ > {
665
+ static readonly metaPath = '/ListServiceControlPolicies/2022-01-01/organization/post/application_json/';
666
+
667
+ constructor(input: ListServiceControlPoliciesRequest) {
668
+ super(input);
669
+ this.requestConfig = buildRequestConfigFromMetaPath(ListServiceControlPoliciesCommand.metaPath);
670
+ }
671
+ }
672
+ /**
673
+ * Command to ListTagResources
674
+ */
675
+ export class ListTagResourcesCommand extends Command<
676
+ ListTagResourcesRequest,
677
+ ListTagResourcesCommandOutput,
678
+ 'ListTagResourcesCommand'
679
+ > {
680
+ static readonly metaPath = '/ListTagResources/2022-01-01/organization/get/text_plain/';
681
+
682
+ constructor(input: ListTagResourcesRequest) {
683
+ super(input);
684
+ this.requestConfig = buildRequestConfigFromMetaPath(ListTagResourcesCommand.metaPath);
685
+ }
686
+ }
687
+ /**
688
+ * Command to ListTargetsForPolicy
689
+ */
690
+ export class ListTargetsForPolicyCommand extends Command<
691
+ ListTargetsForPolicyRequest,
692
+ ListTargetsForPolicyCommandOutput,
693
+ 'ListTargetsForPolicyCommand'
694
+ > {
695
+ static readonly metaPath = '/ListTargetsForPolicy/2022-01-01/organization/post/application_json/';
696
+
697
+ constructor(input: ListTargetsForPolicyRequest) {
698
+ super(input);
699
+ this.requestConfig = buildRequestConfigFromMetaPath(ListTargetsForPolicyCommand.metaPath);
700
+ }
701
+ }
702
+ /**
703
+ * Command to MoveAccount
704
+ */
705
+ export class MoveAccountCommand extends Command<
706
+ MoveAccountRequest,
707
+ MoveAccountCommandOutput,
708
+ 'MoveAccountCommand'
709
+ > {
710
+ static readonly metaPath = '/MoveAccount/2022-01-01/organization/post/application_json/';
711
+
712
+ constructor(input: MoveAccountRequest) {
713
+ super(input);
714
+ this.requestConfig = buildRequestConfigFromMetaPath(MoveAccountCommand.metaPath);
715
+ }
716
+ }
717
+ /**
718
+ * Command to QuitOrganization
719
+ */
720
+ export class QuitOrganizationCommand extends Command<
721
+ QuitOrganizationRequest,
722
+ QuitOrganizationCommandOutput,
723
+ 'QuitOrganizationCommand'
724
+ > {
725
+ static readonly metaPath = '/QuitOrganization/2022-01-01/organization/post/application_json/';
726
+
727
+ constructor(input: QuitOrganizationRequest) {
728
+ super(input);
729
+ this.requestConfig = buildRequestConfigFromMetaPath(QuitOrganizationCommand.metaPath);
730
+ }
731
+ }
732
+ /**
733
+ * Command to ReInviteAccount
734
+ */
735
+ export class ReInviteAccountCommand extends Command<
736
+ ReInviteAccountRequest,
737
+ ReInviteAccountCommandOutput,
738
+ 'ReInviteAccountCommand'
739
+ > {
740
+ static readonly metaPath = '/ReInviteAccount/2022-01-01/organization/post/application_json/';
741
+
742
+ constructor(input: ReInviteAccountRequest) {
743
+ super(input);
744
+ this.requestConfig = buildRequestConfigFromMetaPath(ReInviteAccountCommand.metaPath);
745
+ }
746
+ }
747
+ /**
748
+ * Command to RejectInvitation
749
+ */
750
+ export class RejectInvitationCommand extends Command<
751
+ RejectInvitationRequest,
752
+ RejectInvitationCommandOutput,
753
+ 'RejectInvitationCommand'
754
+ > {
755
+ static readonly metaPath = '/RejectInvitation/2022-01-01/organization/post/application_json/';
756
+
757
+ constructor(input: RejectInvitationRequest) {
758
+ super(input);
759
+ this.requestConfig = buildRequestConfigFromMetaPath(RejectInvitationCommand.metaPath);
760
+ }
761
+ }
762
+ /**
763
+ * Command to RejectQuitApplication
764
+ */
765
+ export class RejectQuitApplicationCommand extends Command<
766
+ RejectQuitApplicationRequest,
767
+ RejectQuitApplicationCommandOutput,
768
+ 'RejectQuitApplicationCommand'
769
+ > {
770
+ static readonly metaPath = '/RejectQuitApplication/2022-01-01/organization/post/application_json/';
771
+
772
+ constructor(input: RejectQuitApplicationRequest) {
773
+ super(input);
774
+ this.requestConfig = buildRequestConfigFromMetaPath(RejectQuitApplicationCommand.metaPath);
775
+ }
776
+ }
777
+ /**
778
+ * Command to RemoveAccount
779
+ */
780
+ export class RemoveAccountCommand extends Command<
781
+ RemoveAccountRequest,
782
+ RemoveAccountCommandOutput,
783
+ 'RemoveAccountCommand'
784
+ > {
785
+ static readonly metaPath = '/RemoveAccount/2022-01-01/organization/post/application_json/';
786
+
787
+ constructor(input: RemoveAccountRequest) {
788
+ super(input);
789
+ this.requestConfig = buildRequestConfigFromMetaPath(RemoveAccountCommand.metaPath);
790
+ }
791
+ }
792
+ /**
793
+ * Command to RetryChangeAccountSecureContactInfo
794
+ */
795
+ export class RetryChangeAccountSecureContactInfoCommand extends Command<
796
+ RetryChangeAccountSecureContactInfoRequest,
797
+ RetryChangeAccountSecureContactInfoCommandOutput,
798
+ 'RetryChangeAccountSecureContactInfoCommand'
799
+ > {
800
+ static readonly metaPath = '/RetryChangeAccountSecureContactInfo/2022-01-01/organization/post/application_json/';
801
+
802
+ constructor(input: RetryChangeAccountSecureContactInfoRequest) {
803
+ super(input);
804
+ this.requestConfig = buildRequestConfigFromMetaPath(RetryChangeAccountSecureContactInfoCommand.metaPath);
805
+ }
806
+ }
807
+ /**
808
+ * Command to TagResources
809
+ */
810
+ export class TagResourcesCommand extends Command<
811
+ TagResourcesRequest,
812
+ TagResourcesCommandOutput,
813
+ 'TagResourcesCommand'
814
+ > {
815
+ static readonly metaPath = '/TagResources/2022-01-01/organization/get/text_plain/';
816
+
817
+ constructor(input: TagResourcesRequest) {
818
+ super(input);
819
+ this.requestConfig = buildRequestConfigFromMetaPath(TagResourcesCommand.metaPath);
820
+ }
821
+ }
822
+ /**
823
+ * Command to UntagResources
824
+ */
825
+ export class UntagResourcesCommand extends Command<
826
+ UntagResourcesRequest,
827
+ UntagResourcesCommandOutput,
828
+ 'UntagResourcesCommand'
829
+ > {
830
+ static readonly metaPath = '/UntagResources/2022-01-01/organization/get/text_plain/';
831
+
832
+ constructor(input: UntagResourcesRequest) {
833
+ super(input);
834
+ this.requestConfig = buildRequestConfigFromMetaPath(UntagResourcesCommand.metaPath);
835
+ }
836
+ }
837
+ /**
838
+ * Command to UpdateAccount
839
+ */
840
+ export class UpdateAccountCommand extends Command<
841
+ UpdateAccountRequest,
842
+ UpdateAccountCommandOutput,
843
+ 'UpdateAccountCommand'
844
+ > {
845
+ static readonly metaPath = '/UpdateAccount/2022-01-01/organization/post/application_json/';
846
+
847
+ constructor(input: UpdateAccountRequest) {
848
+ super(input);
849
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdateAccountCommand.metaPath);
850
+ }
851
+ }
852
+ /**
853
+ * Command to UpdateOrganizationalUnit
854
+ */
855
+ export class UpdateOrganizationalUnitCommand extends Command<
856
+ UpdateOrganizationalUnitRequest,
857
+ UpdateOrganizationalUnitCommandOutput,
858
+ 'UpdateOrganizationalUnitCommand'
859
+ > {
860
+ static readonly metaPath = '/UpdateOrganizationalUnit/2022-01-01/organization/post/application_json/';
861
+
862
+ constructor(input: UpdateOrganizationalUnitRequest) {
863
+ super(input);
864
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdateOrganizationalUnitCommand.metaPath);
865
+ }
866
+ }
867
+ /**
868
+ * Command to UpdateServiceControlPolicy
869
+ */
870
+ export class UpdateServiceControlPolicyCommand extends Command<
871
+ UpdateServiceControlPolicyRequest,
872
+ UpdateServiceControlPolicyCommandOutput,
873
+ 'UpdateServiceControlPolicyCommand'
874
+ > {
875
+ static readonly metaPath = '/UpdateServiceControlPolicy/2022-01-01/organization/post/application_json/';
876
+
877
+ constructor(input: UpdateServiceControlPolicyRequest) {
878
+ super(input);
879
+ this.requestConfig = buildRequestConfigFromMetaPath(UpdateServiceControlPolicyCommand.metaPath);
880
+ }
881
+ }
882
+
883
+ export default {
884
+ ORGANIZATIONClient,
885
+ AcceptInvitationCommand,
886
+ AcceptQuitApplicationCommand,
887
+ AttachServiceControlPolicyCommand,
888
+ CancelChangeAccountSecureContactInfoCommand,
889
+ CancelInvitationCommand,
890
+ ChangeAccountSecureContactInfoCommand,
891
+ CreateAccountCommand,
892
+ CreateOrganizationCommand,
893
+ CreateOrganizationalUnitCommand,
894
+ CreateServiceControlPolicyCommand,
895
+ DeleteOrganizationCommand,
896
+ DeleteOrganizationalUnitCommand,
897
+ DeleteServiceControlPolicyCommand,
898
+ DescribeAccountCommand,
899
+ DescribeAccountInvitationCommand,
900
+ DescribeOrganizationCommand,
901
+ DescribeOrganizationalUnitCommand,
902
+ DescribeQuitApplicationCommand,
903
+ DetachServiceControlPolicyCommand,
904
+ DisableConsoleLoginCommand,
905
+ DisableServiceControlPolicyCommand,
906
+ EnableConsoleLoginCommand,
907
+ EnableServiceControlPolicyCommand,
908
+ GetAccountSecureContactInfoCommand,
909
+ GetServiceControlPolicyCommand,
910
+ GetServiceControlPolicyEnablementCommand,
911
+ InviteAccountCommand,
912
+ ListAccountsCommand,
913
+ ListInvitationsCommand,
914
+ ListOrganizationalUnitsCommand,
915
+ ListOrganizationalUnitsForParentCommand,
916
+ ListPoliciesForTargetCommand,
917
+ ListServiceControlPoliciesCommand,
918
+ ListTagResourcesCommand,
919
+ ListTargetsForPolicyCommand,
920
+ MoveAccountCommand,
921
+ QuitOrganizationCommand,
922
+ ReInviteAccountCommand,
923
+ RejectInvitationCommand,
924
+ RejectQuitApplicationCommand,
925
+ RemoveAccountCommand,
926
+ RetryChangeAccountSecureContactInfoCommand,
927
+ TagResourcesCommand,
928
+ UntagResourcesCommand,
929
+ UpdateAccountCommand,
930
+ UpdateOrganizationalUnitCommand,
931
+ UpdateServiceControlPolicyCommand,
932
+ };