@aws-sdk/client-workdocs 3.489.0 → 3.495.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 (68) hide show
  1. package/dist-cjs/WorkDocs.js +1 -99
  2. package/dist-cjs/WorkDocsClient.js +1 -43
  3. package/dist-cjs/commands/AbortDocumentVersionUploadCommand.js +1 -29
  4. package/dist-cjs/commands/ActivateUserCommand.js +1 -29
  5. package/dist-cjs/commands/AddResourcePermissionsCommand.js +1 -29
  6. package/dist-cjs/commands/CreateCommentCommand.js +1 -29
  7. package/dist-cjs/commands/CreateCustomMetadataCommand.js +1 -29
  8. package/dist-cjs/commands/CreateFolderCommand.js +1 -29
  9. package/dist-cjs/commands/CreateLabelsCommand.js +1 -29
  10. package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +1 -28
  11. package/dist-cjs/commands/CreateUserCommand.js +1 -29
  12. package/dist-cjs/commands/DeactivateUserCommand.js +1 -29
  13. package/dist-cjs/commands/DeleteCommentCommand.js +1 -29
  14. package/dist-cjs/commands/DeleteCustomMetadataCommand.js +1 -29
  15. package/dist-cjs/commands/DeleteDocumentCommand.js +1 -29
  16. package/dist-cjs/commands/DeleteDocumentVersionCommand.js +1 -29
  17. package/dist-cjs/commands/DeleteFolderCommand.js +1 -29
  18. package/dist-cjs/commands/DeleteFolderContentsCommand.js +1 -29
  19. package/dist-cjs/commands/DeleteLabelsCommand.js +1 -29
  20. package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +1 -28
  21. package/dist-cjs/commands/DeleteUserCommand.js +1 -29
  22. package/dist-cjs/commands/DescribeActivitiesCommand.js +1 -29
  23. package/dist-cjs/commands/DescribeCommentsCommand.js +1 -29
  24. package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +1 -29
  25. package/dist-cjs/commands/DescribeFolderContentsCommand.js +1 -29
  26. package/dist-cjs/commands/DescribeGroupsCommand.js +1 -29
  27. package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +1 -28
  28. package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +1 -29
  29. package/dist-cjs/commands/DescribeRootFoldersCommand.js +1 -29
  30. package/dist-cjs/commands/DescribeUsersCommand.js +1 -29
  31. package/dist-cjs/commands/GetCurrentUserCommand.js +1 -29
  32. package/dist-cjs/commands/GetDocumentCommand.js +1 -29
  33. package/dist-cjs/commands/GetDocumentPathCommand.js +1 -29
  34. package/dist-cjs/commands/GetDocumentVersionCommand.js +1 -29
  35. package/dist-cjs/commands/GetFolderCommand.js +1 -29
  36. package/dist-cjs/commands/GetFolderPathCommand.js +1 -29
  37. package/dist-cjs/commands/GetResourcesCommand.js +1 -29
  38. package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +1 -29
  39. package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +1 -29
  40. package/dist-cjs/commands/RemoveResourcePermissionCommand.js +1 -29
  41. package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +1 -29
  42. package/dist-cjs/commands/SearchResourcesCommand.js +1 -29
  43. package/dist-cjs/commands/UpdateDocumentCommand.js +1 -29
  44. package/dist-cjs/commands/UpdateDocumentVersionCommand.js +1 -29
  45. package/dist-cjs/commands/UpdateFolderCommand.js +1 -29
  46. package/dist-cjs/commands/UpdateUserCommand.js +1 -29
  47. package/dist-cjs/commands/index.js +1 -47
  48. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  49. package/dist-cjs/extensionConfiguration.js +1 -2
  50. package/dist-cjs/index.js +5845 -11
  51. package/dist-cjs/models/WorkDocsServiceException.js +1 -12
  52. package/dist-cjs/models/index.js +1 -4
  53. package/dist-cjs/models/models_0.js +1 -1038
  54. package/dist-cjs/pagination/DescribeActivitiesPaginator.js +1 -7
  55. package/dist-cjs/pagination/DescribeCommentsPaginator.js +1 -7
  56. package/dist-cjs/pagination/DescribeDocumentVersionsPaginator.js +1 -7
  57. package/dist-cjs/pagination/DescribeFolderContentsPaginator.js +1 -7
  58. package/dist-cjs/pagination/DescribeGroupsPaginator.js +1 -7
  59. package/dist-cjs/pagination/DescribeNotificationSubscriptionsPaginator.js +1 -7
  60. package/dist-cjs/pagination/DescribeResourcePermissionsPaginator.js +1 -7
  61. package/dist-cjs/pagination/DescribeRootFoldersPaginator.js +1 -7
  62. package/dist-cjs/pagination/DescribeUsersPaginator.js +1 -7
  63. package/dist-cjs/pagination/Interfaces.js +1 -2
  64. package/dist-cjs/pagination/SearchResourcesPaginator.js +1 -7
  65. package/dist-cjs/pagination/index.js +1 -14
  66. package/dist-cjs/protocols/Aws_restJson1.js +1 -3502
  67. package/dist-cjs/runtimeExtensions.js +1 -22
  68. package/package.json +40 -40
@@ -1,1038 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrincipalRoleType = exports.ContentCategoryType = exports.StorageLimitWillExceedException = exports.StorageLimitExceededException = exports.ResourceAlreadyCheckedOutException = exports.DraftUploadOutOfSyncException = exports.ResourceCollectionType = exports.RequestedEntityTooLargeException = exports.UserSortType = exports.UserFilterType = exports.RolePermissionType = exports.FolderContentType = exports.ResourceSortType = exports.OrderType = exports.InvalidPasswordException = exports.DocumentThumbnailType = exports.DocumentStatusType = exports.DocumentSourceType = exports.InvalidOperationException = exports.TooManySubscriptionsException = exports.InvalidArgumentException = exports.SubscriptionType = exports.SubscriptionProtocolType = exports.TooManyLabelsException = exports.LimitExceededException = exports.EntityAlreadyExistsException = exports.ResourceStateType = exports.ConflictingOperationException = exports.CustomMetadataLimitExceededException = exports.InvalidCommentOperationException = exports.DocumentLockedForCommentsException = exports.CommentVisibilityType = exports.ShareStatusType = exports.PrincipalType = exports.RoleType = exports.AdditionalResponseFieldType = exports.ActivityType = exports.ResourceType = exports.CommentStatusType = exports.UserType = exports.StorageType = exports.UserStatusType = exports.LocaleType = exports.UnauthorizedResourceAccessException = exports.UnauthorizedOperationException = exports.ServiceUnavailableException = exports.ProhibitedStateException = exports.FailedDependencyException = exports.EntityNotExistsException = exports.ConcurrentModificationException = void 0;
4
- exports.DescribeDocumentVersionsResponseFilterSensitiveLog = exports.DocumentVersionMetadataFilterSensitiveLog = exports.DescribeDocumentVersionsRequestFilterSensitiveLog = exports.DescribeCommentsResponseFilterSensitiveLog = exports.DescribeCommentsRequestFilterSensitiveLog = exports.DescribeActivitiesResponseFilterSensitiveLog = exports.DescribeActivitiesRequestFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.DeleteLabelsRequestFilterSensitiveLog = exports.DeleteFolderContentsRequestFilterSensitiveLog = exports.DeleteFolderRequestFilterSensitiveLog = exports.DeleteDocumentVersionRequestFilterSensitiveLog = exports.DeleteDocumentRequestFilterSensitiveLog = exports.DeleteCustomMetadataRequestFilterSensitiveLog = exports.DeleteCommentRequestFilterSensitiveLog = exports.DeactivateUserRequestFilterSensitiveLog = exports.CreateUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.CreateLabelsRequestFilterSensitiveLog = exports.CreateFolderResponseFilterSensitiveLog = exports.FolderMetadataFilterSensitiveLog = exports.CreateFolderRequestFilterSensitiveLog = exports.CreateCustomMetadataRequestFilterSensitiveLog = exports.CreateCommentResponseFilterSensitiveLog = exports.CommentFilterSensitiveLog = exports.CreateCommentRequestFilterSensitiveLog = exports.AddResourcePermissionsResponseFilterSensitiveLog = exports.ShareResultFilterSensitiveLog = exports.AddResourcePermissionsRequestFilterSensitiveLog = exports.NotificationOptionsFilterSensitiveLog = exports.ActivityFilterSensitiveLog = exports.ParticipantsFilterSensitiveLog = exports.ResourceMetadataFilterSensitiveLog = exports.UserMetadataFilterSensitiveLog = exports.CommentMetadataFilterSensitiveLog = exports.ActivateUserResponseFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.ActivateUserRequestFilterSensitiveLog = exports.AbortDocumentVersionUploadRequestFilterSensitiveLog = exports.BooleanEnumType = exports.IllegalUserStateException = exports.DeactivatingLastSystemUserException = exports.DocumentVersionStatus = exports.ResponseItemType = exports.SearchQueryScopeType = exports.SortOrder = exports.OrderByFieldType = exports.LanguageCodeType = exports.SearchCollectionType = exports.SearchResourceType = void 0;
5
- exports.UpdateUserResponseFilterSensitiveLog = exports.UpdateUserRequestFilterSensitiveLog = exports.UpdateFolderRequestFilterSensitiveLog = exports.UpdateDocumentVersionRequestFilterSensitiveLog = exports.UpdateDocumentRequestFilterSensitiveLog = exports.SearchResourcesResponseFilterSensitiveLog = exports.ResponseItemFilterSensitiveLog = exports.SearchResourcesRequestFilterSensitiveLog = exports.RestoreDocumentVersionsRequestFilterSensitiveLog = exports.RemoveResourcePermissionRequestFilterSensitiveLog = exports.RemoveAllResourcePermissionsRequestFilterSensitiveLog = exports.InitiateDocumentVersionUploadResponseFilterSensitiveLog = exports.UploadMetadataFilterSensitiveLog = exports.InitiateDocumentVersionUploadRequestFilterSensitiveLog = exports.GetResourcesResponseFilterSensitiveLog = exports.GetResourcesRequestFilterSensitiveLog = exports.GetFolderPathResponseFilterSensitiveLog = exports.GetFolderPathRequestFilterSensitiveLog = exports.GetFolderResponseFilterSensitiveLog = exports.GetFolderRequestFilterSensitiveLog = exports.GetDocumentVersionResponseFilterSensitiveLog = exports.GetDocumentVersionRequestFilterSensitiveLog = exports.GetDocumentPathResponseFilterSensitiveLog = exports.ResourcePathFilterSensitiveLog = exports.ResourcePathComponentFilterSensitiveLog = exports.GetDocumentPathRequestFilterSensitiveLog = exports.GetDocumentResponseFilterSensitiveLog = exports.GetDocumentRequestFilterSensitiveLog = exports.GetCurrentUserResponseFilterSensitiveLog = exports.GetCurrentUserRequestFilterSensitiveLog = exports.DescribeUsersResponseFilterSensitiveLog = exports.DescribeUsersRequestFilterSensitiveLog = exports.DescribeRootFoldersResponseFilterSensitiveLog = exports.DescribeRootFoldersRequestFilterSensitiveLog = exports.DescribeResourcePermissionsRequestFilterSensitiveLog = exports.DescribeGroupsRequestFilterSensitiveLog = exports.DescribeFolderContentsResponseFilterSensitiveLog = exports.DocumentMetadataFilterSensitiveLog = exports.DescribeFolderContentsRequestFilterSensitiveLog = void 0;
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const WorkDocsServiceException_1 = require("./WorkDocsServiceException");
8
- class ConcurrentModificationException extends WorkDocsServiceException_1.WorkDocsServiceException {
9
- constructor(opts) {
10
- super({
11
- name: "ConcurrentModificationException",
12
- $fault: "client",
13
- ...opts,
14
- });
15
- this.name = "ConcurrentModificationException";
16
- this.$fault = "client";
17
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
18
- this.Message = opts.Message;
19
- }
20
- }
21
- exports.ConcurrentModificationException = ConcurrentModificationException;
22
- class EntityNotExistsException extends WorkDocsServiceException_1.WorkDocsServiceException {
23
- constructor(opts) {
24
- super({
25
- name: "EntityNotExistsException",
26
- $fault: "client",
27
- ...opts,
28
- });
29
- this.name = "EntityNotExistsException";
30
- this.$fault = "client";
31
- Object.setPrototypeOf(this, EntityNotExistsException.prototype);
32
- this.Message = opts.Message;
33
- this.EntityIds = opts.EntityIds;
34
- }
35
- }
36
- exports.EntityNotExistsException = EntityNotExistsException;
37
- class FailedDependencyException extends WorkDocsServiceException_1.WorkDocsServiceException {
38
- constructor(opts) {
39
- super({
40
- name: "FailedDependencyException",
41
- $fault: "client",
42
- ...opts,
43
- });
44
- this.name = "FailedDependencyException";
45
- this.$fault = "client";
46
- Object.setPrototypeOf(this, FailedDependencyException.prototype);
47
- this.Message = opts.Message;
48
- }
49
- }
50
- exports.FailedDependencyException = FailedDependencyException;
51
- class ProhibitedStateException extends WorkDocsServiceException_1.WorkDocsServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ProhibitedStateException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ProhibitedStateException";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ProhibitedStateException.prototype);
61
- this.Message = opts.Message;
62
- }
63
- }
64
- exports.ProhibitedStateException = ProhibitedStateException;
65
- class ServiceUnavailableException extends WorkDocsServiceException_1.WorkDocsServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "ServiceUnavailableException",
69
- $fault: "server",
70
- ...opts,
71
- });
72
- this.name = "ServiceUnavailableException";
73
- this.$fault = "server";
74
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
75
- this.Message = opts.Message;
76
- }
77
- }
78
- exports.ServiceUnavailableException = ServiceUnavailableException;
79
- class UnauthorizedOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
80
- constructor(opts) {
81
- super({
82
- name: "UnauthorizedOperationException",
83
- $fault: "client",
84
- ...opts,
85
- });
86
- this.name = "UnauthorizedOperationException";
87
- this.$fault = "client";
88
- Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
89
- this.Message = opts.Message;
90
- this.Code = opts.Code;
91
- }
92
- }
93
- exports.UnauthorizedOperationException = UnauthorizedOperationException;
94
- class UnauthorizedResourceAccessException extends WorkDocsServiceException_1.WorkDocsServiceException {
95
- constructor(opts) {
96
- super({
97
- name: "UnauthorizedResourceAccessException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- this.name = "UnauthorizedResourceAccessException";
102
- this.$fault = "client";
103
- Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
104
- this.Message = opts.Message;
105
- }
106
- }
107
- exports.UnauthorizedResourceAccessException = UnauthorizedResourceAccessException;
108
- exports.LocaleType = {
109
- DE: "de",
110
- DEFAULT: "default",
111
- EN: "en",
112
- ES: "es",
113
- FR: "fr",
114
- JA: "ja",
115
- KO: "ko",
116
- PT_BR: "pt_BR",
117
- RU: "ru",
118
- ZH_CN: "zh_CN",
119
- ZH_TW: "zh_TW",
120
- };
121
- exports.UserStatusType = {
122
- ACTIVE: "ACTIVE",
123
- INACTIVE: "INACTIVE",
124
- PENDING: "PENDING",
125
- };
126
- exports.StorageType = {
127
- QUOTA: "QUOTA",
128
- UNLIMITED: "UNLIMITED",
129
- };
130
- exports.UserType = {
131
- ADMIN: "ADMIN",
132
- MINIMALUSER: "MINIMALUSER",
133
- POWERUSER: "POWERUSER",
134
- USER: "USER",
135
- WORKSPACESUSER: "WORKSPACESUSER",
136
- };
137
- exports.CommentStatusType = {
138
- DELETED: "DELETED",
139
- DRAFT: "DRAFT",
140
- PUBLISHED: "PUBLISHED",
141
- };
142
- exports.ResourceType = {
143
- DOCUMENT: "DOCUMENT",
144
- FOLDER: "FOLDER",
145
- };
146
- exports.ActivityType = {
147
- DOCUMENT_ANNOTATION_ADDED: "DOCUMENT_ANNOTATION_ADDED",
148
- DOCUMENT_ANNOTATION_DELETED: "DOCUMENT_ANNOTATION_DELETED",
149
- DOCUMENT_CHECKED_IN: "DOCUMENT_CHECKED_IN",
150
- DOCUMENT_CHECKED_OUT: "DOCUMENT_CHECKED_OUT",
151
- DOCUMENT_COMMENT_ADDED: "DOCUMENT_COMMENT_ADDED",
152
- DOCUMENT_COMMENT_DELETED: "DOCUMENT_COMMENT_DELETED",
153
- DOCUMENT_MOVED: "DOCUMENT_MOVED",
154
- DOCUMENT_RECYCLED: "DOCUMENT_RECYCLED",
155
- DOCUMENT_RENAMED: "DOCUMENT_RENAMED",
156
- DOCUMENT_RESTORED: "DOCUMENT_RESTORED",
157
- DOCUMENT_REVERTED: "DOCUMENT_REVERTED",
158
- DOCUMENT_SHAREABLE_LINK_CREATED: "DOCUMENT_SHAREABLE_LINK_CREATED",
159
- DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED: "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
160
- DOCUMENT_SHAREABLE_LINK_REMOVED: "DOCUMENT_SHAREABLE_LINK_REMOVED",
161
- DOCUMENT_SHARED: "DOCUMENT_SHARED",
162
- DOCUMENT_SHARE_PERMISSION_CHANGED: "DOCUMENT_SHARE_PERMISSION_CHANGED",
163
- DOCUMENT_UNSHARED: "DOCUMENT_UNSHARED",
164
- DOCUMENT_VERSION_DELETED: "DOCUMENT_VERSION_DELETED",
165
- DOCUMENT_VERSION_DOWNLOADED: "DOCUMENT_VERSION_DOWNLOADED",
166
- DOCUMENT_VERSION_UPLOADED: "DOCUMENT_VERSION_UPLOADED",
167
- DOCUMENT_VERSION_VIEWED: "DOCUMENT_VERSION_VIEWED",
168
- FOLDER_CREATED: "FOLDER_CREATED",
169
- FOLDER_DELETED: "FOLDER_DELETED",
170
- FOLDER_MOVED: "FOLDER_MOVED",
171
- FOLDER_RECYCLED: "FOLDER_RECYCLED",
172
- FOLDER_RENAMED: "FOLDER_RENAMED",
173
- FOLDER_RESTORED: "FOLDER_RESTORED",
174
- FOLDER_SHAREABLE_LINK_CREATED: "FOLDER_SHAREABLE_LINK_CREATED",
175
- FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED: "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
176
- FOLDER_SHAREABLE_LINK_REMOVED: "FOLDER_SHAREABLE_LINK_REMOVED",
177
- FOLDER_SHARED: "FOLDER_SHARED",
178
- FOLDER_SHARE_PERMISSION_CHANGED: "FOLDER_SHARE_PERMISSION_CHANGED",
179
- FOLDER_UNSHARED: "FOLDER_UNSHARED",
180
- };
181
- exports.AdditionalResponseFieldType = {
182
- WEBURL: "WEBURL",
183
- };
184
- exports.RoleType = {
185
- CONTRIBUTOR: "CONTRIBUTOR",
186
- COOWNER: "COOWNER",
187
- OWNER: "OWNER",
188
- VIEWER: "VIEWER",
189
- };
190
- exports.PrincipalType = {
191
- ANONYMOUS: "ANONYMOUS",
192
- GROUP: "GROUP",
193
- INVITE: "INVITE",
194
- ORGANIZATION: "ORGANIZATION",
195
- USER: "USER",
196
- };
197
- exports.ShareStatusType = {
198
- FAILURE: "FAILURE",
199
- SUCCESS: "SUCCESS",
200
- };
201
- exports.CommentVisibilityType = {
202
- PRIVATE: "PRIVATE",
203
- PUBLIC: "PUBLIC",
204
- };
205
- class DocumentLockedForCommentsException extends WorkDocsServiceException_1.WorkDocsServiceException {
206
- constructor(opts) {
207
- super({
208
- name: "DocumentLockedForCommentsException",
209
- $fault: "client",
210
- ...opts,
211
- });
212
- this.name = "DocumentLockedForCommentsException";
213
- this.$fault = "client";
214
- Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
215
- this.Message = opts.Message;
216
- }
217
- }
218
- exports.DocumentLockedForCommentsException = DocumentLockedForCommentsException;
219
- class InvalidCommentOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
220
- constructor(opts) {
221
- super({
222
- name: "InvalidCommentOperationException",
223
- $fault: "client",
224
- ...opts,
225
- });
226
- this.name = "InvalidCommentOperationException";
227
- this.$fault = "client";
228
- Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
229
- this.Message = opts.Message;
230
- }
231
- }
232
- exports.InvalidCommentOperationException = InvalidCommentOperationException;
233
- class CustomMetadataLimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
234
- constructor(opts) {
235
- super({
236
- name: "CustomMetadataLimitExceededException",
237
- $fault: "client",
238
- ...opts,
239
- });
240
- this.name = "CustomMetadataLimitExceededException";
241
- this.$fault = "client";
242
- Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
243
- this.Message = opts.Message;
244
- }
245
- }
246
- exports.CustomMetadataLimitExceededException = CustomMetadataLimitExceededException;
247
- class ConflictingOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
248
- constructor(opts) {
249
- super({
250
- name: "ConflictingOperationException",
251
- $fault: "client",
252
- ...opts,
253
- });
254
- this.name = "ConflictingOperationException";
255
- this.$fault = "client";
256
- Object.setPrototypeOf(this, ConflictingOperationException.prototype);
257
- this.Message = opts.Message;
258
- }
259
- }
260
- exports.ConflictingOperationException = ConflictingOperationException;
261
- exports.ResourceStateType = {
262
- ACTIVE: "ACTIVE",
263
- RECYCLED: "RECYCLED",
264
- RECYCLING: "RECYCLING",
265
- RESTORING: "RESTORING",
266
- };
267
- class EntityAlreadyExistsException extends WorkDocsServiceException_1.WorkDocsServiceException {
268
- constructor(opts) {
269
- super({
270
- name: "EntityAlreadyExistsException",
271
- $fault: "client",
272
- ...opts,
273
- });
274
- this.name = "EntityAlreadyExistsException";
275
- this.$fault = "client";
276
- Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
277
- this.Message = opts.Message;
278
- }
279
- }
280
- exports.EntityAlreadyExistsException = EntityAlreadyExistsException;
281
- class LimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
282
- constructor(opts) {
283
- super({
284
- name: "LimitExceededException",
285
- $fault: "client",
286
- ...opts,
287
- });
288
- this.name = "LimitExceededException";
289
- this.$fault = "client";
290
- Object.setPrototypeOf(this, LimitExceededException.prototype);
291
- this.Message = opts.Message;
292
- }
293
- }
294
- exports.LimitExceededException = LimitExceededException;
295
- class TooManyLabelsException extends WorkDocsServiceException_1.WorkDocsServiceException {
296
- constructor(opts) {
297
- super({
298
- name: "TooManyLabelsException",
299
- $fault: "client",
300
- ...opts,
301
- });
302
- this.name = "TooManyLabelsException";
303
- this.$fault = "client";
304
- Object.setPrototypeOf(this, TooManyLabelsException.prototype);
305
- this.Message = opts.Message;
306
- }
307
- }
308
- exports.TooManyLabelsException = TooManyLabelsException;
309
- exports.SubscriptionProtocolType = {
310
- HTTPS: "HTTPS",
311
- SQS: "SQS",
312
- };
313
- exports.SubscriptionType = {
314
- ALL: "ALL",
315
- };
316
- class InvalidArgumentException extends WorkDocsServiceException_1.WorkDocsServiceException {
317
- constructor(opts) {
318
- super({
319
- name: "InvalidArgumentException",
320
- $fault: "client",
321
- ...opts,
322
- });
323
- this.name = "InvalidArgumentException";
324
- this.$fault = "client";
325
- Object.setPrototypeOf(this, InvalidArgumentException.prototype);
326
- this.Message = opts.Message;
327
- }
328
- }
329
- exports.InvalidArgumentException = InvalidArgumentException;
330
- class TooManySubscriptionsException extends WorkDocsServiceException_1.WorkDocsServiceException {
331
- constructor(opts) {
332
- super({
333
- name: "TooManySubscriptionsException",
334
- $fault: "client",
335
- ...opts,
336
- });
337
- this.name = "TooManySubscriptionsException";
338
- this.$fault = "client";
339
- Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
340
- this.Message = opts.Message;
341
- }
342
- }
343
- exports.TooManySubscriptionsException = TooManySubscriptionsException;
344
- class InvalidOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
345
- constructor(opts) {
346
- super({
347
- name: "InvalidOperationException",
348
- $fault: "client",
349
- ...opts,
350
- });
351
- this.name = "InvalidOperationException";
352
- this.$fault = "client";
353
- Object.setPrototypeOf(this, InvalidOperationException.prototype);
354
- this.Message = opts.Message;
355
- }
356
- }
357
- exports.InvalidOperationException = InvalidOperationException;
358
- exports.DocumentSourceType = {
359
- ORIGINAL: "ORIGINAL",
360
- WITH_COMMENTS: "WITH_COMMENTS",
361
- };
362
- exports.DocumentStatusType = {
363
- ACTIVE: "ACTIVE",
364
- INITIALIZED: "INITIALIZED",
365
- };
366
- exports.DocumentThumbnailType = {
367
- LARGE: "LARGE",
368
- SMALL: "SMALL",
369
- SMALL_HQ: "SMALL_HQ",
370
- };
371
- class InvalidPasswordException extends WorkDocsServiceException_1.WorkDocsServiceException {
372
- constructor(opts) {
373
- super({
374
- name: "InvalidPasswordException",
375
- $fault: "client",
376
- ...opts,
377
- });
378
- this.name = "InvalidPasswordException";
379
- this.$fault = "client";
380
- Object.setPrototypeOf(this, InvalidPasswordException.prototype);
381
- this.Message = opts.Message;
382
- }
383
- }
384
- exports.InvalidPasswordException = InvalidPasswordException;
385
- exports.OrderType = {
386
- ASCENDING: "ASCENDING",
387
- DESCENDING: "DESCENDING",
388
- };
389
- exports.ResourceSortType = {
390
- DATE: "DATE",
391
- NAME: "NAME",
392
- };
393
- exports.FolderContentType = {
394
- ALL: "ALL",
395
- DOCUMENT: "DOCUMENT",
396
- FOLDER: "FOLDER",
397
- };
398
- exports.RolePermissionType = {
399
- DIRECT: "DIRECT",
400
- INHERITED: "INHERITED",
401
- };
402
- exports.UserFilterType = {
403
- ACTIVE_PENDING: "ACTIVE_PENDING",
404
- ALL: "ALL",
405
- };
406
- exports.UserSortType = {
407
- FULL_NAME: "FULL_NAME",
408
- STORAGE_LIMIT: "STORAGE_LIMIT",
409
- STORAGE_USED: "STORAGE_USED",
410
- USER_NAME: "USER_NAME",
411
- USER_STATUS: "USER_STATUS",
412
- };
413
- class RequestedEntityTooLargeException extends WorkDocsServiceException_1.WorkDocsServiceException {
414
- constructor(opts) {
415
- super({
416
- name: "RequestedEntityTooLargeException",
417
- $fault: "client",
418
- ...opts,
419
- });
420
- this.name = "RequestedEntityTooLargeException";
421
- this.$fault = "client";
422
- Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
423
- this.Message = opts.Message;
424
- }
425
- }
426
- exports.RequestedEntityTooLargeException = RequestedEntityTooLargeException;
427
- exports.ResourceCollectionType = {
428
- SHARED_WITH_ME: "SHARED_WITH_ME",
429
- };
430
- class DraftUploadOutOfSyncException extends WorkDocsServiceException_1.WorkDocsServiceException {
431
- constructor(opts) {
432
- super({
433
- name: "DraftUploadOutOfSyncException",
434
- $fault: "client",
435
- ...opts,
436
- });
437
- this.name = "DraftUploadOutOfSyncException";
438
- this.$fault = "client";
439
- Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
440
- this.Message = opts.Message;
441
- }
442
- }
443
- exports.DraftUploadOutOfSyncException = DraftUploadOutOfSyncException;
444
- class ResourceAlreadyCheckedOutException extends WorkDocsServiceException_1.WorkDocsServiceException {
445
- constructor(opts) {
446
- super({
447
- name: "ResourceAlreadyCheckedOutException",
448
- $fault: "client",
449
- ...opts,
450
- });
451
- this.name = "ResourceAlreadyCheckedOutException";
452
- this.$fault = "client";
453
- Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
454
- this.Message = opts.Message;
455
- }
456
- }
457
- exports.ResourceAlreadyCheckedOutException = ResourceAlreadyCheckedOutException;
458
- class StorageLimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
459
- constructor(opts) {
460
- super({
461
- name: "StorageLimitExceededException",
462
- $fault: "client",
463
- ...opts,
464
- });
465
- this.name = "StorageLimitExceededException";
466
- this.$fault = "client";
467
- Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
468
- this.Message = opts.Message;
469
- }
470
- }
471
- exports.StorageLimitExceededException = StorageLimitExceededException;
472
- class StorageLimitWillExceedException extends WorkDocsServiceException_1.WorkDocsServiceException {
473
- constructor(opts) {
474
- super({
475
- name: "StorageLimitWillExceedException",
476
- $fault: "client",
477
- ...opts,
478
- });
479
- this.name = "StorageLimitWillExceedException";
480
- this.$fault = "client";
481
- Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
482
- this.Message = opts.Message;
483
- }
484
- }
485
- exports.StorageLimitWillExceedException = StorageLimitWillExceedException;
486
- exports.ContentCategoryType = {
487
- AUDIO: "AUDIO",
488
- DOCUMENT: "DOCUMENT",
489
- IMAGE: "IMAGE",
490
- OTHER: "OTHER",
491
- PDF: "PDF",
492
- PRESENTATION: "PRESENTATION",
493
- SOURCE_CODE: "SOURCE_CODE",
494
- SPREADSHEET: "SPREADSHEET",
495
- VIDEO: "VIDEO",
496
- };
497
- exports.PrincipalRoleType = {
498
- CONTRIBUTOR: "CONTRIBUTOR",
499
- COOWNER: "COOWNER",
500
- OWNER: "OWNER",
501
- VIEWER: "VIEWER",
502
- };
503
- exports.SearchResourceType = {
504
- COMMENT: "COMMENT",
505
- DOCUMENT: "DOCUMENT",
506
- DOCUMENT_VERSION: "DOCUMENT_VERSION",
507
- FOLDER: "FOLDER",
508
- };
509
- exports.SearchCollectionType = {
510
- OWNED: "OWNED",
511
- SHARED_WITH_ME: "SHARED_WITH_ME",
512
- };
513
- exports.LanguageCodeType = {
514
- AR: "AR",
515
- BG: "BG",
516
- BN: "BN",
517
- CS: "CS",
518
- DA: "DA",
519
- DE: "DE",
520
- DEFAULT: "DEFAULT",
521
- EL: "EL",
522
- EN: "EN",
523
- ES: "ES",
524
- FA: "FA",
525
- FI: "FI",
526
- FR: "FR",
527
- HI: "HI",
528
- HU: "HU",
529
- ID: "ID",
530
- IT: "IT",
531
- JA: "JA",
532
- KO: "KO",
533
- LT: "LT",
534
- LV: "LV",
535
- NL: "NL",
536
- NO: "NO",
537
- PT: "PT",
538
- RO: "RO",
539
- RU: "RU",
540
- SV: "SV",
541
- SW: "SW",
542
- TH: "TH",
543
- TR: "TR",
544
- ZH: "ZH",
545
- };
546
- exports.OrderByFieldType = {
547
- CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
548
- MODIFIED_TIMESTAMP: "MODIFIED_TIMESTAMP",
549
- NAME: "NAME",
550
- RELEVANCE: "RELEVANCE",
551
- SIZE: "SIZE",
552
- };
553
- exports.SortOrder = {
554
- ASC: "ASC",
555
- DESC: "DESC",
556
- };
557
- exports.SearchQueryScopeType = {
558
- CONTENT: "CONTENT",
559
- NAME: "NAME",
560
- };
561
- exports.ResponseItemType = {
562
- COMMENT: "COMMENT",
563
- DOCUMENT: "DOCUMENT",
564
- DOCUMENT_VERSION: "DOCUMENT_VERSION",
565
- FOLDER: "FOLDER",
566
- };
567
- exports.DocumentVersionStatus = {
568
- ACTIVE: "ACTIVE",
569
- };
570
- class DeactivatingLastSystemUserException extends WorkDocsServiceException_1.WorkDocsServiceException {
571
- constructor(opts) {
572
- super({
573
- name: "DeactivatingLastSystemUserException",
574
- $fault: "client",
575
- ...opts,
576
- });
577
- this.name = "DeactivatingLastSystemUserException";
578
- this.$fault = "client";
579
- Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
580
- this.Message = opts.Message;
581
- this.Code = opts.Code;
582
- }
583
- }
584
- exports.DeactivatingLastSystemUserException = DeactivatingLastSystemUserException;
585
- class IllegalUserStateException extends WorkDocsServiceException_1.WorkDocsServiceException {
586
- constructor(opts) {
587
- super({
588
- name: "IllegalUserStateException",
589
- $fault: "client",
590
- ...opts,
591
- });
592
- this.name = "IllegalUserStateException";
593
- this.$fault = "client";
594
- Object.setPrototypeOf(this, IllegalUserStateException.prototype);
595
- this.Message = opts.Message;
596
- }
597
- }
598
- exports.IllegalUserStateException = IllegalUserStateException;
599
- exports.BooleanEnumType = {
600
- FALSE: "FALSE",
601
- TRUE: "TRUE",
602
- };
603
- const AbortDocumentVersionUploadRequestFilterSensitiveLog = (obj) => ({
604
- ...obj,
605
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
606
- });
607
- exports.AbortDocumentVersionUploadRequestFilterSensitiveLog = AbortDocumentVersionUploadRequestFilterSensitiveLog;
608
- const ActivateUserRequestFilterSensitiveLog = (obj) => ({
609
- ...obj,
610
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
611
- });
612
- exports.ActivateUserRequestFilterSensitiveLog = ActivateUserRequestFilterSensitiveLog;
613
- const UserFilterSensitiveLog = (obj) => ({
614
- ...obj,
615
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
616
- ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
617
- ...(obj.GivenName && { GivenName: smithy_client_1.SENSITIVE_STRING }),
618
- ...(obj.Surname && { Surname: smithy_client_1.SENSITIVE_STRING }),
619
- });
620
- exports.UserFilterSensitiveLog = UserFilterSensitiveLog;
621
- const ActivateUserResponseFilterSensitiveLog = (obj) => ({
622
- ...obj,
623
- ...(obj.User && { User: (0, exports.UserFilterSensitiveLog)(obj.User) }),
624
- });
625
- exports.ActivateUserResponseFilterSensitiveLog = ActivateUserResponseFilterSensitiveLog;
626
- const CommentMetadataFilterSensitiveLog = (obj) => ({
627
- ...obj,
628
- ...(obj.Contributor && { Contributor: (0, exports.UserFilterSensitiveLog)(obj.Contributor) }),
629
- });
630
- exports.CommentMetadataFilterSensitiveLog = CommentMetadataFilterSensitiveLog;
631
- const UserMetadataFilterSensitiveLog = (obj) => ({
632
- ...obj,
633
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
634
- ...(obj.GivenName && { GivenName: smithy_client_1.SENSITIVE_STRING }),
635
- ...(obj.Surname && { Surname: smithy_client_1.SENSITIVE_STRING }),
636
- ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
637
- });
638
- exports.UserMetadataFilterSensitiveLog = UserMetadataFilterSensitiveLog;
639
- const ResourceMetadataFilterSensitiveLog = (obj) => ({
640
- ...obj,
641
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
642
- ...(obj.OriginalName && { OriginalName: smithy_client_1.SENSITIVE_STRING }),
643
- ...(obj.Owner && { Owner: (0, exports.UserMetadataFilterSensitiveLog)(obj.Owner) }),
644
- });
645
- exports.ResourceMetadataFilterSensitiveLog = ResourceMetadataFilterSensitiveLog;
646
- const ParticipantsFilterSensitiveLog = (obj) => ({
647
- ...obj,
648
- ...(obj.Users && { Users: obj.Users.map((item) => (0, exports.UserMetadataFilterSensitiveLog)(item)) }),
649
- });
650
- exports.ParticipantsFilterSensitiveLog = ParticipantsFilterSensitiveLog;
651
- const ActivityFilterSensitiveLog = (obj) => ({
652
- ...obj,
653
- ...(obj.Initiator && { Initiator: (0, exports.UserMetadataFilterSensitiveLog)(obj.Initiator) }),
654
- ...(obj.Participants && { Participants: (0, exports.ParticipantsFilterSensitiveLog)(obj.Participants) }),
655
- ...(obj.ResourceMetadata && { ResourceMetadata: (0, exports.ResourceMetadataFilterSensitiveLog)(obj.ResourceMetadata) }),
656
- ...(obj.OriginalParent && { OriginalParent: (0, exports.ResourceMetadataFilterSensitiveLog)(obj.OriginalParent) }),
657
- ...(obj.CommentMetadata && { CommentMetadata: (0, exports.CommentMetadataFilterSensitiveLog)(obj.CommentMetadata) }),
658
- });
659
- exports.ActivityFilterSensitiveLog = ActivityFilterSensitiveLog;
660
- const NotificationOptionsFilterSensitiveLog = (obj) => ({
661
- ...obj,
662
- ...(obj.EmailMessage && { EmailMessage: smithy_client_1.SENSITIVE_STRING }),
663
- });
664
- exports.NotificationOptionsFilterSensitiveLog = NotificationOptionsFilterSensitiveLog;
665
- const AddResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
666
- ...obj,
667
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
668
- ...(obj.NotificationOptions && {
669
- NotificationOptions: (0, exports.NotificationOptionsFilterSensitiveLog)(obj.NotificationOptions),
670
- }),
671
- });
672
- exports.AddResourcePermissionsRequestFilterSensitiveLog = AddResourcePermissionsRequestFilterSensitiveLog;
673
- const ShareResultFilterSensitiveLog = (obj) => ({
674
- ...obj,
675
- ...(obj.StatusMessage && { StatusMessage: smithy_client_1.SENSITIVE_STRING }),
676
- });
677
- exports.ShareResultFilterSensitiveLog = ShareResultFilterSensitiveLog;
678
- const AddResourcePermissionsResponseFilterSensitiveLog = (obj) => ({
679
- ...obj,
680
- ...(obj.ShareResults && { ShareResults: obj.ShareResults.map((item) => (0, exports.ShareResultFilterSensitiveLog)(item)) }),
681
- });
682
- exports.AddResourcePermissionsResponseFilterSensitiveLog = AddResourcePermissionsResponseFilterSensitiveLog;
683
- const CreateCommentRequestFilterSensitiveLog = (obj) => ({
684
- ...obj,
685
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
686
- ...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
687
- });
688
- exports.CreateCommentRequestFilterSensitiveLog = CreateCommentRequestFilterSensitiveLog;
689
- const CommentFilterSensitiveLog = (obj) => ({
690
- ...obj,
691
- ...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
692
- ...(obj.Contributor && { Contributor: (0, exports.UserFilterSensitiveLog)(obj.Contributor) }),
693
- });
694
- exports.CommentFilterSensitiveLog = CommentFilterSensitiveLog;
695
- const CreateCommentResponseFilterSensitiveLog = (obj) => ({
696
- ...obj,
697
- ...(obj.Comment && { Comment: (0, exports.CommentFilterSensitiveLog)(obj.Comment) }),
698
- });
699
- exports.CreateCommentResponseFilterSensitiveLog = CreateCommentResponseFilterSensitiveLog;
700
- const CreateCustomMetadataRequestFilterSensitiveLog = (obj) => ({
701
- ...obj,
702
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
703
- });
704
- exports.CreateCustomMetadataRequestFilterSensitiveLog = CreateCustomMetadataRequestFilterSensitiveLog;
705
- const CreateFolderRequestFilterSensitiveLog = (obj) => ({
706
- ...obj,
707
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
708
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
709
- });
710
- exports.CreateFolderRequestFilterSensitiveLog = CreateFolderRequestFilterSensitiveLog;
711
- const FolderMetadataFilterSensitiveLog = (obj) => ({
712
- ...obj,
713
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
714
- });
715
- exports.FolderMetadataFilterSensitiveLog = FolderMetadataFilterSensitiveLog;
716
- const CreateFolderResponseFilterSensitiveLog = (obj) => ({
717
- ...obj,
718
- ...(obj.Metadata && { Metadata: (0, exports.FolderMetadataFilterSensitiveLog)(obj.Metadata) }),
719
- });
720
- exports.CreateFolderResponseFilterSensitiveLog = CreateFolderResponseFilterSensitiveLog;
721
- const CreateLabelsRequestFilterSensitiveLog = (obj) => ({
722
- ...obj,
723
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
724
- });
725
- exports.CreateLabelsRequestFilterSensitiveLog = CreateLabelsRequestFilterSensitiveLog;
726
- const CreateUserRequestFilterSensitiveLog = (obj) => ({
727
- ...obj,
728
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
729
- ...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
730
- ...(obj.GivenName && { GivenName: smithy_client_1.SENSITIVE_STRING }),
731
- ...(obj.Surname && { Surname: smithy_client_1.SENSITIVE_STRING }),
732
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
733
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
734
- });
735
- exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
736
- const CreateUserResponseFilterSensitiveLog = (obj) => ({
737
- ...obj,
738
- ...(obj.User && { User: (0, exports.UserFilterSensitiveLog)(obj.User) }),
739
- });
740
- exports.CreateUserResponseFilterSensitiveLog = CreateUserResponseFilterSensitiveLog;
741
- const DeactivateUserRequestFilterSensitiveLog = (obj) => ({
742
- ...obj,
743
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
744
- });
745
- exports.DeactivateUserRequestFilterSensitiveLog = DeactivateUserRequestFilterSensitiveLog;
746
- const DeleteCommentRequestFilterSensitiveLog = (obj) => ({
747
- ...obj,
748
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
749
- });
750
- exports.DeleteCommentRequestFilterSensitiveLog = DeleteCommentRequestFilterSensitiveLog;
751
- const DeleteCustomMetadataRequestFilterSensitiveLog = (obj) => ({
752
- ...obj,
753
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
754
- });
755
- exports.DeleteCustomMetadataRequestFilterSensitiveLog = DeleteCustomMetadataRequestFilterSensitiveLog;
756
- const DeleteDocumentRequestFilterSensitiveLog = (obj) => ({
757
- ...obj,
758
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
759
- });
760
- exports.DeleteDocumentRequestFilterSensitiveLog = DeleteDocumentRequestFilterSensitiveLog;
761
- const DeleteDocumentVersionRequestFilterSensitiveLog = (obj) => ({
762
- ...obj,
763
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
764
- });
765
- exports.DeleteDocumentVersionRequestFilterSensitiveLog = DeleteDocumentVersionRequestFilterSensitiveLog;
766
- const DeleteFolderRequestFilterSensitiveLog = (obj) => ({
767
- ...obj,
768
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
769
- });
770
- exports.DeleteFolderRequestFilterSensitiveLog = DeleteFolderRequestFilterSensitiveLog;
771
- const DeleteFolderContentsRequestFilterSensitiveLog = (obj) => ({
772
- ...obj,
773
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
774
- });
775
- exports.DeleteFolderContentsRequestFilterSensitiveLog = DeleteFolderContentsRequestFilterSensitiveLog;
776
- const DeleteLabelsRequestFilterSensitiveLog = (obj) => ({
777
- ...obj,
778
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
779
- });
780
- exports.DeleteLabelsRequestFilterSensitiveLog = DeleteLabelsRequestFilterSensitiveLog;
781
- const DeleteUserRequestFilterSensitiveLog = (obj) => ({
782
- ...obj,
783
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
784
- });
785
- exports.DeleteUserRequestFilterSensitiveLog = DeleteUserRequestFilterSensitiveLog;
786
- const DescribeActivitiesRequestFilterSensitiveLog = (obj) => ({
787
- ...obj,
788
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
789
- });
790
- exports.DescribeActivitiesRequestFilterSensitiveLog = DescribeActivitiesRequestFilterSensitiveLog;
791
- const DescribeActivitiesResponseFilterSensitiveLog = (obj) => ({
792
- ...obj,
793
- ...(obj.UserActivities && { UserActivities: obj.UserActivities.map((item) => (0, exports.ActivityFilterSensitiveLog)(item)) }),
794
- });
795
- exports.DescribeActivitiesResponseFilterSensitiveLog = DescribeActivitiesResponseFilterSensitiveLog;
796
- const DescribeCommentsRequestFilterSensitiveLog = (obj) => ({
797
- ...obj,
798
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
799
- });
800
- exports.DescribeCommentsRequestFilterSensitiveLog = DescribeCommentsRequestFilterSensitiveLog;
801
- const DescribeCommentsResponseFilterSensitiveLog = (obj) => ({
802
- ...obj,
803
- ...(obj.Comments && { Comments: obj.Comments.map((item) => (0, exports.CommentFilterSensitiveLog)(item)) }),
804
- });
805
- exports.DescribeCommentsResponseFilterSensitiveLog = DescribeCommentsResponseFilterSensitiveLog;
806
- const DescribeDocumentVersionsRequestFilterSensitiveLog = (obj) => ({
807
- ...obj,
808
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
809
- });
810
- exports.DescribeDocumentVersionsRequestFilterSensitiveLog = DescribeDocumentVersionsRequestFilterSensitiveLog;
811
- const DocumentVersionMetadataFilterSensitiveLog = (obj) => ({
812
- ...obj,
813
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
814
- ...(obj.Thumbnail && { Thumbnail: smithy_client_1.SENSITIVE_STRING }),
815
- ...(obj.Source && { Source: smithy_client_1.SENSITIVE_STRING }),
816
- });
817
- exports.DocumentVersionMetadataFilterSensitiveLog = DocumentVersionMetadataFilterSensitiveLog;
818
- const DescribeDocumentVersionsResponseFilterSensitiveLog = (obj) => ({
819
- ...obj,
820
- ...(obj.DocumentVersions && {
821
- DocumentVersions: obj.DocumentVersions.map((item) => (0, exports.DocumentVersionMetadataFilterSensitiveLog)(item)),
822
- }),
823
- });
824
- exports.DescribeDocumentVersionsResponseFilterSensitiveLog = DescribeDocumentVersionsResponseFilterSensitiveLog;
825
- const DescribeFolderContentsRequestFilterSensitiveLog = (obj) => ({
826
- ...obj,
827
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
828
- });
829
- exports.DescribeFolderContentsRequestFilterSensitiveLog = DescribeFolderContentsRequestFilterSensitiveLog;
830
- const DocumentMetadataFilterSensitiveLog = (obj) => ({
831
- ...obj,
832
- ...(obj.LatestVersionMetadata && {
833
- LatestVersionMetadata: (0, exports.DocumentVersionMetadataFilterSensitiveLog)(obj.LatestVersionMetadata),
834
- }),
835
- });
836
- exports.DocumentMetadataFilterSensitiveLog = DocumentMetadataFilterSensitiveLog;
837
- const DescribeFolderContentsResponseFilterSensitiveLog = (obj) => ({
838
- ...obj,
839
- ...(obj.Folders && { Folders: obj.Folders.map((item) => (0, exports.FolderMetadataFilterSensitiveLog)(item)) }),
840
- ...(obj.Documents && { Documents: obj.Documents.map((item) => (0, exports.DocumentMetadataFilterSensitiveLog)(item)) }),
841
- });
842
- exports.DescribeFolderContentsResponseFilterSensitiveLog = DescribeFolderContentsResponseFilterSensitiveLog;
843
- const DescribeGroupsRequestFilterSensitiveLog = (obj) => ({
844
- ...obj,
845
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
846
- ...(obj.SearchQuery && { SearchQuery: smithy_client_1.SENSITIVE_STRING }),
847
- });
848
- exports.DescribeGroupsRequestFilterSensitiveLog = DescribeGroupsRequestFilterSensitiveLog;
849
- const DescribeResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
850
- ...obj,
851
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
852
- });
853
- exports.DescribeResourcePermissionsRequestFilterSensitiveLog = DescribeResourcePermissionsRequestFilterSensitiveLog;
854
- const DescribeRootFoldersRequestFilterSensitiveLog = (obj) => ({
855
- ...obj,
856
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
857
- });
858
- exports.DescribeRootFoldersRequestFilterSensitiveLog = DescribeRootFoldersRequestFilterSensitiveLog;
859
- const DescribeRootFoldersResponseFilterSensitiveLog = (obj) => ({
860
- ...obj,
861
- ...(obj.Folders && { Folders: obj.Folders.map((item) => (0, exports.FolderMetadataFilterSensitiveLog)(item)) }),
862
- });
863
- exports.DescribeRootFoldersResponseFilterSensitiveLog = DescribeRootFoldersResponseFilterSensitiveLog;
864
- const DescribeUsersRequestFilterSensitiveLog = (obj) => ({
865
- ...obj,
866
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
867
- ...(obj.Query && { Query: smithy_client_1.SENSITIVE_STRING }),
868
- });
869
- exports.DescribeUsersRequestFilterSensitiveLog = DescribeUsersRequestFilterSensitiveLog;
870
- const DescribeUsersResponseFilterSensitiveLog = (obj) => ({
871
- ...obj,
872
- ...(obj.Users && { Users: obj.Users.map((item) => (0, exports.UserFilterSensitiveLog)(item)) }),
873
- });
874
- exports.DescribeUsersResponseFilterSensitiveLog = DescribeUsersResponseFilterSensitiveLog;
875
- const GetCurrentUserRequestFilterSensitiveLog = (obj) => ({
876
- ...obj,
877
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
878
- });
879
- exports.GetCurrentUserRequestFilterSensitiveLog = GetCurrentUserRequestFilterSensitiveLog;
880
- const GetCurrentUserResponseFilterSensitiveLog = (obj) => ({
881
- ...obj,
882
- ...(obj.User && { User: (0, exports.UserFilterSensitiveLog)(obj.User) }),
883
- });
884
- exports.GetCurrentUserResponseFilterSensitiveLog = GetCurrentUserResponseFilterSensitiveLog;
885
- const GetDocumentRequestFilterSensitiveLog = (obj) => ({
886
- ...obj,
887
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
888
- });
889
- exports.GetDocumentRequestFilterSensitiveLog = GetDocumentRequestFilterSensitiveLog;
890
- const GetDocumentResponseFilterSensitiveLog = (obj) => ({
891
- ...obj,
892
- ...(obj.Metadata && { Metadata: (0, exports.DocumentMetadataFilterSensitiveLog)(obj.Metadata) }),
893
- });
894
- exports.GetDocumentResponseFilterSensitiveLog = GetDocumentResponseFilterSensitiveLog;
895
- const GetDocumentPathRequestFilterSensitiveLog = (obj) => ({
896
- ...obj,
897
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
898
- });
899
- exports.GetDocumentPathRequestFilterSensitiveLog = GetDocumentPathRequestFilterSensitiveLog;
900
- const ResourcePathComponentFilterSensitiveLog = (obj) => ({
901
- ...obj,
902
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
903
- });
904
- exports.ResourcePathComponentFilterSensitiveLog = ResourcePathComponentFilterSensitiveLog;
905
- const ResourcePathFilterSensitiveLog = (obj) => ({
906
- ...obj,
907
- ...(obj.Components && { Components: obj.Components.map((item) => (0, exports.ResourcePathComponentFilterSensitiveLog)(item)) }),
908
- });
909
- exports.ResourcePathFilterSensitiveLog = ResourcePathFilterSensitiveLog;
910
- const GetDocumentPathResponseFilterSensitiveLog = (obj) => ({
911
- ...obj,
912
- ...(obj.Path && { Path: (0, exports.ResourcePathFilterSensitiveLog)(obj.Path) }),
913
- });
914
- exports.GetDocumentPathResponseFilterSensitiveLog = GetDocumentPathResponseFilterSensitiveLog;
915
- const GetDocumentVersionRequestFilterSensitiveLog = (obj) => ({
916
- ...obj,
917
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
918
- });
919
- exports.GetDocumentVersionRequestFilterSensitiveLog = GetDocumentVersionRequestFilterSensitiveLog;
920
- const GetDocumentVersionResponseFilterSensitiveLog = (obj) => ({
921
- ...obj,
922
- ...(obj.Metadata && { Metadata: (0, exports.DocumentVersionMetadataFilterSensitiveLog)(obj.Metadata) }),
923
- });
924
- exports.GetDocumentVersionResponseFilterSensitiveLog = GetDocumentVersionResponseFilterSensitiveLog;
925
- const GetFolderRequestFilterSensitiveLog = (obj) => ({
926
- ...obj,
927
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
928
- });
929
- exports.GetFolderRequestFilterSensitiveLog = GetFolderRequestFilterSensitiveLog;
930
- const GetFolderResponseFilterSensitiveLog = (obj) => ({
931
- ...obj,
932
- ...(obj.Metadata && { Metadata: (0, exports.FolderMetadataFilterSensitiveLog)(obj.Metadata) }),
933
- });
934
- exports.GetFolderResponseFilterSensitiveLog = GetFolderResponseFilterSensitiveLog;
935
- const GetFolderPathRequestFilterSensitiveLog = (obj) => ({
936
- ...obj,
937
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
938
- });
939
- exports.GetFolderPathRequestFilterSensitiveLog = GetFolderPathRequestFilterSensitiveLog;
940
- const GetFolderPathResponseFilterSensitiveLog = (obj) => ({
941
- ...obj,
942
- ...(obj.Path && { Path: (0, exports.ResourcePathFilterSensitiveLog)(obj.Path) }),
943
- });
944
- exports.GetFolderPathResponseFilterSensitiveLog = GetFolderPathResponseFilterSensitiveLog;
945
- const GetResourcesRequestFilterSensitiveLog = (obj) => ({
946
- ...obj,
947
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
948
- });
949
- exports.GetResourcesRequestFilterSensitiveLog = GetResourcesRequestFilterSensitiveLog;
950
- const GetResourcesResponseFilterSensitiveLog = (obj) => ({
951
- ...obj,
952
- ...(obj.Folders && { Folders: obj.Folders.map((item) => (0, exports.FolderMetadataFilterSensitiveLog)(item)) }),
953
- ...(obj.Documents && { Documents: obj.Documents.map((item) => (0, exports.DocumentMetadataFilterSensitiveLog)(item)) }),
954
- });
955
- exports.GetResourcesResponseFilterSensitiveLog = GetResourcesResponseFilterSensitiveLog;
956
- const InitiateDocumentVersionUploadRequestFilterSensitiveLog = (obj) => ({
957
- ...obj,
958
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
959
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
960
- });
961
- exports.InitiateDocumentVersionUploadRequestFilterSensitiveLog = InitiateDocumentVersionUploadRequestFilterSensitiveLog;
962
- const UploadMetadataFilterSensitiveLog = (obj) => ({
963
- ...obj,
964
- ...(obj.UploadUrl && { UploadUrl: smithy_client_1.SENSITIVE_STRING }),
965
- });
966
- exports.UploadMetadataFilterSensitiveLog = UploadMetadataFilterSensitiveLog;
967
- const InitiateDocumentVersionUploadResponseFilterSensitiveLog = (obj) => ({
968
- ...obj,
969
- ...(obj.Metadata && { Metadata: (0, exports.DocumentMetadataFilterSensitiveLog)(obj.Metadata) }),
970
- ...(obj.UploadMetadata && { UploadMetadata: (0, exports.UploadMetadataFilterSensitiveLog)(obj.UploadMetadata) }),
971
- });
972
- exports.InitiateDocumentVersionUploadResponseFilterSensitiveLog = InitiateDocumentVersionUploadResponseFilterSensitiveLog;
973
- const RemoveAllResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
974
- ...obj,
975
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
976
- });
977
- exports.RemoveAllResourcePermissionsRequestFilterSensitiveLog = RemoveAllResourcePermissionsRequestFilterSensitiveLog;
978
- const RemoveResourcePermissionRequestFilterSensitiveLog = (obj) => ({
979
- ...obj,
980
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
981
- });
982
- exports.RemoveResourcePermissionRequestFilterSensitiveLog = RemoveResourcePermissionRequestFilterSensitiveLog;
983
- const RestoreDocumentVersionsRequestFilterSensitiveLog = (obj) => ({
984
- ...obj,
985
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
986
- });
987
- exports.RestoreDocumentVersionsRequestFilterSensitiveLog = RestoreDocumentVersionsRequestFilterSensitiveLog;
988
- const SearchResourcesRequestFilterSensitiveLog = (obj) => ({
989
- ...obj,
990
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
991
- ...(obj.QueryText && { QueryText: smithy_client_1.SENSITIVE_STRING }),
992
- });
993
- exports.SearchResourcesRequestFilterSensitiveLog = SearchResourcesRequestFilterSensitiveLog;
994
- const ResponseItemFilterSensitiveLog = (obj) => ({
995
- ...obj,
996
- ...(obj.WebUrl && { WebUrl: smithy_client_1.SENSITIVE_STRING }),
997
- ...(obj.DocumentMetadata && { DocumentMetadata: (0, exports.DocumentMetadataFilterSensitiveLog)(obj.DocumentMetadata) }),
998
- ...(obj.FolderMetadata && { FolderMetadata: (0, exports.FolderMetadataFilterSensitiveLog)(obj.FolderMetadata) }),
999
- ...(obj.CommentMetadata && { CommentMetadata: (0, exports.CommentMetadataFilterSensitiveLog)(obj.CommentMetadata) }),
1000
- ...(obj.DocumentVersionMetadata && {
1001
- DocumentVersionMetadata: (0, exports.DocumentVersionMetadataFilterSensitiveLog)(obj.DocumentVersionMetadata),
1002
- }),
1003
- });
1004
- exports.ResponseItemFilterSensitiveLog = ResponseItemFilterSensitiveLog;
1005
- const SearchResourcesResponseFilterSensitiveLog = (obj) => ({
1006
- ...obj,
1007
- ...(obj.Items && { Items: obj.Items.map((item) => (0, exports.ResponseItemFilterSensitiveLog)(item)) }),
1008
- });
1009
- exports.SearchResourcesResponseFilterSensitiveLog = SearchResourcesResponseFilterSensitiveLog;
1010
- const UpdateDocumentRequestFilterSensitiveLog = (obj) => ({
1011
- ...obj,
1012
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
1013
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
1014
- });
1015
- exports.UpdateDocumentRequestFilterSensitiveLog = UpdateDocumentRequestFilterSensitiveLog;
1016
- const UpdateDocumentVersionRequestFilterSensitiveLog = (obj) => ({
1017
- ...obj,
1018
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
1019
- });
1020
- exports.UpdateDocumentVersionRequestFilterSensitiveLog = UpdateDocumentVersionRequestFilterSensitiveLog;
1021
- const UpdateFolderRequestFilterSensitiveLog = (obj) => ({
1022
- ...obj,
1023
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
1024
- ...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
1025
- });
1026
- exports.UpdateFolderRequestFilterSensitiveLog = UpdateFolderRequestFilterSensitiveLog;
1027
- const UpdateUserRequestFilterSensitiveLog = (obj) => ({
1028
- ...obj,
1029
- ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
1030
- ...(obj.GivenName && { GivenName: smithy_client_1.SENSITIVE_STRING }),
1031
- ...(obj.Surname && { Surname: smithy_client_1.SENSITIVE_STRING }),
1032
- });
1033
- exports.UpdateUserRequestFilterSensitiveLog = UpdateUserRequestFilterSensitiveLog;
1034
- const UpdateUserResponseFilterSensitiveLog = (obj) => ({
1035
- ...obj,
1036
- ...(obj.User && { User: (0, exports.UserFilterSensitiveLog)(obj.User) }),
1037
- });
1038
- exports.UpdateUserResponseFilterSensitiveLog = UpdateUserResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");