@aws-sdk/client-workdocs 3.209.0 → 3.211.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.
- package/README.md +26 -0
- package/dist-cjs/WorkDocs.js +30 -0
- package/dist-cjs/commands/DeleteDocumentVersionCommand.js +46 -0
- package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +75 -46
- package/dist-cjs/protocols/Aws_restJson1.js +187 -2
- package/dist-es/WorkDocs.js +30 -0
- package/dist-es/commands/DeleteDocumentVersionCommand.js +42 -0
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +65 -38
- package/dist-es/protocols/Aws_restJson1.js +181 -0
- package/dist-types/WorkDocs.d.ts +41 -2
- package/dist-types/WorkDocsClient.d.ts +30 -2
- package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +37 -0
- package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +108 -51
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/WorkDocs.d.ts +34 -0
- package/dist-types/ts3.4/WorkDocsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -35
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
|
|
3
|
+
export class ConcurrentModificationException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "ConcurrentModificationException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "ConcurrentModificationException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
3
16
|
export class EntityNotExistsException extends __BaseException {
|
|
4
17
|
constructor(opts) {
|
|
5
18
|
super({
|
|
@@ -286,47 +299,48 @@ export class TooManyLabelsException extends __BaseException {
|
|
|
286
299
|
export var SubscriptionProtocolType;
|
|
287
300
|
(function (SubscriptionProtocolType) {
|
|
288
301
|
SubscriptionProtocolType["HTTPS"] = "HTTPS";
|
|
302
|
+
SubscriptionProtocolType["SQS"] = "SQS";
|
|
289
303
|
})(SubscriptionProtocolType || (SubscriptionProtocolType = {}));
|
|
290
304
|
export var SubscriptionType;
|
|
291
305
|
(function (SubscriptionType) {
|
|
292
306
|
SubscriptionType["ALL"] = "ALL";
|
|
293
307
|
})(SubscriptionType || (SubscriptionType = {}));
|
|
294
|
-
export class
|
|
308
|
+
export class InvalidArgumentException extends __BaseException {
|
|
295
309
|
constructor(opts) {
|
|
296
310
|
super({
|
|
297
|
-
name: "
|
|
311
|
+
name: "InvalidArgumentException",
|
|
298
312
|
$fault: "client",
|
|
299
313
|
...opts,
|
|
300
314
|
});
|
|
301
|
-
this.name = "
|
|
315
|
+
this.name = "InvalidArgumentException";
|
|
302
316
|
this.$fault = "client";
|
|
303
|
-
Object.setPrototypeOf(this,
|
|
317
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
304
318
|
this.Message = opts.Message;
|
|
305
319
|
}
|
|
306
320
|
}
|
|
307
|
-
export class
|
|
321
|
+
export class TooManySubscriptionsException extends __BaseException {
|
|
308
322
|
constructor(opts) {
|
|
309
323
|
super({
|
|
310
|
-
name: "
|
|
324
|
+
name: "TooManySubscriptionsException",
|
|
311
325
|
$fault: "client",
|
|
312
326
|
...opts,
|
|
313
327
|
});
|
|
314
|
-
this.name = "
|
|
328
|
+
this.name = "TooManySubscriptionsException";
|
|
315
329
|
this.$fault = "client";
|
|
316
|
-
Object.setPrototypeOf(this,
|
|
330
|
+
Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
|
|
317
331
|
this.Message = opts.Message;
|
|
318
332
|
}
|
|
319
333
|
}
|
|
320
|
-
export class
|
|
334
|
+
export class InvalidOperationException extends __BaseException {
|
|
321
335
|
constructor(opts) {
|
|
322
336
|
super({
|
|
323
|
-
name: "
|
|
337
|
+
name: "InvalidOperationException",
|
|
324
338
|
$fault: "client",
|
|
325
339
|
...opts,
|
|
326
340
|
});
|
|
327
|
-
this.name = "
|
|
341
|
+
this.name = "InvalidOperationException";
|
|
328
342
|
this.$fault = "client";
|
|
329
|
-
Object.setPrototypeOf(this,
|
|
343
|
+
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
330
344
|
this.Message = opts.Message;
|
|
331
345
|
}
|
|
332
346
|
}
|
|
@@ -346,6 +360,19 @@ export var DocumentThumbnailType;
|
|
|
346
360
|
DocumentThumbnailType["SMALL"] = "SMALL";
|
|
347
361
|
DocumentThumbnailType["SMALL_HQ"] = "SMALL_HQ";
|
|
348
362
|
})(DocumentThumbnailType || (DocumentThumbnailType = {}));
|
|
363
|
+
export class InvalidPasswordException extends __BaseException {
|
|
364
|
+
constructor(opts) {
|
|
365
|
+
super({
|
|
366
|
+
name: "InvalidPasswordException",
|
|
367
|
+
$fault: "client",
|
|
368
|
+
...opts,
|
|
369
|
+
});
|
|
370
|
+
this.name = "InvalidPasswordException";
|
|
371
|
+
this.$fault = "client";
|
|
372
|
+
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
373
|
+
this.Message = opts.Message;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
349
376
|
export var OrderType;
|
|
350
377
|
(function (OrderType) {
|
|
351
378
|
OrderType["ASCENDING"] = "ASCENDING";
|
|
@@ -393,19 +420,6 @@ export class RequestedEntityTooLargeException extends __BaseException {
|
|
|
393
420
|
this.Message = opts.Message;
|
|
394
421
|
}
|
|
395
422
|
}
|
|
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;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
423
|
export var ResourceCollectionType;
|
|
410
424
|
(function (ResourceCollectionType) {
|
|
411
425
|
ResourceCollectionType["SHARED_WITH_ME"] = "SHARED_WITH_ME";
|
|
@@ -462,19 +476,6 @@ export class StorageLimitWillExceedException extends __BaseException {
|
|
|
462
476
|
this.Message = opts.Message;
|
|
463
477
|
}
|
|
464
478
|
}
|
|
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;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
479
|
export var DocumentVersionStatus;
|
|
479
480
|
(function (DocumentVersionStatus) {
|
|
480
481
|
DocumentVersionStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -527,27 +528,38 @@ export const UserStorageMetadataFilterSensitiveLog = (obj) => ({
|
|
|
527
528
|
});
|
|
528
529
|
export const UserFilterSensitiveLog = (obj) => ({
|
|
529
530
|
...obj,
|
|
531
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
530
532
|
});
|
|
531
533
|
export const ActivateUserResponseFilterSensitiveLog = (obj) => ({
|
|
532
534
|
...obj,
|
|
535
|
+
...(obj.User && { User: UserFilterSensitiveLog(obj.User) }),
|
|
533
536
|
});
|
|
534
537
|
export const CommentMetadataFilterSensitiveLog = (obj) => ({
|
|
535
538
|
...obj,
|
|
539
|
+
...(obj.Contributor && { Contributor: UserFilterSensitiveLog(obj.Contributor) }),
|
|
536
540
|
});
|
|
537
541
|
export const UserMetadataFilterSensitiveLog = (obj) => ({
|
|
538
542
|
...obj,
|
|
543
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
539
544
|
});
|
|
540
545
|
export const ResourceMetadataFilterSensitiveLog = (obj) => ({
|
|
541
546
|
...obj,
|
|
547
|
+
...(obj.Owner && { Owner: UserMetadataFilterSensitiveLog(obj.Owner) }),
|
|
542
548
|
});
|
|
543
549
|
export const GroupMetadataFilterSensitiveLog = (obj) => ({
|
|
544
550
|
...obj,
|
|
545
551
|
});
|
|
546
552
|
export const ParticipantsFilterSensitiveLog = (obj) => ({
|
|
547
553
|
...obj,
|
|
554
|
+
...(obj.Users && { Users: obj.Users.map((item) => UserMetadataFilterSensitiveLog(item)) }),
|
|
548
555
|
});
|
|
549
556
|
export const ActivityFilterSensitiveLog = (obj) => ({
|
|
550
557
|
...obj,
|
|
558
|
+
...(obj.Initiator && { Initiator: UserMetadataFilterSensitiveLog(obj.Initiator) }),
|
|
559
|
+
...(obj.Participants && { Participants: ParticipantsFilterSensitiveLog(obj.Participants) }),
|
|
560
|
+
...(obj.ResourceMetadata && { ResourceMetadata: ResourceMetadataFilterSensitiveLog(obj.ResourceMetadata) }),
|
|
561
|
+
...(obj.OriginalParent && { OriginalParent: ResourceMetadataFilterSensitiveLog(obj.OriginalParent) }),
|
|
562
|
+
...(obj.CommentMetadata && { CommentMetadata: CommentMetadataFilterSensitiveLog(obj.CommentMetadata) }),
|
|
551
563
|
});
|
|
552
564
|
export const NotificationOptionsFilterSensitiveLog = (obj) => ({
|
|
553
565
|
...obj,
|
|
@@ -579,6 +591,7 @@ export const CreateCommentRequestFilterSensitiveLog = (obj) => ({
|
|
|
579
591
|
export const CommentFilterSensitiveLog = (obj) => ({
|
|
580
592
|
...obj,
|
|
581
593
|
...(obj.Text && { Text: SENSITIVE_STRING }),
|
|
594
|
+
...(obj.Contributor && { Contributor: UserFilterSensitiveLog(obj.Contributor) }),
|
|
582
595
|
});
|
|
583
596
|
export const CreateCommentResponseFilterSensitiveLog = (obj) => ({
|
|
584
597
|
...obj,
|
|
@@ -619,11 +632,13 @@ export const CreateNotificationSubscriptionResponseFilterSensitiveLog = (obj) =>
|
|
|
619
632
|
});
|
|
620
633
|
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
621
634
|
...obj,
|
|
635
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
622
636
|
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
623
637
|
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
624
638
|
});
|
|
625
639
|
export const CreateUserResponseFilterSensitiveLog = (obj) => ({
|
|
626
640
|
...obj,
|
|
641
|
+
...(obj.User && { User: UserFilterSensitiveLog(obj.User) }),
|
|
627
642
|
});
|
|
628
643
|
export const DeactivateUserRequestFilterSensitiveLog = (obj) => ({
|
|
629
644
|
...obj,
|
|
@@ -644,6 +659,10 @@ export const DeleteDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
|
644
659
|
...obj,
|
|
645
660
|
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
646
661
|
});
|
|
662
|
+
export const DeleteDocumentVersionRequestFilterSensitiveLog = (obj) => ({
|
|
663
|
+
...obj,
|
|
664
|
+
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
665
|
+
});
|
|
647
666
|
export const DeleteFolderRequestFilterSensitiveLog = (obj) => ({
|
|
648
667
|
...obj,
|
|
649
668
|
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
@@ -672,6 +691,7 @@ export const DescribeActivitiesRequestFilterSensitiveLog = (obj) => ({
|
|
|
672
691
|
});
|
|
673
692
|
export const DescribeActivitiesResponseFilterSensitiveLog = (obj) => ({
|
|
674
693
|
...obj,
|
|
694
|
+
...(obj.UserActivities && { UserActivities: obj.UserActivities.map((item) => ActivityFilterSensitiveLog(item)) }),
|
|
675
695
|
});
|
|
676
696
|
export const DescribeCommentsRequestFilterSensitiveLog = (obj) => ({
|
|
677
697
|
...obj,
|
|
@@ -751,6 +771,7 @@ export const DescribeUsersRequestFilterSensitiveLog = (obj) => ({
|
|
|
751
771
|
});
|
|
752
772
|
export const DescribeUsersResponseFilterSensitiveLog = (obj) => ({
|
|
753
773
|
...obj,
|
|
774
|
+
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
754
775
|
});
|
|
755
776
|
export const GetCurrentUserRequestFilterSensitiveLog = (obj) => ({
|
|
756
777
|
...obj,
|
|
@@ -758,6 +779,7 @@ export const GetCurrentUserRequestFilterSensitiveLog = (obj) => ({
|
|
|
758
779
|
});
|
|
759
780
|
export const GetCurrentUserResponseFilterSensitiveLog = (obj) => ({
|
|
760
781
|
...obj,
|
|
782
|
+
...(obj.User && { User: UserFilterSensitiveLog(obj.User) }),
|
|
761
783
|
});
|
|
762
784
|
export const GetDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
763
785
|
...obj,
|
|
@@ -831,6 +853,10 @@ export const RemoveResourcePermissionRequestFilterSensitiveLog = (obj) => ({
|
|
|
831
853
|
...obj,
|
|
832
854
|
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
833
855
|
});
|
|
856
|
+
export const RestoreDocumentVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
857
|
+
...obj,
|
|
858
|
+
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
859
|
+
});
|
|
834
860
|
export const UpdateDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
835
861
|
...obj,
|
|
836
862
|
...(obj.AuthenticationToken && { AuthenticationToken: SENSITIVE_STRING }),
|
|
@@ -849,4 +875,5 @@ export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
|
849
875
|
});
|
|
850
876
|
export const UpdateUserResponseFilterSensitiveLog = (obj) => ({
|
|
851
877
|
...obj,
|
|
878
|
+
...(obj.User && { User: UserFilterSensitiveLog(obj.User) }),
|
|
852
879
|
});
|
|
@@ -305,6 +305,30 @@ export const serializeAws_restJson1DeleteDocumentCommand = async (input, context
|
|
|
305
305
|
body,
|
|
306
306
|
});
|
|
307
307
|
};
|
|
308
|
+
export const serializeAws_restJson1DeleteDocumentVersionCommand = async (input, context) => {
|
|
309
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
310
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
311
|
+
authentication: input.AuthenticationToken,
|
|
312
|
+
});
|
|
313
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
314
|
+
"/api/v1/documentVersions/{DocumentId}/versions/{VersionId}";
|
|
315
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DocumentId", () => input.DocumentId, "{DocumentId}", false);
|
|
316
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "VersionId", () => input.VersionId, "{VersionId}", false);
|
|
317
|
+
const query = map({
|
|
318
|
+
deletePriorVersions: [() => input.DeletePriorVersions !== void 0, () => input.DeletePriorVersions.toString()],
|
|
319
|
+
});
|
|
320
|
+
let body;
|
|
321
|
+
return new __HttpRequest({
|
|
322
|
+
protocol,
|
|
323
|
+
hostname,
|
|
324
|
+
port,
|
|
325
|
+
method: "DELETE",
|
|
326
|
+
headers,
|
|
327
|
+
path: resolvedPath,
|
|
328
|
+
query,
|
|
329
|
+
body,
|
|
330
|
+
});
|
|
331
|
+
};
|
|
308
332
|
export const serializeAws_restJson1DeleteFolderCommand = async (input, context) => {
|
|
309
333
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
310
334
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -875,6 +899,25 @@ export const serializeAws_restJson1RemoveResourcePermissionCommand = async (inpu
|
|
|
875
899
|
body,
|
|
876
900
|
});
|
|
877
901
|
};
|
|
902
|
+
export const serializeAws_restJson1RestoreDocumentVersionsCommand = async (input, context) => {
|
|
903
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
904
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
905
|
+
authentication: input.AuthenticationToken,
|
|
906
|
+
});
|
|
907
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
908
|
+
"/api/v1/documentVersions/restore/{DocumentId}";
|
|
909
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "DocumentId", () => input.DocumentId, "{DocumentId}", false);
|
|
910
|
+
let body;
|
|
911
|
+
return new __HttpRequest({
|
|
912
|
+
protocol,
|
|
913
|
+
hostname,
|
|
914
|
+
port,
|
|
915
|
+
method: "POST",
|
|
916
|
+
headers,
|
|
917
|
+
path: resolvedPath,
|
|
918
|
+
body,
|
|
919
|
+
});
|
|
920
|
+
};
|
|
878
921
|
export const serializeAws_restJson1UpdateDocumentCommand = async (input, context) => {
|
|
879
922
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
880
923
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -994,6 +1037,9 @@ const deserializeAws_restJson1AbortDocumentVersionUploadCommandError = async (ou
|
|
|
994
1037
|
};
|
|
995
1038
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
996
1039
|
switch (errorCode) {
|
|
1040
|
+
case "ConcurrentModificationException":
|
|
1041
|
+
case "com.amazonaws.workdocs#ConcurrentModificationException":
|
|
1042
|
+
throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
997
1043
|
case "EntityNotExistsException":
|
|
998
1044
|
case "com.amazonaws.workdocs#EntityNotExistsException":
|
|
999
1045
|
throw await deserializeAws_restJson1EntityNotExistsExceptionResponse(parsedOutput, context);
|
|
@@ -1090,6 +1136,9 @@ const deserializeAws_restJson1AddResourcePermissionsCommandError = async (output
|
|
|
1090
1136
|
case "FailedDependencyException":
|
|
1091
1137
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
1092
1138
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
1139
|
+
case "ProhibitedStateException":
|
|
1140
|
+
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1141
|
+
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
1093
1142
|
case "ServiceUnavailableException":
|
|
1094
1143
|
case "com.amazonaws.workdocs#ServiceUnavailableException":
|
|
1095
1144
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
@@ -1231,6 +1280,9 @@ const deserializeAws_restJson1CreateFolderCommandError = async (output, context)
|
|
|
1231
1280
|
};
|
|
1232
1281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1233
1282
|
switch (errorCode) {
|
|
1283
|
+
case "ConcurrentModificationException":
|
|
1284
|
+
case "com.amazonaws.workdocs#ConcurrentModificationException":
|
|
1285
|
+
throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1234
1286
|
case "ConflictingOperationException":
|
|
1235
1287
|
case "com.amazonaws.workdocs#ConflictingOperationException":
|
|
1236
1288
|
throw await deserializeAws_restJson1ConflictingOperationExceptionResponse(parsedOutput, context);
|
|
@@ -1333,6 +1385,9 @@ const deserializeAws_restJson1CreateNotificationSubscriptionCommandError = async
|
|
|
1333
1385
|
};
|
|
1334
1386
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1335
1387
|
switch (errorCode) {
|
|
1388
|
+
case "InvalidArgumentException":
|
|
1389
|
+
case "com.amazonaws.workdocs#InvalidArgumentException":
|
|
1390
|
+
throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
1336
1391
|
case "ServiceUnavailableException":
|
|
1337
1392
|
case "com.amazonaws.workdocs#ServiceUnavailableException":
|
|
1338
1393
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
@@ -1561,6 +1616,9 @@ const deserializeAws_restJson1DeleteDocumentCommandError = async (output, contex
|
|
|
1561
1616
|
case "FailedDependencyException":
|
|
1562
1617
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
1563
1618
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
1619
|
+
case "LimitExceededException":
|
|
1620
|
+
case "com.amazonaws.workdocs#LimitExceededException":
|
|
1621
|
+
throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1564
1622
|
case "ProhibitedStateException":
|
|
1565
1623
|
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1566
1624
|
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
@@ -1583,6 +1641,57 @@ const deserializeAws_restJson1DeleteDocumentCommandError = async (output, contex
|
|
|
1583
1641
|
});
|
|
1584
1642
|
}
|
|
1585
1643
|
};
|
|
1644
|
+
export const deserializeAws_restJson1DeleteDocumentVersionCommand = async (output, context) => {
|
|
1645
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1646
|
+
return deserializeAws_restJson1DeleteDocumentVersionCommandError(output, context);
|
|
1647
|
+
}
|
|
1648
|
+
const contents = map({
|
|
1649
|
+
$metadata: deserializeMetadata(output),
|
|
1650
|
+
});
|
|
1651
|
+
await collectBody(output.body, context);
|
|
1652
|
+
return contents;
|
|
1653
|
+
};
|
|
1654
|
+
const deserializeAws_restJson1DeleteDocumentVersionCommandError = async (output, context) => {
|
|
1655
|
+
const parsedOutput = {
|
|
1656
|
+
...output,
|
|
1657
|
+
body: await parseErrorBody(output.body, context),
|
|
1658
|
+
};
|
|
1659
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1660
|
+
switch (errorCode) {
|
|
1661
|
+
case "ConcurrentModificationException":
|
|
1662
|
+
case "com.amazonaws.workdocs#ConcurrentModificationException":
|
|
1663
|
+
throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
1664
|
+
case "ConflictingOperationException":
|
|
1665
|
+
case "com.amazonaws.workdocs#ConflictingOperationException":
|
|
1666
|
+
throw await deserializeAws_restJson1ConflictingOperationExceptionResponse(parsedOutput, context);
|
|
1667
|
+
case "EntityNotExistsException":
|
|
1668
|
+
case "com.amazonaws.workdocs#EntityNotExistsException":
|
|
1669
|
+
throw await deserializeAws_restJson1EntityNotExistsExceptionResponse(parsedOutput, context);
|
|
1670
|
+
case "FailedDependencyException":
|
|
1671
|
+
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
1672
|
+
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
1673
|
+
case "InvalidOperationException":
|
|
1674
|
+
case "com.amazonaws.workdocs#InvalidOperationException":
|
|
1675
|
+
throw await deserializeAws_restJson1InvalidOperationExceptionResponse(parsedOutput, context);
|
|
1676
|
+
case "ProhibitedStateException":
|
|
1677
|
+
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1678
|
+
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
1679
|
+
case "UnauthorizedOperationException":
|
|
1680
|
+
case "com.amazonaws.workdocs#UnauthorizedOperationException":
|
|
1681
|
+
throw await deserializeAws_restJson1UnauthorizedOperationExceptionResponse(parsedOutput, context);
|
|
1682
|
+
case "UnauthorizedResourceAccessException":
|
|
1683
|
+
case "com.amazonaws.workdocs#UnauthorizedResourceAccessException":
|
|
1684
|
+
throw await deserializeAws_restJson1UnauthorizedResourceAccessExceptionResponse(parsedOutput, context);
|
|
1685
|
+
default:
|
|
1686
|
+
const parsedBody = parsedOutput.body;
|
|
1687
|
+
throwDefaultError({
|
|
1688
|
+
output,
|
|
1689
|
+
parsedBody,
|
|
1690
|
+
exceptionCtor: __BaseException,
|
|
1691
|
+
errorCode,
|
|
1692
|
+
});
|
|
1693
|
+
}
|
|
1694
|
+
};
|
|
1586
1695
|
export const deserializeAws_restJson1DeleteFolderCommand = async (output, context) => {
|
|
1587
1696
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1588
1697
|
return deserializeAws_restJson1DeleteFolderCommandError(output, context);
|
|
@@ -1612,6 +1721,9 @@ const deserializeAws_restJson1DeleteFolderCommandError = async (output, context)
|
|
|
1612
1721
|
case "FailedDependencyException":
|
|
1613
1722
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
1614
1723
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
1724
|
+
case "LimitExceededException":
|
|
1725
|
+
case "com.amazonaws.workdocs#LimitExceededException":
|
|
1726
|
+
throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1615
1727
|
case "ProhibitedStateException":
|
|
1616
1728
|
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1617
1729
|
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
@@ -1705,6 +1817,9 @@ const deserializeAws_restJson1DeleteLabelsCommandError = async (output, context)
|
|
|
1705
1817
|
case "FailedDependencyException":
|
|
1706
1818
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
1707
1819
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
1820
|
+
case "ProhibitedStateException":
|
|
1821
|
+
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1822
|
+
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
1708
1823
|
case "ServiceUnavailableException":
|
|
1709
1824
|
case "com.amazonaws.workdocs#ServiceUnavailableException":
|
|
1710
1825
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
@@ -1936,6 +2051,9 @@ const deserializeAws_restJson1DescribeDocumentVersionsCommandError = async (outp
|
|
|
1936
2051
|
case "InvalidArgumentException":
|
|
1937
2052
|
case "com.amazonaws.workdocs#InvalidArgumentException":
|
|
1938
2053
|
throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2054
|
+
case "InvalidPasswordException":
|
|
2055
|
+
case "com.amazonaws.workdocs#InvalidPasswordException":
|
|
2056
|
+
throw await deserializeAws_restJson1InvalidPasswordExceptionResponse(parsedOutput, context);
|
|
1939
2057
|
case "ProhibitedStateException":
|
|
1940
2058
|
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
1941
2059
|
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
@@ -2125,6 +2243,9 @@ const deserializeAws_restJson1DescribeResourcePermissionsCommandError = async (o
|
|
|
2125
2243
|
case "FailedDependencyException":
|
|
2126
2244
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
2127
2245
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
2246
|
+
case "InvalidArgumentException":
|
|
2247
|
+
case "com.amazonaws.workdocs#InvalidArgumentException":
|
|
2248
|
+
throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
2128
2249
|
case "ServiceUnavailableException":
|
|
2129
2250
|
case "com.amazonaws.workdocs#ServiceUnavailableException":
|
|
2130
2251
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
@@ -2632,6 +2753,12 @@ const deserializeAws_restJson1InitiateDocumentVersionUploadCommandError = async
|
|
|
2632
2753
|
case "FailedDependencyException":
|
|
2633
2754
|
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
2634
2755
|
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
2756
|
+
case "InvalidPasswordException":
|
|
2757
|
+
case "com.amazonaws.workdocs#InvalidPasswordException":
|
|
2758
|
+
throw await deserializeAws_restJson1InvalidPasswordExceptionResponse(parsedOutput, context);
|
|
2759
|
+
case "LimitExceededException":
|
|
2760
|
+
case "com.amazonaws.workdocs#LimitExceededException":
|
|
2761
|
+
throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
|
|
2635
2762
|
case "ProhibitedStateException":
|
|
2636
2763
|
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
2637
2764
|
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
@@ -2741,6 +2868,57 @@ const deserializeAws_restJson1RemoveResourcePermissionCommandError = async (outp
|
|
|
2741
2868
|
});
|
|
2742
2869
|
}
|
|
2743
2870
|
};
|
|
2871
|
+
export const deserializeAws_restJson1RestoreDocumentVersionsCommand = async (output, context) => {
|
|
2872
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2873
|
+
return deserializeAws_restJson1RestoreDocumentVersionsCommandError(output, context);
|
|
2874
|
+
}
|
|
2875
|
+
const contents = map({
|
|
2876
|
+
$metadata: deserializeMetadata(output),
|
|
2877
|
+
});
|
|
2878
|
+
await collectBody(output.body, context);
|
|
2879
|
+
return contents;
|
|
2880
|
+
};
|
|
2881
|
+
const deserializeAws_restJson1RestoreDocumentVersionsCommandError = async (output, context) => {
|
|
2882
|
+
const parsedOutput = {
|
|
2883
|
+
...output,
|
|
2884
|
+
body: await parseErrorBody(output.body, context),
|
|
2885
|
+
};
|
|
2886
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2887
|
+
switch (errorCode) {
|
|
2888
|
+
case "ConcurrentModificationException":
|
|
2889
|
+
case "com.amazonaws.workdocs#ConcurrentModificationException":
|
|
2890
|
+
throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
|
|
2891
|
+
case "ConflictingOperationException":
|
|
2892
|
+
case "com.amazonaws.workdocs#ConflictingOperationException":
|
|
2893
|
+
throw await deserializeAws_restJson1ConflictingOperationExceptionResponse(parsedOutput, context);
|
|
2894
|
+
case "EntityNotExistsException":
|
|
2895
|
+
case "com.amazonaws.workdocs#EntityNotExistsException":
|
|
2896
|
+
throw await deserializeAws_restJson1EntityNotExistsExceptionResponse(parsedOutput, context);
|
|
2897
|
+
case "FailedDependencyException":
|
|
2898
|
+
case "com.amazonaws.workdocs#FailedDependencyException":
|
|
2899
|
+
throw await deserializeAws_restJson1FailedDependencyExceptionResponse(parsedOutput, context);
|
|
2900
|
+
case "InvalidOperationException":
|
|
2901
|
+
case "com.amazonaws.workdocs#InvalidOperationException":
|
|
2902
|
+
throw await deserializeAws_restJson1InvalidOperationExceptionResponse(parsedOutput, context);
|
|
2903
|
+
case "ProhibitedStateException":
|
|
2904
|
+
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
2905
|
+
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
2906
|
+
case "UnauthorizedOperationException":
|
|
2907
|
+
case "com.amazonaws.workdocs#UnauthorizedOperationException":
|
|
2908
|
+
throw await deserializeAws_restJson1UnauthorizedOperationExceptionResponse(parsedOutput, context);
|
|
2909
|
+
case "UnauthorizedResourceAccessException":
|
|
2910
|
+
case "com.amazonaws.workdocs#UnauthorizedResourceAccessException":
|
|
2911
|
+
throw await deserializeAws_restJson1UnauthorizedResourceAccessExceptionResponse(parsedOutput, context);
|
|
2912
|
+
default:
|
|
2913
|
+
const parsedBody = parsedOutput.body;
|
|
2914
|
+
throwDefaultError({
|
|
2915
|
+
output,
|
|
2916
|
+
parsedBody,
|
|
2917
|
+
exceptionCtor: __BaseException,
|
|
2918
|
+
errorCode,
|
|
2919
|
+
});
|
|
2920
|
+
}
|
|
2921
|
+
};
|
|
2744
2922
|
export const deserializeAws_restJson1UpdateDocumentCommand = async (output, context) => {
|
|
2745
2923
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2746
2924
|
return deserializeAws_restJson1UpdateDocumentCommandError(output, context);
|
|
@@ -2941,6 +3119,9 @@ const deserializeAws_restJson1UpdateUserCommandError = async (output, context) =
|
|
|
2941
3119
|
case "InvalidArgumentException":
|
|
2942
3120
|
case "com.amazonaws.workdocs#InvalidArgumentException":
|
|
2943
3121
|
throw await deserializeAws_restJson1InvalidArgumentExceptionResponse(parsedOutput, context);
|
|
3122
|
+
case "ProhibitedStateException":
|
|
3123
|
+
case "com.amazonaws.workdocs#ProhibitedStateException":
|
|
3124
|
+
throw await deserializeAws_restJson1ProhibitedStateExceptionResponse(parsedOutput, context);
|
|
2944
3125
|
case "ServiceUnavailableException":
|
|
2945
3126
|
case "com.amazonaws.workdocs#ServiceUnavailableException":
|
|
2946
3127
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
package/dist-types/WorkDocs.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { DeactivateUserCommandInput, DeactivateUserCommandOutput } from "./comma
|
|
|
12
12
|
import { DeleteCommentCommandInput, DeleteCommentCommandOutput } from "./commands/DeleteCommentCommand";
|
|
13
13
|
import { DeleteCustomMetadataCommandInput, DeleteCustomMetadataCommandOutput } from "./commands/DeleteCustomMetadataCommand";
|
|
14
14
|
import { DeleteDocumentCommandInput, DeleteDocumentCommandOutput } from "./commands/DeleteDocumentCommand";
|
|
15
|
+
import { DeleteDocumentVersionCommandInput, DeleteDocumentVersionCommandOutput } from "./commands/DeleteDocumentVersionCommand";
|
|
15
16
|
import { DeleteFolderCommandInput, DeleteFolderCommandOutput } from "./commands/DeleteFolderCommand";
|
|
16
17
|
import { DeleteFolderContentsCommandInput, DeleteFolderContentsCommandOutput } from "./commands/DeleteFolderContentsCommand";
|
|
17
18
|
import { DeleteLabelsCommandInput, DeleteLabelsCommandOutput } from "./commands/DeleteLabelsCommand";
|
|
@@ -36,6 +37,7 @@ import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/
|
|
|
36
37
|
import { InitiateDocumentVersionUploadCommandInput, InitiateDocumentVersionUploadCommandOutput } from "./commands/InitiateDocumentVersionUploadCommand";
|
|
37
38
|
import { RemoveAllResourcePermissionsCommandInput, RemoveAllResourcePermissionsCommandOutput } from "./commands/RemoveAllResourcePermissionsCommand";
|
|
38
39
|
import { RemoveResourcePermissionCommandInput, RemoveResourcePermissionCommandOutput } from "./commands/RemoveResourcePermissionCommand";
|
|
40
|
+
import { RestoreDocumentVersionsCommandInput, RestoreDocumentVersionsCommandOutput } from "./commands/RestoreDocumentVersionsCommand";
|
|
39
41
|
import { UpdateDocumentCommandInput, UpdateDocumentCommandOutput } from "./commands/UpdateDocumentCommand";
|
|
40
42
|
import { UpdateDocumentVersionCommandInput, UpdateDocumentVersionCommandOutput } from "./commands/UpdateDocumentVersionCommand";
|
|
41
43
|
import { UpdateFolderCommandInput, UpdateFolderCommandOutput } from "./commands/UpdateFolderCommand";
|
|
@@ -75,6 +77,32 @@ import { WorkDocsClient } from "./WorkDocsClient";
|
|
|
75
77
|
* permissions and upload any file to any user. This allows developers to perform the three
|
|
76
78
|
* use cases above, as well as give users the ability to grant access on a selective basis
|
|
77
79
|
* using the IAM model.</p>
|
|
80
|
+
* <note>
|
|
81
|
+
* <p>The pricing for Amazon WorkDocs APIs varies depending on the API call type for these actions:</p>
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>
|
|
85
|
+
* <code>READ (Get*)</code>
|
|
86
|
+
* </p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>
|
|
90
|
+
* <code>WRITE (Activate*, Add*, Create*, Deactivate*, Initiate*, Update*)</code>
|
|
91
|
+
* </p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <code>LIST (Describe*)</code>
|
|
96
|
+
* </p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <code>DELETE*, CANCEL</code>
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* </ul>
|
|
104
|
+
* <p>For information about Amazon WorkDocs API pricing, see <a href="https://aws.amazon.com/workdocs/pricing/">Amazon WorkDocs Pricing</a>.</p>
|
|
105
|
+
* </note>
|
|
78
106
|
*/
|
|
79
107
|
export declare class WorkDocs extends WorkDocsClient {
|
|
80
108
|
/**
|
|
@@ -130,8 +158,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
130
158
|
/**
|
|
131
159
|
* <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
|
|
132
160
|
* confirmation message, and must confirm the subscription.</p>
|
|
133
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/
|
|
134
|
-
* Notifications</a> in the <i>Amazon WorkDocs Developer
|
|
161
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/manage-notifications.html">Setting up notifications for an IAM user or role</a> in the <i>Amazon WorkDocs Developer
|
|
135
162
|
* Guide</i>.</p>
|
|
136
163
|
*/
|
|
137
164
|
createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationSubscriptionCommandOutput>;
|
|
@@ -169,6 +196,12 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
169
196
|
deleteDocument(args: DeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentCommandOutput>;
|
|
170
197
|
deleteDocument(args: DeleteDocumentCommandInput, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
|
|
171
198
|
deleteDocument(args: DeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
|
|
199
|
+
/**
|
|
200
|
+
* <p>Deletes a version of an Amazon WorkDocs document. Use the <code>DeletePriorVersions</code> parameter to delete prior versions.</p>
|
|
201
|
+
*/
|
|
202
|
+
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentVersionCommandOutput>;
|
|
203
|
+
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
|
|
204
|
+
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
|
|
172
205
|
/**
|
|
173
206
|
* <p>Permanently deletes the specified folder and its contents.</p>
|
|
174
207
|
*/
|
|
@@ -355,6 +388,12 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
355
388
|
removeResourcePermission(args: RemoveResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveResourcePermissionCommandOutput>;
|
|
356
389
|
removeResourcePermission(args: RemoveResourcePermissionCommandInput, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
|
|
357
390
|
removeResourcePermission(args: RemoveResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
|
|
391
|
+
/**
|
|
392
|
+
* <p>Recovers a deleted version of an Amazon WorkDocs document.</p>
|
|
393
|
+
*/
|
|
394
|
+
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<RestoreDocumentVersionsCommandOutput>;
|
|
395
|
+
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
|
|
396
|
+
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
|
|
358
397
|
/**
|
|
359
398
|
* <p>Updates the specified attributes of a document. The user must have access to both
|
|
360
399
|
* the document and its parent folder, if applicable.</p>
|