@aws-sdk/client-workdocs 3.52.0 → 3.54.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-workdocs
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-workdocs
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-workdocs
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkDocsServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./WorkDocs"), exports);
5
6
  tslib_1.__exportStar(require("./WorkDocsClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var WorkDocsServiceException_1 = require("./models/WorkDocsServiceException");
11
+ Object.defineProperty(exports, "WorkDocsServiceException", { enumerable: true, get: function () { return WorkDocsServiceException_1.WorkDocsServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkDocsServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class WorkDocsServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, WorkDocsServiceException.prototype);
9
+ }
10
+ }
11
+ exports.WorkDocsServiceException = WorkDocsServiceException;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteCustomMetadataResponse = exports.DeleteCustomMetadataRequest = exports.DeleteCommentRequest = exports.DeactivateUserRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.CreateNotificationSubscriptionResponse = exports.Subscription = exports.CreateNotificationSubscriptionRequest = exports.SubscriptionType = exports.SubscriptionProtocolType = exports.CreateLabelsResponse = exports.CreateLabelsRequest = exports.CreateFolderResponse = exports.FolderMetadata = exports.ResourceStateType = exports.CreateFolderRequest = exports.CreateCustomMetadataResponse = exports.CreateCustomMetadataRequest = exports.CreateCommentResponse = exports.Comment = exports.CreateCommentRequest = exports.CommentVisibilityType = exports.AddResourcePermissionsResponse = exports.ShareResult = exports.ShareStatusType = exports.AddResourcePermissionsRequest = exports.SharePrincipal = exports.PrincipalType = exports.RoleType = exports.NotificationOptions = exports.Activity = exports.ActivityType = exports.Participants = exports.GroupMetadata = exports.ResourceMetadata = exports.ResourceType = exports.UserMetadata = exports.CommentMetadata = exports.CommentStatusType = exports.ActivateUserResponse = exports.User = exports.UserType = exports.UserStorageMetadata = exports.StorageRuleType = exports.StorageType = exports.UserStatusType = exports.LocaleType = exports.ActivateUserRequest = exports.AbortDocumentVersionUploadRequest = void 0;
4
- exports.GetFolderResponse = exports.GetFolderRequest = exports.GetDocumentVersionResponse = exports.GetDocumentVersionRequest = exports.GetDocumentPathResponse = exports.ResourcePath = exports.ResourcePathComponent = exports.GetDocumentPathRequest = exports.GetDocumentResponse = exports.GetDocumentRequest = exports.GetCurrentUserResponse = exports.GetCurrentUserRequest = exports.DescribeUsersResponse = exports.DescribeUsersRequest = exports.UserSortType = exports.UserFilterType = exports.DescribeRootFoldersResponse = exports.DescribeRootFoldersRequest = exports.DescribeResourcePermissionsResponse = exports.Principal = exports.PermissionInfo = exports.RolePermissionType = exports.DescribeResourcePermissionsRequest = exports.DescribeNotificationSubscriptionsResponse = exports.DescribeNotificationSubscriptionsRequest = exports.DescribeGroupsResponse = exports.DescribeGroupsRequest = exports.DescribeFolderContentsResponse = exports.DocumentMetadata = exports.DescribeFolderContentsRequest = exports.FolderContentType = exports.ResourceSortType = exports.OrderType = exports.DescribeDocumentVersionsResponse = exports.DocumentVersionMetadata = exports.DocumentThumbnailType = exports.DocumentStatusType = exports.DocumentSourceType = exports.DescribeDocumentVersionsRequest = exports.DescribeCommentsResponse = exports.DescribeCommentsRequest = exports.DescribeActivitiesResponse = exports.DescribeActivitiesRequest = exports.DeleteUserRequest = exports.DeleteNotificationSubscriptionRequest = exports.DeleteLabelsResponse = exports.DeleteLabelsRequest = exports.DeleteFolderContentsRequest = exports.DeleteFolderRequest = exports.DeleteDocumentRequest = void 0;
5
- exports.UpdateUserResponse = exports.UpdateUserRequest = exports.BooleanEnumType = exports.UpdateFolderRequest = exports.UpdateDocumentVersionRequest = exports.DocumentVersionStatus = exports.UpdateDocumentRequest = exports.RemoveResourcePermissionRequest = exports.RemoveAllResourcePermissionsRequest = exports.InitiateDocumentVersionUploadResponse = exports.UploadMetadata = exports.InitiateDocumentVersionUploadRequest = exports.GetResourcesResponse = exports.GetResourcesRequest = exports.ResourceCollectionType = exports.GetFolderPathResponse = exports.GetFolderPathRequest = void 0;
3
+ exports.CreateLabelsRequest = exports.LimitExceededException = exports.EntityAlreadyExistsException = exports.CreateFolderResponse = exports.FolderMetadata = exports.ResourceStateType = exports.CreateFolderRequest = exports.ConflictingOperationException = exports.CustomMetadataLimitExceededException = exports.CreateCustomMetadataResponse = exports.CreateCustomMetadataRequest = exports.InvalidCommentOperationException = exports.DocumentLockedForCommentsException = exports.CreateCommentResponse = exports.Comment = exports.CreateCommentRequest = exports.CommentVisibilityType = exports.AddResourcePermissionsResponse = exports.ShareResult = exports.ShareStatusType = exports.AddResourcePermissionsRequest = exports.SharePrincipal = exports.PrincipalType = exports.RoleType = exports.NotificationOptions = exports.Activity = exports.ActivityType = exports.Participants = exports.GroupMetadata = exports.ResourceMetadata = exports.ResourceType = exports.UserMetadata = exports.CommentMetadata = exports.CommentStatusType = exports.ActivateUserResponse = exports.User = exports.UserType = exports.UserStorageMetadata = exports.StorageRuleType = exports.StorageType = exports.UserStatusType = exports.LocaleType = exports.ActivateUserRequest = exports.UnauthorizedResourceAccessException = exports.UnauthorizedOperationException = exports.ServiceUnavailableException = exports.ProhibitedStateException = exports.FailedDependencyException = exports.EntityNotExistsException = exports.AbortDocumentVersionUploadRequest = void 0;
4
+ exports.DescribeRootFoldersResponse = exports.DescribeRootFoldersRequest = exports.DescribeResourcePermissionsResponse = exports.Principal = exports.PermissionInfo = exports.RolePermissionType = exports.DescribeResourcePermissionsRequest = exports.DescribeNotificationSubscriptionsResponse = exports.DescribeNotificationSubscriptionsRequest = exports.DescribeGroupsResponse = exports.DescribeGroupsRequest = exports.DescribeFolderContentsResponse = exports.DocumentMetadata = exports.DescribeFolderContentsRequest = exports.FolderContentType = exports.ResourceSortType = exports.OrderType = exports.DescribeDocumentVersionsResponse = exports.DocumentVersionMetadata = exports.DocumentThumbnailType = exports.DocumentStatusType = exports.DocumentSourceType = exports.DescribeDocumentVersionsRequest = exports.DescribeCommentsResponse = exports.DescribeCommentsRequest = exports.InvalidArgumentException = exports.DescribeActivitiesResponse = exports.DescribeActivitiesRequest = exports.DeleteUserRequest = exports.DeleteNotificationSubscriptionRequest = exports.DeleteLabelsResponse = exports.DeleteLabelsRequest = exports.DeleteFolderContentsRequest = exports.DeleteFolderRequest = exports.DeleteDocumentRequest = exports.ConcurrentModificationException = exports.DeleteCustomMetadataResponse = exports.DeleteCustomMetadataRequest = exports.DeleteCommentRequest = exports.DeactivateUserRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.TooManySubscriptionsException = exports.CreateNotificationSubscriptionResponse = exports.Subscription = exports.CreateNotificationSubscriptionRequest = exports.SubscriptionType = exports.SubscriptionProtocolType = exports.TooManyLabelsException = exports.CreateLabelsResponse = void 0;
5
+ exports.UpdateUserResponse = exports.UpdateUserRequest = exports.BooleanEnumType = exports.IllegalUserStateException = exports.DeactivatingLastSystemUserException = exports.UpdateFolderRequest = exports.UpdateDocumentVersionRequest = exports.DocumentVersionStatus = exports.InvalidOperationException = exports.UpdateDocumentRequest = exports.RemoveResourcePermissionRequest = exports.RemoveAllResourcePermissionsRequest = exports.StorageLimitWillExceedException = exports.StorageLimitExceededException = exports.ResourceAlreadyCheckedOutException = exports.InitiateDocumentVersionUploadResponse = exports.UploadMetadata = exports.InitiateDocumentVersionUploadRequest = exports.DraftUploadOutOfSyncException = exports.GetResourcesResponse = exports.GetResourcesRequest = exports.ResourceCollectionType = exports.GetFolderPathResponse = exports.GetFolderPathRequest = exports.GetFolderResponse = exports.GetFolderRequest = exports.GetDocumentVersionResponse = exports.GetDocumentVersionRequest = exports.GetDocumentPathResponse = exports.ResourcePath = exports.ResourcePathComponent = exports.GetDocumentPathRequest = exports.InvalidPasswordException = exports.GetDocumentResponse = exports.GetDocumentRequest = exports.GetCurrentUserResponse = exports.GetCurrentUserRequest = exports.RequestedEntityTooLargeException = exports.DescribeUsersResponse = exports.DescribeUsersRequest = exports.UserSortType = exports.UserFilterType = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const WorkDocsServiceException_1 = require("./WorkDocsServiceException");
7
8
  var AbortDocumentVersionUploadRequest;
8
9
  (function (AbortDocumentVersionUploadRequest) {
9
10
  AbortDocumentVersionUploadRequest.filterSensitiveLog = (obj) => ({
@@ -11,6 +12,92 @@ var AbortDocumentVersionUploadRequest;
11
12
  ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
12
13
  });
13
14
  })(AbortDocumentVersionUploadRequest = exports.AbortDocumentVersionUploadRequest || (exports.AbortDocumentVersionUploadRequest = {}));
15
+ class EntityNotExistsException extends WorkDocsServiceException_1.WorkDocsServiceException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "EntityNotExistsException",
19
+ $fault: "client",
20
+ ...opts,
21
+ });
22
+ this.name = "EntityNotExistsException";
23
+ this.$fault = "client";
24
+ Object.setPrototypeOf(this, EntityNotExistsException.prototype);
25
+ this.Message = opts.Message;
26
+ this.EntityIds = opts.EntityIds;
27
+ }
28
+ }
29
+ exports.EntityNotExistsException = EntityNotExistsException;
30
+ class FailedDependencyException extends WorkDocsServiceException_1.WorkDocsServiceException {
31
+ constructor(opts) {
32
+ super({
33
+ name: "FailedDependencyException",
34
+ $fault: "client",
35
+ ...opts,
36
+ });
37
+ this.name = "FailedDependencyException";
38
+ this.$fault = "client";
39
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
40
+ this.Message = opts.Message;
41
+ }
42
+ }
43
+ exports.FailedDependencyException = FailedDependencyException;
44
+ class ProhibitedStateException extends WorkDocsServiceException_1.WorkDocsServiceException {
45
+ constructor(opts) {
46
+ super({
47
+ name: "ProhibitedStateException",
48
+ $fault: "client",
49
+ ...opts,
50
+ });
51
+ this.name = "ProhibitedStateException";
52
+ this.$fault = "client";
53
+ Object.setPrototypeOf(this, ProhibitedStateException.prototype);
54
+ this.Message = opts.Message;
55
+ }
56
+ }
57
+ exports.ProhibitedStateException = ProhibitedStateException;
58
+ class ServiceUnavailableException extends WorkDocsServiceException_1.WorkDocsServiceException {
59
+ constructor(opts) {
60
+ super({
61
+ name: "ServiceUnavailableException",
62
+ $fault: "server",
63
+ ...opts,
64
+ });
65
+ this.name = "ServiceUnavailableException";
66
+ this.$fault = "server";
67
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
68
+ this.Message = opts.Message;
69
+ }
70
+ }
71
+ exports.ServiceUnavailableException = ServiceUnavailableException;
72
+ class UnauthorizedOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
73
+ constructor(opts) {
74
+ super({
75
+ name: "UnauthorizedOperationException",
76
+ $fault: "client",
77
+ ...opts,
78
+ });
79
+ this.name = "UnauthorizedOperationException";
80
+ this.$fault = "client";
81
+ Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
82
+ this.Message = opts.Message;
83
+ this.Code = opts.Code;
84
+ }
85
+ }
86
+ exports.UnauthorizedOperationException = UnauthorizedOperationException;
87
+ class UnauthorizedResourceAccessException extends WorkDocsServiceException_1.WorkDocsServiceException {
88
+ constructor(opts) {
89
+ super({
90
+ name: "UnauthorizedResourceAccessException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ this.name = "UnauthorizedResourceAccessException";
95
+ this.$fault = "client";
96
+ Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ exports.UnauthorizedResourceAccessException = UnauthorizedResourceAccessException;
14
101
  var ActivateUserRequest;
15
102
  (function (ActivateUserRequest) {
16
103
  ActivateUserRequest.filterSensitiveLog = (obj) => ({
@@ -242,6 +329,34 @@ var CreateCommentResponse;
242
329
  ...(obj.Comment && { Comment: Comment.filterSensitiveLog(obj.Comment) }),
243
330
  });
244
331
  })(CreateCommentResponse = exports.CreateCommentResponse || (exports.CreateCommentResponse = {}));
332
+ class DocumentLockedForCommentsException extends WorkDocsServiceException_1.WorkDocsServiceException {
333
+ constructor(opts) {
334
+ super({
335
+ name: "DocumentLockedForCommentsException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ this.name = "DocumentLockedForCommentsException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
342
+ this.Message = opts.Message;
343
+ }
344
+ }
345
+ exports.DocumentLockedForCommentsException = DocumentLockedForCommentsException;
346
+ class InvalidCommentOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
347
+ constructor(opts) {
348
+ super({
349
+ name: "InvalidCommentOperationException",
350
+ $fault: "client",
351
+ ...opts,
352
+ });
353
+ this.name = "InvalidCommentOperationException";
354
+ this.$fault = "client";
355
+ Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
356
+ this.Message = opts.Message;
357
+ }
358
+ }
359
+ exports.InvalidCommentOperationException = InvalidCommentOperationException;
245
360
  var CreateCustomMetadataRequest;
246
361
  (function (CreateCustomMetadataRequest) {
247
362
  CreateCustomMetadataRequest.filterSensitiveLog = (obj) => ({
@@ -255,6 +370,34 @@ var CreateCustomMetadataResponse;
255
370
  ...obj,
256
371
  });
257
372
  })(CreateCustomMetadataResponse = exports.CreateCustomMetadataResponse || (exports.CreateCustomMetadataResponse = {}));
373
+ class CustomMetadataLimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
374
+ constructor(opts) {
375
+ super({
376
+ name: "CustomMetadataLimitExceededException",
377
+ $fault: "client",
378
+ ...opts,
379
+ });
380
+ this.name = "CustomMetadataLimitExceededException";
381
+ this.$fault = "client";
382
+ Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
383
+ this.Message = opts.Message;
384
+ }
385
+ }
386
+ exports.CustomMetadataLimitExceededException = CustomMetadataLimitExceededException;
387
+ class ConflictingOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
388
+ constructor(opts) {
389
+ super({
390
+ name: "ConflictingOperationException",
391
+ $fault: "client",
392
+ ...opts,
393
+ });
394
+ this.name = "ConflictingOperationException";
395
+ this.$fault = "client";
396
+ Object.setPrototypeOf(this, ConflictingOperationException.prototype);
397
+ this.Message = opts.Message;
398
+ }
399
+ }
400
+ exports.ConflictingOperationException = ConflictingOperationException;
258
401
  var CreateFolderRequest;
259
402
  (function (CreateFolderRequest) {
260
403
  CreateFolderRequest.filterSensitiveLog = (obj) => ({
@@ -281,6 +424,34 @@ var CreateFolderResponse;
281
424
  ...obj,
282
425
  });
283
426
  })(CreateFolderResponse = exports.CreateFolderResponse || (exports.CreateFolderResponse = {}));
427
+ class EntityAlreadyExistsException extends WorkDocsServiceException_1.WorkDocsServiceException {
428
+ constructor(opts) {
429
+ super({
430
+ name: "EntityAlreadyExistsException",
431
+ $fault: "client",
432
+ ...opts,
433
+ });
434
+ this.name = "EntityAlreadyExistsException";
435
+ this.$fault = "client";
436
+ Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
437
+ this.Message = opts.Message;
438
+ }
439
+ }
440
+ exports.EntityAlreadyExistsException = EntityAlreadyExistsException;
441
+ class LimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
442
+ constructor(opts) {
443
+ super({
444
+ name: "LimitExceededException",
445
+ $fault: "client",
446
+ ...opts,
447
+ });
448
+ this.name = "LimitExceededException";
449
+ this.$fault = "client";
450
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
451
+ this.Message = opts.Message;
452
+ }
453
+ }
454
+ exports.LimitExceededException = LimitExceededException;
284
455
  var CreateLabelsRequest;
285
456
  (function (CreateLabelsRequest) {
286
457
  CreateLabelsRequest.filterSensitiveLog = (obj) => ({
@@ -294,6 +465,20 @@ var CreateLabelsResponse;
294
465
  ...obj,
295
466
  });
296
467
  })(CreateLabelsResponse = exports.CreateLabelsResponse || (exports.CreateLabelsResponse = {}));
468
+ class TooManyLabelsException extends WorkDocsServiceException_1.WorkDocsServiceException {
469
+ constructor(opts) {
470
+ super({
471
+ name: "TooManyLabelsException",
472
+ $fault: "client",
473
+ ...opts,
474
+ });
475
+ this.name = "TooManyLabelsException";
476
+ this.$fault = "client";
477
+ Object.setPrototypeOf(this, TooManyLabelsException.prototype);
478
+ this.Message = opts.Message;
479
+ }
480
+ }
481
+ exports.TooManyLabelsException = TooManyLabelsException;
297
482
  var SubscriptionProtocolType;
298
483
  (function (SubscriptionProtocolType) {
299
484
  SubscriptionProtocolType["HTTPS"] = "HTTPS";
@@ -320,6 +505,20 @@ var CreateNotificationSubscriptionResponse;
320
505
  ...obj,
321
506
  });
322
507
  })(CreateNotificationSubscriptionResponse = exports.CreateNotificationSubscriptionResponse || (exports.CreateNotificationSubscriptionResponse = {}));
508
+ class TooManySubscriptionsException extends WorkDocsServiceException_1.WorkDocsServiceException {
509
+ constructor(opts) {
510
+ super({
511
+ name: "TooManySubscriptionsException",
512
+ $fault: "client",
513
+ ...opts,
514
+ });
515
+ this.name = "TooManySubscriptionsException";
516
+ this.$fault = "client";
517
+ Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
518
+ this.Message = opts.Message;
519
+ }
520
+ }
521
+ exports.TooManySubscriptionsException = TooManySubscriptionsException;
323
522
  var CreateUserRequest;
324
523
  (function (CreateUserRequest) {
325
524
  CreateUserRequest.filterSensitiveLog = (obj) => ({
@@ -361,6 +560,20 @@ var DeleteCustomMetadataResponse;
361
560
  ...obj,
362
561
  });
363
562
  })(DeleteCustomMetadataResponse = exports.DeleteCustomMetadataResponse || (exports.DeleteCustomMetadataResponse = {}));
563
+ class ConcurrentModificationException extends WorkDocsServiceException_1.WorkDocsServiceException {
564
+ constructor(opts) {
565
+ super({
566
+ name: "ConcurrentModificationException",
567
+ $fault: "client",
568
+ ...opts,
569
+ });
570
+ this.name = "ConcurrentModificationException";
571
+ this.$fault = "client";
572
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
573
+ this.Message = opts.Message;
574
+ }
575
+ }
576
+ exports.ConcurrentModificationException = ConcurrentModificationException;
364
577
  var DeleteDocumentRequest;
365
578
  (function (DeleteDocumentRequest) {
366
579
  DeleteDocumentRequest.filterSensitiveLog = (obj) => ({
@@ -421,6 +634,20 @@ var DescribeActivitiesResponse;
421
634
  ...obj,
422
635
  });
423
636
  })(DescribeActivitiesResponse = exports.DescribeActivitiesResponse || (exports.DescribeActivitiesResponse = {}));
637
+ class InvalidArgumentException extends WorkDocsServiceException_1.WorkDocsServiceException {
638
+ constructor(opts) {
639
+ super({
640
+ name: "InvalidArgumentException",
641
+ $fault: "client",
642
+ ...opts,
643
+ });
644
+ this.name = "InvalidArgumentException";
645
+ this.$fault = "client";
646
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
647
+ this.Message = opts.Message;
648
+ }
649
+ }
650
+ exports.InvalidArgumentException = InvalidArgumentException;
424
651
  var DescribeCommentsRequest;
425
652
  (function (DescribeCommentsRequest) {
426
653
  DescribeCommentsRequest.filterSensitiveLog = (obj) => ({
@@ -610,6 +837,20 @@ var DescribeUsersResponse;
610
837
  ...obj,
611
838
  });
612
839
  })(DescribeUsersResponse = exports.DescribeUsersResponse || (exports.DescribeUsersResponse = {}));
840
+ class RequestedEntityTooLargeException extends WorkDocsServiceException_1.WorkDocsServiceException {
841
+ constructor(opts) {
842
+ super({
843
+ name: "RequestedEntityTooLargeException",
844
+ $fault: "client",
845
+ ...opts,
846
+ });
847
+ this.name = "RequestedEntityTooLargeException";
848
+ this.$fault = "client";
849
+ Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
850
+ this.Message = opts.Message;
851
+ }
852
+ }
853
+ exports.RequestedEntityTooLargeException = RequestedEntityTooLargeException;
613
854
  var GetCurrentUserRequest;
614
855
  (function (GetCurrentUserRequest) {
615
856
  GetCurrentUserRequest.filterSensitiveLog = (obj) => ({
@@ -637,6 +878,20 @@ var GetDocumentResponse;
637
878
  ...(obj.Metadata && { Metadata: DocumentMetadata.filterSensitiveLog(obj.Metadata) }),
638
879
  });
639
880
  })(GetDocumentResponse = exports.GetDocumentResponse || (exports.GetDocumentResponse = {}));
881
+ class InvalidPasswordException extends WorkDocsServiceException_1.WorkDocsServiceException {
882
+ constructor(opts) {
883
+ super({
884
+ name: "InvalidPasswordException",
885
+ $fault: "client",
886
+ ...opts,
887
+ });
888
+ this.name = "InvalidPasswordException";
889
+ this.$fault = "client";
890
+ Object.setPrototypeOf(this, InvalidPasswordException.prototype);
891
+ this.Message = opts.Message;
892
+ }
893
+ }
894
+ exports.InvalidPasswordException = InvalidPasswordException;
640
895
  var GetDocumentPathRequest;
641
896
  (function (GetDocumentPathRequest) {
642
897
  GetDocumentPathRequest.filterSensitiveLog = (obj) => ({
@@ -720,6 +975,20 @@ var GetResourcesResponse;
720
975
  ...(obj.Documents && { Documents: obj.Documents.map((item) => DocumentMetadata.filterSensitiveLog(item)) }),
721
976
  });
722
977
  })(GetResourcesResponse = exports.GetResourcesResponse || (exports.GetResourcesResponse = {}));
978
+ class DraftUploadOutOfSyncException extends WorkDocsServiceException_1.WorkDocsServiceException {
979
+ constructor(opts) {
980
+ super({
981
+ name: "DraftUploadOutOfSyncException",
982
+ $fault: "client",
983
+ ...opts,
984
+ });
985
+ this.name = "DraftUploadOutOfSyncException";
986
+ this.$fault = "client";
987
+ Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
988
+ this.Message = opts.Message;
989
+ }
990
+ }
991
+ exports.DraftUploadOutOfSyncException = DraftUploadOutOfSyncException;
723
992
  var InitiateDocumentVersionUploadRequest;
724
993
  (function (InitiateDocumentVersionUploadRequest) {
725
994
  InitiateDocumentVersionUploadRequest.filterSensitiveLog = (obj) => ({
@@ -742,6 +1011,48 @@ var InitiateDocumentVersionUploadResponse;
742
1011
  ...(obj.UploadMetadata && { UploadMetadata: UploadMetadata.filterSensitiveLog(obj.UploadMetadata) }),
743
1012
  });
744
1013
  })(InitiateDocumentVersionUploadResponse = exports.InitiateDocumentVersionUploadResponse || (exports.InitiateDocumentVersionUploadResponse = {}));
1014
+ class ResourceAlreadyCheckedOutException extends WorkDocsServiceException_1.WorkDocsServiceException {
1015
+ constructor(opts) {
1016
+ super({
1017
+ name: "ResourceAlreadyCheckedOutException",
1018
+ $fault: "client",
1019
+ ...opts,
1020
+ });
1021
+ this.name = "ResourceAlreadyCheckedOutException";
1022
+ this.$fault = "client";
1023
+ Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
1024
+ this.Message = opts.Message;
1025
+ }
1026
+ }
1027
+ exports.ResourceAlreadyCheckedOutException = ResourceAlreadyCheckedOutException;
1028
+ class StorageLimitExceededException extends WorkDocsServiceException_1.WorkDocsServiceException {
1029
+ constructor(opts) {
1030
+ super({
1031
+ name: "StorageLimitExceededException",
1032
+ $fault: "client",
1033
+ ...opts,
1034
+ });
1035
+ this.name = "StorageLimitExceededException";
1036
+ this.$fault = "client";
1037
+ Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
1038
+ this.Message = opts.Message;
1039
+ }
1040
+ }
1041
+ exports.StorageLimitExceededException = StorageLimitExceededException;
1042
+ class StorageLimitWillExceedException extends WorkDocsServiceException_1.WorkDocsServiceException {
1043
+ constructor(opts) {
1044
+ super({
1045
+ name: "StorageLimitWillExceedException",
1046
+ $fault: "client",
1047
+ ...opts,
1048
+ });
1049
+ this.name = "StorageLimitWillExceedException";
1050
+ this.$fault = "client";
1051
+ Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
1052
+ this.Message = opts.Message;
1053
+ }
1054
+ }
1055
+ exports.StorageLimitWillExceedException = StorageLimitWillExceedException;
745
1056
  var RemoveAllResourcePermissionsRequest;
746
1057
  (function (RemoveAllResourcePermissionsRequest) {
747
1058
  RemoveAllResourcePermissionsRequest.filterSensitiveLog = (obj) => ({
@@ -763,6 +1074,20 @@ var UpdateDocumentRequest;
763
1074
  ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
764
1075
  });
765
1076
  })(UpdateDocumentRequest = exports.UpdateDocumentRequest || (exports.UpdateDocumentRequest = {}));
1077
+ class InvalidOperationException extends WorkDocsServiceException_1.WorkDocsServiceException {
1078
+ constructor(opts) {
1079
+ super({
1080
+ name: "InvalidOperationException",
1081
+ $fault: "client",
1082
+ ...opts,
1083
+ });
1084
+ this.name = "InvalidOperationException";
1085
+ this.$fault = "client";
1086
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
1087
+ this.Message = opts.Message;
1088
+ }
1089
+ }
1090
+ exports.InvalidOperationException = InvalidOperationException;
766
1091
  var DocumentVersionStatus;
767
1092
  (function (DocumentVersionStatus) {
768
1093
  DocumentVersionStatus["ACTIVE"] = "ACTIVE";
@@ -781,6 +1106,35 @@ var UpdateFolderRequest;
781
1106
  ...(obj.AuthenticationToken && { AuthenticationToken: smithy_client_1.SENSITIVE_STRING }),
782
1107
  });
783
1108
  })(UpdateFolderRequest = exports.UpdateFolderRequest || (exports.UpdateFolderRequest = {}));
1109
+ class DeactivatingLastSystemUserException extends WorkDocsServiceException_1.WorkDocsServiceException {
1110
+ constructor(opts) {
1111
+ super({
1112
+ name: "DeactivatingLastSystemUserException",
1113
+ $fault: "client",
1114
+ ...opts,
1115
+ });
1116
+ this.name = "DeactivatingLastSystemUserException";
1117
+ this.$fault = "client";
1118
+ Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
1119
+ this.Message = opts.Message;
1120
+ this.Code = opts.Code;
1121
+ }
1122
+ }
1123
+ exports.DeactivatingLastSystemUserException = DeactivatingLastSystemUserException;
1124
+ class IllegalUserStateException extends WorkDocsServiceException_1.WorkDocsServiceException {
1125
+ constructor(opts) {
1126
+ super({
1127
+ name: "IllegalUserStateException",
1128
+ $fault: "client",
1129
+ ...opts,
1130
+ });
1131
+ this.name = "IllegalUserStateException";
1132
+ this.$fault = "client";
1133
+ Object.setPrototypeOf(this, IllegalUserStateException.prototype);
1134
+ this.Message = opts.Message;
1135
+ }
1136
+ }
1137
+ exports.IllegalUserStateException = IllegalUserStateException;
784
1138
  var BooleanEnumType;
785
1139
  (function (BooleanEnumType) {
786
1140
  BooleanEnumType["FALSE"] = "FALSE";