@aws-sdk/client-workdocs 3.477.0 → 3.481.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 (221) hide show
  1. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +18 -41
  2. package/dist-cjs/commands/ActivateUserCommand.js +18 -41
  3. package/dist-cjs/commands/AddResourcePermissionsCommand.js +18 -41
  4. package/dist-cjs/commands/CreateCommentCommand.js +18 -41
  5. package/dist-cjs/commands/CreateCustomMetadataCommand.js +18 -41
  6. package/dist-cjs/commands/CreateFolderCommand.js +18 -41
  7. package/dist-cjs/commands/CreateLabelsCommand.js +18 -41
  8. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +18 -41
  9. package/dist-cjs/commands/CreateUserCommand.js +18 -41
  10. package/dist-cjs/commands/DeactivateUserCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteCommentCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDocumentCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDocumentVersionCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteFolderCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteFolderContentsCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteLabelsCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteUserCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeActivitiesCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeCommentsCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeFolderContentsCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeGroupsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeRootFoldersCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
  29. package/dist-cjs/commands/GetCurrentUserCommand.js +18 -41
  30. package/dist-cjs/commands/GetDocumentCommand.js +18 -41
  31. package/dist-cjs/commands/GetDocumentPathCommand.js +18 -41
  32. package/dist-cjs/commands/GetDocumentVersionCommand.js +18 -41
  33. package/dist-cjs/commands/GetFolderCommand.js +18 -41
  34. package/dist-cjs/commands/GetFolderPathCommand.js +18 -41
  35. package/dist-cjs/commands/GetResourcesCommand.js +18 -41
  36. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +18 -41
  37. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +18 -41
  38. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +18 -41
  39. package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +18 -41
  40. package/dist-cjs/commands/SearchResourcesCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateDocumentCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateFolderCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateUserCommand.js +18 -41
  45. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  46. package/dist-cjs/pagination/DescribeActivitiesPaginator.js +2 -24
  47. package/dist-cjs/pagination/DescribeCommentsPaginator.js +2 -24
  48. package/dist-cjs/pagination/DescribeDocumentVersionsPaginator.js +2 -24
  49. package/dist-cjs/pagination/DescribeFolderContentsPaginator.js +2 -24
  50. package/dist-cjs/pagination/DescribeGroupsPaginator.js +2 -24
  51. package/dist-cjs/pagination/DescribeNotificationSubscriptionsPaginator.js +2 -24
  52. package/dist-cjs/pagination/DescribeResourcePermissionsPaginator.js +2 -24
  53. package/dist-cjs/pagination/DescribeRootFoldersPaginator.js +2 -24
  54. package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
  55. package/dist-cjs/pagination/SearchResourcesPaginator.js +2 -24
  56. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +18 -41
  57. package/dist-es/commands/ActivateUserCommand.js +18 -41
  58. package/dist-es/commands/AddResourcePermissionsCommand.js +18 -41
  59. package/dist-es/commands/CreateCommentCommand.js +18 -41
  60. package/dist-es/commands/CreateCustomMetadataCommand.js +18 -41
  61. package/dist-es/commands/CreateFolderCommand.js +18 -41
  62. package/dist-es/commands/CreateLabelsCommand.js +18 -41
  63. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +18 -41
  64. package/dist-es/commands/CreateUserCommand.js +18 -41
  65. package/dist-es/commands/DeactivateUserCommand.js +18 -41
  66. package/dist-es/commands/DeleteCommentCommand.js +18 -41
  67. package/dist-es/commands/DeleteCustomMetadataCommand.js +18 -41
  68. package/dist-es/commands/DeleteDocumentCommand.js +18 -41
  69. package/dist-es/commands/DeleteDocumentVersionCommand.js +18 -41
  70. package/dist-es/commands/DeleteFolderCommand.js +18 -41
  71. package/dist-es/commands/DeleteFolderContentsCommand.js +18 -41
  72. package/dist-es/commands/DeleteLabelsCommand.js +18 -41
  73. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +18 -41
  74. package/dist-es/commands/DeleteUserCommand.js +18 -41
  75. package/dist-es/commands/DescribeActivitiesCommand.js +18 -41
  76. package/dist-es/commands/DescribeCommentsCommand.js +18 -41
  77. package/dist-es/commands/DescribeDocumentVersionsCommand.js +18 -41
  78. package/dist-es/commands/DescribeFolderContentsCommand.js +18 -41
  79. package/dist-es/commands/DescribeGroupsCommand.js +18 -41
  80. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
  81. package/dist-es/commands/DescribeResourcePermissionsCommand.js +18 -41
  82. package/dist-es/commands/DescribeRootFoldersCommand.js +18 -41
  83. package/dist-es/commands/DescribeUsersCommand.js +18 -41
  84. package/dist-es/commands/GetCurrentUserCommand.js +18 -41
  85. package/dist-es/commands/GetDocumentCommand.js +18 -41
  86. package/dist-es/commands/GetDocumentPathCommand.js +18 -41
  87. package/dist-es/commands/GetDocumentVersionCommand.js +18 -41
  88. package/dist-es/commands/GetFolderCommand.js +18 -41
  89. package/dist-es/commands/GetFolderPathCommand.js +18 -41
  90. package/dist-es/commands/GetResourcesCommand.js +18 -41
  91. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +18 -41
  92. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +18 -41
  93. package/dist-es/commands/RemoveResourcePermissionCommand.js +18 -41
  94. package/dist-es/commands/RestoreDocumentVersionsCommand.js +18 -41
  95. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  96. package/dist-es/commands/UpdateDocumentCommand.js +18 -41
  97. package/dist-es/commands/UpdateDocumentVersionCommand.js +18 -41
  98. package/dist-es/commands/UpdateFolderCommand.js +18 -41
  99. package/dist-es/commands/UpdateUserCommand.js +18 -41
  100. package/dist-es/endpoint/EndpointParameters.js +6 -0
  101. package/dist-es/pagination/DescribeActivitiesPaginator.js +2 -23
  102. package/dist-es/pagination/DescribeCommentsPaginator.js +2 -23
  103. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +2 -23
  104. package/dist-es/pagination/DescribeFolderContentsPaginator.js +2 -23
  105. package/dist-es/pagination/DescribeGroupsPaginator.js +2 -23
  106. package/dist-es/pagination/DescribeNotificationSubscriptionsPaginator.js +2 -23
  107. package/dist-es/pagination/DescribeResourcePermissionsPaginator.js +2 -23
  108. package/dist-es/pagination/DescribeRootFoldersPaginator.js +2 -23
  109. package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
  110. package/dist-es/pagination/SearchResourcesPaginator.js +2 -23
  111. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +6 -21
  112. package/dist-types/commands/ActivateUserCommand.d.ts +6 -21
  113. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateCommentCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateFolderCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateLabelsCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateUserCommand.d.ts +6 -21
  120. package/dist-types/commands/DeactivateUserCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteCommentCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteDocumentCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteFolderCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteLabelsCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeActivitiesCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeCommentsCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeGroupsCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
  139. package/dist-types/commands/GetCurrentUserCommand.d.ts +6 -21
  140. package/dist-types/commands/GetDocumentCommand.d.ts +6 -21
  141. package/dist-types/commands/GetDocumentPathCommand.d.ts +6 -21
  142. package/dist-types/commands/GetDocumentVersionCommand.d.ts +6 -21
  143. package/dist-types/commands/GetFolderCommand.d.ts +6 -21
  144. package/dist-types/commands/GetFolderPathCommand.d.ts +6 -21
  145. package/dist-types/commands/GetResourcesCommand.d.ts +6 -21
  146. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +6 -21
  147. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +6 -21
  148. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +6 -21
  149. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +6 -21
  150. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  151. package/dist-types/commands/UpdateDocumentCommand.d.ts +6 -21
  152. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +6 -21
  153. package/dist-types/commands/UpdateFolderCommand.d.ts +6 -21
  154. package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
  155. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  156. package/dist-types/pagination/DescribeActivitiesPaginator.d.ts +1 -1
  157. package/dist-types/pagination/DescribeCommentsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/DescribeDocumentVersionsPaginator.d.ts +1 -1
  159. package/dist-types/pagination/DescribeFolderContentsPaginator.d.ts +1 -1
  160. package/dist-types/pagination/DescribeGroupsPaginator.d.ts +1 -1
  161. package/dist-types/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +1 -1
  162. package/dist-types/pagination/DescribeResourcePermissionsPaginator.d.ts +1 -1
  163. package/dist-types/pagination/DescribeRootFoldersPaginator.d.ts +1 -1
  164. package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
  165. package/dist-types/pagination/SearchResourcesPaginator.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  211. package/dist-types/ts3.4/pagination/DescribeActivitiesPaginator.d.ts +3 -3
  212. package/dist-types/ts3.4/pagination/DescribeCommentsPaginator.d.ts +3 -3
  213. package/dist-types/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +3 -3
  214. package/dist-types/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +3 -3
  215. package/dist-types/ts3.4/pagination/DescribeGroupsPaginator.d.ts +3 -3
  216. package/dist-types/ts3.4/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +3 -3
  217. package/dist-types/ts3.4/pagination/DescribeResourcePermissionsPaginator.d.ts +3 -3
  218. package/dist-types/ts3.4/pagination/DescribeRootFoldersPaginator.d.ts +3 -3
  219. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
  220. package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +3 -3
  221. package/package.json +11 -11
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class RemoveAllResourcePermissionsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveAllResourcePermissionsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "RemoveAllResourcePermissionsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.RemoveAllResourcePermissionsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "RemoveAllResourcePermissions",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_RemoveAllResourcePermissionsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_RemoveAllResourcePermissionsCommand)(output, context);
50
- }
11
+ class RemoveAllResourcePermissionsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
23
+ .n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
24
+ .f(models_0_1.RemoveAllResourcePermissionsRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_RemoveAllResourcePermissionsCommand)
26
+ .de(Aws_restJson1_1.de_RemoveAllResourcePermissionsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.RemoveAllResourcePermissionsCommand = RemoveAllResourcePermissionsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class RemoveResourcePermissionCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveResourcePermissionCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "RemoveResourcePermissionCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.RemoveResourcePermissionRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "RemoveResourcePermission",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_RemoveResourcePermissionCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_RemoveResourcePermissionCommand)(output, context);
50
- }
11
+ class RemoveResourcePermissionCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "RemoveResourcePermission", {})
23
+ .n("WorkDocsClient", "RemoveResourcePermissionCommand")
24
+ .f(models_0_1.RemoveResourcePermissionRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_RemoveResourcePermissionCommand)
26
+ .de(Aws_restJson1_1.de_RemoveResourcePermissionCommand)
27
+ .build() {
51
28
  }
52
29
  exports.RemoveResourcePermissionCommand = RemoveResourcePermissionCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class RestoreDocumentVersionsCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RestoreDocumentVersionsCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "RestoreDocumentVersionsCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.RestoreDocumentVersionsRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "RestoreDocumentVersions",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_RestoreDocumentVersionsCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_RestoreDocumentVersionsCommand)(output, context);
50
- }
11
+ class RestoreDocumentVersionsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "RestoreDocumentVersions", {})
23
+ .n("WorkDocsClient", "RestoreDocumentVersionsCommand")
24
+ .f(models_0_1.RestoreDocumentVersionsRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_RestoreDocumentVersionsCommand)
26
+ .de(Aws_restJson1_1.de_RestoreDocumentVersionsCommand)
27
+ .build() {
51
28
  }
52
29
  exports.RestoreDocumentVersionsCommand = RestoreDocumentVersionsCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class SearchResourcesCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchResourcesCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "SearchResourcesCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.SearchResourcesRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.SearchResourcesResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "SearchResources",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_SearchResourcesCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_SearchResourcesCommand)(output, context);
50
- }
11
+ class SearchResourcesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "SearchResources", {})
23
+ .n("WorkDocsClient", "SearchResourcesCommand")
24
+ .f(models_0_1.SearchResourcesRequestFilterSensitiveLog, models_0_1.SearchResourcesResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_SearchResourcesCommand)
26
+ .de(Aws_restJson1_1.de_SearchResourcesCommand)
27
+ .build() {
51
28
  }
52
29
  exports.SearchResourcesCommand = SearchResourcesCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateDocumentCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDocumentCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "UpdateDocumentCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateDocumentRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "UpdateDocument",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdateDocumentCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdateDocumentCommand)(output, context);
50
- }
11
+ class UpdateDocumentCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "UpdateDocument", {})
23
+ .n("WorkDocsClient", "UpdateDocumentCommand")
24
+ .f(models_0_1.UpdateDocumentRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_UpdateDocumentCommand)
26
+ .de(Aws_restJson1_1.de_UpdateDocumentCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateDocumentCommand = UpdateDocumentCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateDocumentVersionCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDocumentVersionCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "UpdateDocumentVersionCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateDocumentVersionRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "UpdateDocumentVersion",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdateDocumentVersionCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdateDocumentVersionCommand)(output, context);
50
- }
11
+ class UpdateDocumentVersionCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "UpdateDocumentVersion", {})
23
+ .n("WorkDocsClient", "UpdateDocumentVersionCommand")
24
+ .f(models_0_1.UpdateDocumentVersionRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_UpdateDocumentVersionCommand)
26
+ .de(Aws_restJson1_1.de_UpdateDocumentVersionCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateDocumentVersionCommand = UpdateDocumentVersionCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateFolderCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFolderCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "UpdateFolderCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateFolderRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "UpdateFolder",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdateFolderCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdateFolderCommand)(output, context);
50
- }
11
+ class UpdateFolderCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "UpdateFolder", {})
23
+ .n("WorkDocsClient", "UpdateFolderCommand")
24
+ .f(models_0_1.UpdateFolderRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_UpdateFolderCommand)
26
+ .de(Aws_restJson1_1.de_UpdateFolderCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateFolderCommand = UpdateFolderCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class UpdateUserCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "WorkDocsClient";
30
- const commandName = "UpdateUserCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.UpdateUserRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.UpdateUserResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "AWSGorillaBoyService",
39
- operation: "UpdateUser",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_UpdateUserCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_UpdateUserCommand)(output, context);
50
- }
11
+ class UpdateUserCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("AWSGorillaBoyService", "UpdateUser", {})
23
+ .n("WorkDocsClient", "UpdateUserCommand")
24
+ .f(models_0_1.UpdateUserRequestFilterSensitiveLog, models_0_1.UpdateUserResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_UpdateUserCommand)
26
+ .de(Aws_restJson1_1.de_UpdateUserCommand)
27
+ .build() {
51
28
  }
52
29
  exports.UpdateUserCommand = UpdateUserCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeActivities = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeActivitiesCommand_1 = require("../commands/DescribeActivitiesCommand");
5
6
  const WorkDocsClient_1 = require("../WorkDocsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeActivitiesCommand_1.DescribeActivitiesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeActivities(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeActivities = paginateDescribeActivities;
7
+ exports.paginateDescribeActivities = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeActivitiesCommand_1.DescribeActivitiesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeComments = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeCommentsCommand_1 = require("../commands/DescribeCommentsCommand");
5
6
  const WorkDocsClient_1 = require("../WorkDocsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeCommentsCommand_1.DescribeCommentsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeComments(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof WorkDocsClient_1.WorkDocsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected WorkDocs | WorkDocsClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeComments = paginateDescribeComments;
7
+ exports.paginateDescribeComments = (0, core_1.createPaginator)(WorkDocsClient_1.WorkDocsClient, DescribeCommentsCommand_1.DescribeCommentsCommand, "Marker", "Marker", "Limit");