@aws-sdk/client-clouddirectory 3.35.0 → 3.36.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 (491) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/CloudDirectory.js +0 -1
  3. package/dist-cjs/CloudDirectoryClient.js +0 -1
  4. package/dist-cjs/commands/AddFacetToObjectCommand.js +0 -1
  5. package/dist-cjs/commands/ApplySchemaCommand.js +0 -1
  6. package/dist-cjs/commands/AttachObjectCommand.js +0 -1
  7. package/dist-cjs/commands/AttachPolicyCommand.js +0 -1
  8. package/dist-cjs/commands/AttachToIndexCommand.js +0 -1
  9. package/dist-cjs/commands/AttachTypedLinkCommand.js +0 -1
  10. package/dist-cjs/commands/BatchReadCommand.js +0 -1
  11. package/dist-cjs/commands/BatchWriteCommand.js +0 -1
  12. package/dist-cjs/commands/CreateDirectoryCommand.js +0 -1
  13. package/dist-cjs/commands/CreateFacetCommand.js +0 -1
  14. package/dist-cjs/commands/CreateIndexCommand.js +0 -1
  15. package/dist-cjs/commands/CreateObjectCommand.js +0 -1
  16. package/dist-cjs/commands/CreateSchemaCommand.js +0 -1
  17. package/dist-cjs/commands/CreateTypedLinkFacetCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteDirectoryCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteFacetCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteObjectCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteSchemaCommand.js +0 -1
  22. package/dist-cjs/commands/DeleteTypedLinkFacetCommand.js +0 -1
  23. package/dist-cjs/commands/DetachFromIndexCommand.js +0 -1
  24. package/dist-cjs/commands/DetachObjectCommand.js +0 -1
  25. package/dist-cjs/commands/DetachPolicyCommand.js +0 -1
  26. package/dist-cjs/commands/DetachTypedLinkCommand.js +0 -1
  27. package/dist-cjs/commands/DisableDirectoryCommand.js +0 -1
  28. package/dist-cjs/commands/EnableDirectoryCommand.js +0 -1
  29. package/dist-cjs/commands/GetAppliedSchemaVersionCommand.js +0 -1
  30. package/dist-cjs/commands/GetDirectoryCommand.js +0 -1
  31. package/dist-cjs/commands/GetFacetCommand.js +0 -1
  32. package/dist-cjs/commands/GetLinkAttributesCommand.js +0 -1
  33. package/dist-cjs/commands/GetObjectAttributesCommand.js +0 -1
  34. package/dist-cjs/commands/GetObjectInformationCommand.js +0 -1
  35. package/dist-cjs/commands/GetSchemaAsJsonCommand.js +0 -1
  36. package/dist-cjs/commands/GetTypedLinkFacetInformationCommand.js +0 -1
  37. package/dist-cjs/commands/ListAppliedSchemaArnsCommand.js +0 -1
  38. package/dist-cjs/commands/ListAttachedIndicesCommand.js +0 -1
  39. package/dist-cjs/commands/ListDevelopmentSchemaArnsCommand.js +0 -1
  40. package/dist-cjs/commands/ListDirectoriesCommand.js +0 -1
  41. package/dist-cjs/commands/ListFacetAttributesCommand.js +0 -1
  42. package/dist-cjs/commands/ListFacetNamesCommand.js +0 -1
  43. package/dist-cjs/commands/ListIncomingTypedLinksCommand.js +0 -1
  44. package/dist-cjs/commands/ListIndexCommand.js +0 -1
  45. package/dist-cjs/commands/ListManagedSchemaArnsCommand.js +0 -1
  46. package/dist-cjs/commands/ListObjectAttributesCommand.js +0 -1
  47. package/dist-cjs/commands/ListObjectChildrenCommand.js +0 -1
  48. package/dist-cjs/commands/ListObjectParentPathsCommand.js +0 -1
  49. package/dist-cjs/commands/ListObjectParentsCommand.js +0 -1
  50. package/dist-cjs/commands/ListObjectPoliciesCommand.js +0 -1
  51. package/dist-cjs/commands/ListOutgoingTypedLinksCommand.js +0 -1
  52. package/dist-cjs/commands/ListPolicyAttachmentsCommand.js +0 -1
  53. package/dist-cjs/commands/ListPublishedSchemaArnsCommand.js +0 -1
  54. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  55. package/dist-cjs/commands/ListTypedLinkFacetAttributesCommand.js +0 -1
  56. package/dist-cjs/commands/ListTypedLinkFacetNamesCommand.js +0 -1
  57. package/dist-cjs/commands/LookupPolicyCommand.js +0 -1
  58. package/dist-cjs/commands/PublishSchemaCommand.js +0 -1
  59. package/dist-cjs/commands/PutSchemaFromJsonCommand.js +0 -1
  60. package/dist-cjs/commands/RemoveFacetFromObjectCommand.js +0 -1
  61. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  62. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  63. package/dist-cjs/commands/UpdateFacetCommand.js +0 -1
  64. package/dist-cjs/commands/UpdateLinkAttributesCommand.js +0 -1
  65. package/dist-cjs/commands/UpdateObjectAttributesCommand.js +0 -1
  66. package/dist-cjs/commands/UpdateSchemaCommand.js +0 -1
  67. package/dist-cjs/commands/UpdateTypedLinkFacetCommand.js +0 -1
  68. package/dist-cjs/commands/UpgradeAppliedSchemaCommand.js +0 -1
  69. package/dist-cjs/commands/UpgradePublishedSchemaCommand.js +0 -1
  70. package/dist-cjs/endpoints.js +0 -1
  71. package/dist-cjs/index.js +0 -1
  72. package/dist-cjs/models/index.js +0 -1
  73. package/dist-cjs/models/models_0.js +0 -1
  74. package/dist-cjs/pagination/Interfaces.js +0 -1
  75. package/dist-cjs/pagination/ListAppliedSchemaArnsPaginator.js +0 -1
  76. package/dist-cjs/pagination/ListAttachedIndicesPaginator.js +0 -1
  77. package/dist-cjs/pagination/ListDevelopmentSchemaArnsPaginator.js +0 -1
  78. package/dist-cjs/pagination/ListDirectoriesPaginator.js +0 -1
  79. package/dist-cjs/pagination/ListFacetAttributesPaginator.js +0 -1
  80. package/dist-cjs/pagination/ListFacetNamesPaginator.js +0 -1
  81. package/dist-cjs/pagination/ListIndexPaginator.js +0 -1
  82. package/dist-cjs/pagination/ListManagedSchemaArnsPaginator.js +0 -1
  83. package/dist-cjs/pagination/ListObjectAttributesPaginator.js +0 -1
  84. package/dist-cjs/pagination/ListObjectChildrenPaginator.js +0 -1
  85. package/dist-cjs/pagination/ListObjectParentPathsPaginator.js +0 -1
  86. package/dist-cjs/pagination/ListObjectParentsPaginator.js +0 -1
  87. package/dist-cjs/pagination/ListObjectPoliciesPaginator.js +0 -1
  88. package/dist-cjs/pagination/ListPolicyAttachmentsPaginator.js +0 -1
  89. package/dist-cjs/pagination/ListPublishedSchemaArnsPaginator.js +0 -1
  90. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
  91. package/dist-cjs/pagination/ListTypedLinkFacetAttributesPaginator.js +0 -1
  92. package/dist-cjs/pagination/ListTypedLinkFacetNamesPaginator.js +0 -1
  93. package/dist-cjs/pagination/LookupPolicyPaginator.js +0 -1
  94. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  95. package/dist-cjs/runtimeConfig.browser.js +2 -3
  96. package/dist-cjs/runtimeConfig.js +3 -4
  97. package/dist-cjs/runtimeConfig.native.js +0 -1
  98. package/dist-cjs/runtimeConfig.shared.js +0 -1
  99. package/dist-es/CloudDirectory.js +0 -1
  100. package/dist-es/CloudDirectoryClient.js +0 -1
  101. package/dist-es/commands/AddFacetToObjectCommand.js +0 -1
  102. package/dist-es/commands/ApplySchemaCommand.js +0 -1
  103. package/dist-es/commands/AttachObjectCommand.js +0 -1
  104. package/dist-es/commands/AttachPolicyCommand.js +0 -1
  105. package/dist-es/commands/AttachToIndexCommand.js +0 -1
  106. package/dist-es/commands/AttachTypedLinkCommand.js +0 -1
  107. package/dist-es/commands/BatchReadCommand.js +0 -1
  108. package/dist-es/commands/BatchWriteCommand.js +0 -1
  109. package/dist-es/commands/CreateDirectoryCommand.js +0 -1
  110. package/dist-es/commands/CreateFacetCommand.js +0 -1
  111. package/dist-es/commands/CreateIndexCommand.js +0 -1
  112. package/dist-es/commands/CreateObjectCommand.js +0 -1
  113. package/dist-es/commands/CreateSchemaCommand.js +0 -1
  114. package/dist-es/commands/CreateTypedLinkFacetCommand.js +0 -1
  115. package/dist-es/commands/DeleteDirectoryCommand.js +0 -1
  116. package/dist-es/commands/DeleteFacetCommand.js +0 -1
  117. package/dist-es/commands/DeleteObjectCommand.js +0 -1
  118. package/dist-es/commands/DeleteSchemaCommand.js +0 -1
  119. package/dist-es/commands/DeleteTypedLinkFacetCommand.js +0 -1
  120. package/dist-es/commands/DetachFromIndexCommand.js +0 -1
  121. package/dist-es/commands/DetachObjectCommand.js +0 -1
  122. package/dist-es/commands/DetachPolicyCommand.js +0 -1
  123. package/dist-es/commands/DetachTypedLinkCommand.js +0 -1
  124. package/dist-es/commands/DisableDirectoryCommand.js +0 -1
  125. package/dist-es/commands/EnableDirectoryCommand.js +0 -1
  126. package/dist-es/commands/GetAppliedSchemaVersionCommand.js +0 -1
  127. package/dist-es/commands/GetDirectoryCommand.js +0 -1
  128. package/dist-es/commands/GetFacetCommand.js +0 -1
  129. package/dist-es/commands/GetLinkAttributesCommand.js +0 -1
  130. package/dist-es/commands/GetObjectAttributesCommand.js +0 -1
  131. package/dist-es/commands/GetObjectInformationCommand.js +0 -1
  132. package/dist-es/commands/GetSchemaAsJsonCommand.js +0 -1
  133. package/dist-es/commands/GetTypedLinkFacetInformationCommand.js +0 -1
  134. package/dist-es/commands/ListAppliedSchemaArnsCommand.js +0 -1
  135. package/dist-es/commands/ListAttachedIndicesCommand.js +0 -1
  136. package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js +0 -1
  137. package/dist-es/commands/ListDirectoriesCommand.js +0 -1
  138. package/dist-es/commands/ListFacetAttributesCommand.js +0 -1
  139. package/dist-es/commands/ListFacetNamesCommand.js +0 -1
  140. package/dist-es/commands/ListIncomingTypedLinksCommand.js +0 -1
  141. package/dist-es/commands/ListIndexCommand.js +0 -1
  142. package/dist-es/commands/ListManagedSchemaArnsCommand.js +0 -1
  143. package/dist-es/commands/ListObjectAttributesCommand.js +0 -1
  144. package/dist-es/commands/ListObjectChildrenCommand.js +0 -1
  145. package/dist-es/commands/ListObjectParentPathsCommand.js +0 -1
  146. package/dist-es/commands/ListObjectParentsCommand.js +0 -1
  147. package/dist-es/commands/ListObjectPoliciesCommand.js +0 -1
  148. package/dist-es/commands/ListOutgoingTypedLinksCommand.js +0 -1
  149. package/dist-es/commands/ListPolicyAttachmentsCommand.js +0 -1
  150. package/dist-es/commands/ListPublishedSchemaArnsCommand.js +0 -1
  151. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  152. package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js +0 -1
  153. package/dist-es/commands/ListTypedLinkFacetNamesCommand.js +0 -1
  154. package/dist-es/commands/LookupPolicyCommand.js +0 -1
  155. package/dist-es/commands/PublishSchemaCommand.js +0 -1
  156. package/dist-es/commands/PutSchemaFromJsonCommand.js +0 -1
  157. package/dist-es/commands/RemoveFacetFromObjectCommand.js +0 -1
  158. package/dist-es/commands/TagResourceCommand.js +0 -1
  159. package/dist-es/commands/UntagResourceCommand.js +0 -1
  160. package/dist-es/commands/UpdateFacetCommand.js +0 -1
  161. package/dist-es/commands/UpdateLinkAttributesCommand.js +0 -1
  162. package/dist-es/commands/UpdateObjectAttributesCommand.js +0 -1
  163. package/dist-es/commands/UpdateSchemaCommand.js +0 -1
  164. package/dist-es/commands/UpdateTypedLinkFacetCommand.js +0 -1
  165. package/dist-es/commands/UpgradeAppliedSchemaCommand.js +0 -1
  166. package/dist-es/commands/UpgradePublishedSchemaCommand.js +0 -1
  167. package/dist-es/endpoints.js +0 -1
  168. package/dist-es/index.js +0 -1
  169. package/dist-es/models/index.js +0 -1
  170. package/dist-es/models/models_0.js +0 -1
  171. package/dist-es/pagination/Interfaces.js +0 -1
  172. package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js +0 -1
  173. package/dist-es/pagination/ListAttachedIndicesPaginator.js +0 -1
  174. package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js +0 -1
  175. package/dist-es/pagination/ListDirectoriesPaginator.js +0 -1
  176. package/dist-es/pagination/ListFacetAttributesPaginator.js +0 -1
  177. package/dist-es/pagination/ListFacetNamesPaginator.js +0 -1
  178. package/dist-es/pagination/ListIndexPaginator.js +0 -1
  179. package/dist-es/pagination/ListManagedSchemaArnsPaginator.js +0 -1
  180. package/dist-es/pagination/ListObjectAttributesPaginator.js +0 -1
  181. package/dist-es/pagination/ListObjectChildrenPaginator.js +0 -1
  182. package/dist-es/pagination/ListObjectParentPathsPaginator.js +0 -1
  183. package/dist-es/pagination/ListObjectParentsPaginator.js +0 -1
  184. package/dist-es/pagination/ListObjectPoliciesPaginator.js +0 -1
  185. package/dist-es/pagination/ListPolicyAttachmentsPaginator.js +0 -1
  186. package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js +0 -1
  187. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  188. package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js +0 -1
  189. package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js +0 -1
  190. package/dist-es/pagination/LookupPolicyPaginator.js +0 -1
  191. package/dist-es/protocols/Aws_restJson1.js +0 -1
  192. package/dist-es/runtimeConfig.browser.js +1 -2
  193. package/dist-es/runtimeConfig.js +2 -3
  194. package/dist-es/runtimeConfig.native.js +0 -1
  195. package/dist-es/runtimeConfig.shared.js +0 -1
  196. package/package.json +33 -30
  197. package/dist-cjs/CloudDirectory.js.map +0 -1
  198. package/dist-cjs/CloudDirectoryClient.js.map +0 -1
  199. package/dist-cjs/commands/AddFacetToObjectCommand.js.map +0 -1
  200. package/dist-cjs/commands/ApplySchemaCommand.js.map +0 -1
  201. package/dist-cjs/commands/AttachObjectCommand.js.map +0 -1
  202. package/dist-cjs/commands/AttachPolicyCommand.js.map +0 -1
  203. package/dist-cjs/commands/AttachToIndexCommand.js.map +0 -1
  204. package/dist-cjs/commands/AttachTypedLinkCommand.js.map +0 -1
  205. package/dist-cjs/commands/BatchReadCommand.js.map +0 -1
  206. package/dist-cjs/commands/BatchWriteCommand.js.map +0 -1
  207. package/dist-cjs/commands/CreateDirectoryCommand.js.map +0 -1
  208. package/dist-cjs/commands/CreateFacetCommand.js.map +0 -1
  209. package/dist-cjs/commands/CreateIndexCommand.js.map +0 -1
  210. package/dist-cjs/commands/CreateObjectCommand.js.map +0 -1
  211. package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
  212. package/dist-cjs/commands/CreateTypedLinkFacetCommand.js.map +0 -1
  213. package/dist-cjs/commands/DeleteDirectoryCommand.js.map +0 -1
  214. package/dist-cjs/commands/DeleteFacetCommand.js.map +0 -1
  215. package/dist-cjs/commands/DeleteObjectCommand.js.map +0 -1
  216. package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
  217. package/dist-cjs/commands/DeleteTypedLinkFacetCommand.js.map +0 -1
  218. package/dist-cjs/commands/DetachFromIndexCommand.js.map +0 -1
  219. package/dist-cjs/commands/DetachObjectCommand.js.map +0 -1
  220. package/dist-cjs/commands/DetachPolicyCommand.js.map +0 -1
  221. package/dist-cjs/commands/DetachTypedLinkCommand.js.map +0 -1
  222. package/dist-cjs/commands/DisableDirectoryCommand.js.map +0 -1
  223. package/dist-cjs/commands/EnableDirectoryCommand.js.map +0 -1
  224. package/dist-cjs/commands/GetAppliedSchemaVersionCommand.js.map +0 -1
  225. package/dist-cjs/commands/GetDirectoryCommand.js.map +0 -1
  226. package/dist-cjs/commands/GetFacetCommand.js.map +0 -1
  227. package/dist-cjs/commands/GetLinkAttributesCommand.js.map +0 -1
  228. package/dist-cjs/commands/GetObjectAttributesCommand.js.map +0 -1
  229. package/dist-cjs/commands/GetObjectInformationCommand.js.map +0 -1
  230. package/dist-cjs/commands/GetSchemaAsJsonCommand.js.map +0 -1
  231. package/dist-cjs/commands/GetTypedLinkFacetInformationCommand.js.map +0 -1
  232. package/dist-cjs/commands/ListAppliedSchemaArnsCommand.js.map +0 -1
  233. package/dist-cjs/commands/ListAttachedIndicesCommand.js.map +0 -1
  234. package/dist-cjs/commands/ListDevelopmentSchemaArnsCommand.js.map +0 -1
  235. package/dist-cjs/commands/ListDirectoriesCommand.js.map +0 -1
  236. package/dist-cjs/commands/ListFacetAttributesCommand.js.map +0 -1
  237. package/dist-cjs/commands/ListFacetNamesCommand.js.map +0 -1
  238. package/dist-cjs/commands/ListIncomingTypedLinksCommand.js.map +0 -1
  239. package/dist-cjs/commands/ListIndexCommand.js.map +0 -1
  240. package/dist-cjs/commands/ListManagedSchemaArnsCommand.js.map +0 -1
  241. package/dist-cjs/commands/ListObjectAttributesCommand.js.map +0 -1
  242. package/dist-cjs/commands/ListObjectChildrenCommand.js.map +0 -1
  243. package/dist-cjs/commands/ListObjectParentPathsCommand.js.map +0 -1
  244. package/dist-cjs/commands/ListObjectParentsCommand.js.map +0 -1
  245. package/dist-cjs/commands/ListObjectPoliciesCommand.js.map +0 -1
  246. package/dist-cjs/commands/ListOutgoingTypedLinksCommand.js.map +0 -1
  247. package/dist-cjs/commands/ListPolicyAttachmentsCommand.js.map +0 -1
  248. package/dist-cjs/commands/ListPublishedSchemaArnsCommand.js.map +0 -1
  249. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  250. package/dist-cjs/commands/ListTypedLinkFacetAttributesCommand.js.map +0 -1
  251. package/dist-cjs/commands/ListTypedLinkFacetNamesCommand.js.map +0 -1
  252. package/dist-cjs/commands/LookupPolicyCommand.js.map +0 -1
  253. package/dist-cjs/commands/PublishSchemaCommand.js.map +0 -1
  254. package/dist-cjs/commands/PutSchemaFromJsonCommand.js.map +0 -1
  255. package/dist-cjs/commands/RemoveFacetFromObjectCommand.js.map +0 -1
  256. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  257. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  258. package/dist-cjs/commands/UpdateFacetCommand.js.map +0 -1
  259. package/dist-cjs/commands/UpdateLinkAttributesCommand.js.map +0 -1
  260. package/dist-cjs/commands/UpdateObjectAttributesCommand.js.map +0 -1
  261. package/dist-cjs/commands/UpdateSchemaCommand.js.map +0 -1
  262. package/dist-cjs/commands/UpdateTypedLinkFacetCommand.js.map +0 -1
  263. package/dist-cjs/commands/UpgradeAppliedSchemaCommand.js.map +0 -1
  264. package/dist-cjs/commands/UpgradePublishedSchemaCommand.js.map +0 -1
  265. package/dist-cjs/endpoints.js.map +0 -1
  266. package/dist-cjs/index.js.map +0 -1
  267. package/dist-cjs/models/index.js.map +0 -1
  268. package/dist-cjs/models/models_0.js.map +0 -1
  269. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  270. package/dist-cjs/pagination/ListAppliedSchemaArnsPaginator.js.map +0 -1
  271. package/dist-cjs/pagination/ListAttachedIndicesPaginator.js.map +0 -1
  272. package/dist-cjs/pagination/ListDevelopmentSchemaArnsPaginator.js.map +0 -1
  273. package/dist-cjs/pagination/ListDirectoriesPaginator.js.map +0 -1
  274. package/dist-cjs/pagination/ListFacetAttributesPaginator.js.map +0 -1
  275. package/dist-cjs/pagination/ListFacetNamesPaginator.js.map +0 -1
  276. package/dist-cjs/pagination/ListIndexPaginator.js.map +0 -1
  277. package/dist-cjs/pagination/ListManagedSchemaArnsPaginator.js.map +0 -1
  278. package/dist-cjs/pagination/ListObjectAttributesPaginator.js.map +0 -1
  279. package/dist-cjs/pagination/ListObjectChildrenPaginator.js.map +0 -1
  280. package/dist-cjs/pagination/ListObjectParentPathsPaginator.js.map +0 -1
  281. package/dist-cjs/pagination/ListObjectParentsPaginator.js.map +0 -1
  282. package/dist-cjs/pagination/ListObjectPoliciesPaginator.js.map +0 -1
  283. package/dist-cjs/pagination/ListPolicyAttachmentsPaginator.js.map +0 -1
  284. package/dist-cjs/pagination/ListPublishedSchemaArnsPaginator.js.map +0 -1
  285. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  286. package/dist-cjs/pagination/ListTypedLinkFacetAttributesPaginator.js.map +0 -1
  287. package/dist-cjs/pagination/ListTypedLinkFacetNamesPaginator.js.map +0 -1
  288. package/dist-cjs/pagination/LookupPolicyPaginator.js.map +0 -1
  289. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  290. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  291. package/dist-cjs/runtimeConfig.js.map +0 -1
  292. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  293. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  294. package/dist-es/CloudDirectory.js.map +0 -1
  295. package/dist-es/CloudDirectoryClient.js.map +0 -1
  296. package/dist-es/commands/AddFacetToObjectCommand.js.map +0 -1
  297. package/dist-es/commands/ApplySchemaCommand.js.map +0 -1
  298. package/dist-es/commands/AttachObjectCommand.js.map +0 -1
  299. package/dist-es/commands/AttachPolicyCommand.js.map +0 -1
  300. package/dist-es/commands/AttachToIndexCommand.js.map +0 -1
  301. package/dist-es/commands/AttachTypedLinkCommand.js.map +0 -1
  302. package/dist-es/commands/BatchReadCommand.js.map +0 -1
  303. package/dist-es/commands/BatchWriteCommand.js.map +0 -1
  304. package/dist-es/commands/CreateDirectoryCommand.js.map +0 -1
  305. package/dist-es/commands/CreateFacetCommand.js.map +0 -1
  306. package/dist-es/commands/CreateIndexCommand.js.map +0 -1
  307. package/dist-es/commands/CreateObjectCommand.js.map +0 -1
  308. package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
  309. package/dist-es/commands/CreateTypedLinkFacetCommand.js.map +0 -1
  310. package/dist-es/commands/DeleteDirectoryCommand.js.map +0 -1
  311. package/dist-es/commands/DeleteFacetCommand.js.map +0 -1
  312. package/dist-es/commands/DeleteObjectCommand.js.map +0 -1
  313. package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
  314. package/dist-es/commands/DeleteTypedLinkFacetCommand.js.map +0 -1
  315. package/dist-es/commands/DetachFromIndexCommand.js.map +0 -1
  316. package/dist-es/commands/DetachObjectCommand.js.map +0 -1
  317. package/dist-es/commands/DetachPolicyCommand.js.map +0 -1
  318. package/dist-es/commands/DetachTypedLinkCommand.js.map +0 -1
  319. package/dist-es/commands/DisableDirectoryCommand.js.map +0 -1
  320. package/dist-es/commands/EnableDirectoryCommand.js.map +0 -1
  321. package/dist-es/commands/GetAppliedSchemaVersionCommand.js.map +0 -1
  322. package/dist-es/commands/GetDirectoryCommand.js.map +0 -1
  323. package/dist-es/commands/GetFacetCommand.js.map +0 -1
  324. package/dist-es/commands/GetLinkAttributesCommand.js.map +0 -1
  325. package/dist-es/commands/GetObjectAttributesCommand.js.map +0 -1
  326. package/dist-es/commands/GetObjectInformationCommand.js.map +0 -1
  327. package/dist-es/commands/GetSchemaAsJsonCommand.js.map +0 -1
  328. package/dist-es/commands/GetTypedLinkFacetInformationCommand.js.map +0 -1
  329. package/dist-es/commands/ListAppliedSchemaArnsCommand.js.map +0 -1
  330. package/dist-es/commands/ListAttachedIndicesCommand.js.map +0 -1
  331. package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js.map +0 -1
  332. package/dist-es/commands/ListDirectoriesCommand.js.map +0 -1
  333. package/dist-es/commands/ListFacetAttributesCommand.js.map +0 -1
  334. package/dist-es/commands/ListFacetNamesCommand.js.map +0 -1
  335. package/dist-es/commands/ListIncomingTypedLinksCommand.js.map +0 -1
  336. package/dist-es/commands/ListIndexCommand.js.map +0 -1
  337. package/dist-es/commands/ListManagedSchemaArnsCommand.js.map +0 -1
  338. package/dist-es/commands/ListObjectAttributesCommand.js.map +0 -1
  339. package/dist-es/commands/ListObjectChildrenCommand.js.map +0 -1
  340. package/dist-es/commands/ListObjectParentPathsCommand.js.map +0 -1
  341. package/dist-es/commands/ListObjectParentsCommand.js.map +0 -1
  342. package/dist-es/commands/ListObjectPoliciesCommand.js.map +0 -1
  343. package/dist-es/commands/ListOutgoingTypedLinksCommand.js.map +0 -1
  344. package/dist-es/commands/ListPolicyAttachmentsCommand.js.map +0 -1
  345. package/dist-es/commands/ListPublishedSchemaArnsCommand.js.map +0 -1
  346. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  347. package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js.map +0 -1
  348. package/dist-es/commands/ListTypedLinkFacetNamesCommand.js.map +0 -1
  349. package/dist-es/commands/LookupPolicyCommand.js.map +0 -1
  350. package/dist-es/commands/PublishSchemaCommand.js.map +0 -1
  351. package/dist-es/commands/PutSchemaFromJsonCommand.js.map +0 -1
  352. package/dist-es/commands/RemoveFacetFromObjectCommand.js.map +0 -1
  353. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  354. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  355. package/dist-es/commands/UpdateFacetCommand.js.map +0 -1
  356. package/dist-es/commands/UpdateLinkAttributesCommand.js.map +0 -1
  357. package/dist-es/commands/UpdateObjectAttributesCommand.js.map +0 -1
  358. package/dist-es/commands/UpdateSchemaCommand.js.map +0 -1
  359. package/dist-es/commands/UpdateTypedLinkFacetCommand.js.map +0 -1
  360. package/dist-es/commands/UpgradeAppliedSchemaCommand.js.map +0 -1
  361. package/dist-es/commands/UpgradePublishedSchemaCommand.js.map +0 -1
  362. package/dist-es/endpoints.js.map +0 -1
  363. package/dist-es/index.js.map +0 -1
  364. package/dist-es/models/index.js.map +0 -1
  365. package/dist-es/models/models_0.js.map +0 -1
  366. package/dist-es/pagination/Interfaces.js.map +0 -1
  367. package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js.map +0 -1
  368. package/dist-es/pagination/ListAttachedIndicesPaginator.js.map +0 -1
  369. package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js.map +0 -1
  370. package/dist-es/pagination/ListDirectoriesPaginator.js.map +0 -1
  371. package/dist-es/pagination/ListFacetAttributesPaginator.js.map +0 -1
  372. package/dist-es/pagination/ListFacetNamesPaginator.js.map +0 -1
  373. package/dist-es/pagination/ListIndexPaginator.js.map +0 -1
  374. package/dist-es/pagination/ListManagedSchemaArnsPaginator.js.map +0 -1
  375. package/dist-es/pagination/ListObjectAttributesPaginator.js.map +0 -1
  376. package/dist-es/pagination/ListObjectChildrenPaginator.js.map +0 -1
  377. package/dist-es/pagination/ListObjectParentPathsPaginator.js.map +0 -1
  378. package/dist-es/pagination/ListObjectParentsPaginator.js.map +0 -1
  379. package/dist-es/pagination/ListObjectPoliciesPaginator.js.map +0 -1
  380. package/dist-es/pagination/ListPolicyAttachmentsPaginator.js.map +0 -1
  381. package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js.map +0 -1
  382. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  383. package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js.map +0 -1
  384. package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js.map +0 -1
  385. package/dist-es/pagination/LookupPolicyPaginator.js.map +0 -1
  386. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  387. package/dist-es/runtimeConfig.browser.js.map +0 -1
  388. package/dist-es/runtimeConfig.js.map +0 -1
  389. package/dist-es/runtimeConfig.native.js.map +0 -1
  390. package/dist-es/runtimeConfig.shared.js.map +0 -1
  391. package/jest.config.js +0 -4
  392. package/src/CloudDirectory.ts +0 -2406
  393. package/src/CloudDirectoryClient.ts +0 -517
  394. package/src/commands/AddFacetToObjectCommand.ts +0 -95
  395. package/src/commands/ApplySchemaCommand.ts +0 -96
  396. package/src/commands/AttachObjectCommand.ts +0 -105
  397. package/src/commands/AttachPolicyCommand.ts +0 -96
  398. package/src/commands/AttachToIndexCommand.ts +0 -95
  399. package/src/commands/AttachTypedLinkCommand.ts +0 -95
  400. package/src/commands/BatchReadCommand.ts +0 -95
  401. package/src/commands/BatchWriteCommand.ts +0 -96
  402. package/src/commands/CreateDirectoryCommand.ts +0 -98
  403. package/src/commands/CreateFacetCommand.ts +0 -96
  404. package/src/commands/CreateIndexCommand.ts +0 -95
  405. package/src/commands/CreateObjectCommand.ts +0 -98
  406. package/src/commands/CreateSchemaCommand.ts +0 -115
  407. package/src/commands/CreateTypedLinkFacetCommand.ts +0 -95
  408. package/src/commands/DeleteDirectoryCommand.ts +0 -97
  409. package/src/commands/DeleteFacetCommand.ts +0 -97
  410. package/src/commands/DeleteObjectCommand.ts +0 -96
  411. package/src/commands/DeleteSchemaCommand.ts +0 -95
  412. package/src/commands/DeleteTypedLinkFacetCommand.ts +0 -95
  413. package/src/commands/DetachFromIndexCommand.ts +0 -95
  414. package/src/commands/DetachObjectCommand.ts +0 -96
  415. package/src/commands/DetachPolicyCommand.ts +0 -95
  416. package/src/commands/DetachTypedLinkCommand.ts +0 -95
  417. package/src/commands/DisableDirectoryCommand.ts +0 -96
  418. package/src/commands/EnableDirectoryCommand.ts +0 -96
  419. package/src/commands/GetAppliedSchemaVersionCommand.ts +0 -95
  420. package/src/commands/GetDirectoryCommand.ts +0 -95
  421. package/src/commands/GetFacetCommand.ts +0 -96
  422. package/src/commands/GetLinkAttributesCommand.ts +0 -95
  423. package/src/commands/GetObjectAttributesCommand.ts +0 -95
  424. package/src/commands/GetObjectInformationCommand.ts +0 -95
  425. package/src/commands/GetSchemaAsJsonCommand.ts +0 -95
  426. package/src/commands/GetTypedLinkFacetInformationCommand.ts +0 -100
  427. package/src/commands/ListAppliedSchemaArnsCommand.ts +0 -95
  428. package/src/commands/ListAttachedIndicesCommand.ts +0 -95
  429. package/src/commands/ListDevelopmentSchemaArnsCommand.ts +0 -99
  430. package/src/commands/ListDirectoriesCommand.ts +0 -95
  431. package/src/commands/ListFacetAttributesCommand.ts +0 -95
  432. package/src/commands/ListFacetNamesCommand.ts +0 -95
  433. package/src/commands/ListIncomingTypedLinksCommand.ts +0 -97
  434. package/src/commands/ListIndexCommand.ts +0 -95
  435. package/src/commands/ListManagedSchemaArnsCommand.ts +0 -95
  436. package/src/commands/ListObjectAttributesCommand.ts +0 -96
  437. package/src/commands/ListObjectChildrenCommand.ts +0 -96
  438. package/src/commands/ListObjectParentPathsCommand.ts +0 -102
  439. package/src/commands/ListObjectParentsCommand.ts +0 -96
  440. package/src/commands/ListObjectPoliciesCommand.ts +0 -95
  441. package/src/commands/ListOutgoingTypedLinksCommand.ts +0 -97
  442. package/src/commands/ListPolicyAttachmentsCommand.ts +0 -95
  443. package/src/commands/ListPublishedSchemaArnsCommand.ts +0 -95
  444. package/src/commands/ListTagsForResourceCommand.ts +0 -97
  445. package/src/commands/ListTypedLinkFacetAttributesCommand.ts +0 -100
  446. package/src/commands/ListTypedLinkFacetNamesCommand.ts +0 -96
  447. package/src/commands/LookupPolicyCommand.ts +0 -100
  448. package/src/commands/PublishSchemaCommand.ts +0 -95
  449. package/src/commands/PutSchemaFromJsonCommand.ts +0 -95
  450. package/src/commands/RemoveFacetFromObjectCommand.ts +0 -95
  451. package/src/commands/TagResourceCommand.ts +0 -95
  452. package/src/commands/UntagResourceCommand.ts +0 -95
  453. package/src/commands/UpdateFacetCommand.ts +0 -106
  454. package/src/commands/UpdateLinkAttributesCommand.ts +0 -95
  455. package/src/commands/UpdateObjectAttributesCommand.ts +0 -95
  456. package/src/commands/UpdateSchemaCommand.ts +0 -96
  457. package/src/commands/UpdateTypedLinkFacetCommand.ts +0 -95
  458. package/src/commands/UpgradeAppliedSchemaCommand.ts +0 -95
  459. package/src/commands/UpgradePublishedSchemaCommand.ts +0 -95
  460. package/src/endpoints.ts +0 -57
  461. package/src/index.ts +0 -89
  462. package/src/models/index.ts +0 -1
  463. package/src/models/models_0.ts +0 -6731
  464. package/src/pagination/Interfaces.ts +0 -8
  465. package/src/pagination/ListAppliedSchemaArnsPaginator.ts +0 -59
  466. package/src/pagination/ListAttachedIndicesPaginator.ts +0 -59
  467. package/src/pagination/ListDevelopmentSchemaArnsPaginator.ts +0 -59
  468. package/src/pagination/ListDirectoriesPaginator.ts +0 -59
  469. package/src/pagination/ListFacetAttributesPaginator.ts +0 -59
  470. package/src/pagination/ListFacetNamesPaginator.ts +0 -59
  471. package/src/pagination/ListIndexPaginator.ts +0 -55
  472. package/src/pagination/ListManagedSchemaArnsPaginator.ts +0 -59
  473. package/src/pagination/ListObjectAttributesPaginator.ts +0 -59
  474. package/src/pagination/ListObjectChildrenPaginator.ts +0 -59
  475. package/src/pagination/ListObjectParentPathsPaginator.ts +0 -59
  476. package/src/pagination/ListObjectParentsPaginator.ts +0 -59
  477. package/src/pagination/ListObjectPoliciesPaginator.ts +0 -59
  478. package/src/pagination/ListPolicyAttachmentsPaginator.ts +0 -59
  479. package/src/pagination/ListPublishedSchemaArnsPaginator.ts +0 -59
  480. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  481. package/src/pagination/ListTypedLinkFacetAttributesPaginator.ts +0 -59
  482. package/src/pagination/ListTypedLinkFacetNamesPaginator.ts +0 -59
  483. package/src/pagination/LookupPolicyPaginator.ts +0 -59
  484. package/src/protocols/Aws_restJson1.ts +0 -12887
  485. package/src/runtimeConfig.browser.ts +0 -41
  486. package/src/runtimeConfig.native.ts +0 -17
  487. package/src/runtimeConfig.shared.ts +0 -17
  488. package/src/runtimeConfig.ts +0 -46
  489. package/tsconfig.es.json +0 -10
  490. package/tsconfig.json +0 -33
  491. package/tsconfig.types.json +0 -9
@@ -1,2406 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import { CloudDirectoryClient } from "./CloudDirectoryClient";
4
- import {
5
- AddFacetToObjectCommand,
6
- AddFacetToObjectCommandInput,
7
- AddFacetToObjectCommandOutput,
8
- } from "./commands/AddFacetToObjectCommand";
9
- import { ApplySchemaCommand, ApplySchemaCommandInput, ApplySchemaCommandOutput } from "./commands/ApplySchemaCommand";
10
- import {
11
- AttachObjectCommand,
12
- AttachObjectCommandInput,
13
- AttachObjectCommandOutput,
14
- } from "./commands/AttachObjectCommand";
15
- import {
16
- AttachPolicyCommand,
17
- AttachPolicyCommandInput,
18
- AttachPolicyCommandOutput,
19
- } from "./commands/AttachPolicyCommand";
20
- import {
21
- AttachToIndexCommand,
22
- AttachToIndexCommandInput,
23
- AttachToIndexCommandOutput,
24
- } from "./commands/AttachToIndexCommand";
25
- import {
26
- AttachTypedLinkCommand,
27
- AttachTypedLinkCommandInput,
28
- AttachTypedLinkCommandOutput,
29
- } from "./commands/AttachTypedLinkCommand";
30
- import { BatchReadCommand, BatchReadCommandInput, BatchReadCommandOutput } from "./commands/BatchReadCommand";
31
- import { BatchWriteCommand, BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
32
- import {
33
- CreateDirectoryCommand,
34
- CreateDirectoryCommandInput,
35
- CreateDirectoryCommandOutput,
36
- } from "./commands/CreateDirectoryCommand";
37
- import { CreateFacetCommand, CreateFacetCommandInput, CreateFacetCommandOutput } from "./commands/CreateFacetCommand";
38
- import { CreateIndexCommand, CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
39
- import {
40
- CreateObjectCommand,
41
- CreateObjectCommandInput,
42
- CreateObjectCommandOutput,
43
- } from "./commands/CreateObjectCommand";
44
- import {
45
- CreateSchemaCommand,
46
- CreateSchemaCommandInput,
47
- CreateSchemaCommandOutput,
48
- } from "./commands/CreateSchemaCommand";
49
- import {
50
- CreateTypedLinkFacetCommand,
51
- CreateTypedLinkFacetCommandInput,
52
- CreateTypedLinkFacetCommandOutput,
53
- } from "./commands/CreateTypedLinkFacetCommand";
54
- import {
55
- DeleteDirectoryCommand,
56
- DeleteDirectoryCommandInput,
57
- DeleteDirectoryCommandOutput,
58
- } from "./commands/DeleteDirectoryCommand";
59
- import { DeleteFacetCommand, DeleteFacetCommandInput, DeleteFacetCommandOutput } from "./commands/DeleteFacetCommand";
60
- import {
61
- DeleteObjectCommand,
62
- DeleteObjectCommandInput,
63
- DeleteObjectCommandOutput,
64
- } from "./commands/DeleteObjectCommand";
65
- import {
66
- DeleteSchemaCommand,
67
- DeleteSchemaCommandInput,
68
- DeleteSchemaCommandOutput,
69
- } from "./commands/DeleteSchemaCommand";
70
- import {
71
- DeleteTypedLinkFacetCommand,
72
- DeleteTypedLinkFacetCommandInput,
73
- DeleteTypedLinkFacetCommandOutput,
74
- } from "./commands/DeleteTypedLinkFacetCommand";
75
- import {
76
- DetachFromIndexCommand,
77
- DetachFromIndexCommandInput,
78
- DetachFromIndexCommandOutput,
79
- } from "./commands/DetachFromIndexCommand";
80
- import {
81
- DetachObjectCommand,
82
- DetachObjectCommandInput,
83
- DetachObjectCommandOutput,
84
- } from "./commands/DetachObjectCommand";
85
- import {
86
- DetachPolicyCommand,
87
- DetachPolicyCommandInput,
88
- DetachPolicyCommandOutput,
89
- } from "./commands/DetachPolicyCommand";
90
- import {
91
- DetachTypedLinkCommand,
92
- DetachTypedLinkCommandInput,
93
- DetachTypedLinkCommandOutput,
94
- } from "./commands/DetachTypedLinkCommand";
95
- import {
96
- DisableDirectoryCommand,
97
- DisableDirectoryCommandInput,
98
- DisableDirectoryCommandOutput,
99
- } from "./commands/DisableDirectoryCommand";
100
- import {
101
- EnableDirectoryCommand,
102
- EnableDirectoryCommandInput,
103
- EnableDirectoryCommandOutput,
104
- } from "./commands/EnableDirectoryCommand";
105
- import {
106
- GetAppliedSchemaVersionCommand,
107
- GetAppliedSchemaVersionCommandInput,
108
- GetAppliedSchemaVersionCommandOutput,
109
- } from "./commands/GetAppliedSchemaVersionCommand";
110
- import {
111
- GetDirectoryCommand,
112
- GetDirectoryCommandInput,
113
- GetDirectoryCommandOutput,
114
- } from "./commands/GetDirectoryCommand";
115
- import { GetFacetCommand, GetFacetCommandInput, GetFacetCommandOutput } from "./commands/GetFacetCommand";
116
- import {
117
- GetLinkAttributesCommand,
118
- GetLinkAttributesCommandInput,
119
- GetLinkAttributesCommandOutput,
120
- } from "./commands/GetLinkAttributesCommand";
121
- import {
122
- GetObjectAttributesCommand,
123
- GetObjectAttributesCommandInput,
124
- GetObjectAttributesCommandOutput,
125
- } from "./commands/GetObjectAttributesCommand";
126
- import {
127
- GetObjectInformationCommand,
128
- GetObjectInformationCommandInput,
129
- GetObjectInformationCommandOutput,
130
- } from "./commands/GetObjectInformationCommand";
131
- import {
132
- GetSchemaAsJsonCommand,
133
- GetSchemaAsJsonCommandInput,
134
- GetSchemaAsJsonCommandOutput,
135
- } from "./commands/GetSchemaAsJsonCommand";
136
- import {
137
- GetTypedLinkFacetInformationCommand,
138
- GetTypedLinkFacetInformationCommandInput,
139
- GetTypedLinkFacetInformationCommandOutput,
140
- } from "./commands/GetTypedLinkFacetInformationCommand";
141
- import {
142
- ListAppliedSchemaArnsCommand,
143
- ListAppliedSchemaArnsCommandInput,
144
- ListAppliedSchemaArnsCommandOutput,
145
- } from "./commands/ListAppliedSchemaArnsCommand";
146
- import {
147
- ListAttachedIndicesCommand,
148
- ListAttachedIndicesCommandInput,
149
- ListAttachedIndicesCommandOutput,
150
- } from "./commands/ListAttachedIndicesCommand";
151
- import {
152
- ListDevelopmentSchemaArnsCommand,
153
- ListDevelopmentSchemaArnsCommandInput,
154
- ListDevelopmentSchemaArnsCommandOutput,
155
- } from "./commands/ListDevelopmentSchemaArnsCommand";
156
- import {
157
- ListDirectoriesCommand,
158
- ListDirectoriesCommandInput,
159
- ListDirectoriesCommandOutput,
160
- } from "./commands/ListDirectoriesCommand";
161
- import {
162
- ListFacetAttributesCommand,
163
- ListFacetAttributesCommandInput,
164
- ListFacetAttributesCommandOutput,
165
- } from "./commands/ListFacetAttributesCommand";
166
- import {
167
- ListFacetNamesCommand,
168
- ListFacetNamesCommandInput,
169
- ListFacetNamesCommandOutput,
170
- } from "./commands/ListFacetNamesCommand";
171
- import {
172
- ListIncomingTypedLinksCommand,
173
- ListIncomingTypedLinksCommandInput,
174
- ListIncomingTypedLinksCommandOutput,
175
- } from "./commands/ListIncomingTypedLinksCommand";
176
- import { ListIndexCommand, ListIndexCommandInput, ListIndexCommandOutput } from "./commands/ListIndexCommand";
177
- import {
178
- ListManagedSchemaArnsCommand,
179
- ListManagedSchemaArnsCommandInput,
180
- ListManagedSchemaArnsCommandOutput,
181
- } from "./commands/ListManagedSchemaArnsCommand";
182
- import {
183
- ListObjectAttributesCommand,
184
- ListObjectAttributesCommandInput,
185
- ListObjectAttributesCommandOutput,
186
- } from "./commands/ListObjectAttributesCommand";
187
- import {
188
- ListObjectChildrenCommand,
189
- ListObjectChildrenCommandInput,
190
- ListObjectChildrenCommandOutput,
191
- } from "./commands/ListObjectChildrenCommand";
192
- import {
193
- ListObjectParentPathsCommand,
194
- ListObjectParentPathsCommandInput,
195
- ListObjectParentPathsCommandOutput,
196
- } from "./commands/ListObjectParentPathsCommand";
197
- import {
198
- ListObjectParentsCommand,
199
- ListObjectParentsCommandInput,
200
- ListObjectParentsCommandOutput,
201
- } from "./commands/ListObjectParentsCommand";
202
- import {
203
- ListObjectPoliciesCommand,
204
- ListObjectPoliciesCommandInput,
205
- ListObjectPoliciesCommandOutput,
206
- } from "./commands/ListObjectPoliciesCommand";
207
- import {
208
- ListOutgoingTypedLinksCommand,
209
- ListOutgoingTypedLinksCommandInput,
210
- ListOutgoingTypedLinksCommandOutput,
211
- } from "./commands/ListOutgoingTypedLinksCommand";
212
- import {
213
- ListPolicyAttachmentsCommand,
214
- ListPolicyAttachmentsCommandInput,
215
- ListPolicyAttachmentsCommandOutput,
216
- } from "./commands/ListPolicyAttachmentsCommand";
217
- import {
218
- ListPublishedSchemaArnsCommand,
219
- ListPublishedSchemaArnsCommandInput,
220
- ListPublishedSchemaArnsCommandOutput,
221
- } from "./commands/ListPublishedSchemaArnsCommand";
222
- import {
223
- ListTagsForResourceCommand,
224
- ListTagsForResourceCommandInput,
225
- ListTagsForResourceCommandOutput,
226
- } from "./commands/ListTagsForResourceCommand";
227
- import {
228
- ListTypedLinkFacetAttributesCommand,
229
- ListTypedLinkFacetAttributesCommandInput,
230
- ListTypedLinkFacetAttributesCommandOutput,
231
- } from "./commands/ListTypedLinkFacetAttributesCommand";
232
- import {
233
- ListTypedLinkFacetNamesCommand,
234
- ListTypedLinkFacetNamesCommandInput,
235
- ListTypedLinkFacetNamesCommandOutput,
236
- } from "./commands/ListTypedLinkFacetNamesCommand";
237
- import {
238
- LookupPolicyCommand,
239
- LookupPolicyCommandInput,
240
- LookupPolicyCommandOutput,
241
- } from "./commands/LookupPolicyCommand";
242
- import {
243
- PublishSchemaCommand,
244
- PublishSchemaCommandInput,
245
- PublishSchemaCommandOutput,
246
- } from "./commands/PublishSchemaCommand";
247
- import {
248
- PutSchemaFromJsonCommand,
249
- PutSchemaFromJsonCommandInput,
250
- PutSchemaFromJsonCommandOutput,
251
- } from "./commands/PutSchemaFromJsonCommand";
252
- import {
253
- RemoveFacetFromObjectCommand,
254
- RemoveFacetFromObjectCommandInput,
255
- RemoveFacetFromObjectCommandOutput,
256
- } from "./commands/RemoveFacetFromObjectCommand";
257
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
258
- import {
259
- UntagResourceCommand,
260
- UntagResourceCommandInput,
261
- UntagResourceCommandOutput,
262
- } from "./commands/UntagResourceCommand";
263
- import { UpdateFacetCommand, UpdateFacetCommandInput, UpdateFacetCommandOutput } from "./commands/UpdateFacetCommand";
264
- import {
265
- UpdateLinkAttributesCommand,
266
- UpdateLinkAttributesCommandInput,
267
- UpdateLinkAttributesCommandOutput,
268
- } from "./commands/UpdateLinkAttributesCommand";
269
- import {
270
- UpdateObjectAttributesCommand,
271
- UpdateObjectAttributesCommandInput,
272
- UpdateObjectAttributesCommandOutput,
273
- } from "./commands/UpdateObjectAttributesCommand";
274
- import {
275
- UpdateSchemaCommand,
276
- UpdateSchemaCommandInput,
277
- UpdateSchemaCommandOutput,
278
- } from "./commands/UpdateSchemaCommand";
279
- import {
280
- UpdateTypedLinkFacetCommand,
281
- UpdateTypedLinkFacetCommandInput,
282
- UpdateTypedLinkFacetCommandOutput,
283
- } from "./commands/UpdateTypedLinkFacetCommand";
284
- import {
285
- UpgradeAppliedSchemaCommand,
286
- UpgradeAppliedSchemaCommandInput,
287
- UpgradeAppliedSchemaCommandOutput,
288
- } from "./commands/UpgradeAppliedSchemaCommand";
289
- import {
290
- UpgradePublishedSchemaCommand,
291
- UpgradePublishedSchemaCommandInput,
292
- UpgradePublishedSchemaCommandOutput,
293
- } from "./commands/UpgradePublishedSchemaCommand";
294
-
295
- /**
296
- * <fullname>Amazon Cloud Directory</fullname>
297
- * <p>Amazon Cloud Directory is a component of the AWS Directory Service that simplifies the
298
- * development and management of cloud-scale web, mobile, and IoT applications. This guide
299
- * describes the Cloud Directory operations that you can call programmatically and includes
300
- * detailed information on data types and errors. For information about Cloud Directory features, see <a href="https://aws.amazon.com/directoryservice/">AWS Directory
301
- * Service</a> and the <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/what_is_cloud_directory.html">Amazon Cloud Directory Developer Guide</a>.</p>
302
- */
303
- export class CloudDirectory extends CloudDirectoryClient {
304
- /**
305
- * <p>Adds a new <a>Facet</a> to an object. An object can have more than one facet applied on it.</p>
306
- */
307
- public addFacetToObject(
308
- args: AddFacetToObjectCommandInput,
309
- options?: __HttpHandlerOptions
310
- ): Promise<AddFacetToObjectCommandOutput>;
311
- public addFacetToObject(
312
- args: AddFacetToObjectCommandInput,
313
- cb: (err: any, data?: AddFacetToObjectCommandOutput) => void
314
- ): void;
315
- public addFacetToObject(
316
- args: AddFacetToObjectCommandInput,
317
- options: __HttpHandlerOptions,
318
- cb: (err: any, data?: AddFacetToObjectCommandOutput) => void
319
- ): void;
320
- public addFacetToObject(
321
- args: AddFacetToObjectCommandInput,
322
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddFacetToObjectCommandOutput) => void),
323
- cb?: (err: any, data?: AddFacetToObjectCommandOutput) => void
324
- ): Promise<AddFacetToObjectCommandOutput> | void {
325
- const command = new AddFacetToObjectCommand(args);
326
- if (typeof optionsOrCb === "function") {
327
- this.send(command, optionsOrCb);
328
- } else if (typeof cb === "function") {
329
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
330
- this.send(command, optionsOrCb || {}, cb);
331
- } else {
332
- return this.send(command, optionsOrCb);
333
- }
334
- }
335
-
336
- /**
337
- * <p>Copies the input published schema, at the specified version, into the <a>Directory</a> with the same
338
- * name and version as that of the published schema.</p>
339
- */
340
- public applySchema(args: ApplySchemaCommandInput, options?: __HttpHandlerOptions): Promise<ApplySchemaCommandOutput>;
341
- public applySchema(args: ApplySchemaCommandInput, cb: (err: any, data?: ApplySchemaCommandOutput) => void): void;
342
- public applySchema(
343
- args: ApplySchemaCommandInput,
344
- options: __HttpHandlerOptions,
345
- cb: (err: any, data?: ApplySchemaCommandOutput) => void
346
- ): void;
347
- public applySchema(
348
- args: ApplySchemaCommandInput,
349
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ApplySchemaCommandOutput) => void),
350
- cb?: (err: any, data?: ApplySchemaCommandOutput) => void
351
- ): Promise<ApplySchemaCommandOutput> | void {
352
- const command = new ApplySchemaCommand(args);
353
- if (typeof optionsOrCb === "function") {
354
- this.send(command, optionsOrCb);
355
- } else if (typeof cb === "function") {
356
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
357
- this.send(command, optionsOrCb || {}, cb);
358
- } else {
359
- return this.send(command, optionsOrCb);
360
- }
361
- }
362
-
363
- /**
364
- * <p>Attaches an existing object to another object. An object can be accessed in two
365
- * ways:</p>
366
- * <ol>
367
- * <li>
368
- * <p>Using the path</p>
369
- * </li>
370
- * <li>
371
- * <p>Using <code>ObjectIdentifier</code>
372
- * </p>
373
- * </li>
374
- * </ol>
375
- */
376
- public attachObject(
377
- args: AttachObjectCommandInput,
378
- options?: __HttpHandlerOptions
379
- ): Promise<AttachObjectCommandOutput>;
380
- public attachObject(args: AttachObjectCommandInput, cb: (err: any, data?: AttachObjectCommandOutput) => void): void;
381
- public attachObject(
382
- args: AttachObjectCommandInput,
383
- options: __HttpHandlerOptions,
384
- cb: (err: any, data?: AttachObjectCommandOutput) => void
385
- ): void;
386
- public attachObject(
387
- args: AttachObjectCommandInput,
388
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachObjectCommandOutput) => void),
389
- cb?: (err: any, data?: AttachObjectCommandOutput) => void
390
- ): Promise<AttachObjectCommandOutput> | void {
391
- const command = new AttachObjectCommand(args);
392
- if (typeof optionsOrCb === "function") {
393
- this.send(command, optionsOrCb);
394
- } else if (typeof cb === "function") {
395
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
396
- this.send(command, optionsOrCb || {}, cb);
397
- } else {
398
- return this.send(command, optionsOrCb);
399
- }
400
- }
401
-
402
- /**
403
- * <p>Attaches a policy object to a regular object. An object can have a limited number of attached
404
- * policies.</p>
405
- */
406
- public attachPolicy(
407
- args: AttachPolicyCommandInput,
408
- options?: __HttpHandlerOptions
409
- ): Promise<AttachPolicyCommandOutput>;
410
- public attachPolicy(args: AttachPolicyCommandInput, cb: (err: any, data?: AttachPolicyCommandOutput) => void): void;
411
- public attachPolicy(
412
- args: AttachPolicyCommandInput,
413
- options: __HttpHandlerOptions,
414
- cb: (err: any, data?: AttachPolicyCommandOutput) => void
415
- ): void;
416
- public attachPolicy(
417
- args: AttachPolicyCommandInput,
418
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachPolicyCommandOutput) => void),
419
- cb?: (err: any, data?: AttachPolicyCommandOutput) => void
420
- ): Promise<AttachPolicyCommandOutput> | void {
421
- const command = new AttachPolicyCommand(args);
422
- if (typeof optionsOrCb === "function") {
423
- this.send(command, optionsOrCb);
424
- } else if (typeof cb === "function") {
425
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
- this.send(command, optionsOrCb || {}, cb);
427
- } else {
428
- return this.send(command, optionsOrCb);
429
- }
430
- }
431
-
432
- /**
433
- * <p>Attaches the specified object to the specified index.</p>
434
- */
435
- public attachToIndex(
436
- args: AttachToIndexCommandInput,
437
- options?: __HttpHandlerOptions
438
- ): Promise<AttachToIndexCommandOutput>;
439
- public attachToIndex(
440
- args: AttachToIndexCommandInput,
441
- cb: (err: any, data?: AttachToIndexCommandOutput) => void
442
- ): void;
443
- public attachToIndex(
444
- args: AttachToIndexCommandInput,
445
- options: __HttpHandlerOptions,
446
- cb: (err: any, data?: AttachToIndexCommandOutput) => void
447
- ): void;
448
- public attachToIndex(
449
- args: AttachToIndexCommandInput,
450
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachToIndexCommandOutput) => void),
451
- cb?: (err: any, data?: AttachToIndexCommandOutput) => void
452
- ): Promise<AttachToIndexCommandOutput> | void {
453
- const command = new AttachToIndexCommand(args);
454
- if (typeof optionsOrCb === "function") {
455
- this.send(command, optionsOrCb);
456
- } else if (typeof cb === "function") {
457
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
458
- this.send(command, optionsOrCb || {}, cb);
459
- } else {
460
- return this.send(command, optionsOrCb);
461
- }
462
- }
463
-
464
- /**
465
- * <p>Attaches a typed link to a specified source and target object. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
466
- */
467
- public attachTypedLink(
468
- args: AttachTypedLinkCommandInput,
469
- options?: __HttpHandlerOptions
470
- ): Promise<AttachTypedLinkCommandOutput>;
471
- public attachTypedLink(
472
- args: AttachTypedLinkCommandInput,
473
- cb: (err: any, data?: AttachTypedLinkCommandOutput) => void
474
- ): void;
475
- public attachTypedLink(
476
- args: AttachTypedLinkCommandInput,
477
- options: __HttpHandlerOptions,
478
- cb: (err: any, data?: AttachTypedLinkCommandOutput) => void
479
- ): void;
480
- public attachTypedLink(
481
- args: AttachTypedLinkCommandInput,
482
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AttachTypedLinkCommandOutput) => void),
483
- cb?: (err: any, data?: AttachTypedLinkCommandOutput) => void
484
- ): Promise<AttachTypedLinkCommandOutput> | void {
485
- const command = new AttachTypedLinkCommand(args);
486
- if (typeof optionsOrCb === "function") {
487
- this.send(command, optionsOrCb);
488
- } else if (typeof cb === "function") {
489
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
490
- this.send(command, optionsOrCb || {}, cb);
491
- } else {
492
- return this.send(command, optionsOrCb);
493
- }
494
- }
495
-
496
- /**
497
- * <p>Performs all the read operations in a batch. </p>
498
- */
499
- public batchRead(args: BatchReadCommandInput, options?: __HttpHandlerOptions): Promise<BatchReadCommandOutput>;
500
- public batchRead(args: BatchReadCommandInput, cb: (err: any, data?: BatchReadCommandOutput) => void): void;
501
- public batchRead(
502
- args: BatchReadCommandInput,
503
- options: __HttpHandlerOptions,
504
- cb: (err: any, data?: BatchReadCommandOutput) => void
505
- ): void;
506
- public batchRead(
507
- args: BatchReadCommandInput,
508
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchReadCommandOutput) => void),
509
- cb?: (err: any, data?: BatchReadCommandOutput) => void
510
- ): Promise<BatchReadCommandOutput> | void {
511
- const command = new BatchReadCommand(args);
512
- if (typeof optionsOrCb === "function") {
513
- this.send(command, optionsOrCb);
514
- } else if (typeof cb === "function") {
515
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
516
- this.send(command, optionsOrCb || {}, cb);
517
- } else {
518
- return this.send(command, optionsOrCb);
519
- }
520
- }
521
-
522
- /**
523
- * <p>Performs all the write operations in a batch. Either all the operations succeed or
524
- * none.</p>
525
- */
526
- public batchWrite(args: BatchWriteCommandInput, options?: __HttpHandlerOptions): Promise<BatchWriteCommandOutput>;
527
- public batchWrite(args: BatchWriteCommandInput, cb: (err: any, data?: BatchWriteCommandOutput) => void): void;
528
- public batchWrite(
529
- args: BatchWriteCommandInput,
530
- options: __HttpHandlerOptions,
531
- cb: (err: any, data?: BatchWriteCommandOutput) => void
532
- ): void;
533
- public batchWrite(
534
- args: BatchWriteCommandInput,
535
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchWriteCommandOutput) => void),
536
- cb?: (err: any, data?: BatchWriteCommandOutput) => void
537
- ): Promise<BatchWriteCommandOutput> | void {
538
- const command = new BatchWriteCommand(args);
539
- if (typeof optionsOrCb === "function") {
540
- this.send(command, optionsOrCb);
541
- } else if (typeof cb === "function") {
542
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
543
- this.send(command, optionsOrCb || {}, cb);
544
- } else {
545
- return this.send(command, optionsOrCb);
546
- }
547
- }
548
-
549
- /**
550
- * <p>Creates a <a>Directory</a> by copying the published schema into the
551
- * directory. A directory cannot be created without a schema.</p>
552
- * <p>You can also quickly create a directory using a managed schema, called the
553
- * <code>QuickStartSchema</code>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_managed.html">Managed Schema</a> in the <i>Amazon Cloud Directory Developer Guide</i>.</p>
554
- */
555
- public createDirectory(
556
- args: CreateDirectoryCommandInput,
557
- options?: __HttpHandlerOptions
558
- ): Promise<CreateDirectoryCommandOutput>;
559
- public createDirectory(
560
- args: CreateDirectoryCommandInput,
561
- cb: (err: any, data?: CreateDirectoryCommandOutput) => void
562
- ): void;
563
- public createDirectory(
564
- args: CreateDirectoryCommandInput,
565
- options: __HttpHandlerOptions,
566
- cb: (err: any, data?: CreateDirectoryCommandOutput) => void
567
- ): void;
568
- public createDirectory(
569
- args: CreateDirectoryCommandInput,
570
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDirectoryCommandOutput) => void),
571
- cb?: (err: any, data?: CreateDirectoryCommandOutput) => void
572
- ): Promise<CreateDirectoryCommandOutput> | void {
573
- const command = new CreateDirectoryCommand(args);
574
- if (typeof optionsOrCb === "function") {
575
- this.send(command, optionsOrCb);
576
- } else if (typeof cb === "function") {
577
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
578
- this.send(command, optionsOrCb || {}, cb);
579
- } else {
580
- return this.send(command, optionsOrCb);
581
- }
582
- }
583
-
584
- /**
585
- * <p>Creates a new <a>Facet</a> in a schema. Facet creation is allowed only
586
- * in development or applied schemas.</p>
587
- */
588
- public createFacet(args: CreateFacetCommandInput, options?: __HttpHandlerOptions): Promise<CreateFacetCommandOutput>;
589
- public createFacet(args: CreateFacetCommandInput, cb: (err: any, data?: CreateFacetCommandOutput) => void): void;
590
- public createFacet(
591
- args: CreateFacetCommandInput,
592
- options: __HttpHandlerOptions,
593
- cb: (err: any, data?: CreateFacetCommandOutput) => void
594
- ): void;
595
- public createFacet(
596
- args: CreateFacetCommandInput,
597
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFacetCommandOutput) => void),
598
- cb?: (err: any, data?: CreateFacetCommandOutput) => void
599
- ): Promise<CreateFacetCommandOutput> | void {
600
- const command = new CreateFacetCommand(args);
601
- if (typeof optionsOrCb === "function") {
602
- this.send(command, optionsOrCb);
603
- } else if (typeof cb === "function") {
604
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
605
- this.send(command, optionsOrCb || {}, cb);
606
- } else {
607
- return this.send(command, optionsOrCb);
608
- }
609
- }
610
-
611
- /**
612
- * <p>Creates an index object. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/indexing_search.html">Indexing and search</a> for more information.</p>
613
- */
614
- public createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
615
- public createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
616
- public createIndex(
617
- args: CreateIndexCommandInput,
618
- options: __HttpHandlerOptions,
619
- cb: (err: any, data?: CreateIndexCommandOutput) => void
620
- ): void;
621
- public createIndex(
622
- args: CreateIndexCommandInput,
623
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIndexCommandOutput) => void),
624
- cb?: (err: any, data?: CreateIndexCommandOutput) => void
625
- ): Promise<CreateIndexCommandOutput> | void {
626
- const command = new CreateIndexCommand(args);
627
- if (typeof optionsOrCb === "function") {
628
- this.send(command, optionsOrCb);
629
- } else if (typeof cb === "function") {
630
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
631
- this.send(command, optionsOrCb || {}, cb);
632
- } else {
633
- return this.send(command, optionsOrCb);
634
- }
635
- }
636
-
637
- /**
638
- * <p>Creates an object in a <a>Directory</a>. Additionally attaches the object to
639
- * a parent, if a parent reference and <code>LinkName</code> is specified. An object is simply a
640
- * collection of <a>Facet</a> attributes. You can also use this API call to create a
641
- * policy object, if the facet from which you create the object is a policy facet. </p>
642
- */
643
- public createObject(
644
- args: CreateObjectCommandInput,
645
- options?: __HttpHandlerOptions
646
- ): Promise<CreateObjectCommandOutput>;
647
- public createObject(args: CreateObjectCommandInput, cb: (err: any, data?: CreateObjectCommandOutput) => void): void;
648
- public createObject(
649
- args: CreateObjectCommandInput,
650
- options: __HttpHandlerOptions,
651
- cb: (err: any, data?: CreateObjectCommandOutput) => void
652
- ): void;
653
- public createObject(
654
- args: CreateObjectCommandInput,
655
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateObjectCommandOutput) => void),
656
- cb?: (err: any, data?: CreateObjectCommandOutput) => void
657
- ): Promise<CreateObjectCommandOutput> | void {
658
- const command = new CreateObjectCommand(args);
659
- if (typeof optionsOrCb === "function") {
660
- this.send(command, optionsOrCb);
661
- } else if (typeof cb === "function") {
662
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
- this.send(command, optionsOrCb || {}, cb);
664
- } else {
665
- return this.send(command, optionsOrCb);
666
- }
667
- }
668
-
669
- /**
670
- * <p>Creates a new schema in a development state. A schema can exist in three
671
- * phases:</p>
672
- * <ul>
673
- * <li>
674
- * <p>
675
- * <i>Development:</i> This is a mutable phase of the schema. All new
676
- * schemas are in the development phase. Once the schema is finalized, it can be
677
- * published.</p>
678
- * </li>
679
- * <li>
680
- * <p>
681
- * <i>Published:</i> Published schemas are immutable and have a version
682
- * associated with them.</p>
683
- * </li>
684
- * <li>
685
- * <p>
686
- * <i>Applied:</i> Applied schemas are mutable in a way that allows you
687
- * to add new schema facets. You can also add new, nonrequired attributes to existing schema
688
- * facets. You can apply only published schemas to directories. </p>
689
- * </li>
690
- * </ul>
691
- */
692
- public createSchema(
693
- args: CreateSchemaCommandInput,
694
- options?: __HttpHandlerOptions
695
- ): Promise<CreateSchemaCommandOutput>;
696
- public createSchema(args: CreateSchemaCommandInput, cb: (err: any, data?: CreateSchemaCommandOutput) => void): void;
697
- public createSchema(
698
- args: CreateSchemaCommandInput,
699
- options: __HttpHandlerOptions,
700
- cb: (err: any, data?: CreateSchemaCommandOutput) => void
701
- ): void;
702
- public createSchema(
703
- args: CreateSchemaCommandInput,
704
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSchemaCommandOutput) => void),
705
- cb?: (err: any, data?: CreateSchemaCommandOutput) => void
706
- ): Promise<CreateSchemaCommandOutput> | void {
707
- const command = new CreateSchemaCommand(args);
708
- if (typeof optionsOrCb === "function") {
709
- this.send(command, optionsOrCb);
710
- } else if (typeof cb === "function") {
711
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
712
- this.send(command, optionsOrCb || {}, cb);
713
- } else {
714
- return this.send(command, optionsOrCb);
715
- }
716
- }
717
-
718
- /**
719
- * <p>Creates a <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
720
- */
721
- public createTypedLinkFacet(
722
- args: CreateTypedLinkFacetCommandInput,
723
- options?: __HttpHandlerOptions
724
- ): Promise<CreateTypedLinkFacetCommandOutput>;
725
- public createTypedLinkFacet(
726
- args: CreateTypedLinkFacetCommandInput,
727
- cb: (err: any, data?: CreateTypedLinkFacetCommandOutput) => void
728
- ): void;
729
- public createTypedLinkFacet(
730
- args: CreateTypedLinkFacetCommandInput,
731
- options: __HttpHandlerOptions,
732
- cb: (err: any, data?: CreateTypedLinkFacetCommandOutput) => void
733
- ): void;
734
- public createTypedLinkFacet(
735
- args: CreateTypedLinkFacetCommandInput,
736
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTypedLinkFacetCommandOutput) => void),
737
- cb?: (err: any, data?: CreateTypedLinkFacetCommandOutput) => void
738
- ): Promise<CreateTypedLinkFacetCommandOutput> | void {
739
- const command = new CreateTypedLinkFacetCommand(args);
740
- if (typeof optionsOrCb === "function") {
741
- this.send(command, optionsOrCb);
742
- } else if (typeof cb === "function") {
743
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
744
- this.send(command, optionsOrCb || {}, cb);
745
- } else {
746
- return this.send(command, optionsOrCb);
747
- }
748
- }
749
-
750
- /**
751
- * <p>Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme
752
- * caution
753
- * when deleting directories.</p>
754
- */
755
- public deleteDirectory(
756
- args: DeleteDirectoryCommandInput,
757
- options?: __HttpHandlerOptions
758
- ): Promise<DeleteDirectoryCommandOutput>;
759
- public deleteDirectory(
760
- args: DeleteDirectoryCommandInput,
761
- cb: (err: any, data?: DeleteDirectoryCommandOutput) => void
762
- ): void;
763
- public deleteDirectory(
764
- args: DeleteDirectoryCommandInput,
765
- options: __HttpHandlerOptions,
766
- cb: (err: any, data?: DeleteDirectoryCommandOutput) => void
767
- ): void;
768
- public deleteDirectory(
769
- args: DeleteDirectoryCommandInput,
770
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDirectoryCommandOutput) => void),
771
- cb?: (err: any, data?: DeleteDirectoryCommandOutput) => void
772
- ): Promise<DeleteDirectoryCommandOutput> | void {
773
- const command = new DeleteDirectoryCommand(args);
774
- if (typeof optionsOrCb === "function") {
775
- this.send(command, optionsOrCb);
776
- } else if (typeof cb === "function") {
777
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
778
- this.send(command, optionsOrCb || {}, cb);
779
- } else {
780
- return this.send(command, optionsOrCb);
781
- }
782
- }
783
-
784
- /**
785
- * <p>Deletes a given <a>Facet</a>. All attributes and <a>Rule</a>s
786
- * that are associated with the facet will be deleted. Only development schema facets are allowed
787
- * deletion.</p>
788
- */
789
- public deleteFacet(args: DeleteFacetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFacetCommandOutput>;
790
- public deleteFacet(args: DeleteFacetCommandInput, cb: (err: any, data?: DeleteFacetCommandOutput) => void): void;
791
- public deleteFacet(
792
- args: DeleteFacetCommandInput,
793
- options: __HttpHandlerOptions,
794
- cb: (err: any, data?: DeleteFacetCommandOutput) => void
795
- ): void;
796
- public deleteFacet(
797
- args: DeleteFacetCommandInput,
798
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFacetCommandOutput) => void),
799
- cb?: (err: any, data?: DeleteFacetCommandOutput) => void
800
- ): Promise<DeleteFacetCommandOutput> | void {
801
- const command = new DeleteFacetCommand(args);
802
- if (typeof optionsOrCb === "function") {
803
- this.send(command, optionsOrCb);
804
- } else if (typeof cb === "function") {
805
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
806
- this.send(command, optionsOrCb || {}, cb);
807
- } else {
808
- return this.send(command, optionsOrCb);
809
- }
810
- }
811
-
812
- /**
813
- * <p>Deletes an object and its associated attributes. Only objects with no children and no
814
- * parents can be deleted. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html">Amazon Cloud Directory Limits</a>.</p>
815
- */
816
- public deleteObject(
817
- args: DeleteObjectCommandInput,
818
- options?: __HttpHandlerOptions
819
- ): Promise<DeleteObjectCommandOutput>;
820
- public deleteObject(args: DeleteObjectCommandInput, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void;
821
- public deleteObject(
822
- args: DeleteObjectCommandInput,
823
- options: __HttpHandlerOptions,
824
- cb: (err: any, data?: DeleteObjectCommandOutput) => void
825
- ): void;
826
- public deleteObject(
827
- args: DeleteObjectCommandInput,
828
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteObjectCommandOutput) => void),
829
- cb?: (err: any, data?: DeleteObjectCommandOutput) => void
830
- ): Promise<DeleteObjectCommandOutput> | void {
831
- const command = new DeleteObjectCommand(args);
832
- if (typeof optionsOrCb === "function") {
833
- this.send(command, optionsOrCb);
834
- } else if (typeof cb === "function") {
835
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
836
- this.send(command, optionsOrCb || {}, cb);
837
- } else {
838
- return this.send(command, optionsOrCb);
839
- }
840
- }
841
-
842
- /**
843
- * <p>Deletes a given schema. Schemas in a development and published state can only be deleted. </p>
844
- */
845
- public deleteSchema(
846
- args: DeleteSchemaCommandInput,
847
- options?: __HttpHandlerOptions
848
- ): Promise<DeleteSchemaCommandOutput>;
849
- public deleteSchema(args: DeleteSchemaCommandInput, cb: (err: any, data?: DeleteSchemaCommandOutput) => void): void;
850
- public deleteSchema(
851
- args: DeleteSchemaCommandInput,
852
- options: __HttpHandlerOptions,
853
- cb: (err: any, data?: DeleteSchemaCommandOutput) => void
854
- ): void;
855
- public deleteSchema(
856
- args: DeleteSchemaCommandInput,
857
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSchemaCommandOutput) => void),
858
- cb?: (err: any, data?: DeleteSchemaCommandOutput) => void
859
- ): Promise<DeleteSchemaCommandOutput> | void {
860
- const command = new DeleteSchemaCommand(args);
861
- if (typeof optionsOrCb === "function") {
862
- this.send(command, optionsOrCb);
863
- } else if (typeof cb === "function") {
864
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
865
- this.send(command, optionsOrCb || {}, cb);
866
- } else {
867
- return this.send(command, optionsOrCb);
868
- }
869
- }
870
-
871
- /**
872
- * <p>Deletes a <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
873
- */
874
- public deleteTypedLinkFacet(
875
- args: DeleteTypedLinkFacetCommandInput,
876
- options?: __HttpHandlerOptions
877
- ): Promise<DeleteTypedLinkFacetCommandOutput>;
878
- public deleteTypedLinkFacet(
879
- args: DeleteTypedLinkFacetCommandInput,
880
- cb: (err: any, data?: DeleteTypedLinkFacetCommandOutput) => void
881
- ): void;
882
- public deleteTypedLinkFacet(
883
- args: DeleteTypedLinkFacetCommandInput,
884
- options: __HttpHandlerOptions,
885
- cb: (err: any, data?: DeleteTypedLinkFacetCommandOutput) => void
886
- ): void;
887
- public deleteTypedLinkFacet(
888
- args: DeleteTypedLinkFacetCommandInput,
889
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTypedLinkFacetCommandOutput) => void),
890
- cb?: (err: any, data?: DeleteTypedLinkFacetCommandOutput) => void
891
- ): Promise<DeleteTypedLinkFacetCommandOutput> | void {
892
- const command = new DeleteTypedLinkFacetCommand(args);
893
- if (typeof optionsOrCb === "function") {
894
- this.send(command, optionsOrCb);
895
- } else if (typeof cb === "function") {
896
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
897
- this.send(command, optionsOrCb || {}, cb);
898
- } else {
899
- return this.send(command, optionsOrCb);
900
- }
901
- }
902
-
903
- /**
904
- * <p>Detaches the specified object from the specified index.</p>
905
- */
906
- public detachFromIndex(
907
- args: DetachFromIndexCommandInput,
908
- options?: __HttpHandlerOptions
909
- ): Promise<DetachFromIndexCommandOutput>;
910
- public detachFromIndex(
911
- args: DetachFromIndexCommandInput,
912
- cb: (err: any, data?: DetachFromIndexCommandOutput) => void
913
- ): void;
914
- public detachFromIndex(
915
- args: DetachFromIndexCommandInput,
916
- options: __HttpHandlerOptions,
917
- cb: (err: any, data?: DetachFromIndexCommandOutput) => void
918
- ): void;
919
- public detachFromIndex(
920
- args: DetachFromIndexCommandInput,
921
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachFromIndexCommandOutput) => void),
922
- cb?: (err: any, data?: DetachFromIndexCommandOutput) => void
923
- ): Promise<DetachFromIndexCommandOutput> | void {
924
- const command = new DetachFromIndexCommand(args);
925
- if (typeof optionsOrCb === "function") {
926
- this.send(command, optionsOrCb);
927
- } else if (typeof cb === "function") {
928
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
- this.send(command, optionsOrCb || {}, cb);
930
- } else {
931
- return this.send(command, optionsOrCb);
932
- }
933
- }
934
-
935
- /**
936
- * <p>Detaches a given object from the parent object. The object that is to be detached from the
937
- * parent is specified by the link name.</p>
938
- */
939
- public detachObject(
940
- args: DetachObjectCommandInput,
941
- options?: __HttpHandlerOptions
942
- ): Promise<DetachObjectCommandOutput>;
943
- public detachObject(args: DetachObjectCommandInput, cb: (err: any, data?: DetachObjectCommandOutput) => void): void;
944
- public detachObject(
945
- args: DetachObjectCommandInput,
946
- options: __HttpHandlerOptions,
947
- cb: (err: any, data?: DetachObjectCommandOutput) => void
948
- ): void;
949
- public detachObject(
950
- args: DetachObjectCommandInput,
951
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachObjectCommandOutput) => void),
952
- cb?: (err: any, data?: DetachObjectCommandOutput) => void
953
- ): Promise<DetachObjectCommandOutput> | void {
954
- const command = new DetachObjectCommand(args);
955
- if (typeof optionsOrCb === "function") {
956
- this.send(command, optionsOrCb);
957
- } else if (typeof cb === "function") {
958
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
959
- this.send(command, optionsOrCb || {}, cb);
960
- } else {
961
- return this.send(command, optionsOrCb);
962
- }
963
- }
964
-
965
- /**
966
- * <p>Detaches a policy from an object.</p>
967
- */
968
- public detachPolicy(
969
- args: DetachPolicyCommandInput,
970
- options?: __HttpHandlerOptions
971
- ): Promise<DetachPolicyCommandOutput>;
972
- public detachPolicy(args: DetachPolicyCommandInput, cb: (err: any, data?: DetachPolicyCommandOutput) => void): void;
973
- public detachPolicy(
974
- args: DetachPolicyCommandInput,
975
- options: __HttpHandlerOptions,
976
- cb: (err: any, data?: DetachPolicyCommandOutput) => void
977
- ): void;
978
- public detachPolicy(
979
- args: DetachPolicyCommandInput,
980
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachPolicyCommandOutput) => void),
981
- cb?: (err: any, data?: DetachPolicyCommandOutput) => void
982
- ): Promise<DetachPolicyCommandOutput> | void {
983
- const command = new DetachPolicyCommand(args);
984
- if (typeof optionsOrCb === "function") {
985
- this.send(command, optionsOrCb);
986
- } else if (typeof cb === "function") {
987
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
988
- this.send(command, optionsOrCb || {}, cb);
989
- } else {
990
- return this.send(command, optionsOrCb);
991
- }
992
- }
993
-
994
- /**
995
- * <p>Detaches a typed link from a specified source and target object. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
996
- */
997
- public detachTypedLink(
998
- args: DetachTypedLinkCommandInput,
999
- options?: __HttpHandlerOptions
1000
- ): Promise<DetachTypedLinkCommandOutput>;
1001
- public detachTypedLink(
1002
- args: DetachTypedLinkCommandInput,
1003
- cb: (err: any, data?: DetachTypedLinkCommandOutput) => void
1004
- ): void;
1005
- public detachTypedLink(
1006
- args: DetachTypedLinkCommandInput,
1007
- options: __HttpHandlerOptions,
1008
- cb: (err: any, data?: DetachTypedLinkCommandOutput) => void
1009
- ): void;
1010
- public detachTypedLink(
1011
- args: DetachTypedLinkCommandInput,
1012
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DetachTypedLinkCommandOutput) => void),
1013
- cb?: (err: any, data?: DetachTypedLinkCommandOutput) => void
1014
- ): Promise<DetachTypedLinkCommandOutput> | void {
1015
- const command = new DetachTypedLinkCommand(args);
1016
- if (typeof optionsOrCb === "function") {
1017
- this.send(command, optionsOrCb);
1018
- } else if (typeof cb === "function") {
1019
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1020
- this.send(command, optionsOrCb || {}, cb);
1021
- } else {
1022
- return this.send(command, optionsOrCb);
1023
- }
1024
- }
1025
-
1026
- /**
1027
- * <p>Disables the specified directory. Disabled directories cannot be read or written to.
1028
- * Only enabled directories can be disabled. Disabled directories may be reenabled.</p>
1029
- */
1030
- public disableDirectory(
1031
- args: DisableDirectoryCommandInput,
1032
- options?: __HttpHandlerOptions
1033
- ): Promise<DisableDirectoryCommandOutput>;
1034
- public disableDirectory(
1035
- args: DisableDirectoryCommandInput,
1036
- cb: (err: any, data?: DisableDirectoryCommandOutput) => void
1037
- ): void;
1038
- public disableDirectory(
1039
- args: DisableDirectoryCommandInput,
1040
- options: __HttpHandlerOptions,
1041
- cb: (err: any, data?: DisableDirectoryCommandOutput) => void
1042
- ): void;
1043
- public disableDirectory(
1044
- args: DisableDirectoryCommandInput,
1045
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisableDirectoryCommandOutput) => void),
1046
- cb?: (err: any, data?: DisableDirectoryCommandOutput) => void
1047
- ): Promise<DisableDirectoryCommandOutput> | void {
1048
- const command = new DisableDirectoryCommand(args);
1049
- if (typeof optionsOrCb === "function") {
1050
- this.send(command, optionsOrCb);
1051
- } else if (typeof cb === "function") {
1052
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1053
- this.send(command, optionsOrCb || {}, cb);
1054
- } else {
1055
- return this.send(command, optionsOrCb);
1056
- }
1057
- }
1058
-
1059
- /**
1060
- * <p>Enables the specified directory. Only disabled directories can be enabled. Once
1061
- * enabled, the directory can then be read and written to.</p>
1062
- */
1063
- public enableDirectory(
1064
- args: EnableDirectoryCommandInput,
1065
- options?: __HttpHandlerOptions
1066
- ): Promise<EnableDirectoryCommandOutput>;
1067
- public enableDirectory(
1068
- args: EnableDirectoryCommandInput,
1069
- cb: (err: any, data?: EnableDirectoryCommandOutput) => void
1070
- ): void;
1071
- public enableDirectory(
1072
- args: EnableDirectoryCommandInput,
1073
- options: __HttpHandlerOptions,
1074
- cb: (err: any, data?: EnableDirectoryCommandOutput) => void
1075
- ): void;
1076
- public enableDirectory(
1077
- args: EnableDirectoryCommandInput,
1078
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: EnableDirectoryCommandOutput) => void),
1079
- cb?: (err: any, data?: EnableDirectoryCommandOutput) => void
1080
- ): Promise<EnableDirectoryCommandOutput> | void {
1081
- const command = new EnableDirectoryCommand(args);
1082
- if (typeof optionsOrCb === "function") {
1083
- this.send(command, optionsOrCb);
1084
- } else if (typeof cb === "function") {
1085
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1086
- this.send(command, optionsOrCb || {}, cb);
1087
- } else {
1088
- return this.send(command, optionsOrCb);
1089
- }
1090
- }
1091
-
1092
- /**
1093
- * <p>Returns current applied schema version ARN, including the minor version in use.</p>
1094
- */
1095
- public getAppliedSchemaVersion(
1096
- args: GetAppliedSchemaVersionCommandInput,
1097
- options?: __HttpHandlerOptions
1098
- ): Promise<GetAppliedSchemaVersionCommandOutput>;
1099
- public getAppliedSchemaVersion(
1100
- args: GetAppliedSchemaVersionCommandInput,
1101
- cb: (err: any, data?: GetAppliedSchemaVersionCommandOutput) => void
1102
- ): void;
1103
- public getAppliedSchemaVersion(
1104
- args: GetAppliedSchemaVersionCommandInput,
1105
- options: __HttpHandlerOptions,
1106
- cb: (err: any, data?: GetAppliedSchemaVersionCommandOutput) => void
1107
- ): void;
1108
- public getAppliedSchemaVersion(
1109
- args: GetAppliedSchemaVersionCommandInput,
1110
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAppliedSchemaVersionCommandOutput) => void),
1111
- cb?: (err: any, data?: GetAppliedSchemaVersionCommandOutput) => void
1112
- ): Promise<GetAppliedSchemaVersionCommandOutput> | void {
1113
- const command = new GetAppliedSchemaVersionCommand(args);
1114
- if (typeof optionsOrCb === "function") {
1115
- this.send(command, optionsOrCb);
1116
- } else if (typeof cb === "function") {
1117
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1118
- this.send(command, optionsOrCb || {}, cb);
1119
- } else {
1120
- return this.send(command, optionsOrCb);
1121
- }
1122
- }
1123
-
1124
- /**
1125
- * <p>Retrieves metadata about a directory.</p>
1126
- */
1127
- public getDirectory(
1128
- args: GetDirectoryCommandInput,
1129
- options?: __HttpHandlerOptions
1130
- ): Promise<GetDirectoryCommandOutput>;
1131
- public getDirectory(args: GetDirectoryCommandInput, cb: (err: any, data?: GetDirectoryCommandOutput) => void): void;
1132
- public getDirectory(
1133
- args: GetDirectoryCommandInput,
1134
- options: __HttpHandlerOptions,
1135
- cb: (err: any, data?: GetDirectoryCommandOutput) => void
1136
- ): void;
1137
- public getDirectory(
1138
- args: GetDirectoryCommandInput,
1139
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDirectoryCommandOutput) => void),
1140
- cb?: (err: any, data?: GetDirectoryCommandOutput) => void
1141
- ): Promise<GetDirectoryCommandOutput> | void {
1142
- const command = new GetDirectoryCommand(args);
1143
- if (typeof optionsOrCb === "function") {
1144
- this.send(command, optionsOrCb);
1145
- } else if (typeof cb === "function") {
1146
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1147
- this.send(command, optionsOrCb || {}, cb);
1148
- } else {
1149
- return this.send(command, optionsOrCb);
1150
- }
1151
- }
1152
-
1153
- /**
1154
- * <p>Gets details of the <a>Facet</a>, such as facet name, attributes, <a>Rule</a>s, or <code>ObjectType</code>. You can call this on all kinds of schema
1155
- * facets -- published, development, or applied.</p>
1156
- */
1157
- public getFacet(args: GetFacetCommandInput, options?: __HttpHandlerOptions): Promise<GetFacetCommandOutput>;
1158
- public getFacet(args: GetFacetCommandInput, cb: (err: any, data?: GetFacetCommandOutput) => void): void;
1159
- public getFacet(
1160
- args: GetFacetCommandInput,
1161
- options: __HttpHandlerOptions,
1162
- cb: (err: any, data?: GetFacetCommandOutput) => void
1163
- ): void;
1164
- public getFacet(
1165
- args: GetFacetCommandInput,
1166
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFacetCommandOutput) => void),
1167
- cb?: (err: any, data?: GetFacetCommandOutput) => void
1168
- ): Promise<GetFacetCommandOutput> | void {
1169
- const command = new GetFacetCommand(args);
1170
- if (typeof optionsOrCb === "function") {
1171
- this.send(command, optionsOrCb);
1172
- } else if (typeof cb === "function") {
1173
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1174
- this.send(command, optionsOrCb || {}, cb);
1175
- } else {
1176
- return this.send(command, optionsOrCb);
1177
- }
1178
- }
1179
-
1180
- /**
1181
- * <p>Retrieves attributes that are associated with a typed link.</p>
1182
- */
1183
- public getLinkAttributes(
1184
- args: GetLinkAttributesCommandInput,
1185
- options?: __HttpHandlerOptions
1186
- ): Promise<GetLinkAttributesCommandOutput>;
1187
- public getLinkAttributes(
1188
- args: GetLinkAttributesCommandInput,
1189
- cb: (err: any, data?: GetLinkAttributesCommandOutput) => void
1190
- ): void;
1191
- public getLinkAttributes(
1192
- args: GetLinkAttributesCommandInput,
1193
- options: __HttpHandlerOptions,
1194
- cb: (err: any, data?: GetLinkAttributesCommandOutput) => void
1195
- ): void;
1196
- public getLinkAttributes(
1197
- args: GetLinkAttributesCommandInput,
1198
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetLinkAttributesCommandOutput) => void),
1199
- cb?: (err: any, data?: GetLinkAttributesCommandOutput) => void
1200
- ): Promise<GetLinkAttributesCommandOutput> | void {
1201
- const command = new GetLinkAttributesCommand(args);
1202
- if (typeof optionsOrCb === "function") {
1203
- this.send(command, optionsOrCb);
1204
- } else if (typeof cb === "function") {
1205
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1206
- this.send(command, optionsOrCb || {}, cb);
1207
- } else {
1208
- return this.send(command, optionsOrCb);
1209
- }
1210
- }
1211
-
1212
- /**
1213
- * <p>Retrieves attributes within a facet that are associated with an object.</p>
1214
- */
1215
- public getObjectAttributes(
1216
- args: GetObjectAttributesCommandInput,
1217
- options?: __HttpHandlerOptions
1218
- ): Promise<GetObjectAttributesCommandOutput>;
1219
- public getObjectAttributes(
1220
- args: GetObjectAttributesCommandInput,
1221
- cb: (err: any, data?: GetObjectAttributesCommandOutput) => void
1222
- ): void;
1223
- public getObjectAttributes(
1224
- args: GetObjectAttributesCommandInput,
1225
- options: __HttpHandlerOptions,
1226
- cb: (err: any, data?: GetObjectAttributesCommandOutput) => void
1227
- ): void;
1228
- public getObjectAttributes(
1229
- args: GetObjectAttributesCommandInput,
1230
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetObjectAttributesCommandOutput) => void),
1231
- cb?: (err: any, data?: GetObjectAttributesCommandOutput) => void
1232
- ): Promise<GetObjectAttributesCommandOutput> | void {
1233
- const command = new GetObjectAttributesCommand(args);
1234
- if (typeof optionsOrCb === "function") {
1235
- this.send(command, optionsOrCb);
1236
- } else if (typeof cb === "function") {
1237
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1238
- this.send(command, optionsOrCb || {}, cb);
1239
- } else {
1240
- return this.send(command, optionsOrCb);
1241
- }
1242
- }
1243
-
1244
- /**
1245
- * <p>Retrieves metadata about an object.</p>
1246
- */
1247
- public getObjectInformation(
1248
- args: GetObjectInformationCommandInput,
1249
- options?: __HttpHandlerOptions
1250
- ): Promise<GetObjectInformationCommandOutput>;
1251
- public getObjectInformation(
1252
- args: GetObjectInformationCommandInput,
1253
- cb: (err: any, data?: GetObjectInformationCommandOutput) => void
1254
- ): void;
1255
- public getObjectInformation(
1256
- args: GetObjectInformationCommandInput,
1257
- options: __HttpHandlerOptions,
1258
- cb: (err: any, data?: GetObjectInformationCommandOutput) => void
1259
- ): void;
1260
- public getObjectInformation(
1261
- args: GetObjectInformationCommandInput,
1262
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetObjectInformationCommandOutput) => void),
1263
- cb?: (err: any, data?: GetObjectInformationCommandOutput) => void
1264
- ): Promise<GetObjectInformationCommandOutput> | void {
1265
- const command = new GetObjectInformationCommand(args);
1266
- if (typeof optionsOrCb === "function") {
1267
- this.send(command, optionsOrCb);
1268
- } else if (typeof cb === "function") {
1269
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1270
- this.send(command, optionsOrCb || {}, cb);
1271
- } else {
1272
- return this.send(command, optionsOrCb);
1273
- }
1274
- }
1275
-
1276
- /**
1277
- * <p>Retrieves a JSON representation of the schema. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json">JSON Schema Format</a> for more information.</p>
1278
- */
1279
- public getSchemaAsJson(
1280
- args: GetSchemaAsJsonCommandInput,
1281
- options?: __HttpHandlerOptions
1282
- ): Promise<GetSchemaAsJsonCommandOutput>;
1283
- public getSchemaAsJson(
1284
- args: GetSchemaAsJsonCommandInput,
1285
- cb: (err: any, data?: GetSchemaAsJsonCommandOutput) => void
1286
- ): void;
1287
- public getSchemaAsJson(
1288
- args: GetSchemaAsJsonCommandInput,
1289
- options: __HttpHandlerOptions,
1290
- cb: (err: any, data?: GetSchemaAsJsonCommandOutput) => void
1291
- ): void;
1292
- public getSchemaAsJson(
1293
- args: GetSchemaAsJsonCommandInput,
1294
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSchemaAsJsonCommandOutput) => void),
1295
- cb?: (err: any, data?: GetSchemaAsJsonCommandOutput) => void
1296
- ): Promise<GetSchemaAsJsonCommandOutput> | void {
1297
- const command = new GetSchemaAsJsonCommand(args);
1298
- if (typeof optionsOrCb === "function") {
1299
- this.send(command, optionsOrCb);
1300
- } else if (typeof cb === "function") {
1301
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1302
- this.send(command, optionsOrCb || {}, cb);
1303
- } else {
1304
- return this.send(command, optionsOrCb);
1305
- }
1306
- }
1307
-
1308
- /**
1309
- * <p>Returns the identity attribute order for a specific <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
1310
- */
1311
- public getTypedLinkFacetInformation(
1312
- args: GetTypedLinkFacetInformationCommandInput,
1313
- options?: __HttpHandlerOptions
1314
- ): Promise<GetTypedLinkFacetInformationCommandOutput>;
1315
- public getTypedLinkFacetInformation(
1316
- args: GetTypedLinkFacetInformationCommandInput,
1317
- cb: (err: any, data?: GetTypedLinkFacetInformationCommandOutput) => void
1318
- ): void;
1319
- public getTypedLinkFacetInformation(
1320
- args: GetTypedLinkFacetInformationCommandInput,
1321
- options: __HttpHandlerOptions,
1322
- cb: (err: any, data?: GetTypedLinkFacetInformationCommandOutput) => void
1323
- ): void;
1324
- public getTypedLinkFacetInformation(
1325
- args: GetTypedLinkFacetInformationCommandInput,
1326
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTypedLinkFacetInformationCommandOutput) => void),
1327
- cb?: (err: any, data?: GetTypedLinkFacetInformationCommandOutput) => void
1328
- ): Promise<GetTypedLinkFacetInformationCommandOutput> | void {
1329
- const command = new GetTypedLinkFacetInformationCommand(args);
1330
- if (typeof optionsOrCb === "function") {
1331
- this.send(command, optionsOrCb);
1332
- } else if (typeof cb === "function") {
1333
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1334
- this.send(command, optionsOrCb || {}, cb);
1335
- } else {
1336
- return this.send(command, optionsOrCb);
1337
- }
1338
- }
1339
-
1340
- /**
1341
- * <p>Lists schema major versions applied to a directory. If <code>SchemaArn</code> is provided, lists the minor version.</p>
1342
- */
1343
- public listAppliedSchemaArns(
1344
- args: ListAppliedSchemaArnsCommandInput,
1345
- options?: __HttpHandlerOptions
1346
- ): Promise<ListAppliedSchemaArnsCommandOutput>;
1347
- public listAppliedSchemaArns(
1348
- args: ListAppliedSchemaArnsCommandInput,
1349
- cb: (err: any, data?: ListAppliedSchemaArnsCommandOutput) => void
1350
- ): void;
1351
- public listAppliedSchemaArns(
1352
- args: ListAppliedSchemaArnsCommandInput,
1353
- options: __HttpHandlerOptions,
1354
- cb: (err: any, data?: ListAppliedSchemaArnsCommandOutput) => void
1355
- ): void;
1356
- public listAppliedSchemaArns(
1357
- args: ListAppliedSchemaArnsCommandInput,
1358
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppliedSchemaArnsCommandOutput) => void),
1359
- cb?: (err: any, data?: ListAppliedSchemaArnsCommandOutput) => void
1360
- ): Promise<ListAppliedSchemaArnsCommandOutput> | void {
1361
- const command = new ListAppliedSchemaArnsCommand(args);
1362
- if (typeof optionsOrCb === "function") {
1363
- this.send(command, optionsOrCb);
1364
- } else if (typeof cb === "function") {
1365
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1366
- this.send(command, optionsOrCb || {}, cb);
1367
- } else {
1368
- return this.send(command, optionsOrCb);
1369
- }
1370
- }
1371
-
1372
- /**
1373
- * <p>Lists indices attached to the specified object.</p>
1374
- */
1375
- public listAttachedIndices(
1376
- args: ListAttachedIndicesCommandInput,
1377
- options?: __HttpHandlerOptions
1378
- ): Promise<ListAttachedIndicesCommandOutput>;
1379
- public listAttachedIndices(
1380
- args: ListAttachedIndicesCommandInput,
1381
- cb: (err: any, data?: ListAttachedIndicesCommandOutput) => void
1382
- ): void;
1383
- public listAttachedIndices(
1384
- args: ListAttachedIndicesCommandInput,
1385
- options: __HttpHandlerOptions,
1386
- cb: (err: any, data?: ListAttachedIndicesCommandOutput) => void
1387
- ): void;
1388
- public listAttachedIndices(
1389
- args: ListAttachedIndicesCommandInput,
1390
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAttachedIndicesCommandOutput) => void),
1391
- cb?: (err: any, data?: ListAttachedIndicesCommandOutput) => void
1392
- ): Promise<ListAttachedIndicesCommandOutput> | void {
1393
- const command = new ListAttachedIndicesCommand(args);
1394
- if (typeof optionsOrCb === "function") {
1395
- this.send(command, optionsOrCb);
1396
- } else if (typeof cb === "function") {
1397
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1398
- this.send(command, optionsOrCb || {}, cb);
1399
- } else {
1400
- return this.send(command, optionsOrCb);
1401
- }
1402
- }
1403
-
1404
- /**
1405
- * <p>Retrieves each Amazon Resource Name (ARN) of schemas in the development
1406
- * state.</p>
1407
- */
1408
- public listDevelopmentSchemaArns(
1409
- args: ListDevelopmentSchemaArnsCommandInput,
1410
- options?: __HttpHandlerOptions
1411
- ): Promise<ListDevelopmentSchemaArnsCommandOutput>;
1412
- public listDevelopmentSchemaArns(
1413
- args: ListDevelopmentSchemaArnsCommandInput,
1414
- cb: (err: any, data?: ListDevelopmentSchemaArnsCommandOutput) => void
1415
- ): void;
1416
- public listDevelopmentSchemaArns(
1417
- args: ListDevelopmentSchemaArnsCommandInput,
1418
- options: __HttpHandlerOptions,
1419
- cb: (err: any, data?: ListDevelopmentSchemaArnsCommandOutput) => void
1420
- ): void;
1421
- public listDevelopmentSchemaArns(
1422
- args: ListDevelopmentSchemaArnsCommandInput,
1423
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDevelopmentSchemaArnsCommandOutput) => void),
1424
- cb?: (err: any, data?: ListDevelopmentSchemaArnsCommandOutput) => void
1425
- ): Promise<ListDevelopmentSchemaArnsCommandOutput> | void {
1426
- const command = new ListDevelopmentSchemaArnsCommand(args);
1427
- if (typeof optionsOrCb === "function") {
1428
- this.send(command, optionsOrCb);
1429
- } else if (typeof cb === "function") {
1430
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1431
- this.send(command, optionsOrCb || {}, cb);
1432
- } else {
1433
- return this.send(command, optionsOrCb);
1434
- }
1435
- }
1436
-
1437
- /**
1438
- * <p>Lists directories created within an account.</p>
1439
- */
1440
- public listDirectories(
1441
- args: ListDirectoriesCommandInput,
1442
- options?: __HttpHandlerOptions
1443
- ): Promise<ListDirectoriesCommandOutput>;
1444
- public listDirectories(
1445
- args: ListDirectoriesCommandInput,
1446
- cb: (err: any, data?: ListDirectoriesCommandOutput) => void
1447
- ): void;
1448
- public listDirectories(
1449
- args: ListDirectoriesCommandInput,
1450
- options: __HttpHandlerOptions,
1451
- cb: (err: any, data?: ListDirectoriesCommandOutput) => void
1452
- ): void;
1453
- public listDirectories(
1454
- args: ListDirectoriesCommandInput,
1455
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDirectoriesCommandOutput) => void),
1456
- cb?: (err: any, data?: ListDirectoriesCommandOutput) => void
1457
- ): Promise<ListDirectoriesCommandOutput> | void {
1458
- const command = new ListDirectoriesCommand(args);
1459
- if (typeof optionsOrCb === "function") {
1460
- this.send(command, optionsOrCb);
1461
- } else if (typeof cb === "function") {
1462
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1463
- this.send(command, optionsOrCb || {}, cb);
1464
- } else {
1465
- return this.send(command, optionsOrCb);
1466
- }
1467
- }
1468
-
1469
- /**
1470
- * <p>Retrieves attributes attached to the facet.</p>
1471
- */
1472
- public listFacetAttributes(
1473
- args: ListFacetAttributesCommandInput,
1474
- options?: __HttpHandlerOptions
1475
- ): Promise<ListFacetAttributesCommandOutput>;
1476
- public listFacetAttributes(
1477
- args: ListFacetAttributesCommandInput,
1478
- cb: (err: any, data?: ListFacetAttributesCommandOutput) => void
1479
- ): void;
1480
- public listFacetAttributes(
1481
- args: ListFacetAttributesCommandInput,
1482
- options: __HttpHandlerOptions,
1483
- cb: (err: any, data?: ListFacetAttributesCommandOutput) => void
1484
- ): void;
1485
- public listFacetAttributes(
1486
- args: ListFacetAttributesCommandInput,
1487
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFacetAttributesCommandOutput) => void),
1488
- cb?: (err: any, data?: ListFacetAttributesCommandOutput) => void
1489
- ): Promise<ListFacetAttributesCommandOutput> | void {
1490
- const command = new ListFacetAttributesCommand(args);
1491
- if (typeof optionsOrCb === "function") {
1492
- this.send(command, optionsOrCb);
1493
- } else if (typeof cb === "function") {
1494
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1495
- this.send(command, optionsOrCb || {}, cb);
1496
- } else {
1497
- return this.send(command, optionsOrCb);
1498
- }
1499
- }
1500
-
1501
- /**
1502
- * <p>Retrieves the names of facets that exist in a schema.</p>
1503
- */
1504
- public listFacetNames(
1505
- args: ListFacetNamesCommandInput,
1506
- options?: __HttpHandlerOptions
1507
- ): Promise<ListFacetNamesCommandOutput>;
1508
- public listFacetNames(
1509
- args: ListFacetNamesCommandInput,
1510
- cb: (err: any, data?: ListFacetNamesCommandOutput) => void
1511
- ): void;
1512
- public listFacetNames(
1513
- args: ListFacetNamesCommandInput,
1514
- options: __HttpHandlerOptions,
1515
- cb: (err: any, data?: ListFacetNamesCommandOutput) => void
1516
- ): void;
1517
- public listFacetNames(
1518
- args: ListFacetNamesCommandInput,
1519
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFacetNamesCommandOutput) => void),
1520
- cb?: (err: any, data?: ListFacetNamesCommandOutput) => void
1521
- ): Promise<ListFacetNamesCommandOutput> | void {
1522
- const command = new ListFacetNamesCommand(args);
1523
- if (typeof optionsOrCb === "function") {
1524
- this.send(command, optionsOrCb);
1525
- } else if (typeof cb === "function") {
1526
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1527
- this.send(command, optionsOrCb || {}, cb);
1528
- } else {
1529
- return this.send(command, optionsOrCb);
1530
- }
1531
- }
1532
-
1533
- /**
1534
- * <p>Returns a paginated list of all the incoming <a>TypedLinkSpecifier</a>
1535
- * information for an object. It also supports filtering by typed link facet and identity
1536
- * attributes. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
1537
- */
1538
- public listIncomingTypedLinks(
1539
- args: ListIncomingTypedLinksCommandInput,
1540
- options?: __HttpHandlerOptions
1541
- ): Promise<ListIncomingTypedLinksCommandOutput>;
1542
- public listIncomingTypedLinks(
1543
- args: ListIncomingTypedLinksCommandInput,
1544
- cb: (err: any, data?: ListIncomingTypedLinksCommandOutput) => void
1545
- ): void;
1546
- public listIncomingTypedLinks(
1547
- args: ListIncomingTypedLinksCommandInput,
1548
- options: __HttpHandlerOptions,
1549
- cb: (err: any, data?: ListIncomingTypedLinksCommandOutput) => void
1550
- ): void;
1551
- public listIncomingTypedLinks(
1552
- args: ListIncomingTypedLinksCommandInput,
1553
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIncomingTypedLinksCommandOutput) => void),
1554
- cb?: (err: any, data?: ListIncomingTypedLinksCommandOutput) => void
1555
- ): Promise<ListIncomingTypedLinksCommandOutput> | void {
1556
- const command = new ListIncomingTypedLinksCommand(args);
1557
- if (typeof optionsOrCb === "function") {
1558
- this.send(command, optionsOrCb);
1559
- } else if (typeof cb === "function") {
1560
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1561
- this.send(command, optionsOrCb || {}, cb);
1562
- } else {
1563
- return this.send(command, optionsOrCb);
1564
- }
1565
- }
1566
-
1567
- /**
1568
- * <p>Lists objects attached to the specified index.</p>
1569
- */
1570
- public listIndex(args: ListIndexCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexCommandOutput>;
1571
- public listIndex(args: ListIndexCommandInput, cb: (err: any, data?: ListIndexCommandOutput) => void): void;
1572
- public listIndex(
1573
- args: ListIndexCommandInput,
1574
- options: __HttpHandlerOptions,
1575
- cb: (err: any, data?: ListIndexCommandOutput) => void
1576
- ): void;
1577
- public listIndex(
1578
- args: ListIndexCommandInput,
1579
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIndexCommandOutput) => void),
1580
- cb?: (err: any, data?: ListIndexCommandOutput) => void
1581
- ): Promise<ListIndexCommandOutput> | void {
1582
- const command = new ListIndexCommand(args);
1583
- if (typeof optionsOrCb === "function") {
1584
- this.send(command, optionsOrCb);
1585
- } else if (typeof cb === "function") {
1586
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1587
- this.send(command, optionsOrCb || {}, cb);
1588
- } else {
1589
- return this.send(command, optionsOrCb);
1590
- }
1591
- }
1592
-
1593
- /**
1594
- * <p>Lists the major version families of each managed schema. If a major version ARN is provided as SchemaArn, the minor version revisions in that family are listed instead.</p>
1595
- */
1596
- public listManagedSchemaArns(
1597
- args: ListManagedSchemaArnsCommandInput,
1598
- options?: __HttpHandlerOptions
1599
- ): Promise<ListManagedSchemaArnsCommandOutput>;
1600
- public listManagedSchemaArns(
1601
- args: ListManagedSchemaArnsCommandInput,
1602
- cb: (err: any, data?: ListManagedSchemaArnsCommandOutput) => void
1603
- ): void;
1604
- public listManagedSchemaArns(
1605
- args: ListManagedSchemaArnsCommandInput,
1606
- options: __HttpHandlerOptions,
1607
- cb: (err: any, data?: ListManagedSchemaArnsCommandOutput) => void
1608
- ): void;
1609
- public listManagedSchemaArns(
1610
- args: ListManagedSchemaArnsCommandInput,
1611
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListManagedSchemaArnsCommandOutput) => void),
1612
- cb?: (err: any, data?: ListManagedSchemaArnsCommandOutput) => void
1613
- ): Promise<ListManagedSchemaArnsCommandOutput> | void {
1614
- const command = new ListManagedSchemaArnsCommand(args);
1615
- if (typeof optionsOrCb === "function") {
1616
- this.send(command, optionsOrCb);
1617
- } else if (typeof cb === "function") {
1618
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1619
- this.send(command, optionsOrCb || {}, cb);
1620
- } else {
1621
- return this.send(command, optionsOrCb);
1622
- }
1623
- }
1624
-
1625
- /**
1626
- * <p>Lists all attributes that are associated with an object.
1627
- * </p>
1628
- */
1629
- public listObjectAttributes(
1630
- args: ListObjectAttributesCommandInput,
1631
- options?: __HttpHandlerOptions
1632
- ): Promise<ListObjectAttributesCommandOutput>;
1633
- public listObjectAttributes(
1634
- args: ListObjectAttributesCommandInput,
1635
- cb: (err: any, data?: ListObjectAttributesCommandOutput) => void
1636
- ): void;
1637
- public listObjectAttributes(
1638
- args: ListObjectAttributesCommandInput,
1639
- options: __HttpHandlerOptions,
1640
- cb: (err: any, data?: ListObjectAttributesCommandOutput) => void
1641
- ): void;
1642
- public listObjectAttributes(
1643
- args: ListObjectAttributesCommandInput,
1644
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListObjectAttributesCommandOutput) => void),
1645
- cb?: (err: any, data?: ListObjectAttributesCommandOutput) => void
1646
- ): Promise<ListObjectAttributesCommandOutput> | void {
1647
- const command = new ListObjectAttributesCommand(args);
1648
- if (typeof optionsOrCb === "function") {
1649
- this.send(command, optionsOrCb);
1650
- } else if (typeof cb === "function") {
1651
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1652
- this.send(command, optionsOrCb || {}, cb);
1653
- } else {
1654
- return this.send(command, optionsOrCb);
1655
- }
1656
- }
1657
-
1658
- /**
1659
- * <p>Returns a paginated list of child objects that are associated with a given
1660
- * object.</p>
1661
- */
1662
- public listObjectChildren(
1663
- args: ListObjectChildrenCommandInput,
1664
- options?: __HttpHandlerOptions
1665
- ): Promise<ListObjectChildrenCommandOutput>;
1666
- public listObjectChildren(
1667
- args: ListObjectChildrenCommandInput,
1668
- cb: (err: any, data?: ListObjectChildrenCommandOutput) => void
1669
- ): void;
1670
- public listObjectChildren(
1671
- args: ListObjectChildrenCommandInput,
1672
- options: __HttpHandlerOptions,
1673
- cb: (err: any, data?: ListObjectChildrenCommandOutput) => void
1674
- ): void;
1675
- public listObjectChildren(
1676
- args: ListObjectChildrenCommandInput,
1677
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListObjectChildrenCommandOutput) => void),
1678
- cb?: (err: any, data?: ListObjectChildrenCommandOutput) => void
1679
- ): Promise<ListObjectChildrenCommandOutput> | void {
1680
- const command = new ListObjectChildrenCommand(args);
1681
- if (typeof optionsOrCb === "function") {
1682
- this.send(command, optionsOrCb);
1683
- } else if (typeof cb === "function") {
1684
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1685
- this.send(command, optionsOrCb || {}, cb);
1686
- } else {
1687
- return this.send(command, optionsOrCb);
1688
- }
1689
- }
1690
-
1691
- /**
1692
- * <p>Retrieves all available parent paths for any object type such as node, leaf node,
1693
- * policy node, and index node objects. For more information about objects, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html">Directory Structure</a>.</p>
1694
- * <p>Use this API to evaluate all parents for an object. The call returns all objects from
1695
- * the root of the directory up to the requested object. The API returns the number of paths
1696
- * based on user-defined <code>MaxResults</code>, in case there are multiple paths to the parent.
1697
- * The order of the paths and nodes returned is consistent among multiple API calls unless the
1698
- * objects are deleted or moved. Paths not leading to the directory root are ignored from the
1699
- * target object.</p>
1700
- */
1701
- public listObjectParentPaths(
1702
- args: ListObjectParentPathsCommandInput,
1703
- options?: __HttpHandlerOptions
1704
- ): Promise<ListObjectParentPathsCommandOutput>;
1705
- public listObjectParentPaths(
1706
- args: ListObjectParentPathsCommandInput,
1707
- cb: (err: any, data?: ListObjectParentPathsCommandOutput) => void
1708
- ): void;
1709
- public listObjectParentPaths(
1710
- args: ListObjectParentPathsCommandInput,
1711
- options: __HttpHandlerOptions,
1712
- cb: (err: any, data?: ListObjectParentPathsCommandOutput) => void
1713
- ): void;
1714
- public listObjectParentPaths(
1715
- args: ListObjectParentPathsCommandInput,
1716
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListObjectParentPathsCommandOutput) => void),
1717
- cb?: (err: any, data?: ListObjectParentPathsCommandOutput) => void
1718
- ): Promise<ListObjectParentPathsCommandOutput> | void {
1719
- const command = new ListObjectParentPathsCommand(args);
1720
- if (typeof optionsOrCb === "function") {
1721
- this.send(command, optionsOrCb);
1722
- } else if (typeof cb === "function") {
1723
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1724
- this.send(command, optionsOrCb || {}, cb);
1725
- } else {
1726
- return this.send(command, optionsOrCb);
1727
- }
1728
- }
1729
-
1730
- /**
1731
- * <p>Lists parent objects that are associated with a given object in pagination
1732
- * fashion.</p>
1733
- */
1734
- public listObjectParents(
1735
- args: ListObjectParentsCommandInput,
1736
- options?: __HttpHandlerOptions
1737
- ): Promise<ListObjectParentsCommandOutput>;
1738
- public listObjectParents(
1739
- args: ListObjectParentsCommandInput,
1740
- cb: (err: any, data?: ListObjectParentsCommandOutput) => void
1741
- ): void;
1742
- public listObjectParents(
1743
- args: ListObjectParentsCommandInput,
1744
- options: __HttpHandlerOptions,
1745
- cb: (err: any, data?: ListObjectParentsCommandOutput) => void
1746
- ): void;
1747
- public listObjectParents(
1748
- args: ListObjectParentsCommandInput,
1749
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListObjectParentsCommandOutput) => void),
1750
- cb?: (err: any, data?: ListObjectParentsCommandOutput) => void
1751
- ): Promise<ListObjectParentsCommandOutput> | void {
1752
- const command = new ListObjectParentsCommand(args);
1753
- if (typeof optionsOrCb === "function") {
1754
- this.send(command, optionsOrCb);
1755
- } else if (typeof cb === "function") {
1756
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1757
- this.send(command, optionsOrCb || {}, cb);
1758
- } else {
1759
- return this.send(command, optionsOrCb);
1760
- }
1761
- }
1762
-
1763
- /**
1764
- * <p>Returns policies attached to an object in pagination fashion.</p>
1765
- */
1766
- public listObjectPolicies(
1767
- args: ListObjectPoliciesCommandInput,
1768
- options?: __HttpHandlerOptions
1769
- ): Promise<ListObjectPoliciesCommandOutput>;
1770
- public listObjectPolicies(
1771
- args: ListObjectPoliciesCommandInput,
1772
- cb: (err: any, data?: ListObjectPoliciesCommandOutput) => void
1773
- ): void;
1774
- public listObjectPolicies(
1775
- args: ListObjectPoliciesCommandInput,
1776
- options: __HttpHandlerOptions,
1777
- cb: (err: any, data?: ListObjectPoliciesCommandOutput) => void
1778
- ): void;
1779
- public listObjectPolicies(
1780
- args: ListObjectPoliciesCommandInput,
1781
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListObjectPoliciesCommandOutput) => void),
1782
- cb?: (err: any, data?: ListObjectPoliciesCommandOutput) => void
1783
- ): Promise<ListObjectPoliciesCommandOutput> | void {
1784
- const command = new ListObjectPoliciesCommand(args);
1785
- if (typeof optionsOrCb === "function") {
1786
- this.send(command, optionsOrCb);
1787
- } else if (typeof cb === "function") {
1788
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1789
- this.send(command, optionsOrCb || {}, cb);
1790
- } else {
1791
- return this.send(command, optionsOrCb);
1792
- }
1793
- }
1794
-
1795
- /**
1796
- * <p>Returns a paginated list of all the outgoing <a>TypedLinkSpecifier</a>
1797
- * information for an object. It also supports filtering by typed link facet and identity
1798
- * attributes. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
1799
- */
1800
- public listOutgoingTypedLinks(
1801
- args: ListOutgoingTypedLinksCommandInput,
1802
- options?: __HttpHandlerOptions
1803
- ): Promise<ListOutgoingTypedLinksCommandOutput>;
1804
- public listOutgoingTypedLinks(
1805
- args: ListOutgoingTypedLinksCommandInput,
1806
- cb: (err: any, data?: ListOutgoingTypedLinksCommandOutput) => void
1807
- ): void;
1808
- public listOutgoingTypedLinks(
1809
- args: ListOutgoingTypedLinksCommandInput,
1810
- options: __HttpHandlerOptions,
1811
- cb: (err: any, data?: ListOutgoingTypedLinksCommandOutput) => void
1812
- ): void;
1813
- public listOutgoingTypedLinks(
1814
- args: ListOutgoingTypedLinksCommandInput,
1815
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOutgoingTypedLinksCommandOutput) => void),
1816
- cb?: (err: any, data?: ListOutgoingTypedLinksCommandOutput) => void
1817
- ): Promise<ListOutgoingTypedLinksCommandOutput> | void {
1818
- const command = new ListOutgoingTypedLinksCommand(args);
1819
- if (typeof optionsOrCb === "function") {
1820
- this.send(command, optionsOrCb);
1821
- } else if (typeof cb === "function") {
1822
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1823
- this.send(command, optionsOrCb || {}, cb);
1824
- } else {
1825
- return this.send(command, optionsOrCb);
1826
- }
1827
- }
1828
-
1829
- /**
1830
- * <p>Returns all of the <code>ObjectIdentifiers</code> to which a given policy is attached.</p>
1831
- */
1832
- public listPolicyAttachments(
1833
- args: ListPolicyAttachmentsCommandInput,
1834
- options?: __HttpHandlerOptions
1835
- ): Promise<ListPolicyAttachmentsCommandOutput>;
1836
- public listPolicyAttachments(
1837
- args: ListPolicyAttachmentsCommandInput,
1838
- cb: (err: any, data?: ListPolicyAttachmentsCommandOutput) => void
1839
- ): void;
1840
- public listPolicyAttachments(
1841
- args: ListPolicyAttachmentsCommandInput,
1842
- options: __HttpHandlerOptions,
1843
- cb: (err: any, data?: ListPolicyAttachmentsCommandOutput) => void
1844
- ): void;
1845
- public listPolicyAttachments(
1846
- args: ListPolicyAttachmentsCommandInput,
1847
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPolicyAttachmentsCommandOutput) => void),
1848
- cb?: (err: any, data?: ListPolicyAttachmentsCommandOutput) => void
1849
- ): Promise<ListPolicyAttachmentsCommandOutput> | void {
1850
- const command = new ListPolicyAttachmentsCommand(args);
1851
- if (typeof optionsOrCb === "function") {
1852
- this.send(command, optionsOrCb);
1853
- } else if (typeof cb === "function") {
1854
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1855
- this.send(command, optionsOrCb || {}, cb);
1856
- } else {
1857
- return this.send(command, optionsOrCb);
1858
- }
1859
- }
1860
-
1861
- /**
1862
- * <p>Lists the major version families of each published schema. If a major version ARN is provided as <code>SchemaArn</code>, the minor version revisions in that family are listed instead.</p>
1863
- */
1864
- public listPublishedSchemaArns(
1865
- args: ListPublishedSchemaArnsCommandInput,
1866
- options?: __HttpHandlerOptions
1867
- ): Promise<ListPublishedSchemaArnsCommandOutput>;
1868
- public listPublishedSchemaArns(
1869
- args: ListPublishedSchemaArnsCommandInput,
1870
- cb: (err: any, data?: ListPublishedSchemaArnsCommandOutput) => void
1871
- ): void;
1872
- public listPublishedSchemaArns(
1873
- args: ListPublishedSchemaArnsCommandInput,
1874
- options: __HttpHandlerOptions,
1875
- cb: (err: any, data?: ListPublishedSchemaArnsCommandOutput) => void
1876
- ): void;
1877
- public listPublishedSchemaArns(
1878
- args: ListPublishedSchemaArnsCommandInput,
1879
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPublishedSchemaArnsCommandOutput) => void),
1880
- cb?: (err: any, data?: ListPublishedSchemaArnsCommandOutput) => void
1881
- ): Promise<ListPublishedSchemaArnsCommandOutput> | void {
1882
- const command = new ListPublishedSchemaArnsCommand(args);
1883
- if (typeof optionsOrCb === "function") {
1884
- this.send(command, optionsOrCb);
1885
- } else if (typeof cb === "function") {
1886
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1887
- this.send(command, optionsOrCb || {}, cb);
1888
- } else {
1889
- return this.send(command, optionsOrCb);
1890
- }
1891
- }
1892
-
1893
- /**
1894
- * <p>Returns tags for a resource. Tagging is currently supported only for directories with a
1895
- * limit of 50 tags per directory. All 50 tags are returned for a given directory with this API
1896
- * call.</p>
1897
- */
1898
- public listTagsForResource(
1899
- args: ListTagsForResourceCommandInput,
1900
- options?: __HttpHandlerOptions
1901
- ): Promise<ListTagsForResourceCommandOutput>;
1902
- public listTagsForResource(
1903
- args: ListTagsForResourceCommandInput,
1904
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1905
- ): void;
1906
- public listTagsForResource(
1907
- args: ListTagsForResourceCommandInput,
1908
- options: __HttpHandlerOptions,
1909
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1910
- ): void;
1911
- public listTagsForResource(
1912
- args: ListTagsForResourceCommandInput,
1913
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1914
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1915
- ): Promise<ListTagsForResourceCommandOutput> | void {
1916
- const command = new ListTagsForResourceCommand(args);
1917
- if (typeof optionsOrCb === "function") {
1918
- this.send(command, optionsOrCb);
1919
- } else if (typeof cb === "function") {
1920
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1921
- this.send(command, optionsOrCb || {}, cb);
1922
- } else {
1923
- return this.send(command, optionsOrCb);
1924
- }
1925
- }
1926
-
1927
- /**
1928
- * <p>Returns a paginated list of all attribute definitions for a particular <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
1929
- */
1930
- public listTypedLinkFacetAttributes(
1931
- args: ListTypedLinkFacetAttributesCommandInput,
1932
- options?: __HttpHandlerOptions
1933
- ): Promise<ListTypedLinkFacetAttributesCommandOutput>;
1934
- public listTypedLinkFacetAttributes(
1935
- args: ListTypedLinkFacetAttributesCommandInput,
1936
- cb: (err: any, data?: ListTypedLinkFacetAttributesCommandOutput) => void
1937
- ): void;
1938
- public listTypedLinkFacetAttributes(
1939
- args: ListTypedLinkFacetAttributesCommandInput,
1940
- options: __HttpHandlerOptions,
1941
- cb: (err: any, data?: ListTypedLinkFacetAttributesCommandOutput) => void
1942
- ): void;
1943
- public listTypedLinkFacetAttributes(
1944
- args: ListTypedLinkFacetAttributesCommandInput,
1945
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTypedLinkFacetAttributesCommandOutput) => void),
1946
- cb?: (err: any, data?: ListTypedLinkFacetAttributesCommandOutput) => void
1947
- ): Promise<ListTypedLinkFacetAttributesCommandOutput> | void {
1948
- const command = new ListTypedLinkFacetAttributesCommand(args);
1949
- if (typeof optionsOrCb === "function") {
1950
- this.send(command, optionsOrCb);
1951
- } else if (typeof cb === "function") {
1952
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1953
- this.send(command, optionsOrCb || {}, cb);
1954
- } else {
1955
- return this.send(command, optionsOrCb);
1956
- }
1957
- }
1958
-
1959
- /**
1960
- * <p>Returns a paginated list of <code>TypedLink</code> facet names for a particular schema.
1961
- * For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
1962
- */
1963
- public listTypedLinkFacetNames(
1964
- args: ListTypedLinkFacetNamesCommandInput,
1965
- options?: __HttpHandlerOptions
1966
- ): Promise<ListTypedLinkFacetNamesCommandOutput>;
1967
- public listTypedLinkFacetNames(
1968
- args: ListTypedLinkFacetNamesCommandInput,
1969
- cb: (err: any, data?: ListTypedLinkFacetNamesCommandOutput) => void
1970
- ): void;
1971
- public listTypedLinkFacetNames(
1972
- args: ListTypedLinkFacetNamesCommandInput,
1973
- options: __HttpHandlerOptions,
1974
- cb: (err: any, data?: ListTypedLinkFacetNamesCommandOutput) => void
1975
- ): void;
1976
- public listTypedLinkFacetNames(
1977
- args: ListTypedLinkFacetNamesCommandInput,
1978
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTypedLinkFacetNamesCommandOutput) => void),
1979
- cb?: (err: any, data?: ListTypedLinkFacetNamesCommandOutput) => void
1980
- ): Promise<ListTypedLinkFacetNamesCommandOutput> | void {
1981
- const command = new ListTypedLinkFacetNamesCommand(args);
1982
- if (typeof optionsOrCb === "function") {
1983
- this.send(command, optionsOrCb);
1984
- } else if (typeof cb === "function") {
1985
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1986
- this.send(command, optionsOrCb || {}, cb);
1987
- } else {
1988
- return this.send(command, optionsOrCb);
1989
- }
1990
- }
1991
-
1992
- /**
1993
- * <p>Lists all policies from the root of the <a>Directory</a> to the object
1994
- * specified. If there are no policies present, an empty list is returned. If policies are
1995
- * present, and if some objects don't have the policies attached, it returns the <code>ObjectIdentifier</code>
1996
- * for such objects. If policies are present, it returns <code>ObjectIdentifier</code>, <code>policyId</code>, and
1997
- * <code>policyType</code>. Paths that don't lead to the root from the target object are ignored. For more
1998
- * information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directory.html#key_concepts_policies">Policies</a>.</p>
1999
- */
2000
- public lookupPolicy(
2001
- args: LookupPolicyCommandInput,
2002
- options?: __HttpHandlerOptions
2003
- ): Promise<LookupPolicyCommandOutput>;
2004
- public lookupPolicy(args: LookupPolicyCommandInput, cb: (err: any, data?: LookupPolicyCommandOutput) => void): void;
2005
- public lookupPolicy(
2006
- args: LookupPolicyCommandInput,
2007
- options: __HttpHandlerOptions,
2008
- cb: (err: any, data?: LookupPolicyCommandOutput) => void
2009
- ): void;
2010
- public lookupPolicy(
2011
- args: LookupPolicyCommandInput,
2012
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: LookupPolicyCommandOutput) => void),
2013
- cb?: (err: any, data?: LookupPolicyCommandOutput) => void
2014
- ): Promise<LookupPolicyCommandOutput> | void {
2015
- const command = new LookupPolicyCommand(args);
2016
- if (typeof optionsOrCb === "function") {
2017
- this.send(command, optionsOrCb);
2018
- } else if (typeof cb === "function") {
2019
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2020
- this.send(command, optionsOrCb || {}, cb);
2021
- } else {
2022
- return this.send(command, optionsOrCb);
2023
- }
2024
- }
2025
-
2026
- /**
2027
- * <p>Publishes a development schema with a major version and a recommended minor version.</p>
2028
- */
2029
- public publishSchema(
2030
- args: PublishSchemaCommandInput,
2031
- options?: __HttpHandlerOptions
2032
- ): Promise<PublishSchemaCommandOutput>;
2033
- public publishSchema(
2034
- args: PublishSchemaCommandInput,
2035
- cb: (err: any, data?: PublishSchemaCommandOutput) => void
2036
- ): void;
2037
- public publishSchema(
2038
- args: PublishSchemaCommandInput,
2039
- options: __HttpHandlerOptions,
2040
- cb: (err: any, data?: PublishSchemaCommandOutput) => void
2041
- ): void;
2042
- public publishSchema(
2043
- args: PublishSchemaCommandInput,
2044
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishSchemaCommandOutput) => void),
2045
- cb?: (err: any, data?: PublishSchemaCommandOutput) => void
2046
- ): Promise<PublishSchemaCommandOutput> | void {
2047
- const command = new PublishSchemaCommand(args);
2048
- if (typeof optionsOrCb === "function") {
2049
- this.send(command, optionsOrCb);
2050
- } else if (typeof cb === "function") {
2051
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2052
- this.send(command, optionsOrCb || {}, cb);
2053
- } else {
2054
- return this.send(command, optionsOrCb);
2055
- }
2056
- }
2057
-
2058
- /**
2059
- * <p>Allows a schema to be updated using JSON upload. Only available for development schemas. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json">JSON Schema Format</a> for more information.</p>
2060
- */
2061
- public putSchemaFromJson(
2062
- args: PutSchemaFromJsonCommandInput,
2063
- options?: __HttpHandlerOptions
2064
- ): Promise<PutSchemaFromJsonCommandOutput>;
2065
- public putSchemaFromJson(
2066
- args: PutSchemaFromJsonCommandInput,
2067
- cb: (err: any, data?: PutSchemaFromJsonCommandOutput) => void
2068
- ): void;
2069
- public putSchemaFromJson(
2070
- args: PutSchemaFromJsonCommandInput,
2071
- options: __HttpHandlerOptions,
2072
- cb: (err: any, data?: PutSchemaFromJsonCommandOutput) => void
2073
- ): void;
2074
- public putSchemaFromJson(
2075
- args: PutSchemaFromJsonCommandInput,
2076
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutSchemaFromJsonCommandOutput) => void),
2077
- cb?: (err: any, data?: PutSchemaFromJsonCommandOutput) => void
2078
- ): Promise<PutSchemaFromJsonCommandOutput> | void {
2079
- const command = new PutSchemaFromJsonCommand(args);
2080
- if (typeof optionsOrCb === "function") {
2081
- this.send(command, optionsOrCb);
2082
- } else if (typeof cb === "function") {
2083
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2084
- this.send(command, optionsOrCb || {}, cb);
2085
- } else {
2086
- return this.send(command, optionsOrCb);
2087
- }
2088
- }
2089
-
2090
- /**
2091
- * <p>Removes the specified facet from the specified object.</p>
2092
- */
2093
- public removeFacetFromObject(
2094
- args: RemoveFacetFromObjectCommandInput,
2095
- options?: __HttpHandlerOptions
2096
- ): Promise<RemoveFacetFromObjectCommandOutput>;
2097
- public removeFacetFromObject(
2098
- args: RemoveFacetFromObjectCommandInput,
2099
- cb: (err: any, data?: RemoveFacetFromObjectCommandOutput) => void
2100
- ): void;
2101
- public removeFacetFromObject(
2102
- args: RemoveFacetFromObjectCommandInput,
2103
- options: __HttpHandlerOptions,
2104
- cb: (err: any, data?: RemoveFacetFromObjectCommandOutput) => void
2105
- ): void;
2106
- public removeFacetFromObject(
2107
- args: RemoveFacetFromObjectCommandInput,
2108
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveFacetFromObjectCommandOutput) => void),
2109
- cb?: (err: any, data?: RemoveFacetFromObjectCommandOutput) => void
2110
- ): Promise<RemoveFacetFromObjectCommandOutput> | void {
2111
- const command = new RemoveFacetFromObjectCommand(args);
2112
- if (typeof optionsOrCb === "function") {
2113
- this.send(command, optionsOrCb);
2114
- } else if (typeof cb === "function") {
2115
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2116
- this.send(command, optionsOrCb || {}, cb);
2117
- } else {
2118
- return this.send(command, optionsOrCb);
2119
- }
2120
- }
2121
-
2122
- /**
2123
- * <p>An API operation for adding tags to a resource.</p>
2124
- */
2125
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
2126
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
2127
- public tagResource(
2128
- args: TagResourceCommandInput,
2129
- options: __HttpHandlerOptions,
2130
- cb: (err: any, data?: TagResourceCommandOutput) => void
2131
- ): void;
2132
- public tagResource(
2133
- args: TagResourceCommandInput,
2134
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
2135
- cb?: (err: any, data?: TagResourceCommandOutput) => void
2136
- ): Promise<TagResourceCommandOutput> | void {
2137
- const command = new TagResourceCommand(args);
2138
- if (typeof optionsOrCb === "function") {
2139
- this.send(command, optionsOrCb);
2140
- } else if (typeof cb === "function") {
2141
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2142
- this.send(command, optionsOrCb || {}, cb);
2143
- } else {
2144
- return this.send(command, optionsOrCb);
2145
- }
2146
- }
2147
-
2148
- /**
2149
- * <p>An API operation for removing tags from a resource.</p>
2150
- */
2151
- public untagResource(
2152
- args: UntagResourceCommandInput,
2153
- options?: __HttpHandlerOptions
2154
- ): Promise<UntagResourceCommandOutput>;
2155
- public untagResource(
2156
- args: UntagResourceCommandInput,
2157
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2158
- ): void;
2159
- public untagResource(
2160
- args: UntagResourceCommandInput,
2161
- options: __HttpHandlerOptions,
2162
- cb: (err: any, data?: UntagResourceCommandOutput) => void
2163
- ): void;
2164
- public untagResource(
2165
- args: UntagResourceCommandInput,
2166
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
2167
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
2168
- ): Promise<UntagResourceCommandOutput> | void {
2169
- const command = new UntagResourceCommand(args);
2170
- if (typeof optionsOrCb === "function") {
2171
- this.send(command, optionsOrCb);
2172
- } else if (typeof cb === "function") {
2173
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2174
- this.send(command, optionsOrCb || {}, cb);
2175
- } else {
2176
- return this.send(command, optionsOrCb);
2177
- }
2178
- }
2179
-
2180
- /**
2181
- * <p>Does the following:</p>
2182
- * <ol>
2183
- * <li>
2184
- * <p>Adds new <code>Attributes</code>, <code>Rules</code>, or <code>ObjectTypes</code>.</p>
2185
- * </li>
2186
- * <li>
2187
- * <p>Updates existing <code>Attributes</code>, <code>Rules</code>, or <code>ObjectTypes</code>.</p>
2188
- * </li>
2189
- * <li>
2190
- * <p>Deletes existing <code>Attributes</code>, <code>Rules</code>, or <code>ObjectTypes</code>.</p>
2191
- * </li>
2192
- * </ol>
2193
- */
2194
- public updateFacet(args: UpdateFacetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFacetCommandOutput>;
2195
- public updateFacet(args: UpdateFacetCommandInput, cb: (err: any, data?: UpdateFacetCommandOutput) => void): void;
2196
- public updateFacet(
2197
- args: UpdateFacetCommandInput,
2198
- options: __HttpHandlerOptions,
2199
- cb: (err: any, data?: UpdateFacetCommandOutput) => void
2200
- ): void;
2201
- public updateFacet(
2202
- args: UpdateFacetCommandInput,
2203
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFacetCommandOutput) => void),
2204
- cb?: (err: any, data?: UpdateFacetCommandOutput) => void
2205
- ): Promise<UpdateFacetCommandOutput> | void {
2206
- const command = new UpdateFacetCommand(args);
2207
- if (typeof optionsOrCb === "function") {
2208
- this.send(command, optionsOrCb);
2209
- } else if (typeof cb === "function") {
2210
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2211
- this.send(command, optionsOrCb || {}, cb);
2212
- } else {
2213
- return this.send(command, optionsOrCb);
2214
- }
2215
- }
2216
-
2217
- /**
2218
- * <p>Updates a given typed link’s attributes. Attributes to be updated must not contribute to the typed link’s identity, as defined by its <code>IdentityAttributeOrder</code>.</p>
2219
- */
2220
- public updateLinkAttributes(
2221
- args: UpdateLinkAttributesCommandInput,
2222
- options?: __HttpHandlerOptions
2223
- ): Promise<UpdateLinkAttributesCommandOutput>;
2224
- public updateLinkAttributes(
2225
- args: UpdateLinkAttributesCommandInput,
2226
- cb: (err: any, data?: UpdateLinkAttributesCommandOutput) => void
2227
- ): void;
2228
- public updateLinkAttributes(
2229
- args: UpdateLinkAttributesCommandInput,
2230
- options: __HttpHandlerOptions,
2231
- cb: (err: any, data?: UpdateLinkAttributesCommandOutput) => void
2232
- ): void;
2233
- public updateLinkAttributes(
2234
- args: UpdateLinkAttributesCommandInput,
2235
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLinkAttributesCommandOutput) => void),
2236
- cb?: (err: any, data?: UpdateLinkAttributesCommandOutput) => void
2237
- ): Promise<UpdateLinkAttributesCommandOutput> | void {
2238
- const command = new UpdateLinkAttributesCommand(args);
2239
- if (typeof optionsOrCb === "function") {
2240
- this.send(command, optionsOrCb);
2241
- } else if (typeof cb === "function") {
2242
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2243
- this.send(command, optionsOrCb || {}, cb);
2244
- } else {
2245
- return this.send(command, optionsOrCb);
2246
- }
2247
- }
2248
-
2249
- /**
2250
- * <p>Updates a given object's attributes.</p>
2251
- */
2252
- public updateObjectAttributes(
2253
- args: UpdateObjectAttributesCommandInput,
2254
- options?: __HttpHandlerOptions
2255
- ): Promise<UpdateObjectAttributesCommandOutput>;
2256
- public updateObjectAttributes(
2257
- args: UpdateObjectAttributesCommandInput,
2258
- cb: (err: any, data?: UpdateObjectAttributesCommandOutput) => void
2259
- ): void;
2260
- public updateObjectAttributes(
2261
- args: UpdateObjectAttributesCommandInput,
2262
- options: __HttpHandlerOptions,
2263
- cb: (err: any, data?: UpdateObjectAttributesCommandOutput) => void
2264
- ): void;
2265
- public updateObjectAttributes(
2266
- args: UpdateObjectAttributesCommandInput,
2267
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateObjectAttributesCommandOutput) => void),
2268
- cb?: (err: any, data?: UpdateObjectAttributesCommandOutput) => void
2269
- ): Promise<UpdateObjectAttributesCommandOutput> | void {
2270
- const command = new UpdateObjectAttributesCommand(args);
2271
- if (typeof optionsOrCb === "function") {
2272
- this.send(command, optionsOrCb);
2273
- } else if (typeof cb === "function") {
2274
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2275
- this.send(command, optionsOrCb || {}, cb);
2276
- } else {
2277
- return this.send(command, optionsOrCb);
2278
- }
2279
- }
2280
-
2281
- /**
2282
- * <p>Updates the schema name with a new name. Only development schema names can be
2283
- * updated.</p>
2284
- */
2285
- public updateSchema(
2286
- args: UpdateSchemaCommandInput,
2287
- options?: __HttpHandlerOptions
2288
- ): Promise<UpdateSchemaCommandOutput>;
2289
- public updateSchema(args: UpdateSchemaCommandInput, cb: (err: any, data?: UpdateSchemaCommandOutput) => void): void;
2290
- public updateSchema(
2291
- args: UpdateSchemaCommandInput,
2292
- options: __HttpHandlerOptions,
2293
- cb: (err: any, data?: UpdateSchemaCommandOutput) => void
2294
- ): void;
2295
- public updateSchema(
2296
- args: UpdateSchemaCommandInput,
2297
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSchemaCommandOutput) => void),
2298
- cb?: (err: any, data?: UpdateSchemaCommandOutput) => void
2299
- ): Promise<UpdateSchemaCommandOutput> | void {
2300
- const command = new UpdateSchemaCommand(args);
2301
- if (typeof optionsOrCb === "function") {
2302
- this.send(command, optionsOrCb);
2303
- } else if (typeof cb === "function") {
2304
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2305
- this.send(command, optionsOrCb || {}, cb);
2306
- } else {
2307
- return this.send(command, optionsOrCb);
2308
- }
2309
- }
2310
-
2311
- /**
2312
- * <p>Updates a <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
2313
- */
2314
- public updateTypedLinkFacet(
2315
- args: UpdateTypedLinkFacetCommandInput,
2316
- options?: __HttpHandlerOptions
2317
- ): Promise<UpdateTypedLinkFacetCommandOutput>;
2318
- public updateTypedLinkFacet(
2319
- args: UpdateTypedLinkFacetCommandInput,
2320
- cb: (err: any, data?: UpdateTypedLinkFacetCommandOutput) => void
2321
- ): void;
2322
- public updateTypedLinkFacet(
2323
- args: UpdateTypedLinkFacetCommandInput,
2324
- options: __HttpHandlerOptions,
2325
- cb: (err: any, data?: UpdateTypedLinkFacetCommandOutput) => void
2326
- ): void;
2327
- public updateTypedLinkFacet(
2328
- args: UpdateTypedLinkFacetCommandInput,
2329
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTypedLinkFacetCommandOutput) => void),
2330
- cb?: (err: any, data?: UpdateTypedLinkFacetCommandOutput) => void
2331
- ): Promise<UpdateTypedLinkFacetCommandOutput> | void {
2332
- const command = new UpdateTypedLinkFacetCommand(args);
2333
- if (typeof optionsOrCb === "function") {
2334
- this.send(command, optionsOrCb);
2335
- } else if (typeof cb === "function") {
2336
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2337
- this.send(command, optionsOrCb || {}, cb);
2338
- } else {
2339
- return this.send(command, optionsOrCb);
2340
- }
2341
- }
2342
-
2343
- /**
2344
- * <p>Upgrades a single directory in-place using the <code>PublishedSchemaArn</code> with schema updates found in <code>MinorVersion</code>. Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given directory per call. To upgrade multiple directories from one schema, you would need to call this API on each directory.</p>
2345
- */
2346
- public upgradeAppliedSchema(
2347
- args: UpgradeAppliedSchemaCommandInput,
2348
- options?: __HttpHandlerOptions
2349
- ): Promise<UpgradeAppliedSchemaCommandOutput>;
2350
- public upgradeAppliedSchema(
2351
- args: UpgradeAppliedSchemaCommandInput,
2352
- cb: (err: any, data?: UpgradeAppliedSchemaCommandOutput) => void
2353
- ): void;
2354
- public upgradeAppliedSchema(
2355
- args: UpgradeAppliedSchemaCommandInput,
2356
- options: __HttpHandlerOptions,
2357
- cb: (err: any, data?: UpgradeAppliedSchemaCommandOutput) => void
2358
- ): void;
2359
- public upgradeAppliedSchema(
2360
- args: UpgradeAppliedSchemaCommandInput,
2361
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpgradeAppliedSchemaCommandOutput) => void),
2362
- cb?: (err: any, data?: UpgradeAppliedSchemaCommandOutput) => void
2363
- ): Promise<UpgradeAppliedSchemaCommandOutput> | void {
2364
- const command = new UpgradeAppliedSchemaCommand(args);
2365
- if (typeof optionsOrCb === "function") {
2366
- this.send(command, optionsOrCb);
2367
- } else if (typeof cb === "function") {
2368
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2369
- this.send(command, optionsOrCb || {}, cb);
2370
- } else {
2371
- return this.send(command, optionsOrCb);
2372
- }
2373
- }
2374
-
2375
- /**
2376
- * <p>Upgrades a published schema under a new minor version revision using the current contents of <code>DevelopmentSchemaArn</code>.</p>
2377
- */
2378
- public upgradePublishedSchema(
2379
- args: UpgradePublishedSchemaCommandInput,
2380
- options?: __HttpHandlerOptions
2381
- ): Promise<UpgradePublishedSchemaCommandOutput>;
2382
- public upgradePublishedSchema(
2383
- args: UpgradePublishedSchemaCommandInput,
2384
- cb: (err: any, data?: UpgradePublishedSchemaCommandOutput) => void
2385
- ): void;
2386
- public upgradePublishedSchema(
2387
- args: UpgradePublishedSchemaCommandInput,
2388
- options: __HttpHandlerOptions,
2389
- cb: (err: any, data?: UpgradePublishedSchemaCommandOutput) => void
2390
- ): void;
2391
- public upgradePublishedSchema(
2392
- args: UpgradePublishedSchemaCommandInput,
2393
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpgradePublishedSchemaCommandOutput) => void),
2394
- cb?: (err: any, data?: UpgradePublishedSchemaCommandOutput) => void
2395
- ): Promise<UpgradePublishedSchemaCommandOutput> | void {
2396
- const command = new UpgradePublishedSchemaCommand(args);
2397
- if (typeof optionsOrCb === "function") {
2398
- this.send(command, optionsOrCb);
2399
- } else if (typeof cb === "function") {
2400
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2401
- this.send(command, optionsOrCb || {}, cb);
2402
- } else {
2403
- return this.send(command, optionsOrCb);
2404
- }
2405
- }
2406
- }