@aws-sdk/client-workdocs 3.50.0 → 3.53.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 (72) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/WorkDocsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +357 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +597 -2109
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/WorkDocsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +330 -1
  9. package/dist-es/protocols/Aws_restJson1.js +1127 -2299
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/WorkDocsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +177 -76
  13. package/dist-types/ts3.4/WorkDocs.d.ts +210 -0
  14. package/dist-types/ts3.4/WorkDocsClient.d.ts +114 -0
  15. package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +41 -0
  57. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  58. package/dist-types/ts3.4/index.d.ts +6 -0
  59. package/dist-types/ts3.4/models/WorkDocsServiceException.d.ts +6 -0
  60. package/dist-types/ts3.4/models/index.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +1622 -0
  62. package/dist-types/ts3.4/pagination/DescribeDocumentVersionsPaginator.d.ts +4 -0
  63. package/dist-types/ts3.4/pagination/DescribeFolderContentsPaginator.d.ts +4 -0
  64. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +4 -0
  65. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  72. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./WorkDocsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { WorkDocsServiceException } from "./models/WorkDocsServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var WorkDocsServiceException = (function (_super) {
4
+ __extends(WorkDocsServiceException, _super);
5
+ function WorkDocsServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, WorkDocsServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return WorkDocsServiceException;
11
+ }(__ServiceException));
12
+ export { WorkDocsServiceException };
@@ -1,9 +1,90 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
3
4
  export var AbortDocumentVersionUploadRequest;
4
5
  (function (AbortDocumentVersionUploadRequest) {
5
6
  AbortDocumentVersionUploadRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
6
7
  })(AbortDocumentVersionUploadRequest || (AbortDocumentVersionUploadRequest = {}));
8
+ var EntityNotExistsException = (function (_super) {
9
+ __extends(EntityNotExistsException, _super);
10
+ function EntityNotExistsException(opts) {
11
+ var _this = _super.call(this, __assign({ name: "EntityNotExistsException", $fault: "client" }, opts)) || this;
12
+ _this.name = "EntityNotExistsException";
13
+ _this.$fault = "client";
14
+ Object.setPrototypeOf(_this, EntityNotExistsException.prototype);
15
+ _this.Message = opts.Message;
16
+ _this.EntityIds = opts.EntityIds;
17
+ return _this;
18
+ }
19
+ return EntityNotExistsException;
20
+ }(__BaseException));
21
+ export { EntityNotExistsException };
22
+ var FailedDependencyException = (function (_super) {
23
+ __extends(FailedDependencyException, _super);
24
+ function FailedDependencyException(opts) {
25
+ var _this = _super.call(this, __assign({ name: "FailedDependencyException", $fault: "client" }, opts)) || this;
26
+ _this.name = "FailedDependencyException";
27
+ _this.$fault = "client";
28
+ Object.setPrototypeOf(_this, FailedDependencyException.prototype);
29
+ _this.Message = opts.Message;
30
+ return _this;
31
+ }
32
+ return FailedDependencyException;
33
+ }(__BaseException));
34
+ export { FailedDependencyException };
35
+ var ProhibitedStateException = (function (_super) {
36
+ __extends(ProhibitedStateException, _super);
37
+ function ProhibitedStateException(opts) {
38
+ var _this = _super.call(this, __assign({ name: "ProhibitedStateException", $fault: "client" }, opts)) || this;
39
+ _this.name = "ProhibitedStateException";
40
+ _this.$fault = "client";
41
+ Object.setPrototypeOf(_this, ProhibitedStateException.prototype);
42
+ _this.Message = opts.Message;
43
+ return _this;
44
+ }
45
+ return ProhibitedStateException;
46
+ }(__BaseException));
47
+ export { ProhibitedStateException };
48
+ var ServiceUnavailableException = (function (_super) {
49
+ __extends(ServiceUnavailableException, _super);
50
+ function ServiceUnavailableException(opts) {
51
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
52
+ _this.name = "ServiceUnavailableException";
53
+ _this.$fault = "server";
54
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
55
+ _this.Message = opts.Message;
56
+ return _this;
57
+ }
58
+ return ServiceUnavailableException;
59
+ }(__BaseException));
60
+ export { ServiceUnavailableException };
61
+ var UnauthorizedOperationException = (function (_super) {
62
+ __extends(UnauthorizedOperationException, _super);
63
+ function UnauthorizedOperationException(opts) {
64
+ var _this = _super.call(this, __assign({ name: "UnauthorizedOperationException", $fault: "client" }, opts)) || this;
65
+ _this.name = "UnauthorizedOperationException";
66
+ _this.$fault = "client";
67
+ Object.setPrototypeOf(_this, UnauthorizedOperationException.prototype);
68
+ _this.Message = opts.Message;
69
+ _this.Code = opts.Code;
70
+ return _this;
71
+ }
72
+ return UnauthorizedOperationException;
73
+ }(__BaseException));
74
+ export { UnauthorizedOperationException };
75
+ var UnauthorizedResourceAccessException = (function (_super) {
76
+ __extends(UnauthorizedResourceAccessException, _super);
77
+ function UnauthorizedResourceAccessException(opts) {
78
+ var _this = _super.call(this, __assign({ name: "UnauthorizedResourceAccessException", $fault: "client" }, opts)) || this;
79
+ _this.name = "UnauthorizedResourceAccessException";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, UnauthorizedResourceAccessException.prototype);
82
+ _this.Message = opts.Message;
83
+ return _this;
84
+ }
85
+ return UnauthorizedResourceAccessException;
86
+ }(__BaseException));
87
+ export { UnauthorizedResourceAccessException };
7
88
  export var ActivateUserRequest;
8
89
  (function (ActivateUserRequest) {
9
90
  ActivateUserRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -187,6 +268,32 @@ export var CreateCommentResponse;
187
268
  (function (CreateCommentResponse) {
188
269
  CreateCommentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Comment && { Comment: Comment.filterSensitiveLog(obj.Comment) }))); };
189
270
  })(CreateCommentResponse || (CreateCommentResponse = {}));
271
+ var DocumentLockedForCommentsException = (function (_super) {
272
+ __extends(DocumentLockedForCommentsException, _super);
273
+ function DocumentLockedForCommentsException(opts) {
274
+ var _this = _super.call(this, __assign({ name: "DocumentLockedForCommentsException", $fault: "client" }, opts)) || this;
275
+ _this.name = "DocumentLockedForCommentsException";
276
+ _this.$fault = "client";
277
+ Object.setPrototypeOf(_this, DocumentLockedForCommentsException.prototype);
278
+ _this.Message = opts.Message;
279
+ return _this;
280
+ }
281
+ return DocumentLockedForCommentsException;
282
+ }(__BaseException));
283
+ export { DocumentLockedForCommentsException };
284
+ var InvalidCommentOperationException = (function (_super) {
285
+ __extends(InvalidCommentOperationException, _super);
286
+ function InvalidCommentOperationException(opts) {
287
+ var _this = _super.call(this, __assign({ name: "InvalidCommentOperationException", $fault: "client" }, opts)) || this;
288
+ _this.name = "InvalidCommentOperationException";
289
+ _this.$fault = "client";
290
+ Object.setPrototypeOf(_this, InvalidCommentOperationException.prototype);
291
+ _this.Message = opts.Message;
292
+ return _this;
293
+ }
294
+ return InvalidCommentOperationException;
295
+ }(__BaseException));
296
+ export { InvalidCommentOperationException };
190
297
  export var CreateCustomMetadataRequest;
191
298
  (function (CreateCustomMetadataRequest) {
192
299
  CreateCustomMetadataRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -195,6 +302,32 @@ export var CreateCustomMetadataResponse;
195
302
  (function (CreateCustomMetadataResponse) {
196
303
  CreateCustomMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
197
304
  })(CreateCustomMetadataResponse || (CreateCustomMetadataResponse = {}));
305
+ var CustomMetadataLimitExceededException = (function (_super) {
306
+ __extends(CustomMetadataLimitExceededException, _super);
307
+ function CustomMetadataLimitExceededException(opts) {
308
+ var _this = _super.call(this, __assign({ name: "CustomMetadataLimitExceededException", $fault: "client" }, opts)) || this;
309
+ _this.name = "CustomMetadataLimitExceededException";
310
+ _this.$fault = "client";
311
+ Object.setPrototypeOf(_this, CustomMetadataLimitExceededException.prototype);
312
+ _this.Message = opts.Message;
313
+ return _this;
314
+ }
315
+ return CustomMetadataLimitExceededException;
316
+ }(__BaseException));
317
+ export { CustomMetadataLimitExceededException };
318
+ var ConflictingOperationException = (function (_super) {
319
+ __extends(ConflictingOperationException, _super);
320
+ function ConflictingOperationException(opts) {
321
+ var _this = _super.call(this, __assign({ name: "ConflictingOperationException", $fault: "client" }, opts)) || this;
322
+ _this.name = "ConflictingOperationException";
323
+ _this.$fault = "client";
324
+ Object.setPrototypeOf(_this, ConflictingOperationException.prototype);
325
+ _this.Message = opts.Message;
326
+ return _this;
327
+ }
328
+ return ConflictingOperationException;
329
+ }(__BaseException));
330
+ export { ConflictingOperationException };
198
331
  export var CreateFolderRequest;
199
332
  (function (CreateFolderRequest) {
200
333
  CreateFolderRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -214,6 +347,32 @@ export var CreateFolderResponse;
214
347
  (function (CreateFolderResponse) {
215
348
  CreateFolderResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
349
  })(CreateFolderResponse || (CreateFolderResponse = {}));
350
+ var EntityAlreadyExistsException = (function (_super) {
351
+ __extends(EntityAlreadyExistsException, _super);
352
+ function EntityAlreadyExistsException(opts) {
353
+ var _this = _super.call(this, __assign({ name: "EntityAlreadyExistsException", $fault: "client" }, opts)) || this;
354
+ _this.name = "EntityAlreadyExistsException";
355
+ _this.$fault = "client";
356
+ Object.setPrototypeOf(_this, EntityAlreadyExistsException.prototype);
357
+ _this.Message = opts.Message;
358
+ return _this;
359
+ }
360
+ return EntityAlreadyExistsException;
361
+ }(__BaseException));
362
+ export { EntityAlreadyExistsException };
363
+ var LimitExceededException = (function (_super) {
364
+ __extends(LimitExceededException, _super);
365
+ function LimitExceededException(opts) {
366
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
367
+ _this.name = "LimitExceededException";
368
+ _this.$fault = "client";
369
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
370
+ _this.Message = opts.Message;
371
+ return _this;
372
+ }
373
+ return LimitExceededException;
374
+ }(__BaseException));
375
+ export { LimitExceededException };
217
376
  export var CreateLabelsRequest;
218
377
  (function (CreateLabelsRequest) {
219
378
  CreateLabelsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -222,6 +381,19 @@ export var CreateLabelsResponse;
222
381
  (function (CreateLabelsResponse) {
223
382
  CreateLabelsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
224
383
  })(CreateLabelsResponse || (CreateLabelsResponse = {}));
384
+ var TooManyLabelsException = (function (_super) {
385
+ __extends(TooManyLabelsException, _super);
386
+ function TooManyLabelsException(opts) {
387
+ var _this = _super.call(this, __assign({ name: "TooManyLabelsException", $fault: "client" }, opts)) || this;
388
+ _this.name = "TooManyLabelsException";
389
+ _this.$fault = "client";
390
+ Object.setPrototypeOf(_this, TooManyLabelsException.prototype);
391
+ _this.Message = opts.Message;
392
+ return _this;
393
+ }
394
+ return TooManyLabelsException;
395
+ }(__BaseException));
396
+ export { TooManyLabelsException };
225
397
  export var SubscriptionProtocolType;
226
398
  (function (SubscriptionProtocolType) {
227
399
  SubscriptionProtocolType["HTTPS"] = "HTTPS";
@@ -242,6 +414,19 @@ export var CreateNotificationSubscriptionResponse;
242
414
  (function (CreateNotificationSubscriptionResponse) {
243
415
  CreateNotificationSubscriptionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
244
416
  })(CreateNotificationSubscriptionResponse || (CreateNotificationSubscriptionResponse = {}));
417
+ var TooManySubscriptionsException = (function (_super) {
418
+ __extends(TooManySubscriptionsException, _super);
419
+ function TooManySubscriptionsException(opts) {
420
+ var _this = _super.call(this, __assign({ name: "TooManySubscriptionsException", $fault: "client" }, opts)) || this;
421
+ _this.name = "TooManySubscriptionsException";
422
+ _this.$fault = "client";
423
+ Object.setPrototypeOf(_this, TooManySubscriptionsException.prototype);
424
+ _this.Message = opts.Message;
425
+ return _this;
426
+ }
427
+ return TooManySubscriptionsException;
428
+ }(__BaseException));
429
+ export { TooManySubscriptionsException };
245
430
  export var CreateUserRequest;
246
431
  (function (CreateUserRequest) {
247
432
  CreateUserRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING })), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -266,6 +451,19 @@ export var DeleteCustomMetadataResponse;
266
451
  (function (DeleteCustomMetadataResponse) {
267
452
  DeleteCustomMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
268
453
  })(DeleteCustomMetadataResponse || (DeleteCustomMetadataResponse = {}));
454
+ var ConcurrentModificationException = (function (_super) {
455
+ __extends(ConcurrentModificationException, _super);
456
+ function ConcurrentModificationException(opts) {
457
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
458
+ _this.name = "ConcurrentModificationException";
459
+ _this.$fault = "client";
460
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
461
+ _this.Message = opts.Message;
462
+ return _this;
463
+ }
464
+ return ConcurrentModificationException;
465
+ }(__BaseException));
466
+ export { ConcurrentModificationException };
269
467
  export var DeleteDocumentRequest;
270
468
  (function (DeleteDocumentRequest) {
271
469
  DeleteDocumentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -302,6 +500,19 @@ export var DescribeActivitiesResponse;
302
500
  (function (DescribeActivitiesResponse) {
303
501
  DescribeActivitiesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
304
502
  })(DescribeActivitiesResponse || (DescribeActivitiesResponse = {}));
503
+ var InvalidArgumentException = (function (_super) {
504
+ __extends(InvalidArgumentException, _super);
505
+ function InvalidArgumentException(opts) {
506
+ var _this = _super.call(this, __assign({ name: "InvalidArgumentException", $fault: "client" }, opts)) || this;
507
+ _this.name = "InvalidArgumentException";
508
+ _this.$fault = "client";
509
+ Object.setPrototypeOf(_this, InvalidArgumentException.prototype);
510
+ _this.Message = opts.Message;
511
+ return _this;
512
+ }
513
+ return InvalidArgumentException;
514
+ }(__BaseException));
515
+ export { InvalidArgumentException };
305
516
  export var DescribeCommentsRequest;
306
517
  (function (DescribeCommentsRequest) {
307
518
  DescribeCommentsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -436,6 +647,19 @@ export var DescribeUsersResponse;
436
647
  (function (DescribeUsersResponse) {
437
648
  DescribeUsersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
438
649
  })(DescribeUsersResponse || (DescribeUsersResponse = {}));
650
+ var RequestedEntityTooLargeException = (function (_super) {
651
+ __extends(RequestedEntityTooLargeException, _super);
652
+ function RequestedEntityTooLargeException(opts) {
653
+ var _this = _super.call(this, __assign({ name: "RequestedEntityTooLargeException", $fault: "client" }, opts)) || this;
654
+ _this.name = "RequestedEntityTooLargeException";
655
+ _this.$fault = "client";
656
+ Object.setPrototypeOf(_this, RequestedEntityTooLargeException.prototype);
657
+ _this.Message = opts.Message;
658
+ return _this;
659
+ }
660
+ return RequestedEntityTooLargeException;
661
+ }(__BaseException));
662
+ export { RequestedEntityTooLargeException };
439
663
  export var GetCurrentUserRequest;
440
664
  (function (GetCurrentUserRequest) {
441
665
  GetCurrentUserRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -452,6 +676,19 @@ export var GetDocumentResponse;
452
676
  (function (GetDocumentResponse) {
453
677
  GetDocumentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Metadata && { Metadata: DocumentMetadata.filterSensitiveLog(obj.Metadata) }))); };
454
678
  })(GetDocumentResponse || (GetDocumentResponse = {}));
679
+ var InvalidPasswordException = (function (_super) {
680
+ __extends(InvalidPasswordException, _super);
681
+ function InvalidPasswordException(opts) {
682
+ var _this = _super.call(this, __assign({ name: "InvalidPasswordException", $fault: "client" }, opts)) || this;
683
+ _this.name = "InvalidPasswordException";
684
+ _this.$fault = "client";
685
+ Object.setPrototypeOf(_this, InvalidPasswordException.prototype);
686
+ _this.Message = opts.Message;
687
+ return _this;
688
+ }
689
+ return InvalidPasswordException;
690
+ }(__BaseException));
691
+ export { InvalidPasswordException };
455
692
  export var GetDocumentPathRequest;
456
693
  (function (GetDocumentPathRequest) {
457
694
  GetDocumentPathRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -504,6 +741,19 @@ export var GetResourcesResponse;
504
741
  (function (GetResourcesResponse) {
505
742
  GetResourcesResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Documents && { Documents: obj.Documents.map(function (item) { return DocumentMetadata.filterSensitiveLog(item); }) }))); };
506
743
  })(GetResourcesResponse || (GetResourcesResponse = {}));
744
+ var DraftUploadOutOfSyncException = (function (_super) {
745
+ __extends(DraftUploadOutOfSyncException, _super);
746
+ function DraftUploadOutOfSyncException(opts) {
747
+ var _this = _super.call(this, __assign({ name: "DraftUploadOutOfSyncException", $fault: "client" }, opts)) || this;
748
+ _this.name = "DraftUploadOutOfSyncException";
749
+ _this.$fault = "client";
750
+ Object.setPrototypeOf(_this, DraftUploadOutOfSyncException.prototype);
751
+ _this.Message = opts.Message;
752
+ return _this;
753
+ }
754
+ return DraftUploadOutOfSyncException;
755
+ }(__BaseException));
756
+ export { DraftUploadOutOfSyncException };
507
757
  export var InitiateDocumentVersionUploadRequest;
508
758
  (function (InitiateDocumentVersionUploadRequest) {
509
759
  InitiateDocumentVersionUploadRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -516,6 +766,45 @@ export var InitiateDocumentVersionUploadResponse;
516
766
  (function (InitiateDocumentVersionUploadResponse) {
517
767
  InitiateDocumentVersionUploadResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Metadata && { Metadata: DocumentMetadata.filterSensitiveLog(obj.Metadata) })), (obj.UploadMetadata && { UploadMetadata: UploadMetadata.filterSensitiveLog(obj.UploadMetadata) }))); };
518
768
  })(InitiateDocumentVersionUploadResponse || (InitiateDocumentVersionUploadResponse = {}));
769
+ var ResourceAlreadyCheckedOutException = (function (_super) {
770
+ __extends(ResourceAlreadyCheckedOutException, _super);
771
+ function ResourceAlreadyCheckedOutException(opts) {
772
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyCheckedOutException", $fault: "client" }, opts)) || this;
773
+ _this.name = "ResourceAlreadyCheckedOutException";
774
+ _this.$fault = "client";
775
+ Object.setPrototypeOf(_this, ResourceAlreadyCheckedOutException.prototype);
776
+ _this.Message = opts.Message;
777
+ return _this;
778
+ }
779
+ return ResourceAlreadyCheckedOutException;
780
+ }(__BaseException));
781
+ export { ResourceAlreadyCheckedOutException };
782
+ var StorageLimitExceededException = (function (_super) {
783
+ __extends(StorageLimitExceededException, _super);
784
+ function StorageLimitExceededException(opts) {
785
+ var _this = _super.call(this, __assign({ name: "StorageLimitExceededException", $fault: "client" }, opts)) || this;
786
+ _this.name = "StorageLimitExceededException";
787
+ _this.$fault = "client";
788
+ Object.setPrototypeOf(_this, StorageLimitExceededException.prototype);
789
+ _this.Message = opts.Message;
790
+ return _this;
791
+ }
792
+ return StorageLimitExceededException;
793
+ }(__BaseException));
794
+ export { StorageLimitExceededException };
795
+ var StorageLimitWillExceedException = (function (_super) {
796
+ __extends(StorageLimitWillExceedException, _super);
797
+ function StorageLimitWillExceedException(opts) {
798
+ var _this = _super.call(this, __assign({ name: "StorageLimitWillExceedException", $fault: "client" }, opts)) || this;
799
+ _this.name = "StorageLimitWillExceedException";
800
+ _this.$fault = "client";
801
+ Object.setPrototypeOf(_this, StorageLimitWillExceedException.prototype);
802
+ _this.Message = opts.Message;
803
+ return _this;
804
+ }
805
+ return StorageLimitWillExceedException;
806
+ }(__BaseException));
807
+ export { StorageLimitWillExceedException };
519
808
  export var RemoveAllResourcePermissionsRequest;
520
809
  (function (RemoveAllResourcePermissionsRequest) {
521
810
  RemoveAllResourcePermissionsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
@@ -528,6 +817,19 @@ export var UpdateDocumentRequest;
528
817
  (function (UpdateDocumentRequest) {
529
818
  UpdateDocumentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
530
819
  })(UpdateDocumentRequest || (UpdateDocumentRequest = {}));
820
+ var InvalidOperationException = (function (_super) {
821
+ __extends(InvalidOperationException, _super);
822
+ function InvalidOperationException(opts) {
823
+ var _this = _super.call(this, __assign({ name: "InvalidOperationException", $fault: "client" }, opts)) || this;
824
+ _this.name = "InvalidOperationException";
825
+ _this.$fault = "client";
826
+ Object.setPrototypeOf(_this, InvalidOperationException.prototype);
827
+ _this.Message = opts.Message;
828
+ return _this;
829
+ }
830
+ return InvalidOperationException;
831
+ }(__BaseException));
832
+ export { InvalidOperationException };
531
833
  export var DocumentVersionStatus;
532
834
  (function (DocumentVersionStatus) {
533
835
  DocumentVersionStatus["ACTIVE"] = "ACTIVE";
@@ -540,6 +842,33 @@ export var UpdateFolderRequest;
540
842
  (function (UpdateFolderRequest) {
541
843
  UpdateFolderRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }))); };
542
844
  })(UpdateFolderRequest || (UpdateFolderRequest = {}));
845
+ var DeactivatingLastSystemUserException = (function (_super) {
846
+ __extends(DeactivatingLastSystemUserException, _super);
847
+ function DeactivatingLastSystemUserException(opts) {
848
+ var _this = _super.call(this, __assign({ name: "DeactivatingLastSystemUserException", $fault: "client" }, opts)) || this;
849
+ _this.name = "DeactivatingLastSystemUserException";
850
+ _this.$fault = "client";
851
+ Object.setPrototypeOf(_this, DeactivatingLastSystemUserException.prototype);
852
+ _this.Message = opts.Message;
853
+ _this.Code = opts.Code;
854
+ return _this;
855
+ }
856
+ return DeactivatingLastSystemUserException;
857
+ }(__BaseException));
858
+ export { DeactivatingLastSystemUserException };
859
+ var IllegalUserStateException = (function (_super) {
860
+ __extends(IllegalUserStateException, _super);
861
+ function IllegalUserStateException(opts) {
862
+ var _this = _super.call(this, __assign({ name: "IllegalUserStateException", $fault: "client" }, opts)) || this;
863
+ _this.name = "IllegalUserStateException";
864
+ _this.$fault = "client";
865
+ Object.setPrototypeOf(_this, IllegalUserStateException.prototype);
866
+ _this.Message = opts.Message;
867
+ return _this;
868
+ }
869
+ return IllegalUserStateException;
870
+ }(__BaseException));
871
+ export { IllegalUserStateException };
543
872
  export var BooleanEnumType;
544
873
  (function (BooleanEnumType) {
545
874
  BooleanEnumType["FALSE"] = "FALSE";