@aws-sdk/client-workdocs 3.181.0 → 3.183.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 (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/WorkDocs.js +166 -173
  3. package/dist-es/WorkDocsClient.js +22 -28
  4. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +22 -29
  5. package/dist-es/commands/ActivateUserCommand.js +21 -28
  6. package/dist-es/commands/AddResourcePermissionsCommand.js +21 -28
  7. package/dist-es/commands/CreateCommentCommand.js +21 -28
  8. package/dist-es/commands/CreateCustomMetadataCommand.js +21 -28
  9. package/dist-es/commands/CreateFolderCommand.js +21 -28
  10. package/dist-es/commands/CreateLabelsCommand.js +21 -28
  11. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +21 -28
  12. package/dist-es/commands/CreateUserCommand.js +21 -28
  13. package/dist-es/commands/DeactivateUserCommand.js +22 -29
  14. package/dist-es/commands/DeleteCommentCommand.js +22 -29
  15. package/dist-es/commands/DeleteCustomMetadataCommand.js +21 -28
  16. package/dist-es/commands/DeleteDocumentCommand.js +22 -29
  17. package/dist-es/commands/DeleteFolderCommand.js +22 -29
  18. package/dist-es/commands/DeleteFolderContentsCommand.js +22 -29
  19. package/dist-es/commands/DeleteLabelsCommand.js +21 -28
  20. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +22 -29
  21. package/dist-es/commands/DeleteUserCommand.js +22 -29
  22. package/dist-es/commands/DescribeActivitiesCommand.js +21 -28
  23. package/dist-es/commands/DescribeCommentsCommand.js +21 -28
  24. package/dist-es/commands/DescribeDocumentVersionsCommand.js +21 -28
  25. package/dist-es/commands/DescribeFolderContentsCommand.js +21 -28
  26. package/dist-es/commands/DescribeGroupsCommand.js +21 -28
  27. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +21 -28
  28. package/dist-es/commands/DescribeResourcePermissionsCommand.js +21 -28
  29. package/dist-es/commands/DescribeRootFoldersCommand.js +21 -28
  30. package/dist-es/commands/DescribeUsersCommand.js +21 -28
  31. package/dist-es/commands/GetCurrentUserCommand.js +21 -28
  32. package/dist-es/commands/GetDocumentCommand.js +21 -28
  33. package/dist-es/commands/GetDocumentPathCommand.js +21 -28
  34. package/dist-es/commands/GetDocumentVersionCommand.js +21 -28
  35. package/dist-es/commands/GetFolderCommand.js +21 -28
  36. package/dist-es/commands/GetFolderPathCommand.js +21 -28
  37. package/dist-es/commands/GetResourcesCommand.js +21 -28
  38. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +21 -28
  39. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +22 -29
  40. package/dist-es/commands/RemoveResourcePermissionCommand.js +22 -29
  41. package/dist-es/commands/UpdateDocumentCommand.js +22 -29
  42. package/dist-es/commands/UpdateDocumentVersionCommand.js +22 -29
  43. package/dist-es/commands/UpdateFolderCommand.js +22 -29
  44. package/dist-es/commands/UpdateUserCommand.js +21 -28
  45. package/dist-es/endpoints.js +8 -8
  46. package/dist-es/models/WorkDocsServiceException.js +5 -10
  47. package/dist-es/models/models_0.js +642 -401
  48. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +25 -68
  49. package/dist-es/pagination/DescribeFolderContentsPaginator.js +25 -68
  50. package/dist-es/pagination/DescribeUsersPaginator.js +25 -68
  51. package/dist-es/protocols/Aws_restJson1.js +3321 -4635
  52. package/dist-es/runtimeConfig.browser.js +26 -12
  53. package/dist-es/runtimeConfig.js +30 -12
  54. package/dist-es/runtimeConfig.native.js +8 -5
  55. package/dist-es/runtimeConfig.shared.js +8 -11
  56. package/package.json +33 -33
@@ -1,86 +1,85 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
2
  import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
4
- var EntityNotExistsException = (function (_super) {
5
- __extends(EntityNotExistsException, _super);
6
- function EntityNotExistsException(opts) {
7
- var _this = _super.call(this, __assign({ name: "EntityNotExistsException", $fault: "client" }, opts)) || this;
8
- _this.name = "EntityNotExistsException";
9
- _this.$fault = "client";
10
- Object.setPrototypeOf(_this, EntityNotExistsException.prototype);
11
- _this.Message = opts.Message;
12
- _this.EntityIds = opts.EntityIds;
13
- return _this;
3
+ export class EntityNotExistsException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "EntityNotExistsException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "EntityNotExistsException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, EntityNotExistsException.prototype);
13
+ this.Message = opts.Message;
14
+ this.EntityIds = opts.EntityIds;
14
15
  }
15
- return EntityNotExistsException;
16
- }(__BaseException));
17
- export { EntityNotExistsException };
18
- var FailedDependencyException = (function (_super) {
19
- __extends(FailedDependencyException, _super);
20
- function FailedDependencyException(opts) {
21
- var _this = _super.call(this, __assign({ name: "FailedDependencyException", $fault: "client" }, opts)) || this;
22
- _this.name = "FailedDependencyException";
23
- _this.$fault = "client";
24
- Object.setPrototypeOf(_this, FailedDependencyException.prototype);
25
- _this.Message = opts.Message;
26
- return _this;
16
+ }
17
+ export class FailedDependencyException extends __BaseException {
18
+ constructor(opts) {
19
+ super({
20
+ name: "FailedDependencyException",
21
+ $fault: "client",
22
+ ...opts,
23
+ });
24
+ this.name = "FailedDependencyException";
25
+ this.$fault = "client";
26
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
27
+ this.Message = opts.Message;
27
28
  }
28
- return FailedDependencyException;
29
- }(__BaseException));
30
- export { FailedDependencyException };
31
- var ProhibitedStateException = (function (_super) {
32
- __extends(ProhibitedStateException, _super);
33
- function ProhibitedStateException(opts) {
34
- var _this = _super.call(this, __assign({ name: "ProhibitedStateException", $fault: "client" }, opts)) || this;
35
- _this.name = "ProhibitedStateException";
36
- _this.$fault = "client";
37
- Object.setPrototypeOf(_this, ProhibitedStateException.prototype);
38
- _this.Message = opts.Message;
39
- return _this;
29
+ }
30
+ export class ProhibitedStateException extends __BaseException {
31
+ constructor(opts) {
32
+ super({
33
+ name: "ProhibitedStateException",
34
+ $fault: "client",
35
+ ...opts,
36
+ });
37
+ this.name = "ProhibitedStateException";
38
+ this.$fault = "client";
39
+ Object.setPrototypeOf(this, ProhibitedStateException.prototype);
40
+ this.Message = opts.Message;
40
41
  }
41
- return ProhibitedStateException;
42
- }(__BaseException));
43
- export { ProhibitedStateException };
44
- var ServiceUnavailableException = (function (_super) {
45
- __extends(ServiceUnavailableException, _super);
46
- function ServiceUnavailableException(opts) {
47
- var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
48
- _this.name = "ServiceUnavailableException";
49
- _this.$fault = "server";
50
- Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
51
- _this.Message = opts.Message;
52
- return _this;
42
+ }
43
+ export class ServiceUnavailableException extends __BaseException {
44
+ constructor(opts) {
45
+ super({
46
+ name: "ServiceUnavailableException",
47
+ $fault: "server",
48
+ ...opts,
49
+ });
50
+ this.name = "ServiceUnavailableException";
51
+ this.$fault = "server";
52
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
53
+ this.Message = opts.Message;
53
54
  }
54
- return ServiceUnavailableException;
55
- }(__BaseException));
56
- export { ServiceUnavailableException };
57
- var UnauthorizedOperationException = (function (_super) {
58
- __extends(UnauthorizedOperationException, _super);
59
- function UnauthorizedOperationException(opts) {
60
- var _this = _super.call(this, __assign({ name: "UnauthorizedOperationException", $fault: "client" }, opts)) || this;
61
- _this.name = "UnauthorizedOperationException";
62
- _this.$fault = "client";
63
- Object.setPrototypeOf(_this, UnauthorizedOperationException.prototype);
64
- _this.Message = opts.Message;
65
- _this.Code = opts.Code;
66
- return _this;
55
+ }
56
+ export class UnauthorizedOperationException extends __BaseException {
57
+ constructor(opts) {
58
+ super({
59
+ name: "UnauthorizedOperationException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ this.name = "UnauthorizedOperationException";
64
+ this.$fault = "client";
65
+ Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
66
+ this.Message = opts.Message;
67
+ this.Code = opts.Code;
67
68
  }
68
- return UnauthorizedOperationException;
69
- }(__BaseException));
70
- export { UnauthorizedOperationException };
71
- var UnauthorizedResourceAccessException = (function (_super) {
72
- __extends(UnauthorizedResourceAccessException, _super);
73
- function UnauthorizedResourceAccessException(opts) {
74
- var _this = _super.call(this, __assign({ name: "UnauthorizedResourceAccessException", $fault: "client" }, opts)) || this;
75
- _this.name = "UnauthorizedResourceAccessException";
76
- _this.$fault = "client";
77
- Object.setPrototypeOf(_this, UnauthorizedResourceAccessException.prototype);
78
- _this.Message = opts.Message;
79
- return _this;
69
+ }
70
+ export class UnauthorizedResourceAccessException extends __BaseException {
71
+ constructor(opts) {
72
+ super({
73
+ name: "UnauthorizedResourceAccessException",
74
+ $fault: "client",
75
+ ...opts,
76
+ });
77
+ this.name = "UnauthorizedResourceAccessException";
78
+ this.$fault = "client";
79
+ Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
80
+ this.Message = opts.Message;
80
81
  }
81
- return UnauthorizedResourceAccessException;
82
- }(__BaseException));
83
- export { UnauthorizedResourceAccessException };
82
+ }
84
83
  export var LocaleType;
85
84
  (function (LocaleType) {
86
85
  LocaleType["DE"] = "de";
@@ -186,58 +185,58 @@ export var CommentVisibilityType;
186
185
  CommentVisibilityType["PRIVATE"] = "PRIVATE";
187
186
  CommentVisibilityType["PUBLIC"] = "PUBLIC";
188
187
  })(CommentVisibilityType || (CommentVisibilityType = {}));
189
- var DocumentLockedForCommentsException = (function (_super) {
190
- __extends(DocumentLockedForCommentsException, _super);
191
- function DocumentLockedForCommentsException(opts) {
192
- var _this = _super.call(this, __assign({ name: "DocumentLockedForCommentsException", $fault: "client" }, opts)) || this;
193
- _this.name = "DocumentLockedForCommentsException";
194
- _this.$fault = "client";
195
- Object.setPrototypeOf(_this, DocumentLockedForCommentsException.prototype);
196
- _this.Message = opts.Message;
197
- return _this;
188
+ export class DocumentLockedForCommentsException extends __BaseException {
189
+ constructor(opts) {
190
+ super({
191
+ name: "DocumentLockedForCommentsException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ this.name = "DocumentLockedForCommentsException";
196
+ this.$fault = "client";
197
+ Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
198
+ this.Message = opts.Message;
198
199
  }
199
- return DocumentLockedForCommentsException;
200
- }(__BaseException));
201
- export { DocumentLockedForCommentsException };
202
- var InvalidCommentOperationException = (function (_super) {
203
- __extends(InvalidCommentOperationException, _super);
204
- function InvalidCommentOperationException(opts) {
205
- var _this = _super.call(this, __assign({ name: "InvalidCommentOperationException", $fault: "client" }, opts)) || this;
206
- _this.name = "InvalidCommentOperationException";
207
- _this.$fault = "client";
208
- Object.setPrototypeOf(_this, InvalidCommentOperationException.prototype);
209
- _this.Message = opts.Message;
210
- return _this;
200
+ }
201
+ export class InvalidCommentOperationException extends __BaseException {
202
+ constructor(opts) {
203
+ super({
204
+ name: "InvalidCommentOperationException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ this.name = "InvalidCommentOperationException";
209
+ this.$fault = "client";
210
+ Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
211
+ this.Message = opts.Message;
211
212
  }
212
- return InvalidCommentOperationException;
213
- }(__BaseException));
214
- export { InvalidCommentOperationException };
215
- var CustomMetadataLimitExceededException = (function (_super) {
216
- __extends(CustomMetadataLimitExceededException, _super);
217
- function CustomMetadataLimitExceededException(opts) {
218
- var _this = _super.call(this, __assign({ name: "CustomMetadataLimitExceededException", $fault: "client" }, opts)) || this;
219
- _this.name = "CustomMetadataLimitExceededException";
220
- _this.$fault = "client";
221
- Object.setPrototypeOf(_this, CustomMetadataLimitExceededException.prototype);
222
- _this.Message = opts.Message;
223
- return _this;
213
+ }
214
+ export class CustomMetadataLimitExceededException extends __BaseException {
215
+ constructor(opts) {
216
+ super({
217
+ name: "CustomMetadataLimitExceededException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ this.name = "CustomMetadataLimitExceededException";
222
+ this.$fault = "client";
223
+ Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
224
+ this.Message = opts.Message;
224
225
  }
225
- return CustomMetadataLimitExceededException;
226
- }(__BaseException));
227
- export { CustomMetadataLimitExceededException };
228
- var ConflictingOperationException = (function (_super) {
229
- __extends(ConflictingOperationException, _super);
230
- function ConflictingOperationException(opts) {
231
- var _this = _super.call(this, __assign({ name: "ConflictingOperationException", $fault: "client" }, opts)) || this;
232
- _this.name = "ConflictingOperationException";
233
- _this.$fault = "client";
234
- Object.setPrototypeOf(_this, ConflictingOperationException.prototype);
235
- _this.Message = opts.Message;
236
- return _this;
226
+ }
227
+ export class ConflictingOperationException extends __BaseException {
228
+ constructor(opts) {
229
+ super({
230
+ name: "ConflictingOperationException",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ this.name = "ConflictingOperationException";
235
+ this.$fault = "client";
236
+ Object.setPrototypeOf(this, ConflictingOperationException.prototype);
237
+ this.Message = opts.Message;
237
238
  }
238
- return ConflictingOperationException;
239
- }(__BaseException));
240
- export { ConflictingOperationException };
239
+ }
241
240
  export var ResourceStateType;
242
241
  (function (ResourceStateType) {
243
242
  ResourceStateType["ACTIVE"] = "ACTIVE";
@@ -245,45 +244,45 @@ export var ResourceStateType;
245
244
  ResourceStateType["RECYCLING"] = "RECYCLING";
246
245
  ResourceStateType["RESTORING"] = "RESTORING";
247
246
  })(ResourceStateType || (ResourceStateType = {}));
248
- var EntityAlreadyExistsException = (function (_super) {
249
- __extends(EntityAlreadyExistsException, _super);
250
- function EntityAlreadyExistsException(opts) {
251
- var _this = _super.call(this, __assign({ name: "EntityAlreadyExistsException", $fault: "client" }, opts)) || this;
252
- _this.name = "EntityAlreadyExistsException";
253
- _this.$fault = "client";
254
- Object.setPrototypeOf(_this, EntityAlreadyExistsException.prototype);
255
- _this.Message = opts.Message;
256
- return _this;
247
+ export class EntityAlreadyExistsException extends __BaseException {
248
+ constructor(opts) {
249
+ super({
250
+ name: "EntityAlreadyExistsException",
251
+ $fault: "client",
252
+ ...opts,
253
+ });
254
+ this.name = "EntityAlreadyExistsException";
255
+ this.$fault = "client";
256
+ Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
257
+ this.Message = opts.Message;
257
258
  }
258
- return EntityAlreadyExistsException;
259
- }(__BaseException));
260
- export { EntityAlreadyExistsException };
261
- var LimitExceededException = (function (_super) {
262
- __extends(LimitExceededException, _super);
263
- function LimitExceededException(opts) {
264
- var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
265
- _this.name = "LimitExceededException";
266
- _this.$fault = "client";
267
- Object.setPrototypeOf(_this, LimitExceededException.prototype);
268
- _this.Message = opts.Message;
269
- return _this;
259
+ }
260
+ export class LimitExceededException extends __BaseException {
261
+ constructor(opts) {
262
+ super({
263
+ name: "LimitExceededException",
264
+ $fault: "client",
265
+ ...opts,
266
+ });
267
+ this.name = "LimitExceededException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
270
+ this.Message = opts.Message;
270
271
  }
271
- return LimitExceededException;
272
- }(__BaseException));
273
- export { LimitExceededException };
274
- var TooManyLabelsException = (function (_super) {
275
- __extends(TooManyLabelsException, _super);
276
- function TooManyLabelsException(opts) {
277
- var _this = _super.call(this, __assign({ name: "TooManyLabelsException", $fault: "client" }, opts)) || this;
278
- _this.name = "TooManyLabelsException";
279
- _this.$fault = "client";
280
- Object.setPrototypeOf(_this, TooManyLabelsException.prototype);
281
- _this.Message = opts.Message;
282
- return _this;
272
+ }
273
+ export class TooManyLabelsException extends __BaseException {
274
+ constructor(opts) {
275
+ super({
276
+ name: "TooManyLabelsException",
277
+ $fault: "client",
278
+ ...opts,
279
+ });
280
+ this.name = "TooManyLabelsException";
281
+ this.$fault = "client";
282
+ Object.setPrototypeOf(this, TooManyLabelsException.prototype);
283
+ this.Message = opts.Message;
283
284
  }
284
- return TooManyLabelsException;
285
- }(__BaseException));
286
- export { TooManyLabelsException };
285
+ }
287
286
  export var SubscriptionProtocolType;
288
287
  (function (SubscriptionProtocolType) {
289
288
  SubscriptionProtocolType["HTTPS"] = "HTTPS";
@@ -292,45 +291,45 @@ export var SubscriptionType;
292
291
  (function (SubscriptionType) {
293
292
  SubscriptionType["ALL"] = "ALL";
294
293
  })(SubscriptionType || (SubscriptionType = {}));
295
- var TooManySubscriptionsException = (function (_super) {
296
- __extends(TooManySubscriptionsException, _super);
297
- function TooManySubscriptionsException(opts) {
298
- var _this = _super.call(this, __assign({ name: "TooManySubscriptionsException", $fault: "client" }, opts)) || this;
299
- _this.name = "TooManySubscriptionsException";
300
- _this.$fault = "client";
301
- Object.setPrototypeOf(_this, TooManySubscriptionsException.prototype);
302
- _this.Message = opts.Message;
303
- return _this;
294
+ export class TooManySubscriptionsException extends __BaseException {
295
+ constructor(opts) {
296
+ super({
297
+ name: "TooManySubscriptionsException",
298
+ $fault: "client",
299
+ ...opts,
300
+ });
301
+ this.name = "TooManySubscriptionsException";
302
+ this.$fault = "client";
303
+ Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
304
+ this.Message = opts.Message;
304
305
  }
305
- return TooManySubscriptionsException;
306
- }(__BaseException));
307
- export { TooManySubscriptionsException };
308
- var ConcurrentModificationException = (function (_super) {
309
- __extends(ConcurrentModificationException, _super);
310
- function ConcurrentModificationException(opts) {
311
- var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
312
- _this.name = "ConcurrentModificationException";
313
- _this.$fault = "client";
314
- Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
315
- _this.Message = opts.Message;
316
- return _this;
306
+ }
307
+ export class ConcurrentModificationException extends __BaseException {
308
+ constructor(opts) {
309
+ super({
310
+ name: "ConcurrentModificationException",
311
+ $fault: "client",
312
+ ...opts,
313
+ });
314
+ this.name = "ConcurrentModificationException";
315
+ this.$fault = "client";
316
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
317
+ this.Message = opts.Message;
317
318
  }
318
- return ConcurrentModificationException;
319
- }(__BaseException));
320
- export { ConcurrentModificationException };
321
- var InvalidArgumentException = (function (_super) {
322
- __extends(InvalidArgumentException, _super);
323
- function InvalidArgumentException(opts) {
324
- var _this = _super.call(this, __assign({ name: "InvalidArgumentException", $fault: "client" }, opts)) || this;
325
- _this.name = "InvalidArgumentException";
326
- _this.$fault = "client";
327
- Object.setPrototypeOf(_this, InvalidArgumentException.prototype);
328
- _this.Message = opts.Message;
329
- return _this;
319
+ }
320
+ export class InvalidArgumentException extends __BaseException {
321
+ constructor(opts) {
322
+ super({
323
+ name: "InvalidArgumentException",
324
+ $fault: "client",
325
+ ...opts,
326
+ });
327
+ this.name = "InvalidArgumentException";
328
+ this.$fault = "client";
329
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
330
+ this.Message = opts.Message;
330
331
  }
331
- return InvalidArgumentException;
332
- }(__BaseException));
333
- export { InvalidArgumentException };
332
+ }
334
333
  export var DocumentSourceType;
335
334
  (function (DocumentSourceType) {
336
335
  DocumentSourceType["ORIGINAL"] = "ORIGINAL";
@@ -381,231 +380,473 @@ export var UserSortType;
381
380
  UserSortType["USER_NAME"] = "USER_NAME";
382
381
  UserSortType["USER_STATUS"] = "USER_STATUS";
383
382
  })(UserSortType || (UserSortType = {}));
384
- var RequestedEntityTooLargeException = (function (_super) {
385
- __extends(RequestedEntityTooLargeException, _super);
386
- function RequestedEntityTooLargeException(opts) {
387
- var _this = _super.call(this, __assign({ name: "RequestedEntityTooLargeException", $fault: "client" }, opts)) || this;
388
- _this.name = "RequestedEntityTooLargeException";
389
- _this.$fault = "client";
390
- Object.setPrototypeOf(_this, RequestedEntityTooLargeException.prototype);
391
- _this.Message = opts.Message;
392
- return _this;
383
+ export class RequestedEntityTooLargeException extends __BaseException {
384
+ constructor(opts) {
385
+ super({
386
+ name: "RequestedEntityTooLargeException",
387
+ $fault: "client",
388
+ ...opts,
389
+ });
390
+ this.name = "RequestedEntityTooLargeException";
391
+ this.$fault = "client";
392
+ Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
393
+ this.Message = opts.Message;
393
394
  }
394
- return RequestedEntityTooLargeException;
395
- }(__BaseException));
396
- export { RequestedEntityTooLargeException };
397
- var InvalidPasswordException = (function (_super) {
398
- __extends(InvalidPasswordException, _super);
399
- function InvalidPasswordException(opts) {
400
- var _this = _super.call(this, __assign({ name: "InvalidPasswordException", $fault: "client" }, opts)) || this;
401
- _this.name = "InvalidPasswordException";
402
- _this.$fault = "client";
403
- Object.setPrototypeOf(_this, InvalidPasswordException.prototype);
404
- _this.Message = opts.Message;
405
- return _this;
395
+ }
396
+ export class InvalidPasswordException extends __BaseException {
397
+ constructor(opts) {
398
+ super({
399
+ name: "InvalidPasswordException",
400
+ $fault: "client",
401
+ ...opts,
402
+ });
403
+ this.name = "InvalidPasswordException";
404
+ this.$fault = "client";
405
+ Object.setPrototypeOf(this, InvalidPasswordException.prototype);
406
+ this.Message = opts.Message;
406
407
  }
407
- return InvalidPasswordException;
408
- }(__BaseException));
409
- export { InvalidPasswordException };
408
+ }
410
409
  export var ResourceCollectionType;
411
410
  (function (ResourceCollectionType) {
412
411
  ResourceCollectionType["SHARED_WITH_ME"] = "SHARED_WITH_ME";
413
412
  })(ResourceCollectionType || (ResourceCollectionType = {}));
414
- var DraftUploadOutOfSyncException = (function (_super) {
415
- __extends(DraftUploadOutOfSyncException, _super);
416
- function DraftUploadOutOfSyncException(opts) {
417
- var _this = _super.call(this, __assign({ name: "DraftUploadOutOfSyncException", $fault: "client" }, opts)) || this;
418
- _this.name = "DraftUploadOutOfSyncException";
419
- _this.$fault = "client";
420
- Object.setPrototypeOf(_this, DraftUploadOutOfSyncException.prototype);
421
- _this.Message = opts.Message;
422
- return _this;
413
+ export class DraftUploadOutOfSyncException extends __BaseException {
414
+ constructor(opts) {
415
+ super({
416
+ name: "DraftUploadOutOfSyncException",
417
+ $fault: "client",
418
+ ...opts,
419
+ });
420
+ this.name = "DraftUploadOutOfSyncException";
421
+ this.$fault = "client";
422
+ Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
423
+ this.Message = opts.Message;
423
424
  }
424
- return DraftUploadOutOfSyncException;
425
- }(__BaseException));
426
- export { DraftUploadOutOfSyncException };
427
- var ResourceAlreadyCheckedOutException = (function (_super) {
428
- __extends(ResourceAlreadyCheckedOutException, _super);
429
- function ResourceAlreadyCheckedOutException(opts) {
430
- var _this = _super.call(this, __assign({ name: "ResourceAlreadyCheckedOutException", $fault: "client" }, opts)) || this;
431
- _this.name = "ResourceAlreadyCheckedOutException";
432
- _this.$fault = "client";
433
- Object.setPrototypeOf(_this, ResourceAlreadyCheckedOutException.prototype);
434
- _this.Message = opts.Message;
435
- return _this;
425
+ }
426
+ export class ResourceAlreadyCheckedOutException extends __BaseException {
427
+ constructor(opts) {
428
+ super({
429
+ name: "ResourceAlreadyCheckedOutException",
430
+ $fault: "client",
431
+ ...opts,
432
+ });
433
+ this.name = "ResourceAlreadyCheckedOutException";
434
+ this.$fault = "client";
435
+ Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
436
+ this.Message = opts.Message;
436
437
  }
437
- return ResourceAlreadyCheckedOutException;
438
- }(__BaseException));
439
- export { ResourceAlreadyCheckedOutException };
440
- var StorageLimitExceededException = (function (_super) {
441
- __extends(StorageLimitExceededException, _super);
442
- function StorageLimitExceededException(opts) {
443
- var _this = _super.call(this, __assign({ name: "StorageLimitExceededException", $fault: "client" }, opts)) || this;
444
- _this.name = "StorageLimitExceededException";
445
- _this.$fault = "client";
446
- Object.setPrototypeOf(_this, StorageLimitExceededException.prototype);
447
- _this.Message = opts.Message;
448
- return _this;
438
+ }
439
+ export class StorageLimitExceededException extends __BaseException {
440
+ constructor(opts) {
441
+ super({
442
+ name: "StorageLimitExceededException",
443
+ $fault: "client",
444
+ ...opts,
445
+ });
446
+ this.name = "StorageLimitExceededException";
447
+ this.$fault = "client";
448
+ Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
449
+ this.Message = opts.Message;
449
450
  }
450
- return StorageLimitExceededException;
451
- }(__BaseException));
452
- export { StorageLimitExceededException };
453
- var StorageLimitWillExceedException = (function (_super) {
454
- __extends(StorageLimitWillExceedException, _super);
455
- function StorageLimitWillExceedException(opts) {
456
- var _this = _super.call(this, __assign({ name: "StorageLimitWillExceedException", $fault: "client" }, opts)) || this;
457
- _this.name = "StorageLimitWillExceedException";
458
- _this.$fault = "client";
459
- Object.setPrototypeOf(_this, StorageLimitWillExceedException.prototype);
460
- _this.Message = opts.Message;
461
- return _this;
451
+ }
452
+ export class StorageLimitWillExceedException extends __BaseException {
453
+ constructor(opts) {
454
+ super({
455
+ name: "StorageLimitWillExceedException",
456
+ $fault: "client",
457
+ ...opts,
458
+ });
459
+ this.name = "StorageLimitWillExceedException";
460
+ this.$fault = "client";
461
+ Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
462
+ this.Message = opts.Message;
462
463
  }
463
- return StorageLimitWillExceedException;
464
- }(__BaseException));
465
- export { StorageLimitWillExceedException };
466
- var InvalidOperationException = (function (_super) {
467
- __extends(InvalidOperationException, _super);
468
- function InvalidOperationException(opts) {
469
- var _this = _super.call(this, __assign({ name: "InvalidOperationException", $fault: "client" }, opts)) || this;
470
- _this.name = "InvalidOperationException";
471
- _this.$fault = "client";
472
- Object.setPrototypeOf(_this, InvalidOperationException.prototype);
473
- _this.Message = opts.Message;
474
- return _this;
464
+ }
465
+ export class InvalidOperationException extends __BaseException {
466
+ constructor(opts) {
467
+ super({
468
+ name: "InvalidOperationException",
469
+ $fault: "client",
470
+ ...opts,
471
+ });
472
+ this.name = "InvalidOperationException";
473
+ this.$fault = "client";
474
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
475
+ this.Message = opts.Message;
475
476
  }
476
- return InvalidOperationException;
477
- }(__BaseException));
478
- export { InvalidOperationException };
477
+ }
479
478
  export var DocumentVersionStatus;
480
479
  (function (DocumentVersionStatus) {
481
480
  DocumentVersionStatus["ACTIVE"] = "ACTIVE";
482
481
  })(DocumentVersionStatus || (DocumentVersionStatus = {}));
483
- var DeactivatingLastSystemUserException = (function (_super) {
484
- __extends(DeactivatingLastSystemUserException, _super);
485
- function DeactivatingLastSystemUserException(opts) {
486
- var _this = _super.call(this, __assign({ name: "DeactivatingLastSystemUserException", $fault: "client" }, opts)) || this;
487
- _this.name = "DeactivatingLastSystemUserException";
488
- _this.$fault = "client";
489
- Object.setPrototypeOf(_this, DeactivatingLastSystemUserException.prototype);
490
- _this.Message = opts.Message;
491
- _this.Code = opts.Code;
492
- return _this;
482
+ export class DeactivatingLastSystemUserException extends __BaseException {
483
+ constructor(opts) {
484
+ super({
485
+ name: "DeactivatingLastSystemUserException",
486
+ $fault: "client",
487
+ ...opts,
488
+ });
489
+ this.name = "DeactivatingLastSystemUserException";
490
+ this.$fault = "client";
491
+ Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
492
+ this.Message = opts.Message;
493
+ this.Code = opts.Code;
493
494
  }
494
- return DeactivatingLastSystemUserException;
495
- }(__BaseException));
496
- export { DeactivatingLastSystemUserException };
497
- var IllegalUserStateException = (function (_super) {
498
- __extends(IllegalUserStateException, _super);
499
- function IllegalUserStateException(opts) {
500
- var _this = _super.call(this, __assign({ name: "IllegalUserStateException", $fault: "client" }, opts)) || this;
501
- _this.name = "IllegalUserStateException";
502
- _this.$fault = "client";
503
- Object.setPrototypeOf(_this, IllegalUserStateException.prototype);
504
- _this.Message = opts.Message;
505
- return _this;
495
+ }
496
+ export class IllegalUserStateException extends __BaseException {
497
+ constructor(opts) {
498
+ super({
499
+ name: "IllegalUserStateException",
500
+ $fault: "client",
501
+ ...opts,
502
+ });
503
+ this.name = "IllegalUserStateException";
504
+ this.$fault = "client";
505
+ Object.setPrototypeOf(this, IllegalUserStateException.prototype);
506
+ this.Message = opts.Message;
506
507
  }
507
- return IllegalUserStateException;
508
- }(__BaseException));
509
- export { IllegalUserStateException };
508
+ }
510
509
  export var BooleanEnumType;
511
510
  (function (BooleanEnumType) {
512
511
  BooleanEnumType["FALSE"] = "FALSE";
513
512
  BooleanEnumType["TRUE"] = "TRUE";
514
513
  })(BooleanEnumType || (BooleanEnumType = {}));
515
- export var AbortDocumentVersionUploadRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
516
- export var ActivateUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
517
- export var StorageRuleTypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
518
- export var UserStorageMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
519
- export var UserFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
520
- export var ActivateUserResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
521
- export var CommentMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
522
- export var UserMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
523
- export var ResourceMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
524
- export var GroupMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
525
- export var ParticipantsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
526
- export var ActivityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
527
- export var NotificationOptionsFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.EmailMessage && { EmailMessage: SENSITIVE_STRING }))); };
528
- export var SharePrincipalFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
529
- export var AddResourcePermissionsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING })), (obj.NotificationOptions && {
530
- NotificationOptions: NotificationOptionsFilterSensitiveLog(obj.NotificationOptions),
531
- }))); };
532
- export var ShareResultFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.StatusMessage && { StatusMessage: SENSITIVE_STRING }))); };
533
- export var AddResourcePermissionsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ShareResults && { ShareResults: obj.ShareResults.map(function (item) { return ShareResultFilterSensitiveLog(item); }) }))); };
534
- export var CreateCommentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING })), (obj.Text && { Text: SENSITIVE_STRING }))); };
535
- export var CommentFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Text && { Text: SENSITIVE_STRING }))); };
536
- export var CreateCommentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Comment && { Comment: CommentFilterSensitiveLog(obj.Comment) }))); };
537
- export var CreateCustomMetadataRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
538
- export var CreateCustomMetadataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
539
- export var CreateFolderRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
540
- export var FolderMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
- export var CreateFolderResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
542
- export var CreateLabelsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
543
- export var CreateLabelsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
544
- export var CreateNotificationSubscriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
545
- export var SubscriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
546
- export var CreateNotificationSubscriptionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
547
- export var CreateUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING })), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
548
- export var CreateUserResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
549
- export var DeactivateUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
550
- export var DeleteCommentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
551
- export var DeleteCustomMetadataRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
552
- export var DeleteCustomMetadataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
553
- export var DeleteDocumentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
554
- export var DeleteFolderRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
555
- export var DeleteFolderContentsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
556
- export var DeleteLabelsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
557
- export var DeleteLabelsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
558
- export var DeleteNotificationSubscriptionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
559
- export var DeleteUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
560
- export var DescribeActivitiesRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
561
- export var DescribeActivitiesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
562
- export var DescribeCommentsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
563
- export var DescribeCommentsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Comments && { Comments: obj.Comments.map(function (item) { return CommentFilterSensitiveLog(item); }) }))); };
564
- export var DescribeDocumentVersionsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
565
- export var DocumentVersionMetadataFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Thumbnail && { Thumbnail: SENSITIVE_STRING })), (obj.Source && { Source: SENSITIVE_STRING }))); };
566
- export var DescribeDocumentVersionsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DocumentVersions && {
567
- DocumentVersions: obj.DocumentVersions.map(function (item) { return DocumentVersionMetadataFilterSensitiveLog(item); }),
568
- }))); };
569
- export var DescribeFolderContentsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
570
- export var DocumentMetadataFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.LatestVersionMetadata && {
571
- LatestVersionMetadata: DocumentVersionMetadataFilterSensitiveLog(obj.LatestVersionMetadata),
572
- }))); };
573
- export var DescribeFolderContentsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Documents && { Documents: obj.Documents.map(function (item) { return DocumentMetadataFilterSensitiveLog(item); }) }))); };
574
- export var DescribeGroupsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING })), (obj.SearchQuery && { SearchQuery: SENSITIVE_STRING }))); };
575
- export var DescribeGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
576
- export var DescribeNotificationSubscriptionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
577
- export var DescribeNotificationSubscriptionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
578
- export var DescribeResourcePermissionsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
579
- export var PermissionInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
580
- export var PrincipalFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
581
- export var DescribeResourcePermissionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
582
- export var DescribeRootFoldersRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
583
- export var DescribeRootFoldersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
584
- export var DescribeUsersRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING })), (obj.Query && { Query: SENSITIVE_STRING }))); };
585
- export var DescribeUsersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
586
- export var GetCurrentUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
587
- export var GetCurrentUserResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
588
- export var GetDocumentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
589
- export var GetDocumentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Metadata && { Metadata: DocumentMetadataFilterSensitiveLog(obj.Metadata) }))); };
590
- export var GetDocumentPathRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
591
- export var ResourcePathComponentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
592
- export var ResourcePathFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
593
- export var GetDocumentPathResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
594
- export var GetDocumentVersionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
595
- export var GetDocumentVersionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Metadata && { Metadata: DocumentVersionMetadataFilterSensitiveLog(obj.Metadata) }))); };
596
- export var GetFolderRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
597
- export var GetFolderResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
598
- export var GetFolderPathRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
599
- export var GetFolderPathResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
600
- export var GetResourcesRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
601
- export var GetResourcesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Documents && { Documents: obj.Documents.map(function (item) { return DocumentMetadataFilterSensitiveLog(item); }) }))); };
602
- export var InitiateDocumentVersionUploadRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
603
- export var UploadMetadataFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.UploadUrl && { UploadUrl: SENSITIVE_STRING }))); };
604
- export var InitiateDocumentVersionUploadResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Metadata && { Metadata: DocumentMetadataFilterSensitiveLog(obj.Metadata) })), (obj.UploadMetadata && { UploadMetadata: UploadMetadataFilterSensitiveLog(obj.UploadMetadata) }))); };
605
- export var RemoveAllResourcePermissionsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
606
- export var RemoveResourcePermissionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
607
- export var UpdateDocumentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
608
- export var UpdateDocumentVersionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
609
- export var UpdateFolderRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
610
- export var UpdateUserRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
611
- export var UpdateUserResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
514
+ export const AbortDocumentVersionUploadRequestFilterSensitiveLog = (obj) => ({
515
+ ...obj,
516
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
517
+ });
518
+ export const ActivateUserRequestFilterSensitiveLog = (obj) => ({
519
+ ...obj,
520
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
521
+ });
522
+ export const StorageRuleTypeFilterSensitiveLog = (obj) => ({
523
+ ...obj,
524
+ });
525
+ export const UserStorageMetadataFilterSensitiveLog = (obj) => ({
526
+ ...obj,
527
+ });
528
+ export const UserFilterSensitiveLog = (obj) => ({
529
+ ...obj,
530
+ });
531
+ export const ActivateUserResponseFilterSensitiveLog = (obj) => ({
532
+ ...obj,
533
+ });
534
+ export const CommentMetadataFilterSensitiveLog = (obj) => ({
535
+ ...obj,
536
+ });
537
+ export const UserMetadataFilterSensitiveLog = (obj) => ({
538
+ ...obj,
539
+ });
540
+ export const ResourceMetadataFilterSensitiveLog = (obj) => ({
541
+ ...obj,
542
+ });
543
+ export const GroupMetadataFilterSensitiveLog = (obj) => ({
544
+ ...obj,
545
+ });
546
+ export const ParticipantsFilterSensitiveLog = (obj) => ({
547
+ ...obj,
548
+ });
549
+ export const ActivityFilterSensitiveLog = (obj) => ({
550
+ ...obj,
551
+ });
552
+ export const NotificationOptionsFilterSensitiveLog = (obj) => ({
553
+ ...obj,
554
+ ...(obj.EmailMessage && { EmailMessage: SENSITIVE_STRING }),
555
+ });
556
+ export const SharePrincipalFilterSensitiveLog = (obj) => ({
557
+ ...obj,
558
+ });
559
+ export const AddResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
560
+ ...obj,
561
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
562
+ ...(obj.NotificationOptions && {
563
+ NotificationOptions: NotificationOptionsFilterSensitiveLog(obj.NotificationOptions),
564
+ }),
565
+ });
566
+ export const ShareResultFilterSensitiveLog = (obj) => ({
567
+ ...obj,
568
+ ...(obj.StatusMessage && { StatusMessage: SENSITIVE_STRING }),
569
+ });
570
+ export const AddResourcePermissionsResponseFilterSensitiveLog = (obj) => ({
571
+ ...obj,
572
+ ...(obj.ShareResults && { ShareResults: obj.ShareResults.map((item) => ShareResultFilterSensitiveLog(item)) }),
573
+ });
574
+ export const CreateCommentRequestFilterSensitiveLog = (obj) => ({
575
+ ...obj,
576
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
577
+ ...(obj.Text && { Text: SENSITIVE_STRING }),
578
+ });
579
+ export const CommentFilterSensitiveLog = (obj) => ({
580
+ ...obj,
581
+ ...(obj.Text && { Text: SENSITIVE_STRING }),
582
+ });
583
+ export const CreateCommentResponseFilterSensitiveLog = (obj) => ({
584
+ ...obj,
585
+ ...(obj.Comment && { Comment: CommentFilterSensitiveLog(obj.Comment) }),
586
+ });
587
+ export const CreateCustomMetadataRequestFilterSensitiveLog = (obj) => ({
588
+ ...obj,
589
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
590
+ });
591
+ export const CreateCustomMetadataResponseFilterSensitiveLog = (obj) => ({
592
+ ...obj,
593
+ });
594
+ export const CreateFolderRequestFilterSensitiveLog = (obj) => ({
595
+ ...obj,
596
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
597
+ });
598
+ export const FolderMetadataFilterSensitiveLog = (obj) => ({
599
+ ...obj,
600
+ });
601
+ export const CreateFolderResponseFilterSensitiveLog = (obj) => ({
602
+ ...obj,
603
+ });
604
+ export const CreateLabelsRequestFilterSensitiveLog = (obj) => ({
605
+ ...obj,
606
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
607
+ });
608
+ export const CreateLabelsResponseFilterSensitiveLog = (obj) => ({
609
+ ...obj,
610
+ });
611
+ export const CreateNotificationSubscriptionRequestFilterSensitiveLog = (obj) => ({
612
+ ...obj,
613
+ });
614
+ export const SubscriptionFilterSensitiveLog = (obj) => ({
615
+ ...obj,
616
+ });
617
+ export const CreateNotificationSubscriptionResponseFilterSensitiveLog = (obj) => ({
618
+ ...obj,
619
+ });
620
+ export const CreateUserRequestFilterSensitiveLog = (obj) => ({
621
+ ...obj,
622
+ ...(obj.Password && { Password: SENSITIVE_STRING }),
623
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
624
+ });
625
+ export const CreateUserResponseFilterSensitiveLog = (obj) => ({
626
+ ...obj,
627
+ });
628
+ export const DeactivateUserRequestFilterSensitiveLog = (obj) => ({
629
+ ...obj,
630
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
631
+ });
632
+ export const DeleteCommentRequestFilterSensitiveLog = (obj) => ({
633
+ ...obj,
634
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
635
+ });
636
+ export const DeleteCustomMetadataRequestFilterSensitiveLog = (obj) => ({
637
+ ...obj,
638
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
639
+ });
640
+ export const DeleteCustomMetadataResponseFilterSensitiveLog = (obj) => ({
641
+ ...obj,
642
+ });
643
+ export const DeleteDocumentRequestFilterSensitiveLog = (obj) => ({
644
+ ...obj,
645
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
646
+ });
647
+ export const DeleteFolderRequestFilterSensitiveLog = (obj) => ({
648
+ ...obj,
649
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
650
+ });
651
+ export const DeleteFolderContentsRequestFilterSensitiveLog = (obj) => ({
652
+ ...obj,
653
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
654
+ });
655
+ export const DeleteLabelsRequestFilterSensitiveLog = (obj) => ({
656
+ ...obj,
657
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
658
+ });
659
+ export const DeleteLabelsResponseFilterSensitiveLog = (obj) => ({
660
+ ...obj,
661
+ });
662
+ export const DeleteNotificationSubscriptionRequestFilterSensitiveLog = (obj) => ({
663
+ ...obj,
664
+ });
665
+ export const DeleteUserRequestFilterSensitiveLog = (obj) => ({
666
+ ...obj,
667
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
668
+ });
669
+ export const DescribeActivitiesRequestFilterSensitiveLog = (obj) => ({
670
+ ...obj,
671
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
672
+ });
673
+ export const DescribeActivitiesResponseFilterSensitiveLog = (obj) => ({
674
+ ...obj,
675
+ });
676
+ export const DescribeCommentsRequestFilterSensitiveLog = (obj) => ({
677
+ ...obj,
678
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
679
+ });
680
+ export const DescribeCommentsResponseFilterSensitiveLog = (obj) => ({
681
+ ...obj,
682
+ ...(obj.Comments && { Comments: obj.Comments.map((item) => CommentFilterSensitiveLog(item)) }),
683
+ });
684
+ export const DescribeDocumentVersionsRequestFilterSensitiveLog = (obj) => ({
685
+ ...obj,
686
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
687
+ });
688
+ export const DocumentVersionMetadataFilterSensitiveLog = (obj) => ({
689
+ ...obj,
690
+ ...(obj.Thumbnail && { Thumbnail: SENSITIVE_STRING }),
691
+ ...(obj.Source && { Source: SENSITIVE_STRING }),
692
+ });
693
+ export const DescribeDocumentVersionsResponseFilterSensitiveLog = (obj) => ({
694
+ ...obj,
695
+ ...(obj.DocumentVersions && {
696
+ DocumentVersions: obj.DocumentVersions.map((item) => DocumentVersionMetadataFilterSensitiveLog(item)),
697
+ }),
698
+ });
699
+ export const DescribeFolderContentsRequestFilterSensitiveLog = (obj) => ({
700
+ ...obj,
701
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
702
+ });
703
+ export const DocumentMetadataFilterSensitiveLog = (obj) => ({
704
+ ...obj,
705
+ ...(obj.LatestVersionMetadata && {
706
+ LatestVersionMetadata: DocumentVersionMetadataFilterSensitiveLog(obj.LatestVersionMetadata),
707
+ }),
708
+ });
709
+ export const DescribeFolderContentsResponseFilterSensitiveLog = (obj) => ({
710
+ ...obj,
711
+ ...(obj.Documents && { Documents: obj.Documents.map((item) => DocumentMetadataFilterSensitiveLog(item)) }),
712
+ });
713
+ export const DescribeGroupsRequestFilterSensitiveLog = (obj) => ({
714
+ ...obj,
715
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
716
+ ...(obj.SearchQuery && { SearchQuery: SENSITIVE_STRING }),
717
+ });
718
+ export const DescribeGroupsResponseFilterSensitiveLog = (obj) => ({
719
+ ...obj,
720
+ });
721
+ export const DescribeNotificationSubscriptionsRequestFilterSensitiveLog = (obj) => ({
722
+ ...obj,
723
+ });
724
+ export const DescribeNotificationSubscriptionsResponseFilterSensitiveLog = (obj) => ({
725
+ ...obj,
726
+ });
727
+ export const DescribeResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
728
+ ...obj,
729
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
730
+ });
731
+ export const PermissionInfoFilterSensitiveLog = (obj) => ({
732
+ ...obj,
733
+ });
734
+ export const PrincipalFilterSensitiveLog = (obj) => ({
735
+ ...obj,
736
+ });
737
+ export const DescribeResourcePermissionsResponseFilterSensitiveLog = (obj) => ({
738
+ ...obj,
739
+ });
740
+ export const DescribeRootFoldersRequestFilterSensitiveLog = (obj) => ({
741
+ ...obj,
742
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
743
+ });
744
+ export const DescribeRootFoldersResponseFilterSensitiveLog = (obj) => ({
745
+ ...obj,
746
+ });
747
+ export const DescribeUsersRequestFilterSensitiveLog = (obj) => ({
748
+ ...obj,
749
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
750
+ ...(obj.Query && { Query: SENSITIVE_STRING }),
751
+ });
752
+ export const DescribeUsersResponseFilterSensitiveLog = (obj) => ({
753
+ ...obj,
754
+ });
755
+ export const GetCurrentUserRequestFilterSensitiveLog = (obj) => ({
756
+ ...obj,
757
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
758
+ });
759
+ export const GetCurrentUserResponseFilterSensitiveLog = (obj) => ({
760
+ ...obj,
761
+ });
762
+ export const GetDocumentRequestFilterSensitiveLog = (obj) => ({
763
+ ...obj,
764
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
765
+ });
766
+ export const GetDocumentResponseFilterSensitiveLog = (obj) => ({
767
+ ...obj,
768
+ ...(obj.Metadata && { Metadata: DocumentMetadataFilterSensitiveLog(obj.Metadata) }),
769
+ });
770
+ export const GetDocumentPathRequestFilterSensitiveLog = (obj) => ({
771
+ ...obj,
772
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
773
+ });
774
+ export const ResourcePathComponentFilterSensitiveLog = (obj) => ({
775
+ ...obj,
776
+ });
777
+ export const ResourcePathFilterSensitiveLog = (obj) => ({
778
+ ...obj,
779
+ });
780
+ export const GetDocumentPathResponseFilterSensitiveLog = (obj) => ({
781
+ ...obj,
782
+ });
783
+ export const GetDocumentVersionRequestFilterSensitiveLog = (obj) => ({
784
+ ...obj,
785
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
786
+ });
787
+ export const GetDocumentVersionResponseFilterSensitiveLog = (obj) => ({
788
+ ...obj,
789
+ ...(obj.Metadata && { Metadata: DocumentVersionMetadataFilterSensitiveLog(obj.Metadata) }),
790
+ });
791
+ export const GetFolderRequestFilterSensitiveLog = (obj) => ({
792
+ ...obj,
793
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
794
+ });
795
+ export const GetFolderResponseFilterSensitiveLog = (obj) => ({
796
+ ...obj,
797
+ });
798
+ export const GetFolderPathRequestFilterSensitiveLog = (obj) => ({
799
+ ...obj,
800
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
801
+ });
802
+ export const GetFolderPathResponseFilterSensitiveLog = (obj) => ({
803
+ ...obj,
804
+ });
805
+ export const GetResourcesRequestFilterSensitiveLog = (obj) => ({
806
+ ...obj,
807
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
808
+ });
809
+ export const GetResourcesResponseFilterSensitiveLog = (obj) => ({
810
+ ...obj,
811
+ ...(obj.Documents && { Documents: obj.Documents.map((item) => DocumentMetadataFilterSensitiveLog(item)) }),
812
+ });
813
+ export const InitiateDocumentVersionUploadRequestFilterSensitiveLog = (obj) => ({
814
+ ...obj,
815
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
816
+ });
817
+ export const UploadMetadataFilterSensitiveLog = (obj) => ({
818
+ ...obj,
819
+ ...(obj.UploadUrl && { UploadUrl: SENSITIVE_STRING }),
820
+ });
821
+ export const InitiateDocumentVersionUploadResponseFilterSensitiveLog = (obj) => ({
822
+ ...obj,
823
+ ...(obj.Metadata && { Metadata: DocumentMetadataFilterSensitiveLog(obj.Metadata) }),
824
+ ...(obj.UploadMetadata && { UploadMetadata: UploadMetadataFilterSensitiveLog(obj.UploadMetadata) }),
825
+ });
826
+ export const RemoveAllResourcePermissionsRequestFilterSensitiveLog = (obj) => ({
827
+ ...obj,
828
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
829
+ });
830
+ export const RemoveResourcePermissionRequestFilterSensitiveLog = (obj) => ({
831
+ ...obj,
832
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
833
+ });
834
+ export const UpdateDocumentRequestFilterSensitiveLog = (obj) => ({
835
+ ...obj,
836
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
837
+ });
838
+ export const UpdateDocumentVersionRequestFilterSensitiveLog = (obj) => ({
839
+ ...obj,
840
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
841
+ });
842
+ export const UpdateFolderRequestFilterSensitiveLog = (obj) => ({
843
+ ...obj,
844
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
845
+ });
846
+ export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
847
+ ...obj,
848
+ ...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
849
+ });
850
+ export const UpdateUserResponseFilterSensitiveLog = (obj) => ({
851
+ ...obj,
852
+ });