@aws-sdk/client-workdocs 3.32.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 (401) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/WorkDocs.js +1 -2
  3. package/{dist/cjs → dist-cjs}/WorkDocsClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AbortDocumentVersionUploadCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/ActivateUserCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/AddResourcePermissionsCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateCommentCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateCustomMetadataCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateFolderCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/CreateLabelsCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/CreateNotificationSubscriptionCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeactivateUserCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteCommentCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteCustomMetadataCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteDocumentCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DeleteFolderCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DeleteFolderContentsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DeleteLabelsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/DeleteNotificationSubscriptionCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/DescribeActivitiesCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/DescribeCommentsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/DescribeDocumentVersionsCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/DescribeFolderContentsCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/DescribeGroupsCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/DescribeResourcePermissionsCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/DescribeRootFoldersCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/DescribeUsersCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/GetCurrentUserCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/GetDocumentCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/GetDocumentPathCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/GetDocumentVersionCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/GetFolderCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/GetFolderPathCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/GetResourcesCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/InitiateDocumentVersionUploadCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/RemoveAllResourcePermissionsCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/RemoveResourcePermissionCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/UpdateDocumentCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/commands/UpdateDocumentVersionCommand.js +2 -3
  43. package/{dist/cjs → dist-cjs}/commands/UpdateFolderCommand.js +2 -3
  44. package/{dist/cjs → dist-cjs}/commands/UpdateUserCommand.js +2 -3
  45. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  46. package/{dist/cjs → dist-cjs}/index.js +0 -1
  47. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  48. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  49. package/{dist/cjs → dist-cjs}/pagination/DescribeDocumentVersionsPaginator.js +1 -2
  50. package/{dist/cjs → dist-cjs}/pagination/DescribeFolderContentsPaginator.js +1 -2
  51. package/{dist/cjs → dist-cjs}/pagination/DescribeUsersPaginator.js +1 -2
  52. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  53. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +9 -10
  54. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  55. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  58. package/{dist/es → dist-es}/WorkDocs.js +2 -38
  59. package/dist-es/WorkDocsClient.js +37 -0
  60. package/{dist/es → dist-es}/commands/AbortDocumentVersionUploadCommand.js +4 -33
  61. package/{dist/es → dist-es}/commands/ActivateUserCommand.js +4 -31
  62. package/{dist/es → dist-es}/commands/AddResourcePermissionsCommand.js +4 -32
  63. package/{dist/es → dist-es}/commands/CreateCommentCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/CreateCustomMetadataCommand.js +4 -31
  65. package/{dist/es → dist-es}/commands/CreateFolderCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/CreateLabelsCommand.js +4 -31
  67. package/{dist/es → dist-es}/commands/CreateNotificationSubscriptionCommand.js +4 -34
  68. package/{dist/es → dist-es}/commands/CreateUserCommand.js +4 -31
  69. package/{dist/es → dist-es}/commands/DeactivateUserCommand.js +4 -31
  70. package/{dist/es → dist-es}/commands/DeleteCommentCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/DeleteCustomMetadataCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DeleteDocumentCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/DeleteFolderCommand.js +4 -30
  74. package/{dist/es → dist-es}/commands/DeleteFolderContentsCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/DeleteLabelsCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/DeleteNotificationSubscriptionCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/DeleteUserCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/DescribeActivitiesCommand.js +4 -30
  79. package/{dist/es → dist-es}/commands/DescribeCommentsCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/DescribeDocumentVersionsCommand.js +4 -31
  81. package/{dist/es → dist-es}/commands/DescribeFolderContentsCommand.js +4 -35
  82. package/{dist/es → dist-es}/commands/DescribeGroupsCommand.js +4 -31
  83. package/{dist/es → dist-es}/commands/DescribeNotificationSubscriptionsCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/DescribeResourcePermissionsCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/DescribeRootFoldersCommand.js +4 -38
  86. package/{dist/es → dist-es}/commands/DescribeUsersCommand.js +4 -34
  87. package/{dist/es → dist-es}/commands/GetCurrentUserCommand.js +4 -36
  88. package/{dist/es → dist-es}/commands/GetDocumentCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/GetDocumentPathCommand.js +4 -35
  90. package/{dist/es → dist-es}/commands/GetDocumentVersionCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/GetFolderCommand.js +4 -30
  92. package/{dist/es → dist-es}/commands/GetFolderPathCommand.js +4 -35
  93. package/{dist/es → dist-es}/commands/GetResourcesCommand.js +4 -31
  94. package/{dist/es → dist-es}/commands/InitiateDocumentVersionUploadCommand.js +4 -35
  95. package/{dist/es → dist-es}/commands/RemoveAllResourcePermissionsCommand.js +4 -30
  96. package/{dist/es → dist-es}/commands/RemoveResourcePermissionCommand.js +4 -31
  97. package/{dist/es → dist-es}/commands/UpdateDocumentCommand.js +4 -31
  98. package/{dist/es → dist-es}/commands/UpdateDocumentVersionCommand.js +4 -33
  99. package/{dist/es → dist-es}/commands/UpdateFolderCommand.js +4 -31
  100. package/{dist/es → dist-es}/commands/UpdateUserCommand.js +4 -31
  101. package/{dist/es → dist-es}/endpoints.js +1 -2
  102. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  103. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  104. package/{dist/es → dist-es}/models/models_0.js +0 -349
  105. package/{dist/es → dist-es}/pagination/DescribeDocumentVersionsPaginator.js +17 -30
  106. package/{dist/es → dist-es}/pagination/DescribeFolderContentsPaginator.js +17 -30
  107. package/{dist/es → dist-es}/pagination/DescribeUsersPaginator.js +17 -30
  108. package/dist-es/pagination/Interfaces.js +1 -0
  109. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1398 -1404
  110. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  111. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  112. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  113. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  114. package/{dist/types → dist-types}/WorkDocs.d.ts +2 -2
  115. package/{dist/types → dist-types}/WorkDocsClient.d.ts +8 -8
  116. package/{dist/types → dist-types}/commands/AbortDocumentVersionUploadCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/ActivateUserCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/AddResourcePermissionsCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/CreateCommentCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/commands/CreateCustomMetadataCommand.d.ts +3 -3
  121. package/{dist/types → dist-types}/commands/CreateFolderCommand.d.ts +3 -3
  122. package/{dist/types → dist-types}/commands/CreateLabelsCommand.d.ts +3 -3
  123. package/{dist/types → dist-types}/commands/CreateNotificationSubscriptionCommand.d.ts +3 -3
  124. package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +3 -3
  125. package/{dist/types → dist-types}/commands/DeactivateUserCommand.d.ts +3 -3
  126. package/{dist/types → dist-types}/commands/DeleteCommentCommand.d.ts +3 -3
  127. package/{dist/types → dist-types}/commands/DeleteCustomMetadataCommand.d.ts +3 -3
  128. package/{dist/types → dist-types}/commands/DeleteDocumentCommand.d.ts +3 -3
  129. package/{dist/types → dist-types}/commands/DeleteFolderCommand.d.ts +3 -3
  130. package/{dist/types → dist-types}/commands/DeleteFolderContentsCommand.d.ts +3 -3
  131. package/{dist/types → dist-types}/commands/DeleteLabelsCommand.d.ts +3 -3
  132. package/{dist/types → dist-types}/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +3 -3
  134. package/{dist/types → dist-types}/commands/DescribeActivitiesCommand.d.ts +3 -3
  135. package/{dist/types → dist-types}/commands/DescribeCommentsCommand.d.ts +3 -3
  136. package/{dist/types → dist-types}/commands/DescribeDocumentVersionsCommand.d.ts +3 -3
  137. package/{dist/types → dist-types}/commands/DescribeFolderContentsCommand.d.ts +3 -3
  138. package/{dist/types → dist-types}/commands/DescribeGroupsCommand.d.ts +3 -3
  139. package/{dist/types → dist-types}/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -3
  140. package/{dist/types → dist-types}/commands/DescribeResourcePermissionsCommand.d.ts +3 -3
  141. package/{dist/types → dist-types}/commands/DescribeRootFoldersCommand.d.ts +3 -3
  142. package/{dist/types → dist-types}/commands/DescribeUsersCommand.d.ts +3 -3
  143. package/{dist/types → dist-types}/commands/GetCurrentUserCommand.d.ts +3 -3
  144. package/{dist/types → dist-types}/commands/GetDocumentCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/commands/GetDocumentPathCommand.d.ts +3 -3
  146. package/{dist/types → dist-types}/commands/GetDocumentVersionCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/commands/GetFolderCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/commands/GetFolderPathCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/commands/GetResourcesCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/commands/RemoveResourcePermissionCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/commands/UpdateDocumentCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/commands/UpdateDocumentVersionCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/commands/UpdateFolderCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/commands/UpdateUserCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  158. package/{index.ts → dist-types/index.d.ts} +0 -0
  159. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  160. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  161. package/{dist/types → dist-types}/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
  162. package/{dist/types → dist-types}/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
  163. package/{dist/types → dist-types}/pagination/DescribeUsersPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  165. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  166. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  167. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  168. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  169. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/WorkDocs.d.ts +2 -2
  171. package/{dist/types → dist-types}/ts3.4/WorkDocsClient.d.ts +8 -8
  172. package/{dist/types → dist-types}/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +3 -3
  173. package/{dist/types → dist-types}/ts3.4/commands/ActivateUserCommand.d.ts +3 -3
  174. package/{dist/types → dist-types}/ts3.4/commands/AddResourcePermissionsCommand.d.ts +3 -3
  175. package/{dist/types → dist-types}/ts3.4/commands/CreateCommentCommand.d.ts +3 -3
  176. package/{dist/types → dist-types}/ts3.4/commands/CreateCustomMetadataCommand.d.ts +3 -3
  177. package/{dist/types → dist-types}/ts3.4/commands/CreateFolderCommand.d.ts +3 -3
  178. package/{dist/types → dist-types}/ts3.4/commands/CreateLabelsCommand.d.ts +3 -3
  179. package/{dist/types → dist-types}/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +3 -3
  180. package/{dist/types → dist-types}/ts3.4/commands/CreateUserCommand.d.ts +3 -3
  181. package/{dist/types → dist-types}/ts3.4/commands/DeactivateUserCommand.d.ts +3 -3
  182. package/{dist/types → dist-types}/ts3.4/commands/DeleteCommentCommand.d.ts +3 -3
  183. package/{dist/types → dist-types}/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +3 -3
  184. package/{dist/types → dist-types}/ts3.4/commands/DeleteDocumentCommand.d.ts +3 -3
  185. package/{dist/types → dist-types}/ts3.4/commands/DeleteFolderCommand.d.ts +3 -3
  186. package/{dist/types → dist-types}/ts3.4/commands/DeleteFolderContentsCommand.d.ts +3 -3
  187. package/{dist/types → dist-types}/ts3.4/commands/DeleteLabelsCommand.d.ts +3 -3
  188. package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +3 -3
  189. package/{dist/types → dist-types}/ts3.4/commands/DeleteUserCommand.d.ts +3 -3
  190. package/{dist/types → dist-types}/ts3.4/commands/DescribeActivitiesCommand.d.ts +3 -3
  191. package/{dist/types → dist-types}/ts3.4/commands/DescribeCommentsCommand.d.ts +3 -3
  192. package/{dist/types → dist-types}/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +3 -3
  193. package/{dist/types → dist-types}/ts3.4/commands/DescribeFolderContentsCommand.d.ts +3 -3
  194. package/{dist/types → dist-types}/ts3.4/commands/DescribeGroupsCommand.d.ts +3 -3
  195. package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +3 -3
  196. package/{dist/types → dist-types}/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +3 -3
  197. package/{dist/types → dist-types}/ts3.4/commands/DescribeRootFoldersCommand.d.ts +3 -3
  198. package/{dist/types → dist-types}/ts3.4/commands/DescribeUsersCommand.d.ts +3 -3
  199. package/{dist/types → dist-types}/ts3.4/commands/GetCurrentUserCommand.d.ts +3 -3
  200. package/{dist/types → dist-types}/ts3.4/commands/GetDocumentCommand.d.ts +3 -3
  201. package/{dist/types → dist-types}/ts3.4/commands/GetDocumentPathCommand.d.ts +3 -3
  202. package/{dist/types → dist-types}/ts3.4/commands/GetDocumentVersionCommand.d.ts +3 -3
  203. package/{dist/types → dist-types}/ts3.4/commands/GetFolderCommand.d.ts +3 -3
  204. package/{dist/types → dist-types}/ts3.4/commands/GetFolderPathCommand.d.ts +3 -3
  205. package/{dist/types → dist-types}/ts3.4/commands/GetResourcesCommand.d.ts +3 -3
  206. package/{dist/types → dist-types}/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +3 -3
  207. package/{dist/types → dist-types}/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +3 -3
  208. package/{dist/types → dist-types}/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +3 -3
  209. package/{dist/types → dist-types}/ts3.4/commands/UpdateDocumentCommand.d.ts +3 -3
  210. package/{dist/types → dist-types}/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +3 -3
  211. package/{dist/types → dist-types}/ts3.4/commands/UpdateFolderCommand.d.ts +3 -3
  212. package/{dist/types → dist-types}/ts3.4/commands/UpdateUserCommand.d.ts +3 -3
  213. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  214. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  215. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  216. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  217. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
  218. package/{dist/types → dist-types}/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
  219. package/{dist/types → dist-types}/ts3.4/pagination/DescribeUsersPaginator.d.ts +1 -1
  220. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  221. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  222. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  223. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  224. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  225. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  226. package/package.json +52 -49
  227. package/WorkDocs.ts +0 -1547
  228. package/WorkDocsClient.ts +0 -438
  229. package/commands/AbortDocumentVersionUploadCommand.ts +0 -100
  230. package/commands/ActivateUserCommand.ts +0 -95
  231. package/commands/AddResourcePermissionsCommand.ts +0 -96
  232. package/commands/CreateCommentCommand.ts +0 -94
  233. package/commands/CreateCustomMetadataCommand.ts +0 -95
  234. package/commands/CreateFolderCommand.ts +0 -94
  235. package/commands/CreateLabelsCommand.ts +0 -95
  236. package/commands/CreateNotificationSubscriptionCommand.ts +0 -106
  237. package/commands/CreateUserCommand.ts +0 -95
  238. package/commands/DeactivateUserCommand.ts +0 -95
  239. package/commands/DeleteCommentCommand.ts +0 -94
  240. package/commands/DeleteCustomMetadataCommand.ts +0 -94
  241. package/commands/DeleteDocumentCommand.ts +0 -94
  242. package/commands/DeleteFolderCommand.ts +0 -94
  243. package/commands/DeleteFolderContentsCommand.ts +0 -94
  244. package/commands/DeleteLabelsCommand.ts +0 -94
  245. package/commands/DeleteNotificationSubscriptionCommand.ts +0 -100
  246. package/commands/DeleteUserCommand.ts +0 -94
  247. package/commands/DescribeActivitiesCommand.ts +0 -94
  248. package/commands/DescribeCommentsCommand.ts +0 -94
  249. package/commands/DescribeDocumentVersionsCommand.ts +0 -95
  250. package/commands/DescribeFolderContentsCommand.ts +0 -99
  251. package/commands/DescribeGroupsCommand.ts +0 -95
  252. package/commands/DescribeNotificationSubscriptionsCommand.ts +0 -105
  253. package/commands/DescribeResourcePermissionsCommand.ts +0 -99
  254. package/commands/DescribeRootFoldersCommand.ts +0 -102
  255. package/commands/DescribeUsersCommand.ts +0 -98
  256. package/commands/GetCurrentUserCommand.ts +0 -100
  257. package/commands/GetDocumentCommand.ts +0 -94
  258. package/commands/GetDocumentPathCommand.ts +0 -99
  259. package/commands/GetDocumentVersionCommand.ts +0 -94
  260. package/commands/GetFolderCommand.ts +0 -94
  261. package/commands/GetFolderPathCommand.ts +0 -99
  262. package/commands/GetResourcesCommand.ts +0 -95
  263. package/commands/InitiateDocumentVersionUploadCommand.ts +0 -104
  264. package/commands/RemoveAllResourcePermissionsCommand.ts +0 -97
  265. package/commands/RemoveResourcePermissionCommand.ts +0 -95
  266. package/commands/UpdateDocumentCommand.ts +0 -95
  267. package/commands/UpdateDocumentVersionCommand.ts +0 -97
  268. package/commands/UpdateFolderCommand.ts +0 -95
  269. package/commands/UpdateUserCommand.ts +0 -95
  270. package/dist/cjs/WorkDocs.js.map +0 -1
  271. package/dist/cjs/WorkDocsClient.js.map +0 -1
  272. package/dist/cjs/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
  273. package/dist/cjs/commands/ActivateUserCommand.js.map +0 -1
  274. package/dist/cjs/commands/AddResourcePermissionsCommand.js.map +0 -1
  275. package/dist/cjs/commands/CreateCommentCommand.js.map +0 -1
  276. package/dist/cjs/commands/CreateCustomMetadataCommand.js.map +0 -1
  277. package/dist/cjs/commands/CreateFolderCommand.js.map +0 -1
  278. package/dist/cjs/commands/CreateLabelsCommand.js.map +0 -1
  279. package/dist/cjs/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
  280. package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
  281. package/dist/cjs/commands/DeactivateUserCommand.js.map +0 -1
  282. package/dist/cjs/commands/DeleteCommentCommand.js.map +0 -1
  283. package/dist/cjs/commands/DeleteCustomMetadataCommand.js.map +0 -1
  284. package/dist/cjs/commands/DeleteDocumentCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeleteFolderCommand.js.map +0 -1
  286. package/dist/cjs/commands/DeleteFolderContentsCommand.js.map +0 -1
  287. package/dist/cjs/commands/DeleteLabelsCommand.js.map +0 -1
  288. package/dist/cjs/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
  289. package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
  290. package/dist/cjs/commands/DescribeActivitiesCommand.js.map +0 -1
  291. package/dist/cjs/commands/DescribeCommentsCommand.js.map +0 -1
  292. package/dist/cjs/commands/DescribeDocumentVersionsCommand.js.map +0 -1
  293. package/dist/cjs/commands/DescribeFolderContentsCommand.js.map +0 -1
  294. package/dist/cjs/commands/DescribeGroupsCommand.js.map +0 -1
  295. package/dist/cjs/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
  296. package/dist/cjs/commands/DescribeResourcePermissionsCommand.js.map +0 -1
  297. package/dist/cjs/commands/DescribeRootFoldersCommand.js.map +0 -1
  298. package/dist/cjs/commands/DescribeUsersCommand.js.map +0 -1
  299. package/dist/cjs/commands/GetCurrentUserCommand.js.map +0 -1
  300. package/dist/cjs/commands/GetDocumentCommand.js.map +0 -1
  301. package/dist/cjs/commands/GetDocumentPathCommand.js.map +0 -1
  302. package/dist/cjs/commands/GetDocumentVersionCommand.js.map +0 -1
  303. package/dist/cjs/commands/GetFolderCommand.js.map +0 -1
  304. package/dist/cjs/commands/GetFolderPathCommand.js.map +0 -1
  305. package/dist/cjs/commands/GetResourcesCommand.js.map +0 -1
  306. package/dist/cjs/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
  307. package/dist/cjs/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
  308. package/dist/cjs/commands/RemoveResourcePermissionCommand.js.map +0 -1
  309. package/dist/cjs/commands/UpdateDocumentCommand.js.map +0 -1
  310. package/dist/cjs/commands/UpdateDocumentVersionCommand.js.map +0 -1
  311. package/dist/cjs/commands/UpdateFolderCommand.js.map +0 -1
  312. package/dist/cjs/commands/UpdateUserCommand.js.map +0 -1
  313. package/dist/cjs/endpoints.js.map +0 -1
  314. package/dist/cjs/index.js.map +0 -1
  315. package/dist/cjs/models/index.js.map +0 -1
  316. package/dist/cjs/models/models_0.js.map +0 -1
  317. package/dist/cjs/package.json +0 -91
  318. package/dist/cjs/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
  319. package/dist/cjs/pagination/DescribeFolderContentsPaginator.js.map +0 -1
  320. package/dist/cjs/pagination/DescribeUsersPaginator.js.map +0 -1
  321. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  322. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  323. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  324. package/dist/cjs/runtimeConfig.js.map +0 -1
  325. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  326. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  327. package/dist/es/WorkDocs.js.map +0 -1
  328. package/dist/es/WorkDocsClient.js +0 -78
  329. package/dist/es/WorkDocsClient.js.map +0 -1
  330. package/dist/es/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
  331. package/dist/es/commands/ActivateUserCommand.js.map +0 -1
  332. package/dist/es/commands/AddResourcePermissionsCommand.js.map +0 -1
  333. package/dist/es/commands/CreateCommentCommand.js.map +0 -1
  334. package/dist/es/commands/CreateCustomMetadataCommand.js.map +0 -1
  335. package/dist/es/commands/CreateFolderCommand.js.map +0 -1
  336. package/dist/es/commands/CreateLabelsCommand.js.map +0 -1
  337. package/dist/es/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
  338. package/dist/es/commands/CreateUserCommand.js.map +0 -1
  339. package/dist/es/commands/DeactivateUserCommand.js.map +0 -1
  340. package/dist/es/commands/DeleteCommentCommand.js.map +0 -1
  341. package/dist/es/commands/DeleteCustomMetadataCommand.js.map +0 -1
  342. package/dist/es/commands/DeleteDocumentCommand.js.map +0 -1
  343. package/dist/es/commands/DeleteFolderCommand.js.map +0 -1
  344. package/dist/es/commands/DeleteFolderContentsCommand.js.map +0 -1
  345. package/dist/es/commands/DeleteLabelsCommand.js.map +0 -1
  346. package/dist/es/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
  347. package/dist/es/commands/DeleteUserCommand.js.map +0 -1
  348. package/dist/es/commands/DescribeActivitiesCommand.js.map +0 -1
  349. package/dist/es/commands/DescribeCommentsCommand.js.map +0 -1
  350. package/dist/es/commands/DescribeDocumentVersionsCommand.js.map +0 -1
  351. package/dist/es/commands/DescribeFolderContentsCommand.js.map +0 -1
  352. package/dist/es/commands/DescribeGroupsCommand.js.map +0 -1
  353. package/dist/es/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
  354. package/dist/es/commands/DescribeResourcePermissionsCommand.js.map +0 -1
  355. package/dist/es/commands/DescribeRootFoldersCommand.js.map +0 -1
  356. package/dist/es/commands/DescribeUsersCommand.js.map +0 -1
  357. package/dist/es/commands/GetCurrentUserCommand.js.map +0 -1
  358. package/dist/es/commands/GetDocumentCommand.js.map +0 -1
  359. package/dist/es/commands/GetDocumentPathCommand.js.map +0 -1
  360. package/dist/es/commands/GetDocumentVersionCommand.js.map +0 -1
  361. package/dist/es/commands/GetFolderCommand.js.map +0 -1
  362. package/dist/es/commands/GetFolderPathCommand.js.map +0 -1
  363. package/dist/es/commands/GetResourcesCommand.js.map +0 -1
  364. package/dist/es/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
  365. package/dist/es/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
  366. package/dist/es/commands/RemoveResourcePermissionCommand.js.map +0 -1
  367. package/dist/es/commands/UpdateDocumentCommand.js.map +0 -1
  368. package/dist/es/commands/UpdateDocumentVersionCommand.js.map +0 -1
  369. package/dist/es/commands/UpdateFolderCommand.js.map +0 -1
  370. package/dist/es/commands/UpdateUserCommand.js.map +0 -1
  371. package/dist/es/endpoints.js.map +0 -1
  372. package/dist/es/index.js +0 -49
  373. package/dist/es/index.js.map +0 -1
  374. package/dist/es/models/index.js +0 -2
  375. package/dist/es/models/index.js.map +0 -1
  376. package/dist/es/models/models_0.js.map +0 -1
  377. package/dist/es/package.json +0 -91
  378. package/dist/es/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
  379. package/dist/es/pagination/DescribeFolderContentsPaginator.js.map +0 -1
  380. package/dist/es/pagination/DescribeUsersPaginator.js.map +0 -1
  381. package/dist/es/pagination/Interfaces.js +0 -2
  382. package/dist/es/pagination/Interfaces.js.map +0 -1
  383. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  384. package/dist/es/runtimeConfig.browser.js.map +0 -1
  385. package/dist/es/runtimeConfig.js.map +0 -1
  386. package/dist/es/runtimeConfig.native.js.map +0 -1
  387. package/dist/es/runtimeConfig.shared.js.map +0 -1
  388. package/endpoints.ts +0 -68
  389. package/jest.config.js +0 -4
  390. package/models/models_0.ts +0 -3531
  391. package/pagination/DescribeDocumentVersionsPaginator.ts +0 -58
  392. package/pagination/DescribeFolderContentsPaginator.ts +0 -58
  393. package/pagination/DescribeUsersPaginator.ts +0 -58
  394. package/pagination/Interfaces.ts +0 -7
  395. package/protocols/Aws_restJson1.ts +0 -6691
  396. package/runtimeConfig.browser.ts +0 -40
  397. package/runtimeConfig.native.ts +0 -16
  398. package/runtimeConfig.shared.ts +0 -16
  399. package/runtimeConfig.ts +0 -45
  400. package/tsconfig.es.json +0 -12
  401. package/tsconfig.json +0 -32
@@ -1,96 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { AddResourcePermissionsRequest, AddResourcePermissionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1AddResourcePermissionsCommand,
5
- serializeAws_restJson1AddResourcePermissionsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface AddResourcePermissionsCommandInput extends AddResourcePermissionsRequest {}
21
- export interface AddResourcePermissionsCommandOutput extends AddResourcePermissionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a set of permissions for the specified folder or document. The resource
25
- * permissions are overwritten if the principals already have different
26
- * permissions.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WorkDocsClient, AddResourcePermissionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
31
- * // const { WorkDocsClient, AddResourcePermissionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
32
- * const client = new WorkDocsClient(config);
33
- * const command = new AddResourcePermissionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link AddResourcePermissionsCommandInput} for command's `input` shape.
38
- * @see {@link AddResourcePermissionsCommandOutput} for command's `response` shape.
39
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class AddResourcePermissionsCommand extends $Command<
43
- AddResourcePermissionsCommandInput,
44
- AddResourcePermissionsCommandOutput,
45
- WorkDocsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: AddResourcePermissionsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: WorkDocsClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "WorkDocsClient";
70
- const commandName = "AddResourcePermissionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: AddResourcePermissionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: AddResourcePermissionsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: AddResourcePermissionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1AddResourcePermissionsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddResourcePermissionsCommandOutput> {
91
- return deserializeAws_restJson1AddResourcePermissionsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,94 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateCommentRequest, CreateCommentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateCommentCommand,
5
- serializeAws_restJson1CreateCommentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateCommentCommandInput extends CreateCommentRequest {}
21
- export interface CreateCommentCommandOutput extends CreateCommentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds a new comment to the specified document version.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { WorkDocsClient, CreateCommentCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
29
- * // const { WorkDocsClient, CreateCommentCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
30
- * const client = new WorkDocsClient(config);
31
- * const command = new CreateCommentCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateCommentCommandInput} for command's `input` shape.
36
- * @see {@link CreateCommentCommandOutput} for command's `response` shape.
37
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateCommentCommand extends $Command<
41
- CreateCommentCommandInput,
42
- CreateCommentCommandOutput,
43
- WorkDocsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateCommentCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: WorkDocsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateCommentCommandInput, CreateCommentCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "WorkDocsClient";
68
- const commandName = "CreateCommentCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateCommentRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateCommentResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateCommentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1CreateCommentCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCommentCommandOutput> {
89
- return deserializeAws_restJson1CreateCommentCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateCustomMetadataRequest, CreateCustomMetadataResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateCustomMetadataCommand,
5
- serializeAws_restJson1CreateCustomMetadataCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateCustomMetadataCommandInput extends CreateCustomMetadataRequest {}
21
- export interface CreateCustomMetadataCommandOutput extends CreateCustomMetadataResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds one or more custom properties to the specified resource (a folder, document,
25
- * or version).</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, CreateCustomMetadataCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, CreateCustomMetadataCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new CreateCustomMetadataCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateCustomMetadataCommandInput} for command's `input` shape.
37
- * @see {@link CreateCustomMetadataCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateCustomMetadataCommand extends $Command<
42
- CreateCustomMetadataCommandInput,
43
- CreateCustomMetadataCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateCustomMetadataCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WorkDocsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WorkDocsClient";
69
- const commandName = "CreateCustomMetadataCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateCustomMetadataRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateCustomMetadataResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateCustomMetadataCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateCustomMetadataCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCustomMetadataCommandOutput> {
90
- return deserializeAws_restJson1CreateCustomMetadataCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateFolderRequest, CreateFolderResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateFolderCommand,
5
- serializeAws_restJson1CreateFolderCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateFolderCommandInput extends CreateFolderRequest {}
21
- export interface CreateFolderCommandOutput extends CreateFolderResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a folder with the specified name and parent folder.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { WorkDocsClient, CreateFolderCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
29
- * // const { WorkDocsClient, CreateFolderCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
30
- * const client = new WorkDocsClient(config);
31
- * const command = new CreateFolderCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link CreateFolderCommandInput} for command's `input` shape.
36
- * @see {@link CreateFolderCommandOutput} for command's `response` shape.
37
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class CreateFolderCommand extends $Command<
41
- CreateFolderCommandInput,
42
- CreateFolderCommandOutput,
43
- WorkDocsClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: CreateFolderCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: WorkDocsClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<CreateFolderCommandInput, CreateFolderCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "WorkDocsClient";
68
- const commandName = "CreateFolderCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: CreateFolderRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: CreateFolderResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: CreateFolderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1CreateFolderCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFolderCommandOutput> {
89
- return deserializeAws_restJson1CreateFolderCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateLabelsRequest, CreateLabelsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateLabelsCommand,
5
- serializeAws_restJson1CreateLabelsCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateLabelsCommandInput extends CreateLabelsRequest {}
21
- export interface CreateLabelsCommandOutput extends CreateLabelsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds the specified list of labels to the given resource (a document or
25
- * folder)</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, CreateLabelsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, CreateLabelsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new CreateLabelsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateLabelsCommandInput} for command's `input` shape.
37
- * @see {@link CreateLabelsCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateLabelsCommand extends $Command<
42
- CreateLabelsCommandInput,
43
- CreateLabelsCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateLabelsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WorkDocsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateLabelsCommandInput, CreateLabelsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WorkDocsClient";
69
- const commandName = "CreateLabelsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateLabelsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateLabelsResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateLabelsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateLabelsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateLabelsCommandOutput> {
90
- return deserializeAws_restJson1CreateLabelsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,106 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateNotificationSubscriptionRequest, CreateNotificationSubscriptionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateNotificationSubscriptionCommand,
5
- serializeAws_restJson1CreateNotificationSubscriptionCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateNotificationSubscriptionCommandInput extends CreateNotificationSubscriptionRequest {}
21
- export interface CreateNotificationSubscriptionCommandOutput
22
- extends CreateNotificationSubscriptionResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
27
- * confirmation message, and must confirm the subscription.</p>
28
- * <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/subscribe-notifications.html">Subscribe to
29
- * Notifications</a> in the <i>Amazon WorkDocs Developer
30
- * Guide</i>.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WorkDocsClient, CreateNotificationSubscriptionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
35
- * // const { WorkDocsClient, CreateNotificationSubscriptionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
36
- * const client = new WorkDocsClient(config);
37
- * const command = new CreateNotificationSubscriptionCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateNotificationSubscriptionCommandInput} for command's `input` shape.
42
- * @see {@link CreateNotificationSubscriptionCommandOutput} for command's `response` shape.
43
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateNotificationSubscriptionCommand extends $Command<
47
- CreateNotificationSubscriptionCommandInput,
48
- CreateNotificationSubscriptionCommandOutput,
49
- WorkDocsClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateNotificationSubscriptionCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: WorkDocsClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "WorkDocsClient";
74
- const commandName = "CreateNotificationSubscriptionCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateNotificationSubscriptionRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: CreateNotificationSubscriptionResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(
91
- input: CreateNotificationSubscriptionCommandInput,
92
- context: __SerdeContext
93
- ): Promise<__HttpRequest> {
94
- return serializeAws_restJson1CreateNotificationSubscriptionCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<CreateNotificationSubscriptionCommandOutput> {
101
- return deserializeAws_restJson1CreateNotificationSubscriptionCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
2
- import { CreateUserRequest, CreateUserResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateUserCommand,
5
- serializeAws_restJson1CreateUserCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateUserCommandInput extends CreateUserRequest {}
21
- export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly
25
- * created user is "ACTIVE". New users can access Amazon WorkDocs.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, CreateUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, CreateUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new CreateUserCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateUserCommandInput} for command's `input` shape.
37
- * @see {@link CreateUserCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateUserCommand extends $Command<
42
- CreateUserCommandInput,
43
- CreateUserCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateUserCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WorkDocsClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateUserCommandInput, CreateUserCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WorkDocsClient";
69
- const commandName = "CreateUserCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateUserRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateUserResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1CreateUserCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateUserCommandOutput> {
90
- return deserializeAws_restJson1CreateUserCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }