@aws-sdk/client-workdocs 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 (286) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/WorkDocs.js +0 -1
  3. package/dist-cjs/WorkDocsClient.js +0 -1
  4. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +0 -1
  5. package/dist-cjs/commands/ActivateUserCommand.js +0 -1
  6. package/dist-cjs/commands/AddResourcePermissionsCommand.js +0 -1
  7. package/dist-cjs/commands/CreateCommentCommand.js +0 -1
  8. package/dist-cjs/commands/CreateCustomMetadataCommand.js +0 -1
  9. package/dist-cjs/commands/CreateFolderCommand.js +0 -1
  10. package/dist-cjs/commands/CreateLabelsCommand.js +0 -1
  11. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +0 -1
  12. package/dist-cjs/commands/CreateUserCommand.js +0 -1
  13. package/dist-cjs/commands/DeactivateUserCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteCommentCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteDocumentCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteFolderCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteFolderContentsCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteLabelsCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteUserCommand.js +0 -1
  22. package/dist-cjs/commands/DescribeActivitiesCommand.js +0 -1
  23. package/dist-cjs/commands/DescribeCommentsCommand.js +0 -1
  24. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +0 -1
  25. package/dist-cjs/commands/DescribeFolderContentsCommand.js +0 -1
  26. package/dist-cjs/commands/DescribeGroupsCommand.js +0 -1
  27. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +0 -1
  28. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +0 -1
  29. package/dist-cjs/commands/DescribeRootFoldersCommand.js +0 -1
  30. package/dist-cjs/commands/DescribeUsersCommand.js +0 -1
  31. package/dist-cjs/commands/GetCurrentUserCommand.js +0 -1
  32. package/dist-cjs/commands/GetDocumentCommand.js +0 -1
  33. package/dist-cjs/commands/GetDocumentPathCommand.js +0 -1
  34. package/dist-cjs/commands/GetDocumentVersionCommand.js +0 -1
  35. package/dist-cjs/commands/GetFolderCommand.js +0 -1
  36. package/dist-cjs/commands/GetFolderPathCommand.js +0 -1
  37. package/dist-cjs/commands/GetResourcesCommand.js +0 -1
  38. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +0 -1
  39. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +0 -1
  40. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +0 -1
  41. package/dist-cjs/commands/UpdateDocumentCommand.js +0 -1
  42. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +0 -1
  43. package/dist-cjs/commands/UpdateFolderCommand.js +0 -1
  44. package/dist-cjs/commands/UpdateUserCommand.js +0 -1
  45. package/dist-cjs/endpoints.js +0 -1
  46. package/dist-cjs/index.js +0 -1
  47. package/dist-cjs/models/index.js +0 -1
  48. package/dist-cjs/models/models_0.js +0 -1
  49. package/dist-cjs/pagination/DescribeDocumentVersionsPaginator.js +0 -1
  50. package/dist-cjs/pagination/DescribeFolderContentsPaginator.js +0 -1
  51. package/dist-cjs/pagination/DescribeUsersPaginator.js +0 -1
  52. package/dist-cjs/pagination/Interfaces.js +0 -1
  53. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  54. package/dist-cjs/runtimeConfig.browser.js +2 -3
  55. package/dist-cjs/runtimeConfig.js +3 -4
  56. package/dist-cjs/runtimeConfig.native.js +0 -1
  57. package/dist-cjs/runtimeConfig.shared.js +0 -1
  58. package/dist-es/WorkDocs.js +0 -1
  59. package/dist-es/WorkDocsClient.js +0 -1
  60. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +0 -1
  61. package/dist-es/commands/ActivateUserCommand.js +0 -1
  62. package/dist-es/commands/AddResourcePermissionsCommand.js +0 -1
  63. package/dist-es/commands/CreateCommentCommand.js +0 -1
  64. package/dist-es/commands/CreateCustomMetadataCommand.js +0 -1
  65. package/dist-es/commands/CreateFolderCommand.js +0 -1
  66. package/dist-es/commands/CreateLabelsCommand.js +0 -1
  67. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +0 -1
  68. package/dist-es/commands/CreateUserCommand.js +0 -1
  69. package/dist-es/commands/DeactivateUserCommand.js +0 -1
  70. package/dist-es/commands/DeleteCommentCommand.js +0 -1
  71. package/dist-es/commands/DeleteCustomMetadataCommand.js +0 -1
  72. package/dist-es/commands/DeleteDocumentCommand.js +0 -1
  73. package/dist-es/commands/DeleteFolderCommand.js +0 -1
  74. package/dist-es/commands/DeleteFolderContentsCommand.js +0 -1
  75. package/dist-es/commands/DeleteLabelsCommand.js +0 -1
  76. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +0 -1
  77. package/dist-es/commands/DeleteUserCommand.js +0 -1
  78. package/dist-es/commands/DescribeActivitiesCommand.js +0 -1
  79. package/dist-es/commands/DescribeCommentsCommand.js +0 -1
  80. package/dist-es/commands/DescribeDocumentVersionsCommand.js +0 -1
  81. package/dist-es/commands/DescribeFolderContentsCommand.js +0 -1
  82. package/dist-es/commands/DescribeGroupsCommand.js +0 -1
  83. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +0 -1
  84. package/dist-es/commands/DescribeResourcePermissionsCommand.js +0 -1
  85. package/dist-es/commands/DescribeRootFoldersCommand.js +0 -1
  86. package/dist-es/commands/DescribeUsersCommand.js +0 -1
  87. package/dist-es/commands/GetCurrentUserCommand.js +0 -1
  88. package/dist-es/commands/GetDocumentCommand.js +0 -1
  89. package/dist-es/commands/GetDocumentPathCommand.js +0 -1
  90. package/dist-es/commands/GetDocumentVersionCommand.js +0 -1
  91. package/dist-es/commands/GetFolderCommand.js +0 -1
  92. package/dist-es/commands/GetFolderPathCommand.js +0 -1
  93. package/dist-es/commands/GetResourcesCommand.js +0 -1
  94. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +0 -1
  95. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +0 -1
  96. package/dist-es/commands/RemoveResourcePermissionCommand.js +0 -1
  97. package/dist-es/commands/UpdateDocumentCommand.js +0 -1
  98. package/dist-es/commands/UpdateDocumentVersionCommand.js +0 -1
  99. package/dist-es/commands/UpdateFolderCommand.js +0 -1
  100. package/dist-es/commands/UpdateUserCommand.js +0 -1
  101. package/dist-es/endpoints.js +0 -1
  102. package/dist-es/index.js +0 -1
  103. package/dist-es/models/index.js +0 -1
  104. package/dist-es/models/models_0.js +0 -1
  105. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +0 -1
  106. package/dist-es/pagination/DescribeFolderContentsPaginator.js +0 -1
  107. package/dist-es/pagination/DescribeUsersPaginator.js +0 -1
  108. package/dist-es/pagination/Interfaces.js +0 -1
  109. package/dist-es/protocols/Aws_restJson1.js +0 -1
  110. package/dist-es/runtimeConfig.browser.js +1 -2
  111. package/dist-es/runtimeConfig.js +2 -3
  112. package/dist-es/runtimeConfig.native.js +0 -1
  113. package/dist-es/runtimeConfig.shared.js +0 -1
  114. package/package.json +33 -30
  115. package/dist-cjs/WorkDocs.js.map +0 -1
  116. package/dist-cjs/WorkDocsClient.js.map +0 -1
  117. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
  118. package/dist-cjs/commands/ActivateUserCommand.js.map +0 -1
  119. package/dist-cjs/commands/AddResourcePermissionsCommand.js.map +0 -1
  120. package/dist-cjs/commands/CreateCommentCommand.js.map +0 -1
  121. package/dist-cjs/commands/CreateCustomMetadataCommand.js.map +0 -1
  122. package/dist-cjs/commands/CreateFolderCommand.js.map +0 -1
  123. package/dist-cjs/commands/CreateLabelsCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
  125. package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
  126. package/dist-cjs/commands/DeactivateUserCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteCommentCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteCustomMetadataCommand.js.map +0 -1
  129. package/dist-cjs/commands/DeleteDocumentCommand.js.map +0 -1
  130. package/dist-cjs/commands/DeleteFolderCommand.js.map +0 -1
  131. package/dist-cjs/commands/DeleteFolderContentsCommand.js.map +0 -1
  132. package/dist-cjs/commands/DeleteLabelsCommand.js.map +0 -1
  133. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
  134. package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
  135. package/dist-cjs/commands/DescribeActivitiesCommand.js.map +0 -1
  136. package/dist-cjs/commands/DescribeCommentsCommand.js.map +0 -1
  137. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js.map +0 -1
  138. package/dist-cjs/commands/DescribeFolderContentsCommand.js.map +0 -1
  139. package/dist-cjs/commands/DescribeGroupsCommand.js.map +0 -1
  140. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
  141. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js.map +0 -1
  142. package/dist-cjs/commands/DescribeRootFoldersCommand.js.map +0 -1
  143. package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
  144. package/dist-cjs/commands/GetCurrentUserCommand.js.map +0 -1
  145. package/dist-cjs/commands/GetDocumentCommand.js.map +0 -1
  146. package/dist-cjs/commands/GetDocumentPathCommand.js.map +0 -1
  147. package/dist-cjs/commands/GetDocumentVersionCommand.js.map +0 -1
  148. package/dist-cjs/commands/GetFolderCommand.js.map +0 -1
  149. package/dist-cjs/commands/GetFolderPathCommand.js.map +0 -1
  150. package/dist-cjs/commands/GetResourcesCommand.js.map +0 -1
  151. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
  152. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
  153. package/dist-cjs/commands/RemoveResourcePermissionCommand.js.map +0 -1
  154. package/dist-cjs/commands/UpdateDocumentCommand.js.map +0 -1
  155. package/dist-cjs/commands/UpdateDocumentVersionCommand.js.map +0 -1
  156. package/dist-cjs/commands/UpdateFolderCommand.js.map +0 -1
  157. package/dist-cjs/commands/UpdateUserCommand.js.map +0 -1
  158. package/dist-cjs/endpoints.js.map +0 -1
  159. package/dist-cjs/index.js.map +0 -1
  160. package/dist-cjs/models/index.js.map +0 -1
  161. package/dist-cjs/models/models_0.js.map +0 -1
  162. package/dist-cjs/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
  163. package/dist-cjs/pagination/DescribeFolderContentsPaginator.js.map +0 -1
  164. package/dist-cjs/pagination/DescribeUsersPaginator.js.map +0 -1
  165. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  166. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  167. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  168. package/dist-cjs/runtimeConfig.js.map +0 -1
  169. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  170. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  171. package/dist-es/WorkDocs.js.map +0 -1
  172. package/dist-es/WorkDocsClient.js.map +0 -1
  173. package/dist-es/commands/AbortDocumentVersionUploadCommand.js.map +0 -1
  174. package/dist-es/commands/ActivateUserCommand.js.map +0 -1
  175. package/dist-es/commands/AddResourcePermissionsCommand.js.map +0 -1
  176. package/dist-es/commands/CreateCommentCommand.js.map +0 -1
  177. package/dist-es/commands/CreateCustomMetadataCommand.js.map +0 -1
  178. package/dist-es/commands/CreateFolderCommand.js.map +0 -1
  179. package/dist-es/commands/CreateLabelsCommand.js.map +0 -1
  180. package/dist-es/commands/CreateNotificationSubscriptionCommand.js.map +0 -1
  181. package/dist-es/commands/CreateUserCommand.js.map +0 -1
  182. package/dist-es/commands/DeactivateUserCommand.js.map +0 -1
  183. package/dist-es/commands/DeleteCommentCommand.js.map +0 -1
  184. package/dist-es/commands/DeleteCustomMetadataCommand.js.map +0 -1
  185. package/dist-es/commands/DeleteDocumentCommand.js.map +0 -1
  186. package/dist-es/commands/DeleteFolderCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteFolderContentsCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteLabelsCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js.map +0 -1
  190. package/dist-es/commands/DeleteUserCommand.js.map +0 -1
  191. package/dist-es/commands/DescribeActivitiesCommand.js.map +0 -1
  192. package/dist-es/commands/DescribeCommentsCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeDocumentVersionsCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeFolderContentsCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeGroupsCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeResourcePermissionsCommand.js.map +0 -1
  198. package/dist-es/commands/DescribeRootFoldersCommand.js.map +0 -1
  199. package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
  200. package/dist-es/commands/GetCurrentUserCommand.js.map +0 -1
  201. package/dist-es/commands/GetDocumentCommand.js.map +0 -1
  202. package/dist-es/commands/GetDocumentPathCommand.js.map +0 -1
  203. package/dist-es/commands/GetDocumentVersionCommand.js.map +0 -1
  204. package/dist-es/commands/GetFolderCommand.js.map +0 -1
  205. package/dist-es/commands/GetFolderPathCommand.js.map +0 -1
  206. package/dist-es/commands/GetResourcesCommand.js.map +0 -1
  207. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js.map +0 -1
  208. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js.map +0 -1
  209. package/dist-es/commands/RemoveResourcePermissionCommand.js.map +0 -1
  210. package/dist-es/commands/UpdateDocumentCommand.js.map +0 -1
  211. package/dist-es/commands/UpdateDocumentVersionCommand.js.map +0 -1
  212. package/dist-es/commands/UpdateFolderCommand.js.map +0 -1
  213. package/dist-es/commands/UpdateUserCommand.js.map +0 -1
  214. package/dist-es/endpoints.js.map +0 -1
  215. package/dist-es/index.js.map +0 -1
  216. package/dist-es/models/index.js.map +0 -1
  217. package/dist-es/models/models_0.js.map +0 -1
  218. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js.map +0 -1
  219. package/dist-es/pagination/DescribeFolderContentsPaginator.js.map +0 -1
  220. package/dist-es/pagination/DescribeUsersPaginator.js.map +0 -1
  221. package/dist-es/pagination/Interfaces.js.map +0 -1
  222. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  223. package/dist-es/runtimeConfig.browser.js.map +0 -1
  224. package/dist-es/runtimeConfig.js.map +0 -1
  225. package/dist-es/runtimeConfig.native.js.map +0 -1
  226. package/dist-es/runtimeConfig.shared.js.map +0 -1
  227. package/jest.config.js +0 -4
  228. package/src/WorkDocs.ts +0 -1548
  229. package/src/WorkDocsClient.ts +0 -439
  230. package/src/commands/AbortDocumentVersionUploadCommand.ts +0 -101
  231. package/src/commands/ActivateUserCommand.ts +0 -96
  232. package/src/commands/AddResourcePermissionsCommand.ts +0 -97
  233. package/src/commands/CreateCommentCommand.ts +0 -95
  234. package/src/commands/CreateCustomMetadataCommand.ts +0 -96
  235. package/src/commands/CreateFolderCommand.ts +0 -95
  236. package/src/commands/CreateLabelsCommand.ts +0 -96
  237. package/src/commands/CreateNotificationSubscriptionCommand.ts +0 -107
  238. package/src/commands/CreateUserCommand.ts +0 -96
  239. package/src/commands/DeactivateUserCommand.ts +0 -96
  240. package/src/commands/DeleteCommentCommand.ts +0 -95
  241. package/src/commands/DeleteCustomMetadataCommand.ts +0 -95
  242. package/src/commands/DeleteDocumentCommand.ts +0 -95
  243. package/src/commands/DeleteFolderCommand.ts +0 -95
  244. package/src/commands/DeleteFolderContentsCommand.ts +0 -95
  245. package/src/commands/DeleteLabelsCommand.ts +0 -95
  246. package/src/commands/DeleteNotificationSubscriptionCommand.ts +0 -101
  247. package/src/commands/DeleteUserCommand.ts +0 -95
  248. package/src/commands/DescribeActivitiesCommand.ts +0 -95
  249. package/src/commands/DescribeCommentsCommand.ts +0 -95
  250. package/src/commands/DescribeDocumentVersionsCommand.ts +0 -96
  251. package/src/commands/DescribeFolderContentsCommand.ts +0 -100
  252. package/src/commands/DescribeGroupsCommand.ts +0 -96
  253. package/src/commands/DescribeNotificationSubscriptionsCommand.ts +0 -106
  254. package/src/commands/DescribeResourcePermissionsCommand.ts +0 -100
  255. package/src/commands/DescribeRootFoldersCommand.ts +0 -103
  256. package/src/commands/DescribeUsersCommand.ts +0 -99
  257. package/src/commands/GetCurrentUserCommand.ts +0 -101
  258. package/src/commands/GetDocumentCommand.ts +0 -95
  259. package/src/commands/GetDocumentPathCommand.ts +0 -100
  260. package/src/commands/GetDocumentVersionCommand.ts +0 -95
  261. package/src/commands/GetFolderCommand.ts +0 -95
  262. package/src/commands/GetFolderPathCommand.ts +0 -100
  263. package/src/commands/GetResourcesCommand.ts +0 -96
  264. package/src/commands/InitiateDocumentVersionUploadCommand.ts +0 -105
  265. package/src/commands/RemoveAllResourcePermissionsCommand.ts +0 -98
  266. package/src/commands/RemoveResourcePermissionCommand.ts +0 -96
  267. package/src/commands/UpdateDocumentCommand.ts +0 -96
  268. package/src/commands/UpdateDocumentVersionCommand.ts +0 -98
  269. package/src/commands/UpdateFolderCommand.ts +0 -96
  270. package/src/commands/UpdateUserCommand.ts +0 -96
  271. package/src/endpoints.ts +0 -68
  272. package/src/index.ts +0 -48
  273. package/src/models/index.ts +0 -1
  274. package/src/models/models_0.ts +0 -3531
  275. package/src/pagination/DescribeDocumentVersionsPaginator.ts +0 -59
  276. package/src/pagination/DescribeFolderContentsPaginator.ts +0 -59
  277. package/src/pagination/DescribeUsersPaginator.ts +0 -59
  278. package/src/pagination/Interfaces.ts +0 -8
  279. package/src/protocols/Aws_restJson1.ts +0 -6692
  280. package/src/runtimeConfig.browser.ts +0 -41
  281. package/src/runtimeConfig.native.ts +0 -17
  282. package/src/runtimeConfig.shared.ts +0 -17
  283. package/src/runtimeConfig.ts +0 -46
  284. package/tsconfig.es.json +0 -10
  285. package/tsconfig.json +0 -33
  286. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteNotificationSubscriptionRequest } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteNotificationSubscriptionCommand,
17
- serializeAws_restJson1DeleteNotificationSubscriptionCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DeleteNotificationSubscriptionCommandInput extends DeleteNotificationSubscriptionRequest {}
22
- export interface DeleteNotificationSubscriptionCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified subscription from the specified organization.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, DeleteNotificationSubscriptionCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, DeleteNotificationSubscriptionCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new DeleteNotificationSubscriptionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteNotificationSubscriptionCommandInput} for command's `input` shape.
37
- * @see {@link DeleteNotificationSubscriptionCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteNotificationSubscriptionCommand extends $Command<
42
- DeleteNotificationSubscriptionCommandInput,
43
- DeleteNotificationSubscriptionCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteNotificationSubscriptionCommandInput) {
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<DeleteNotificationSubscriptionCommandInput, DeleteNotificationSubscriptionCommandOutput> {
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 = "DeleteNotificationSubscriptionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteNotificationSubscriptionRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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(
86
- input: DeleteNotificationSubscriptionCommandInput,
87
- context: __SerdeContext
88
- ): Promise<__HttpRequest> {
89
- return serializeAws_restJson1DeleteNotificationSubscriptionCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<DeleteNotificationSubscriptionCommandOutput> {
96
- return deserializeAws_restJson1DeleteNotificationSubscriptionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteUserRequest } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteUserCommand,
17
- serializeAws_restJson1DeleteUserCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DeleteUserCommandInput extends DeleteUserRequest {}
22
- export interface DeleteUserCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified user from a Simple AD or Microsoft AD directory.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, DeleteUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, DeleteUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new DeleteUserCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteUserCommandInput} for command's `input` shape.
37
- * @see {@link DeleteUserCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteUserCommand extends $Command<
42
- DeleteUserCommandInput,
43
- DeleteUserCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteUserCommandInput) {
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<DeleteUserCommandInput, DeleteUserCommandOutput> {
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 = "DeleteUserCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteUserRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteUserCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteUserCommandOutput> {
90
- return deserializeAws_restJson1DeleteUserCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeActivitiesRequest, DescribeActivitiesResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DescribeActivitiesCommand,
17
- serializeAws_restJson1DescribeActivitiesCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DescribeActivitiesCommandInput extends DescribeActivitiesRequest {}
22
- export interface DescribeActivitiesCommandOutput extends DescribeActivitiesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the user activities in a specified time period.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WorkDocsClient, DescribeActivitiesCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, DescribeActivitiesCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new DescribeActivitiesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeActivitiesCommandInput} for command's `input` shape.
37
- * @see {@link DescribeActivitiesCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeActivitiesCommand extends $Command<
42
- DescribeActivitiesCommandInput,
43
- DescribeActivitiesCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeActivitiesCommandInput) {
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<DescribeActivitiesCommandInput, DescribeActivitiesCommandOutput> {
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 = "DescribeActivitiesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeActivitiesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeActivitiesResponse.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: DescribeActivitiesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeActivitiesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeActivitiesCommandOutput> {
90
- return deserializeAws_restJson1DescribeActivitiesCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeCommentsRequest, DescribeCommentsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DescribeCommentsCommand,
17
- serializeAws_restJson1DescribeCommentsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DescribeCommentsCommandInput extends DescribeCommentsRequest {}
22
- export interface DescribeCommentsCommandOutput extends DescribeCommentsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List all the comments for the specified document 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, DescribeCommentsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
30
- * // const { WorkDocsClient, DescribeCommentsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
31
- * const client = new WorkDocsClient(config);
32
- * const command = new DescribeCommentsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeCommentsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeCommentsCommandOutput} for command's `response` shape.
38
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeCommentsCommand extends $Command<
42
- DescribeCommentsCommandInput,
43
- DescribeCommentsCommandOutput,
44
- WorkDocsClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeCommentsCommandInput) {
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<DescribeCommentsCommandInput, DescribeCommentsCommandOutput> {
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 = "DescribeCommentsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeCommentsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeCommentsResponse.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: DescribeCommentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeCommentsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeCommentsCommandOutput> {
90
- return deserializeAws_restJson1DescribeCommentsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeDocumentVersionsRequest, DescribeDocumentVersionsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DescribeDocumentVersionsCommand,
17
- serializeAws_restJson1DescribeDocumentVersionsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DescribeDocumentVersionsCommandInput extends DescribeDocumentVersionsRequest {}
22
- export interface DescribeDocumentVersionsCommandOutput extends DescribeDocumentVersionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the document versions for the specified document.</p>
26
- * <p>By default, only active versions are returned.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WorkDocsClient, DescribeDocumentVersionsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
31
- * // const { WorkDocsClient, DescribeDocumentVersionsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
32
- * const client = new WorkDocsClient(config);
33
- * const command = new DescribeDocumentVersionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeDocumentVersionsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeDocumentVersionsCommandOutput} for command's `response` shape.
39
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeDocumentVersionsCommand extends $Command<
43
- DescribeDocumentVersionsCommandInput,
44
- DescribeDocumentVersionsCommandOutput,
45
- WorkDocsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeDocumentVersionsCommandInput) {
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<DescribeDocumentVersionsCommandInput, DescribeDocumentVersionsCommandOutput> {
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 = "DescribeDocumentVersionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeDocumentVersionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeDocumentVersionsResponse.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: DescribeDocumentVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DescribeDocumentVersionsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDocumentVersionsCommandOutput> {
91
- return deserializeAws_restJson1DescribeDocumentVersionsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeFolderContentsRequest, DescribeFolderContentsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DescribeFolderContentsCommand,
17
- serializeAws_restJson1DescribeFolderContentsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DescribeFolderContentsCommandInput extends DescribeFolderContentsRequest {}
22
- export interface DescribeFolderContentsCommandOutput extends DescribeFolderContentsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the contents of the specified folder, including its documents and
26
- * subfolders.</p>
27
- * <p>By default, Amazon WorkDocs returns the first 100 active document and folder
28
- * metadata items. If there are more results, the response includes a marker that you can
29
- * use to request the next set of results. You can also request initialized
30
- * documents.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WorkDocsClient, DescribeFolderContentsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
35
- * // const { WorkDocsClient, DescribeFolderContentsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
36
- * const client = new WorkDocsClient(config);
37
- * const command = new DescribeFolderContentsCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DescribeFolderContentsCommandInput} for command's `input` shape.
42
- * @see {@link DescribeFolderContentsCommandOutput} for command's `response` shape.
43
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DescribeFolderContentsCommand extends $Command<
47
- DescribeFolderContentsCommandInput,
48
- DescribeFolderContentsCommandOutput,
49
- WorkDocsClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DescribeFolderContentsCommandInput) {
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<DescribeFolderContentsCommandInput, DescribeFolderContentsCommandOutput> {
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 = "DescribeFolderContentsCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DescribeFolderContentsRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: DescribeFolderContentsResponse.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(input: DescribeFolderContentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1DescribeFolderContentsCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFolderContentsCommandOutput> {
95
- return deserializeAws_restJson1DescribeFolderContentsCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeGroupsRequest, DescribeGroupsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DescribeGroupsCommand,
17
- serializeAws_restJson1DescribeGroupsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
20
-
21
- export interface DescribeGroupsCommandInput extends DescribeGroupsRequest {}
22
- export interface DescribeGroupsCommandOutput extends DescribeGroupsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes the groups specified by the query. Groups are defined by the underlying
26
- * Active Directory.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { WorkDocsClient, DescribeGroupsCommand } from "@aws-sdk/client-workdocs"; // ES Modules import
31
- * // const { WorkDocsClient, DescribeGroupsCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import
32
- * const client = new WorkDocsClient(config);
33
- * const command = new DescribeGroupsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeGroupsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeGroupsCommandOutput} for command's `response` shape.
39
- * @see {@link WorkDocsClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeGroupsCommand extends $Command<
43
- DescribeGroupsCommandInput,
44
- DescribeGroupsCommandOutput,
45
- WorkDocsClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeGroupsCommandInput) {
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<DescribeGroupsCommandInput, DescribeGroupsCommandOutput> {
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 = "DescribeGroupsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeGroupsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeGroupsResponse.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: DescribeGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DescribeGroupsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeGroupsCommandOutput> {
91
- return deserializeAws_restJson1DescribeGroupsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }