@aws-sdk/client-workdocs 3.288.0 → 3.290.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 (44) hide show
  1. package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +24 -0
  2. package/dist-types/commands/ActivateUserCommand.d.ts +18 -0
  3. package/dist-types/commands/AddResourcePermissionsCommand.d.ts +18 -0
  4. package/dist-types/commands/CreateCommentCommand.d.ts +28 -0
  5. package/dist-types/commands/CreateCustomMetadataCommand.d.ts +25 -0
  6. package/dist-types/commands/CreateFolderCommand.d.ts +33 -0
  7. package/dist-types/commands/CreateLabelsCommand.d.ts +22 -0
  8. package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +14 -0
  9. package/dist-types/commands/CreateUserCommand.d.ts +18 -0
  10. package/dist-types/commands/DeactivateUserCommand.d.ts +18 -0
  11. package/dist-types/commands/DeleteCommentCommand.d.ts +25 -0
  12. package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +21 -0
  13. package/dist-types/commands/DeleteDocumentCommand.d.ts +30 -0
  14. package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +27 -0
  15. package/dist-types/commands/DeleteFolderCommand.d.ts +30 -0
  16. package/dist-types/commands/DeleteFolderContentsCommand.d.ts +24 -0
  17. package/dist-types/commands/DeleteLabelsCommand.d.ts +21 -0
  18. package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +13 -0
  19. package/dist-types/commands/DeleteUserCommand.d.ts +18 -0
  20. package/dist-types/commands/DescribeActivitiesCommand.d.ts +18 -0
  21. package/dist-types/commands/DescribeCommentsCommand.d.ts +21 -0
  22. package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +27 -0
  23. package/dist-types/commands/DescribeFolderContentsCommand.d.ts +21 -0
  24. package/dist-types/commands/DescribeGroupsCommand.d.ts +15 -0
  25. package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +10 -0
  26. package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +18 -0
  27. package/dist-types/commands/DescribeRootFoldersCommand.d.ts +18 -0
  28. package/dist-types/commands/DescribeUsersCommand.d.ts +24 -0
  29. package/dist-types/commands/GetCurrentUserCommand.d.ts +18 -0
  30. package/dist-types/commands/GetDocumentCommand.d.ts +24 -0
  31. package/dist-types/commands/GetDocumentPathCommand.d.ts +18 -0
  32. package/dist-types/commands/GetDocumentVersionCommand.d.ts +24 -0
  33. package/dist-types/commands/GetFolderCommand.d.ts +24 -0
  34. package/dist-types/commands/GetFolderPathCommand.d.ts +18 -0
  35. package/dist-types/commands/GetResourcesCommand.d.ts +18 -0
  36. package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +43 -0
  37. package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +15 -0
  38. package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +15 -0
  39. package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +27 -0
  40. package/dist-types/commands/UpdateDocumentCommand.d.ts +33 -0
  41. package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +27 -0
  42. package/dist-types/commands/UpdateFolderCommand.d.ts +33 -0
  43. package/dist-types/commands/UpdateUserCommand.d.ts +30 -0
  44. package/package.json +29 -29
@@ -32,6 +32,30 @@ export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBeare
32
32
  * @see {@link AbortDocumentVersionUploadCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
34
34
  *
35
+ * @throws {@link ConcurrentModificationException} (client fault)
36
+ * <p>The resource hierarchy is changing.</p>
37
+ *
38
+ * @throws {@link EntityNotExistsException} (client fault)
39
+ * <p>The resource does not exist.</p>
40
+ *
41
+ * @throws {@link FailedDependencyException} (client fault)
42
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
43
+ * under the control of the organization is failing, such as a connected Active
44
+ * Directory.</p>
45
+ *
46
+ * @throws {@link ProhibitedStateException} (client fault)
47
+ * <p>The specified document version is not in the INITIALIZED state.</p>
48
+ *
49
+ * @throws {@link ServiceUnavailableException} (server fault)
50
+ * <p>One or more of the dependencies is unavailable.</p>
51
+ *
52
+ * @throws {@link UnauthorizedOperationException} (client fault)
53
+ * <p>The operation is not permitted.</p>
54
+ *
55
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
56
+ * <p>The caller does not have access to perform the action on the resource.</p>
57
+ *
58
+ *
35
59
  */
36
60
  export declare class AbortDocumentVersionUploadCommand extends $Command<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig> {
37
61
  readonly input: AbortDocumentVersionUploadCommandInput;
@@ -30,6 +30,24 @@ export interface ActivateUserCommandOutput extends ActivateUserResponse, __Metad
30
30
  * @see {@link ActivateUserCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotExistsException} (client fault)
34
+ * <p>The resource does not exist.</p>
35
+ *
36
+ * @throws {@link FailedDependencyException} (client fault)
37
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
38
+ * under the control of the organization is failing, such as a connected Active
39
+ * Directory.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>One or more of the dependencies is unavailable.</p>
43
+ *
44
+ * @throws {@link UnauthorizedOperationException} (client fault)
45
+ * <p>The operation is not permitted.</p>
46
+ *
47
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
48
+ * <p>The caller does not have access to perform the action on the resource.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class ActivateUserCommand extends $Command<ActivateUserCommandInput, ActivateUserCommandOutput, WorkDocsClientResolvedConfig> {
35
53
  readonly input: ActivateUserCommandInput;
@@ -31,6 +31,24 @@ export interface AddResourcePermissionsCommandOutput extends AddResourcePermissi
31
31
  * @see {@link AddResourcePermissionsCommandOutput} for command's `response` shape.
32
32
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
33
33
  *
34
+ * @throws {@link FailedDependencyException} (client fault)
35
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
36
+ * under the control of the organization is failing, such as a connected Active
37
+ * Directory.</p>
38
+ *
39
+ * @throws {@link ProhibitedStateException} (client fault)
40
+ * <p>The specified document version is not in the INITIALIZED state.</p>
41
+ *
42
+ * @throws {@link ServiceUnavailableException} (server fault)
43
+ * <p>One or more of the dependencies is unavailable.</p>
44
+ *
45
+ * @throws {@link UnauthorizedOperationException} (client fault)
46
+ * <p>The operation is not permitted.</p>
47
+ *
48
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
49
+ * <p>The caller does not have access to perform the action on the resource.</p>
50
+ *
51
+ *
34
52
  */
35
53
  export declare class AddResourcePermissionsCommand extends $Command<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig> {
36
54
  readonly input: AddResourcePermissionsCommandInput;
@@ -29,6 +29,34 @@ export interface CreateCommentCommandOutput extends CreateCommentResponse, __Met
29
29
  * @see {@link CreateCommentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link DocumentLockedForCommentsException} (client fault)
33
+ * <p>This exception is thrown when the document is locked for comments and user tries to
34
+ * create or delete a comment on that document.</p>
35
+ *
36
+ * @throws {@link EntityNotExistsException} (client fault)
37
+ * <p>The resource does not exist.</p>
38
+ *
39
+ * @throws {@link FailedDependencyException} (client fault)
40
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
41
+ * under the control of the organization is failing, such as a connected Active
42
+ * Directory.</p>
43
+ *
44
+ * @throws {@link InvalidCommentOperationException} (client fault)
45
+ * <p>The requested operation is not allowed on the specified comment object.</p>
46
+ *
47
+ * @throws {@link ProhibitedStateException} (client fault)
48
+ * <p>The specified document version is not in the INITIALIZED state.</p>
49
+ *
50
+ * @throws {@link ServiceUnavailableException} (server fault)
51
+ * <p>One or more of the dependencies is unavailable.</p>
52
+ *
53
+ * @throws {@link UnauthorizedOperationException} (client fault)
54
+ * <p>The operation is not permitted.</p>
55
+ *
56
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
57
+ * <p>The caller does not have access to perform the action on the resource.</p>
58
+ *
59
+ *
32
60
  */
33
61
  export declare class CreateCommentCommand extends $Command<CreateCommentCommandInput, CreateCommentCommandOutput, WorkDocsClientResolvedConfig> {
34
62
  readonly input: CreateCommentCommandInput;
@@ -30,6 +30,31 @@ export interface CreateCustomMetadataCommandOutput extends CreateCustomMetadataR
30
30
  * @see {@link CreateCustomMetadataCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
32
32
  *
33
+ * @throws {@link CustomMetadataLimitExceededException} (client fault)
34
+ * <p>The limit has been reached on the number of custom properties for the specified
35
+ * resource.</p>
36
+ *
37
+ * @throws {@link EntityNotExistsException} (client fault)
38
+ * <p>The resource does not exist.</p>
39
+ *
40
+ * @throws {@link FailedDependencyException} (client fault)
41
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
42
+ * under the control of the organization is failing, such as a connected Active
43
+ * Directory.</p>
44
+ *
45
+ * @throws {@link ProhibitedStateException} (client fault)
46
+ * <p>The specified document version is not in the INITIALIZED state.</p>
47
+ *
48
+ * @throws {@link ServiceUnavailableException} (server fault)
49
+ * <p>One or more of the dependencies is unavailable.</p>
50
+ *
51
+ * @throws {@link UnauthorizedOperationException} (client fault)
52
+ * <p>The operation is not permitted.</p>
53
+ *
54
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
55
+ * <p>The caller does not have access to perform the action on the resource.</p>
56
+ *
57
+ *
33
58
  */
34
59
  export declare class CreateCustomMetadataCommand extends $Command<CreateCustomMetadataCommandInput, CreateCustomMetadataCommandOutput, WorkDocsClientResolvedConfig> {
35
60
  readonly input: CreateCustomMetadataCommandInput;
@@ -29,6 +29,39 @@ export interface CreateFolderCommandOutput extends CreateFolderResponse, __Metad
29
29
  * @see {@link CreateFolderCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConcurrentModificationException} (client fault)
33
+ * <p>The resource hierarchy is changing.</p>
34
+ *
35
+ * @throws {@link ConflictingOperationException} (client fault)
36
+ * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
37
+ *
38
+ * @throws {@link EntityAlreadyExistsException} (client fault)
39
+ * <p>The resource already exists.</p>
40
+ *
41
+ * @throws {@link EntityNotExistsException} (client fault)
42
+ * <p>The resource does not exist.</p>
43
+ *
44
+ * @throws {@link FailedDependencyException} (client fault)
45
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
46
+ * under the control of the organization is failing, such as a connected Active
47
+ * Directory.</p>
48
+ *
49
+ * @throws {@link LimitExceededException} (client fault)
50
+ * <p>The maximum of 100,000 files and folders under the parent folder has been exceeded.</p>
51
+ *
52
+ * @throws {@link ProhibitedStateException} (client fault)
53
+ * <p>The specified document version is not in the INITIALIZED state.</p>
54
+ *
55
+ * @throws {@link ServiceUnavailableException} (server fault)
56
+ * <p>One or more of the dependencies is unavailable.</p>
57
+ *
58
+ * @throws {@link UnauthorizedOperationException} (client fault)
59
+ * <p>The operation is not permitted.</p>
60
+ *
61
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
62
+ * <p>The caller does not have access to perform the action on the resource.</p>
63
+ *
64
+ *
32
65
  */
33
66
  export declare class CreateFolderCommand extends $Command<CreateFolderCommandInput, CreateFolderCommandOutput, WorkDocsClientResolvedConfig> {
34
67
  readonly input: CreateFolderCommandInput;
@@ -30,6 +30,28 @@ export interface CreateLabelsCommandOutput extends CreateLabelsResponse, __Metad
30
30
  * @see {@link CreateLabelsCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotExistsException} (client fault)
34
+ * <p>The resource does not exist.</p>
35
+ *
36
+ * @throws {@link FailedDependencyException} (client fault)
37
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
38
+ * under the control of the organization is failing, such as a connected Active
39
+ * Directory.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>One or more of the dependencies is unavailable.</p>
43
+ *
44
+ * @throws {@link TooManyLabelsException} (client fault)
45
+ * <p>The limit has been reached on the number of labels for the specified
46
+ * resource.</p>
47
+ *
48
+ * @throws {@link UnauthorizedOperationException} (client fault)
49
+ * <p>The operation is not permitted.</p>
50
+ *
51
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
52
+ * <p>The caller does not have access to perform the action on the resource.</p>
53
+ *
54
+ *
33
55
  */
34
56
  export declare class CreateLabelsCommand extends $Command<CreateLabelsCommandInput, CreateLabelsCommandOutput, WorkDocsClientResolvedConfig> {
35
57
  readonly input: CreateLabelsCommandInput;
@@ -32,6 +32,20 @@ export interface CreateNotificationSubscriptionCommandOutput extends CreateNotif
32
32
  * @see {@link CreateNotificationSubscriptionCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidArgumentException} (client fault)
36
+ * <p>The pagination marker or limit fields are not valid.</p>
37
+ *
38
+ * @throws {@link ServiceUnavailableException} (server fault)
39
+ * <p>One or more of the dependencies is unavailable.</p>
40
+ *
41
+ * @throws {@link TooManySubscriptionsException} (client fault)
42
+ * <p>You've reached the limit on the number of subscriptions for the WorkDocs
43
+ * instance.</p>
44
+ *
45
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
46
+ * <p>The caller does not have access to perform the action on the resource.</p>
47
+ *
48
+ *
35
49
  */
36
50
  export declare class CreateNotificationSubscriptionCommand extends $Command<CreateNotificationSubscriptionCommandInput, CreateNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig> {
37
51
  readonly input: CreateNotificationSubscriptionCommandInput;
@@ -30,6 +30,24 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
30
30
  * @see {@link CreateUserCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityAlreadyExistsException} (client fault)
34
+ * <p>The resource already exists.</p>
35
+ *
36
+ * @throws {@link FailedDependencyException} (client fault)
37
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
38
+ * under the control of the organization is failing, such as a connected Active
39
+ * Directory.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>One or more of the dependencies is unavailable.</p>
43
+ *
44
+ * @throws {@link UnauthorizedOperationException} (client fault)
45
+ * <p>The operation is not permitted.</p>
46
+ *
47
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
48
+ * <p>The caller does not have access to perform the action on the resource.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class CreateUserCommand extends $Command<CreateUserCommandInput, CreateUserCommandOutput, WorkDocsClientResolvedConfig> {
35
53
  readonly input: CreateUserCommandInput;
@@ -30,6 +30,24 @@ export interface DeactivateUserCommandOutput extends __MetadataBearer {
30
30
  * @see {@link DeactivateUserCommandOutput} for command's `response` shape.
31
31
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
32
32
  *
33
+ * @throws {@link EntityNotExistsException} (client fault)
34
+ * <p>The resource does not exist.</p>
35
+ *
36
+ * @throws {@link FailedDependencyException} (client fault)
37
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
38
+ * under the control of the organization is failing, such as a connected Active
39
+ * Directory.</p>
40
+ *
41
+ * @throws {@link ServiceUnavailableException} (server fault)
42
+ * <p>One or more of the dependencies is unavailable.</p>
43
+ *
44
+ * @throws {@link UnauthorizedOperationException} (client fault)
45
+ * <p>The operation is not permitted.</p>
46
+ *
47
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
48
+ * <p>The caller does not have access to perform the action on the resource.</p>
49
+ *
50
+ *
33
51
  */
34
52
  export declare class DeactivateUserCommand extends $Command<DeactivateUserCommandInput, DeactivateUserCommandOutput, WorkDocsClientResolvedConfig> {
35
53
  readonly input: DeactivateUserCommandInput;
@@ -29,6 +29,31 @@ export interface DeleteCommentCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteCommentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link DocumentLockedForCommentsException} (client fault)
33
+ * <p>This exception is thrown when the document is locked for comments and user tries to
34
+ * create or delete a comment on that document.</p>
35
+ *
36
+ * @throws {@link EntityNotExistsException} (client fault)
37
+ * <p>The resource does not exist.</p>
38
+ *
39
+ * @throws {@link FailedDependencyException} (client fault)
40
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
41
+ * under the control of the organization is failing, such as a connected Active
42
+ * Directory.</p>
43
+ *
44
+ * @throws {@link ProhibitedStateException} (client fault)
45
+ * <p>The specified document version is not in the INITIALIZED state.</p>
46
+ *
47
+ * @throws {@link ServiceUnavailableException} (server fault)
48
+ * <p>One or more of the dependencies is unavailable.</p>
49
+ *
50
+ * @throws {@link UnauthorizedOperationException} (client fault)
51
+ * <p>The operation is not permitted.</p>
52
+ *
53
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
54
+ * <p>The caller does not have access to perform the action on the resource.</p>
55
+ *
56
+ *
32
57
  */
33
58
  export declare class DeleteCommentCommand extends $Command<DeleteCommentCommandInput, DeleteCommentCommandOutput, WorkDocsClientResolvedConfig> {
34
59
  readonly input: DeleteCommentCommandInput;
@@ -29,6 +29,27 @@ export interface DeleteCustomMetadataCommandOutput extends DeleteCustomMetadataR
29
29
  * @see {@link DeleteCustomMetadataCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotExistsException} (client fault)
33
+ * <p>The resource does not exist.</p>
34
+ *
35
+ * @throws {@link FailedDependencyException} (client fault)
36
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
37
+ * under the control of the organization is failing, such as a connected Active
38
+ * Directory.</p>
39
+ *
40
+ * @throws {@link ProhibitedStateException} (client fault)
41
+ * <p>The specified document version is not in the INITIALIZED state.</p>
42
+ *
43
+ * @throws {@link ServiceUnavailableException} (server fault)
44
+ * <p>One or more of the dependencies is unavailable.</p>
45
+ *
46
+ * @throws {@link UnauthorizedOperationException} (client fault)
47
+ * <p>The operation is not permitted.</p>
48
+ *
49
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
50
+ * <p>The caller does not have access to perform the action on the resource.</p>
51
+ *
52
+ *
32
53
  */
33
54
  export declare class DeleteCustomMetadataCommand extends $Command<DeleteCustomMetadataCommandInput, DeleteCustomMetadataCommandOutput, WorkDocsClientResolvedConfig> {
34
55
  readonly input: DeleteCustomMetadataCommandInput;
@@ -29,6 +29,36 @@ export interface DeleteDocumentCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteDocumentCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConcurrentModificationException} (client fault)
33
+ * <p>The resource hierarchy is changing.</p>
34
+ *
35
+ * @throws {@link ConflictingOperationException} (client fault)
36
+ * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
37
+ *
38
+ * @throws {@link EntityNotExistsException} (client fault)
39
+ * <p>The resource does not exist.</p>
40
+ *
41
+ * @throws {@link FailedDependencyException} (client fault)
42
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
43
+ * under the control of the organization is failing, such as a connected Active
44
+ * Directory.</p>
45
+ *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>The maximum of 100,000 files and folders under the parent folder has been exceeded.</p>
48
+ *
49
+ * @throws {@link ProhibitedStateException} (client fault)
50
+ * <p>The specified document version is not in the INITIALIZED state.</p>
51
+ *
52
+ * @throws {@link ServiceUnavailableException} (server fault)
53
+ * <p>One or more of the dependencies is unavailable.</p>
54
+ *
55
+ * @throws {@link UnauthorizedOperationException} (client fault)
56
+ * <p>The operation is not permitted.</p>
57
+ *
58
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
59
+ * <p>The caller does not have access to perform the action on the resource.</p>
60
+ *
61
+ *
32
62
  */
33
63
  export declare class DeleteDocumentCommand extends $Command<DeleteDocumentCommandInput, DeleteDocumentCommandOutput, WorkDocsClientResolvedConfig> {
34
64
  readonly input: DeleteDocumentCommandInput;
@@ -29,6 +29,33 @@ export interface DeleteDocumentVersionCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteDocumentVersionCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConcurrentModificationException} (client fault)
33
+ * <p>The resource hierarchy is changing.</p>
34
+ *
35
+ * @throws {@link ConflictingOperationException} (client fault)
36
+ * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
37
+ *
38
+ * @throws {@link EntityNotExistsException} (client fault)
39
+ * <p>The resource does not exist.</p>
40
+ *
41
+ * @throws {@link FailedDependencyException} (client fault)
42
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
43
+ * under the control of the organization is failing, such as a connected Active
44
+ * Directory.</p>
45
+ *
46
+ * @throws {@link InvalidOperationException} (client fault)
47
+ * <p>The operation is invalid.</p>
48
+ *
49
+ * @throws {@link ProhibitedStateException} (client fault)
50
+ * <p>The specified document version is not in the INITIALIZED state.</p>
51
+ *
52
+ * @throws {@link UnauthorizedOperationException} (client fault)
53
+ * <p>The operation is not permitted.</p>
54
+ *
55
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
56
+ * <p>The caller does not have access to perform the action on the resource.</p>
57
+ *
58
+ *
32
59
  */
33
60
  export declare class DeleteDocumentVersionCommand extends $Command<DeleteDocumentVersionCommandInput, DeleteDocumentVersionCommandOutput, WorkDocsClientResolvedConfig> {
34
61
  readonly input: DeleteDocumentVersionCommandInput;
@@ -29,6 +29,36 @@ export interface DeleteFolderCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteFolderCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConcurrentModificationException} (client fault)
33
+ * <p>The resource hierarchy is changing.</p>
34
+ *
35
+ * @throws {@link ConflictingOperationException} (client fault)
36
+ * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
37
+ *
38
+ * @throws {@link EntityNotExistsException} (client fault)
39
+ * <p>The resource does not exist.</p>
40
+ *
41
+ * @throws {@link FailedDependencyException} (client fault)
42
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
43
+ * under the control of the organization is failing, such as a connected Active
44
+ * Directory.</p>
45
+ *
46
+ * @throws {@link LimitExceededException} (client fault)
47
+ * <p>The maximum of 100,000 files and folders under the parent folder has been exceeded.</p>
48
+ *
49
+ * @throws {@link ProhibitedStateException} (client fault)
50
+ * <p>The specified document version is not in the INITIALIZED state.</p>
51
+ *
52
+ * @throws {@link ServiceUnavailableException} (server fault)
53
+ * <p>One or more of the dependencies is unavailable.</p>
54
+ *
55
+ * @throws {@link UnauthorizedOperationException} (client fault)
56
+ * <p>The operation is not permitted.</p>
57
+ *
58
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
59
+ * <p>The caller does not have access to perform the action on the resource.</p>
60
+ *
61
+ *
32
62
  */
33
63
  export declare class DeleteFolderCommand extends $Command<DeleteFolderCommandInput, DeleteFolderCommandOutput, WorkDocsClientResolvedConfig> {
34
64
  readonly input: DeleteFolderCommandInput;
@@ -29,6 +29,30 @@ export interface DeleteFolderContentsCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteFolderContentsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link ConflictingOperationException} (client fault)
33
+ * <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
34
+ *
35
+ * @throws {@link EntityNotExistsException} (client fault)
36
+ * <p>The resource does not exist.</p>
37
+ *
38
+ * @throws {@link FailedDependencyException} (client fault)
39
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
40
+ * under the control of the organization is failing, such as a connected Active
41
+ * Directory.</p>
42
+ *
43
+ * @throws {@link ProhibitedStateException} (client fault)
44
+ * <p>The specified document version is not in the INITIALIZED state.</p>
45
+ *
46
+ * @throws {@link ServiceUnavailableException} (server fault)
47
+ * <p>One or more of the dependencies is unavailable.</p>
48
+ *
49
+ * @throws {@link UnauthorizedOperationException} (client fault)
50
+ * <p>The operation is not permitted.</p>
51
+ *
52
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
53
+ * <p>The caller does not have access to perform the action on the resource.</p>
54
+ *
55
+ *
32
56
  */
33
57
  export declare class DeleteFolderContentsCommand extends $Command<DeleteFolderContentsCommandInput, DeleteFolderContentsCommandOutput, WorkDocsClientResolvedConfig> {
34
58
  readonly input: DeleteFolderContentsCommandInput;
@@ -29,6 +29,27 @@ export interface DeleteLabelsCommandOutput extends DeleteLabelsResponse, __Metad
29
29
  * @see {@link DeleteLabelsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotExistsException} (client fault)
33
+ * <p>The resource does not exist.</p>
34
+ *
35
+ * @throws {@link FailedDependencyException} (client fault)
36
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
37
+ * under the control of the organization is failing, such as a connected Active
38
+ * Directory.</p>
39
+ *
40
+ * @throws {@link ProhibitedStateException} (client fault)
41
+ * <p>The specified document version is not in the INITIALIZED state.</p>
42
+ *
43
+ * @throws {@link ServiceUnavailableException} (server fault)
44
+ * <p>One or more of the dependencies is unavailable.</p>
45
+ *
46
+ * @throws {@link UnauthorizedOperationException} (client fault)
47
+ * <p>The operation is not permitted.</p>
48
+ *
49
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
50
+ * <p>The caller does not have access to perform the action on the resource.</p>
51
+ *
52
+ *
32
53
  */
33
54
  export declare class DeleteLabelsCommand extends $Command<DeleteLabelsCommandInput, DeleteLabelsCommandOutput, WorkDocsClientResolvedConfig> {
34
55
  readonly input: DeleteLabelsCommandInput;
@@ -29,6 +29,19 @@ export interface DeleteNotificationSubscriptionCommandOutput extends __MetadataB
29
29
  * @see {@link DeleteNotificationSubscriptionCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotExistsException} (client fault)
33
+ * <p>The resource does not exist.</p>
34
+ *
35
+ * @throws {@link ProhibitedStateException} (client fault)
36
+ * <p>The specified document version is not in the INITIALIZED state.</p>
37
+ *
38
+ * @throws {@link ServiceUnavailableException} (server fault)
39
+ * <p>One or more of the dependencies is unavailable.</p>
40
+ *
41
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
42
+ * <p>The caller does not have access to perform the action on the resource.</p>
43
+ *
44
+ *
32
45
  */
33
46
  export declare class DeleteNotificationSubscriptionCommand extends $Command<DeleteNotificationSubscriptionCommandInput, DeleteNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig> {
34
47
  readonly input: DeleteNotificationSubscriptionCommandInput;
@@ -32,6 +32,24 @@ export interface DeleteUserCommandOutput extends __MetadataBearer {
32
32
  * @see {@link DeleteUserCommandOutput} for command's `response` shape.
33
33
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
34
34
  *
35
+ * @throws {@link EntityNotExistsException} (client fault)
36
+ * <p>The resource does not exist.</p>
37
+ *
38
+ * @throws {@link FailedDependencyException} (client fault)
39
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
40
+ * under the control of the organization is failing, such as a connected Active
41
+ * Directory.</p>
42
+ *
43
+ * @throws {@link ServiceUnavailableException} (server fault)
44
+ * <p>One or more of the dependencies is unavailable.</p>
45
+ *
46
+ * @throws {@link UnauthorizedOperationException} (client fault)
47
+ * <p>The operation is not permitted.</p>
48
+ *
49
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
50
+ * <p>The caller does not have access to perform the action on the resource.</p>
51
+ *
52
+ *
35
53
  */
36
54
  export declare class DeleteUserCommand extends $Command<DeleteUserCommandInput, DeleteUserCommandOutput, WorkDocsClientResolvedConfig> {
37
55
  readonly input: DeleteUserCommandInput;
@@ -29,6 +29,24 @@ export interface DescribeActivitiesCommandOutput extends DescribeActivitiesRespo
29
29
  * @see {@link DescribeActivitiesCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link FailedDependencyException} (client fault)
33
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
34
+ * under the control of the organization is failing, such as a connected Active
35
+ * Directory.</p>
36
+ *
37
+ * @throws {@link InvalidArgumentException} (client fault)
38
+ * <p>The pagination marker or limit fields are not valid.</p>
39
+ *
40
+ * @throws {@link ServiceUnavailableException} (server fault)
41
+ * <p>One or more of the dependencies is unavailable.</p>
42
+ *
43
+ * @throws {@link UnauthorizedOperationException} (client fault)
44
+ * <p>The operation is not permitted.</p>
45
+ *
46
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
47
+ * <p>The caller does not have access to perform the action on the resource.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class DescribeActivitiesCommand extends $Command<DescribeActivitiesCommandInput, DescribeActivitiesCommandOutput, WorkDocsClientResolvedConfig> {
34
52
  readonly input: DescribeActivitiesCommandInput;
@@ -29,6 +29,27 @@ export interface DescribeCommentsCommandOutput extends DescribeCommentsResponse,
29
29
  * @see {@link DescribeCommentsCommandOutput} for command's `response` shape.
30
30
  * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
31
31
  *
32
+ * @throws {@link EntityNotExistsException} (client fault)
33
+ * <p>The resource does not exist.</p>
34
+ *
35
+ * @throws {@link FailedDependencyException} (client fault)
36
+ * <p>The Directory Service cannot reach an on-premises instance. Or a dependency
37
+ * under the control of the organization is failing, such as a connected Active
38
+ * Directory.</p>
39
+ *
40
+ * @throws {@link ProhibitedStateException} (client fault)
41
+ * <p>The specified document version is not in the INITIALIZED state.</p>
42
+ *
43
+ * @throws {@link ServiceUnavailableException} (server fault)
44
+ * <p>One or more of the dependencies is unavailable.</p>
45
+ *
46
+ * @throws {@link UnauthorizedOperationException} (client fault)
47
+ * <p>The operation is not permitted.</p>
48
+ *
49
+ * @throws {@link UnauthorizedResourceAccessException} (client fault)
50
+ * <p>The caller does not have access to perform the action on the resource.</p>
51
+ *
52
+ *
32
53
  */
33
54
  export declare class DescribeCommentsCommand extends $Command<DescribeCommentsCommandInput, DescribeCommentsCommandOutput, WorkDocsClientResolvedConfig> {
34
55
  readonly input: DescribeCommentsCommandInput;