@aws-sdk/client-workdocs 3.478.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 (181) 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-es/commands/AbortDocumentVersionUploadCommand.js +18 -41
  47. package/dist-es/commands/ActivateUserCommand.js +18 -41
  48. package/dist-es/commands/AddResourcePermissionsCommand.js +18 -41
  49. package/dist-es/commands/CreateCommentCommand.js +18 -41
  50. package/dist-es/commands/CreateCustomMetadataCommand.js +18 -41
  51. package/dist-es/commands/CreateFolderCommand.js +18 -41
  52. package/dist-es/commands/CreateLabelsCommand.js +18 -41
  53. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +18 -41
  54. package/dist-es/commands/CreateUserCommand.js +18 -41
  55. package/dist-es/commands/DeactivateUserCommand.js +18 -41
  56. package/dist-es/commands/DeleteCommentCommand.js +18 -41
  57. package/dist-es/commands/DeleteCustomMetadataCommand.js +18 -41
  58. package/dist-es/commands/DeleteDocumentCommand.js +18 -41
  59. package/dist-es/commands/DeleteDocumentVersionCommand.js +18 -41
  60. package/dist-es/commands/DeleteFolderCommand.js +18 -41
  61. package/dist-es/commands/DeleteFolderContentsCommand.js +18 -41
  62. package/dist-es/commands/DeleteLabelsCommand.js +18 -41
  63. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +18 -41
  64. package/dist-es/commands/DeleteUserCommand.js +18 -41
  65. package/dist-es/commands/DescribeActivitiesCommand.js +18 -41
  66. package/dist-es/commands/DescribeCommentsCommand.js +18 -41
  67. package/dist-es/commands/DescribeDocumentVersionsCommand.js +18 -41
  68. package/dist-es/commands/DescribeFolderContentsCommand.js +18 -41
  69. package/dist-es/commands/DescribeGroupsCommand.js +18 -41
  70. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
  71. package/dist-es/commands/DescribeResourcePermissionsCommand.js +18 -41
  72. package/dist-es/commands/DescribeRootFoldersCommand.js +18 -41
  73. package/dist-es/commands/DescribeUsersCommand.js +18 -41
  74. package/dist-es/commands/GetCurrentUserCommand.js +18 -41
  75. package/dist-es/commands/GetDocumentCommand.js +18 -41
  76. package/dist-es/commands/GetDocumentPathCommand.js +18 -41
  77. package/dist-es/commands/GetDocumentVersionCommand.js +18 -41
  78. package/dist-es/commands/GetFolderCommand.js +18 -41
  79. package/dist-es/commands/GetFolderPathCommand.js +18 -41
  80. package/dist-es/commands/GetResourcesCommand.js +18 -41
  81. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +18 -41
  82. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +18 -41
  83. package/dist-es/commands/RemoveResourcePermissionCommand.js +18 -41
  84. package/dist-es/commands/RestoreDocumentVersionsCommand.js +18 -41
  85. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  86. package/dist-es/commands/UpdateDocumentCommand.js +18 -41
  87. package/dist-es/commands/UpdateDocumentVersionCommand.js +18 -41
  88. package/dist-es/commands/UpdateFolderCommand.js +18 -41
  89. package/dist-es/commands/UpdateUserCommand.js +18 -41
  90. package/dist-es/endpoint/EndpointParameters.js +6 -0
  91. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +6 -21
  92. package/dist-types/commands/ActivateUserCommand.d.ts +6 -21
  93. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +6 -21
  94. package/dist-types/commands/CreateCommentCommand.d.ts +6 -21
  95. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +6 -21
  96. package/dist-types/commands/CreateFolderCommand.d.ts +6 -21
  97. package/dist-types/commands/CreateLabelsCommand.d.ts +6 -21
  98. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +6 -21
  99. package/dist-types/commands/CreateUserCommand.d.ts +6 -21
  100. package/dist-types/commands/DeactivateUserCommand.d.ts +6 -21
  101. package/dist-types/commands/DeleteCommentCommand.d.ts +6 -21
  102. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +6 -21
  103. package/dist-types/commands/DeleteDocumentCommand.d.ts +6 -21
  104. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +6 -21
  105. package/dist-types/commands/DeleteFolderCommand.d.ts +6 -21
  106. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +6 -21
  107. package/dist-types/commands/DeleteLabelsCommand.d.ts +6 -21
  108. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +6 -21
  109. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  110. package/dist-types/commands/DescribeActivitiesCommand.d.ts +6 -21
  111. package/dist-types/commands/DescribeCommentsCommand.d.ts +6 -21
  112. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +6 -21
  113. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +6 -21
  114. package/dist-types/commands/DescribeGroupsCommand.d.ts +6 -21
  115. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +6 -21
  116. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +6 -21
  117. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +6 -21
  118. package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
  119. package/dist-types/commands/GetCurrentUserCommand.d.ts +6 -21
  120. package/dist-types/commands/GetDocumentCommand.d.ts +6 -21
  121. package/dist-types/commands/GetDocumentPathCommand.d.ts +6 -21
  122. package/dist-types/commands/GetDocumentVersionCommand.d.ts +6 -21
  123. package/dist-types/commands/GetFolderCommand.d.ts +6 -21
  124. package/dist-types/commands/GetFolderPathCommand.d.ts +6 -21
  125. package/dist-types/commands/GetResourcesCommand.d.ts +6 -21
  126. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +6 -21
  127. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +6 -21
  128. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +6 -21
  129. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +6 -21
  130. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  131. package/dist-types/commands/UpdateDocumentCommand.d.ts +6 -21
  132. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +6 -21
  133. package/dist-types/commands/UpdateFolderCommand.d.ts +6 -21
  134. package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
  135. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  136. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +12 -24
  141. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +12 -24
  154. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  181. package/package.json +9 -9
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeActivitiesRequestFilterSensitiveLog, DescribeActivitiesResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeActivitiesCommand, se_DescribeActivitiesCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeActivitiesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeActivitiesCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeActivitiesCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeActivitiesRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeActivitiesResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeActivities",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeActivitiesCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeActivitiesCommand(output, context);
47
- }
8
+ export class DescribeActivitiesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeActivities", {})
20
+ .n("WorkDocsClient", "DescribeActivitiesCommand")
21
+ .f(DescribeActivitiesRequestFilterSensitiveLog, DescribeActivitiesResponseFilterSensitiveLog)
22
+ .ser(se_DescribeActivitiesCommand)
23
+ .de(de_DescribeActivitiesCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeCommentsRequestFilterSensitiveLog, DescribeCommentsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeCommentsCommand, se_DescribeCommentsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeCommentsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCommentsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeCommentsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeCommentsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeCommentsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeComments",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeCommentsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeCommentsCommand(output, context);
47
- }
8
+ export class DescribeCommentsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeComments", {})
20
+ .n("WorkDocsClient", "DescribeCommentsCommand")
21
+ .f(DescribeCommentsRequestFilterSensitiveLog, DescribeCommentsResponseFilterSensitiveLog)
22
+ .ser(se_DescribeCommentsCommand)
23
+ .de(de_DescribeCommentsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeDocumentVersionsRequestFilterSensitiveLog, DescribeDocumentVersionsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeDocumentVersionsCommand, se_DescribeDocumentVersionsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeDocumentVersionsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDocumentVersionsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeDocumentVersionsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeDocumentVersionsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeDocumentVersionsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeDocumentVersions",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeDocumentVersionsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeDocumentVersionsCommand(output, context);
47
- }
8
+ export class DescribeDocumentVersionsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeDocumentVersions", {})
20
+ .n("WorkDocsClient", "DescribeDocumentVersionsCommand")
21
+ .f(DescribeDocumentVersionsRequestFilterSensitiveLog, DescribeDocumentVersionsResponseFilterSensitiveLog)
22
+ .ser(se_DescribeDocumentVersionsCommand)
23
+ .de(de_DescribeDocumentVersionsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeFolderContentsRequestFilterSensitiveLog, DescribeFolderContentsResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeFolderContentsCommand, se_DescribeFolderContentsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeFolderContentsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFolderContentsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeFolderContentsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeFolderContentsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeFolderContentsResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeFolderContents",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeFolderContentsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeFolderContentsCommand(output, context);
47
- }
8
+ export class DescribeFolderContentsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeFolderContents", {})
20
+ .n("WorkDocsClient", "DescribeFolderContentsCommand")
21
+ .f(DescribeFolderContentsRequestFilterSensitiveLog, DescribeFolderContentsResponseFilterSensitiveLog)
22
+ .ser(se_DescribeFolderContentsCommand)
23
+ .de(de_DescribeFolderContentsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeGroupsRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeGroupsCommand, se_DescribeGroupsCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeGroupsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeGroupsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeGroupsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeGroupsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeGroups",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeGroupsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeGroupsCommand(output, context);
47
- }
8
+ export class DescribeGroupsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeGroups", {})
20
+ .n("WorkDocsClient", "DescribeGroupsCommand")
21
+ .f(DescribeGroupsRequestFilterSensitiveLog, void 0)
22
+ .ser(se_DescribeGroupsCommand)
23
+ .de(de_DescribeGroupsCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeNotificationSubscriptionsCommand, se_DescribeNotificationSubscriptionsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeNotificationSubscriptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeNotificationSubscriptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WorkDocsClient";
26
- const commandName = "DescribeNotificationSubscriptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSGorillaBoyService",
35
- operation: "DescribeNotificationSubscriptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeNotificationSubscriptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeNotificationSubscriptionsCommand(output, context);
46
- }
7
+ export class DescribeNotificationSubscriptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSGorillaBoyService", "DescribeNotificationSubscriptions", {})
19
+ .n("WorkDocsClient", "DescribeNotificationSubscriptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeNotificationSubscriptionsCommand)
22
+ .de(de_DescribeNotificationSubscriptionsCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeResourcePermissionsRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeResourcePermissionsCommand, se_DescribeResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeResourcePermissionsCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourcePermissionsCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeResourcePermissionsCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeResourcePermissionsRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeResourcePermissions",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeResourcePermissionsCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeResourcePermissionsCommand(output, context);
47
- }
8
+ export class DescribeResourcePermissionsCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeResourcePermissions", {})
20
+ .n("WorkDocsClient", "DescribeResourcePermissionsCommand")
21
+ .f(DescribeResourcePermissionsRequestFilterSensitiveLog, void 0)
22
+ .ser(se_DescribeResourcePermissionsCommand)
23
+ .de(de_DescribeResourcePermissionsCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeRootFoldersRequestFilterSensitiveLog, DescribeRootFoldersResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeRootFoldersCommand, se_DescribeRootFoldersCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeRootFoldersCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRootFoldersCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeRootFoldersCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeRootFoldersRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeRootFoldersResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeRootFolders",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeRootFoldersCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeRootFoldersCommand(output, context);
47
- }
8
+ export class DescribeRootFoldersCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeRootFolders", {})
20
+ .n("WorkDocsClient", "DescribeRootFoldersCommand")
21
+ .f(DescribeRootFoldersRequestFilterSensitiveLog, DescribeRootFoldersResponseFilterSensitiveLog)
22
+ .ser(se_DescribeRootFoldersCommand)
23
+ .de(de_DescribeRootFoldersCommand)
24
+ .build() {
48
25
  }
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { DescribeUsersRequestFilterSensitiveLog, DescribeUsersResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_DescribeUsersCommand, se_DescribeUsersCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class DescribeUsersCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeUsersCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "WorkDocsClient";
27
- const commandName = "DescribeUsersCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: DescribeUsersRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: DescribeUsersResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSGorillaBoyService",
36
- operation: "DescribeUsers",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_DescribeUsersCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_DescribeUsersCommand(output, context);
47
- }
8
+ export class DescribeUsersCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSGorillaBoyService", "DescribeUsers", {})
20
+ .n("WorkDocsClient", "DescribeUsersCommand")
21
+ .f(DescribeUsersRequestFilterSensitiveLog, DescribeUsersResponseFilterSensitiveLog)
22
+ .ser(se_DescribeUsersCommand)
23
+ .de(de_DescribeUsersCommand)
24
+ .build() {
48
25
  }