{ "version": "2.0", "metadata": { "apiVersion": "2016-05-01", "endpointPrefix": "workdocs", "jsonVersion": "1.1", "protocol": "rest-json", "serviceFullName": "Amazon WorkDocs", "serviceId": "WorkDocs", "signatureVersion": "v4", "uid": "workdocs-2016-05-01" }, "operations": { "AbortDocumentVersionUpload": { "name": "AbortDocumentVersionUpload", "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 204 }, "input": { "shape": "AbortDocumentVersionUploadRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ConcurrentModificationException" } ], "documentation": "
Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so.
" }, "ActivateUser": { "name": "ActivateUser", "http": { "method": "POST", "requestUri": "/api/v1/users/{UserId}/activation", "responseCode": 200 }, "input": { "shape": "ActivateUserRequest" }, "output": { "shape": "ActivateUserResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Activates the specified user. Only active users can access Amazon WorkDocs.
" }, "AddResourcePermissions": { "name": "AddResourcePermissions", "http": { "method": "POST", "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 201 }, "input": { "shape": "AddResourcePermissionsRequest" }, "output": { "shape": "AddResourcePermissionsResponse" }, "errors": [ { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" } ], "documentation": "Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions.
" }, "CreateComment": { "name": "CreateComment", "http": { "method": "POST", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment", "responseCode": 201 }, "input": { "shape": "CreateCommentRequest" }, "output": { "shape": "CreateCommentResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "DocumentLockedForCommentsException" }, { "shape": "InvalidCommentOperationException" } ], "documentation": "Adds a new comment to the specified document version.
" }, "CreateCustomMetadata": { "name": "CreateCustomMetadata", "http": { "method": "PUT", "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", "responseCode": 200 }, "input": { "shape": "CreateCustomMetadataRequest" }, "output": { "shape": "CreateCustomMetadataResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "ProhibitedStateException" }, { "shape": "CustomMetadataLimitExceededException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Adds one or more custom properties to the specified resource (a folder, document, or version).
" }, "CreateFolder": { "name": "CreateFolder", "http": { "method": "POST", "requestUri": "/api/v1/folders", "responseCode": 201 }, "input": { "shape": "CreateFolderRequest" }, "output": { "shape": "CreateFolderResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "EntityAlreadyExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "LimitExceededException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Creates a folder with the specified name and parent folder.
" }, "CreateLabels": { "name": "CreateLabels", "http": { "method": "PUT", "requestUri": "/api/v1/resources/{ResourceId}/labels", "responseCode": 200 }, "input": { "shape": "CreateLabelsRequest" }, "output": { "shape": "CreateLabelsResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "TooManyLabelsException" } ], "documentation": "Adds the specified list of labels to the given resource (a document or folder)
" }, "CreateNotificationSubscription": { "name": "CreateNotificationSubscription", "http": { "method": "POST", "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", "responseCode": 200 }, "input": { "shape": "CreateNotificationSubscriptionRequest" }, "output": { "shape": "CreateNotificationSubscriptionResponse" }, "errors": [ { "shape": "UnauthorizedResourceAccessException" }, { "shape": "TooManySubscriptionsException" }, { "shape": "ServiceUnavailableException" }, { "shape": "InvalidArgumentException" } ], "documentation": "Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription.
For more information, see Setting up notifications for an IAM user or role in the Amazon WorkDocs Developer Guide.
" }, "CreateUser": { "name": "CreateUser", "http": { "method": "POST", "requestUri": "/api/v1/users", "responseCode": 201 }, "input": { "shape": "CreateUserRequest" }, "output": { "shape": "CreateUserResponse" }, "errors": [ { "shape": "EntityAlreadyExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Creates a user in a Simple AD or Microsoft AD directory. The status of a newly created user is \"ACTIVE\". New users can access Amazon WorkDocs.
" }, "DeactivateUser": { "name": "DeactivateUser", "http": { "method": "DELETE", "requestUri": "/api/v1/users/{UserId}/activation", "responseCode": 204 }, "input": { "shape": "DeactivateUserRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.
" }, "DeleteComment": { "name": "DeleteComment", "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", "responseCode": 204 }, "input": { "shape": "DeleteCommentRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "DocumentLockedForCommentsException" } ], "documentation": "Deletes the specified comment from the document version.
" }, "DeleteCustomMetadata": { "name": "DeleteCustomMetadata", "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", "responseCode": 200 }, "input": { "shape": "DeleteCustomMetadataRequest" }, "output": { "shape": "DeleteCustomMetadataResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "ProhibitedStateException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Deletes custom metadata from the specified resource.
" }, "DeleteDocument": { "name": "DeleteDocument", "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 204 }, "input": { "shape": "DeleteDocumentRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "LimitExceededException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Permanently deletes the specified document and its associated metadata.
" }, "DeleteDocumentVersion": { "name": "DeleteDocumentVersion", "http": { "method": "DELETE", "requestUri": "/api/v1/documentVersions/{DocumentId}/versions/{VersionId}", "responseCode": 204 }, "input": { "shape": "DeleteDocumentVersionRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "InvalidOperationException" }, { "shape": "UnauthorizedOperationException" } ], "documentation": "Deletes a specific version of a document.
" }, "DeleteFolder": { "name": "DeleteFolder", "http": { "method": "DELETE", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 204 }, "input": { "shape": "DeleteFolderRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "LimitExceededException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Permanently deletes the specified folder and its contents.
" }, "DeleteFolderContents": { "name": "DeleteFolderContents", "http": { "method": "DELETE", "requestUri": "/api/v1/folders/{FolderId}/contents", "responseCode": 204 }, "input": { "shape": "DeleteFolderContentsRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Deletes the contents of the specified folder.
" }, "DeleteLabels": { "name": "DeleteLabels", "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/labels", "responseCode": 200 }, "input": { "shape": "DeleteLabelsRequest" }, "output": { "shape": "DeleteLabelsResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" } ], "documentation": "Deletes the specified list of labels from a resource.
" }, "DeleteNotificationSubscription": { "name": "DeleteNotificationSubscription", "http": { "method": "DELETE", "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", "responseCode": 200 }, "input": { "shape": "DeleteNotificationSubscriptionRequest" }, "errors": [ { "shape": "UnauthorizedResourceAccessException" }, { "shape": "EntityNotExistsException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" } ], "documentation": "Deletes the specified subscription from the specified organization.
" }, "DeleteUser": { "name": "DeleteUser", "http": { "method": "DELETE", "requestUri": "/api/v1/users/{UserId}", "responseCode": 204 }, "input": { "shape": "DeleteUserRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Deletes the specified user from a Simple AD or Microsoft AD directory.
Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.
Describes the user activities in a specified time period.
" }, "DescribeComments": { "name": "DescribeComments", "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments", "responseCode": 200 }, "input": { "shape": "DescribeCommentsRequest" }, "output": { "shape": "DescribeCommentsResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "List all the comments for the specified document version.
" }, "DescribeDocumentVersions": { "name": "DescribeDocumentVersions", "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions", "responseCode": 200 }, "input": { "shape": "DescribeDocumentVersionsRequest" }, "output": { "shape": "DescribeDocumentVersionsResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" }, { "shape": "InvalidPasswordException" } ], "documentation": "Retrieves the document versions for the specified document.
By default, only active versions are returned.
" }, "DescribeFolderContents": { "name": "DescribeFolderContents", "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}/contents", "responseCode": 200 }, "input": { "shape": "DescribeFolderContentsRequest" }, "output": { "shape": "DescribeFolderContentsResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" } ], "documentation": "Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
" }, "DescribeGroups": { "name": "DescribeGroups", "http": { "method": "GET", "requestUri": "/api/v1/groups", "responseCode": 200 }, "input": { "shape": "DescribeGroupsRequest" }, "output": { "shape": "DescribeGroupsResponse" }, "errors": [ { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Describes the groups specified by the query. Groups are defined by the underlying Active Directory.
" }, "DescribeNotificationSubscriptions": { "name": "DescribeNotificationSubscriptions", "http": { "method": "GET", "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", "responseCode": 200 }, "input": { "shape": "DescribeNotificationSubscriptionsRequest" }, "output": { "shape": "DescribeNotificationSubscriptionsResponse" }, "errors": [ { "shape": "UnauthorizedResourceAccessException" }, { "shape": "EntityNotExistsException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Lists the specified notification subscriptions.
" }, "DescribeResourcePermissions": { "name": "DescribeResourcePermissions", "http": { "method": "GET", "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 200 }, "input": { "shape": "DescribeResourcePermissionsRequest" }, "output": { "shape": "DescribeResourcePermissionsResponse" }, "errors": [ { "shape": "InvalidArgumentException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Describes the permissions of a specified resource.
" }, "DescribeRootFolders": { "name": "DescribeRootFolders", "http": { "method": "GET", "requestUri": "/api/v1/me/root", "responseCode": 200 }, "input": { "shape": "DescribeRootFoldersRequest" }, "output": { "shape": "DescribeRootFoldersResponse" }, "errors": [ { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Describes the current user's special folders; the RootFolder
and the RecycleBin
. RootFolder
is the root of user's files and folders and RecycleBin
is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
" }, "DescribeUsers": { "name": "DescribeUsers", "http": { "method": "GET", "requestUri": "/api/v1/users", "responseCode": 200 }, "input": { "shape": "DescribeUsersRequest" }, "output": { "shape": "DescribeUsersResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "InvalidArgumentException" }, { "shape": "RequestedEntityTooLargeException" } ], "documentation": "Describes the specified users. You can describe all users or filter the results (for example, by status or organization).
By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.
" }, "GetCurrentUser": { "name": "GetCurrentUser", "http": { "method": "GET", "requestUri": "/api/v1/me", "responseCode": 200 }, "input": { "shape": "GetCurrentUserRequest" }, "output": { "shape": "GetCurrentUserResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Retrieves details of the current user for whom the authentication token was generated. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
" }, "GetDocument": { "name": "GetDocument", "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 200 }, "input": { "shape": "GetDocumentRequest" }, "output": { "shape": "GetDocumentResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "InvalidPasswordException" } ], "documentation": "Retrieves details of a document.
" }, "GetDocumentPath": { "name": "GetDocumentPath", "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/path", "responseCode": 200 }, "input": { "shape": "GetDocumentPathRequest" }, "output": { "shape": "GetDocumentPathResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Retrieves the path information (the hierarchy from the root folder) for the requested document.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested document and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the names of the parent folders.
" }, "GetDocumentVersion": { "name": "GetDocumentVersion", "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 200 }, "input": { "shape": "GetDocumentVersionRequest" }, "output": { "shape": "GetDocumentVersionResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" }, { "shape": "InvalidPasswordException" } ], "documentation": "Retrieves version metadata for the specified document.
" }, "GetFolder": { "name": "GetFolder", "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 200 }, "input": { "shape": "GetFolderRequest" }, "output": { "shape": "GetFolderResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ProhibitedStateException" } ], "documentation": "Retrieves the metadata of the specified folder.
" }, "GetFolderPath": { "name": "GetFolderPath", "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}/path", "responseCode": 200 }, "input": { "shape": "GetFolderPathRequest" }, "output": { "shape": "GetFolderPathResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Retrieves the path information (the hierarchy from the root folder) for the specified folder.
By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.
" }, "GetResources": { "name": "GetResources", "http": { "method": "GET", "requestUri": "/api/v1/resources", "responseCode": 200 }, "input": { "shape": "GetResourcesRequest" }, "output": { "shape": "GetResourcesResponse" }, "errors": [ { "shape": "UnauthorizedResourceAccessException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "InvalidArgumentException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Retrieves a collection of resources, including folders and documents. The only CollectionType
supported is SHARED_WITH_ME
.
Creates a new document object and version object.
The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion.
To cancel the document upload, call AbortDocumentVersionUpload.
" }, "RemoveAllResourcePermissions": { "name": "RemoveAllResourcePermissions", "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 204 }, "input": { "shape": "RemoveAllResourcePermissionsRequest" }, "errors": [ { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Removes all the permissions from the specified resource.
" }, "RemoveResourcePermission": { "name": "RemoveResourcePermission", "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}", "responseCode": 204 }, "input": { "shape": "RemoveResourcePermissionRequest" }, "errors": [ { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Removes the permission for the specified principal from the specified resource.
" }, "RestoreDocumentVersions": { "name": "RestoreDocumentVersions", "http": { "method": "POST", "requestUri": "/api/v1/documentVersions/restore/{DocumentId}", "responseCode": 204 }, "input": { "shape": "RestoreDocumentVersionsRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "InvalidOperationException" }, { "shape": "UnauthorizedOperationException" } ], "documentation": "Recovers a deleted version of an Amazon WorkDocs document.
" }, "SearchResources": { "name": "SearchResources", "http": { "method": "POST", "requestUri": "/api/v1/search", "responseCode": 200 }, "input": { "shape": "SearchResourcesRequest" }, "output": { "shape": "SearchResourcesResponse" }, "errors": [ { "shape": "InvalidArgumentException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Searches metadata and the content of folders, documents, document versions, and comments.
" }, "UpdateDocument": { "name": "UpdateDocument", "http": { "method": "PATCH", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 200 }, "input": { "shape": "UpdateDocumentRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "EntityAlreadyExistsException" }, { "shape": "LimitExceededException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.
" }, "UpdateDocumentVersion": { "name": "UpdateDocumentVersion", "http": { "method": "PATCH", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 200 }, "input": { "shape": "UpdateDocumentVersionRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConcurrentModificationException" }, { "shape": "InvalidOperationException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Changes the status of the document version to ACTIVE.
Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload.
" }, "UpdateFolder": { "name": "UpdateFolder", "http": { "method": "PATCH", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 200 }, "input": { "shape": "UpdateFolderRequest" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "EntityAlreadyExistsException" }, { "shape": "ProhibitedStateException" }, { "shape": "ConflictingOperationException" }, { "shape": "ConcurrentModificationException" }, { "shape": "LimitExceededException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.
" }, "UpdateUser": { "name": "UpdateUser", "http": { "method": "PATCH", "requestUri": "/api/v1/users/{UserId}", "responseCode": 200 }, "input": { "shape": "UpdateUserRequest" }, "output": { "shape": "UpdateUserResponse" }, "errors": [ { "shape": "EntityNotExistsException" }, { "shape": "UnauthorizedOperationException" }, { "shape": "UnauthorizedResourceAccessException" }, { "shape": "IllegalUserStateException" }, { "shape": "ProhibitedStateException" }, { "shape": "FailedDependencyException" }, { "shape": "ServiceUnavailableException" }, { "shape": "DeactivatingLastSystemUserException" }, { "shape": "InvalidArgumentException" } ], "documentation": "Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
" } }, "shapes": { "AbortDocumentVersionUploadRequest": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the version.
", "location": "uri", "locationName": "VersionId" } } }, "ActivateUserRequest": { "type": "structure", "required": [ "UserId" ], "members": { "UserId": { "shape": "IdType", "documentation": "The ID of the user.
", "location": "uri", "locationName": "UserId" }, "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" } } }, "ActivateUserResponse": { "type": "structure", "members": { "User": { "shape": "User", "documentation": "The user information.
" } } }, "Activity": { "type": "structure", "members": { "Type": { "shape": "ActivityType", "documentation": "The activity type.
" }, "TimeStamp": { "shape": "TimestampType", "documentation": "The timestamp when the action was performed.
" }, "IsIndirectActivity": { "shape": "BooleanType", "documentation": "Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
" }, "Initiator": { "shape": "UserMetadata", "documentation": "The user who performed the action.
" }, "Participants": { "shape": "Participants", "documentation": "The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
" }, "ResourceMetadata": { "shape": "ResourceMetadata", "documentation": "The metadata of the resource involved in the user action.
" }, "OriginalParent": { "shape": "ResourceMetadata", "documentation": "The original parent of the resource. This is an optional field and is filled for move activities.
" }, "CommentMetadata": { "shape": "CommentMetadata", "documentation": "Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
" } }, "documentation": "Describes the activity information.
" }, "ActivityNamesFilterType": { "type": "string", "max": 1024, "min": 1, "pattern": "[\\w,]+" }, "ActivityType": { "type": "string", "enum": [ "DOCUMENT_CHECKED_IN", "DOCUMENT_CHECKED_OUT", "DOCUMENT_RENAMED", "DOCUMENT_VERSION_UPLOADED", "DOCUMENT_VERSION_DELETED", "DOCUMENT_VERSION_VIEWED", "DOCUMENT_VERSION_DOWNLOADED", "DOCUMENT_RECYCLED", "DOCUMENT_RESTORED", "DOCUMENT_REVERTED", "DOCUMENT_SHARED", "DOCUMENT_UNSHARED", "DOCUMENT_SHARE_PERMISSION_CHANGED", "DOCUMENT_SHAREABLE_LINK_CREATED", "DOCUMENT_SHAREABLE_LINK_REMOVED", "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED", "DOCUMENT_MOVED", "DOCUMENT_COMMENT_ADDED", "DOCUMENT_COMMENT_DELETED", "DOCUMENT_ANNOTATION_ADDED", "DOCUMENT_ANNOTATION_DELETED", "FOLDER_CREATED", "FOLDER_DELETED", "FOLDER_RENAMED", "FOLDER_RECYCLED", "FOLDER_RESTORED", "FOLDER_SHARED", "FOLDER_UNSHARED", "FOLDER_SHARE_PERMISSION_CHANGED", "FOLDER_SHAREABLE_LINK_CREATED", "FOLDER_SHAREABLE_LINK_REMOVED", "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED", "FOLDER_MOVED" ] }, "AddResourcePermissionsRequest": { "type": "structure", "required": [ "ResourceId", "Principals" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "Principals": { "shape": "SharePrincipalList", "documentation": "The users, groups, or organization being granted permission.
" }, "NotificationOptions": { "shape": "NotificationOptions", "documentation": "The notification options.
" } } }, "AddResourcePermissionsResponse": { "type": "structure", "members": { "ShareResults": { "shape": "ShareResultsList", "documentation": "The share results.
" } } }, "AdditionalResponseFieldType": { "type": "string", "enum": [ "WEBURL" ] }, "AdditionalResponseFieldsList": { "type": "list", "member": { "shape": "AdditionalResponseFieldType" } }, "AuthenticationHeaderType": { "type": "string", "max": 8199, "min": 1, "sensitive": true }, "BooleanEnumType": { "type": "string", "enum": [ "TRUE", "FALSE" ] }, "BooleanType": { "type": "boolean" }, "Comment": { "type": "structure", "required": [ "CommentId" ], "members": { "CommentId": { "shape": "CommentIdType", "documentation": "The ID of the comment.
" }, "ParentId": { "shape": "CommentIdType", "documentation": "The ID of the parent comment.
" }, "ThreadId": { "shape": "CommentIdType", "documentation": "The ID of the root comment in the thread.
" }, "Text": { "shape": "CommentTextType", "documentation": "The text of the comment.
" }, "Contributor": { "shape": "User", "documentation": "The details of the user who made the comment.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The time that the comment was created.
" }, "Status": { "shape": "CommentStatusType", "documentation": "The status of the comment.
" }, "Visibility": { "shape": "CommentVisibilityType", "documentation": "The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
" }, "RecipientId": { "shape": "IdType", "documentation": "If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
" } }, "documentation": "Describes a comment.
" }, "CommentIdType": { "type": "string", "max": 128, "min": 1, "pattern": "[\\w+-.@]+" }, "CommentList": { "type": "list", "member": { "shape": "Comment" } }, "CommentMetadata": { "type": "structure", "members": { "CommentId": { "shape": "CommentIdType", "documentation": "The ID of the comment.
" }, "Contributor": { "shape": "User", "documentation": "The user who made the comment.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp that the comment was created.
" }, "CommentStatus": { "shape": "CommentStatusType", "documentation": "The status of the comment.
" }, "RecipientId": { "shape": "IdType", "documentation": "The ID of the user being replied to.
" }, "ContributorId": { "shape": "IdType", "documentation": "The ID of the user who made the comment.
" } }, "documentation": "Describes the metadata of a comment.
" }, "CommentStatusType": { "type": "string", "enum": [ "DRAFT", "PUBLISHED", "DELETED" ] }, "CommentTextType": { "type": "string", "max": 2048, "min": 1, "sensitive": true }, "CommentVisibilityType": { "type": "string", "enum": [ "PUBLIC", "PRIVATE" ] }, "ContentCategoryType": { "type": "string", "enum": [ "IMAGE", "DOCUMENT", "PDF", "SPREADSHEET", "PRESENTATION", "AUDIO", "VIDEO", "SOURCE_CODE", "OTHER" ] }, "CreateCommentRequest": { "type": "structure", "required": [ "DocumentId", "VersionId", "Text" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the document version.
", "location": "uri", "locationName": "VersionId" }, "ParentId": { "shape": "CommentIdType", "documentation": "The ID of the parent comment.
" }, "ThreadId": { "shape": "CommentIdType", "documentation": "The ID of the root comment in the thread.
" }, "Text": { "shape": "CommentTextType", "documentation": "The text of the comment.
" }, "Visibility": { "shape": "CommentVisibilityType", "documentation": "The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
" }, "NotifyCollaborators": { "shape": "BooleanType", "documentation": "Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
" } } }, "CreateCommentResponse": { "type": "structure", "members": { "Comment": { "shape": "Comment", "documentation": "The comment that has been created.
" } } }, "CreateCustomMetadataRequest": { "type": "structure", "required": [ "ResourceId", "CustomMetadata" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the version, if the custom metadata is being added to a document version.
", "location": "querystring", "locationName": "versionid" }, "CustomMetadata": { "shape": "CustomMetadataMap", "documentation": "Custom metadata in the form of name-value pairs.
" } } }, "CreateCustomMetadataResponse": { "type": "structure", "members": {} }, "CreateFolderRequest": { "type": "structure", "required": [ "ParentFolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the new folder.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" } } }, "CreateFolderResponse": { "type": "structure", "members": { "Metadata": { "shape": "FolderMetadata", "documentation": "The metadata of the folder.
" } } }, "CreateLabelsRequest": { "type": "structure", "required": [ "ResourceId", "Labels" ], "members": { "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "Labels": { "shape": "SharedLabels", "documentation": "List of labels to add to the resource.
" }, "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" } } }, "CreateLabelsResponse": { "type": "structure", "members": {} }, "CreateNotificationSubscriptionRequest": { "type": "structure", "required": [ "OrganizationId", "Endpoint", "Protocol", "SubscriptionType" ], "members": { "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
", "location": "uri", "locationName": "OrganizationId" }, "Endpoint": { "shape": "SubscriptionEndPointType", "documentation": "The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https
.
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
" }, "SubscriptionType": { "shape": "SubscriptionType", "documentation": "The notification type.
" } } }, "CreateNotificationSubscriptionResponse": { "type": "structure", "members": { "Subscription": { "shape": "Subscription", "documentation": "The subscription.
" } } }, "CreateUserRequest": { "type": "structure", "required": [ "Username", "GivenName", "Surname", "Password" ], "members": { "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
" }, "Username": { "shape": "UsernameType", "documentation": "The login name of the user.
" }, "EmailAddress": { "shape": "EmailAddressType", "documentation": "The email address of the user.
" }, "GivenName": { "shape": "UserAttributeValueType", "documentation": "The given name of the user.
" }, "Surname": { "shape": "UserAttributeValueType", "documentation": "The surname of the user.
" }, "Password": { "shape": "PasswordType", "documentation": "The password of the user.
" }, "TimeZoneId": { "shape": "TimeZoneIdType", "documentation": "The time zone ID of the user.
" }, "StorageRule": { "shape": "StorageRuleType", "documentation": "The amount of storage for the user.
" }, "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" } } }, "CreateUserResponse": { "type": "structure", "members": { "User": { "shape": "User", "documentation": "The user information.
" } } }, "CustomMetadataKeyList": { "type": "list", "member": { "shape": "CustomMetadataKeyType" }, "max": 8 }, "CustomMetadataKeyType": { "type": "string", "max": 56, "min": 1, "pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*" }, "CustomMetadataMap": { "type": "map", "key": { "shape": "CustomMetadataKeyType" }, "value": { "shape": "CustomMetadataValueType" }, "max": 8, "min": 1 }, "CustomMetadataValueType": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*" }, "DateRangeType": { "type": "structure", "members": { "StartValue": { "shape": "TimestampType", "documentation": "Timestamp range start value (in epochs)
" }, "EndValue": { "shape": "TimestampType", "documentation": "Timestamp range end value (in epochs).
" } }, "documentation": "Filters results based on timestamp range (in epochs).
" }, "DeactivateUserRequest": { "type": "structure", "required": [ "UserId" ], "members": { "UserId": { "shape": "IdType", "documentation": "The ID of the user.
", "location": "uri", "locationName": "UserId" }, "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" } } }, "DeleteCommentRequest": { "type": "structure", "required": [ "DocumentId", "VersionId", "CommentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the document version.
", "location": "uri", "locationName": "VersionId" }, "CommentId": { "shape": "CommentIdType", "documentation": "The ID of the comment.
", "location": "uri", "locationName": "CommentId" } } }, "DeleteCustomMetadataRequest": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource, either a document or folder.
", "location": "uri", "locationName": "ResourceId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the version, if the custom metadata is being deleted from a document version.
", "location": "querystring", "locationName": "versionId" }, "Keys": { "shape": "CustomMetadataKeyList", "documentation": "List of properties to remove.
", "location": "querystring", "locationName": "keys" }, "DeleteAll": { "shape": "BooleanType", "documentation": "Flag to indicate removal of all custom metadata properties from the specified resource.
", "location": "querystring", "locationName": "deleteAll" } } }, "DeleteCustomMetadataResponse": { "type": "structure", "members": {} }, "DeleteDocumentRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" } } }, "DeleteDocumentVersionRequest": { "type": "structure", "required": [ "DocumentId", "VersionId", "DeletePriorVersions" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document associated with the version being deleted.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the version being deleted.
", "location": "uri", "locationName": "VersionId" }, "DeletePriorVersions": { "shape": "BooleanType", "documentation": "Deletes all versions of a document prior to the current version.
", "location": "querystring", "locationName": "deletePriorVersions" } } }, "DeleteFolderContentsRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" } } }, "DeleteFolderRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" } } }, "DeleteLabelsRequest": { "type": "structure", "required": [ "ResourceId" ], "members": { "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "Labels": { "shape": "SharedLabels", "documentation": "List of labels to delete from the resource.
", "location": "querystring", "locationName": "labels" }, "DeleteAll": { "shape": "BooleanType", "documentation": "Flag to request removal of all labels from the specified resource.
", "location": "querystring", "locationName": "deleteAll" } } }, "DeleteLabelsResponse": { "type": "structure", "members": {} }, "DeleteNotificationSubscriptionRequest": { "type": "structure", "required": [ "SubscriptionId", "OrganizationId" ], "members": { "SubscriptionId": { "shape": "IdType", "documentation": "The ID of the subscription.
", "location": "uri", "locationName": "SubscriptionId" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
", "location": "uri", "locationName": "OrganizationId" } } }, "DeleteUserRequest": { "type": "structure", "required": [ "UserId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using Amazon Web Services credentials.
", "location": "header", "locationName": "Authentication" }, "UserId": { "shape": "IdType", "documentation": "The ID of the user.
", "location": "uri", "locationName": "UserId" } } }, "DescribeActivitiesRequest": { "type": "structure", "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "StartTime": { "shape": "TimestampType", "documentation": "The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.
", "location": "querystring", "locationName": "startTime" }, "EndTime": { "shape": "TimestampType", "documentation": "The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.
", "location": "querystring", "locationName": "endTime" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.
", "location": "querystring", "locationName": "organizationId" }, "ActivityTypes": { "shape": "ActivityNamesFilterType", "documentation": "Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.
", "location": "querystring", "locationName": "activityTypes" }, "ResourceId": { "shape": "IdType", "documentation": "The document or folder ID for which to describe activity types.
", "location": "querystring", "locationName": "resourceId" }, "UserId": { "shape": "IdType", "documentation": "The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.
", "location": "querystring", "locationName": "userId" }, "IncludeIndirectActivities": { "shape": "BooleanType", "documentation": "Includes indirect activities. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
", "location": "querystring", "locationName": "includeIndirectActivities" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "SearchMarkerType", "documentation": "The marker for the next set of results.
", "location": "querystring", "locationName": "marker" } } }, "DescribeActivitiesResponse": { "type": "structure", "members": { "UserActivities": { "shape": "UserActivities", "documentation": "The list of activities for the specified user and time period.
" }, "Marker": { "shape": "SearchMarkerType", "documentation": "The marker for the next set of results.
" } } }, "DescribeCommentsRequest": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The ID of the document version.
", "location": "uri", "locationName": "VersionId" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "MarkerType", "documentation": "The marker for the next set of results. This marker was received from a previous call.
", "location": "querystring", "locationName": "marker" } } }, "DescribeCommentsResponse": { "type": "structure", "members": { "Comments": { "shape": "CommentList", "documentation": "The list of comments for the specified document version.
" }, "Marker": { "shape": "MarkerType", "documentation": "The marker for the next set of results. This marker was received from a previous call.
" } } }, "DescribeDocumentVersionsRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call.)
", "location": "querystring", "locationName": "marker" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of versions to return with this call.
", "location": "querystring", "locationName": "limit" }, "Include": { "shape": "FieldNamesType", "documentation": "A comma-separated list of values. Specify \"INITIALIZED\" to include incomplete versions.
", "location": "querystring", "locationName": "include" }, "Fields": { "shape": "FieldNamesType", "documentation": "Specify \"SOURCE\" to include initialized versions and a URL for the source document.
", "location": "querystring", "locationName": "fields" } } }, "DescribeDocumentVersionsResponse": { "type": "structure", "members": { "DocumentVersions": { "shape": "DocumentVersionMetadataList", "documentation": "The document versions.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DescribeFolderContentsRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" }, "Sort": { "shape": "ResourceSortType", "documentation": "The sorting criteria.
", "location": "querystring", "locationName": "sort" }, "Order": { "shape": "OrderType", "documentation": "The order for the contents of the folder.
", "location": "querystring", "locationName": "order" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return with this call.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. This marker was received from a previous call.
", "location": "querystring", "locationName": "marker" }, "Type": { "shape": "FolderContentType", "documentation": "The type of items.
", "location": "querystring", "locationName": "type" }, "Include": { "shape": "FieldNamesType", "documentation": "The contents to include. Specify \"INITIALIZED\" to include initialized documents.
", "location": "querystring", "locationName": "include" } } }, "DescribeFolderContentsResponse": { "type": "structure", "members": { "Folders": { "shape": "FolderMetadataList", "documentation": "The subfolders in the specified folder.
" }, "Documents": { "shape": "DocumentMetadataList", "documentation": "The documents in the specified folder.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DescribeGroupsRequest": { "type": "structure", "required": [ "SearchQuery" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "SearchQuery": { "shape": "SearchQueryType", "documentation": "A query to describe groups by group name.
", "location": "querystring", "locationName": "searchQuery" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
", "location": "querystring", "locationName": "organizationId" }, "Marker": { "shape": "MarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call.)
", "location": "querystring", "locationName": "marker" }, "Limit": { "shape": "PositiveIntegerType", "documentation": "The maximum number of items to return with this call.
", "location": "querystring", "locationName": "limit" } } }, "DescribeGroupsResponse": { "type": "structure", "members": { "Groups": { "shape": "GroupMetadataList", "documentation": "The list of groups.
" }, "Marker": { "shape": "MarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DescribeNotificationSubscriptionsRequest": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
", "location": "uri", "locationName": "OrganizationId" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call.)
", "location": "querystring", "locationName": "marker" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return with this call.
", "location": "querystring", "locationName": "limit" } } }, "DescribeNotificationSubscriptionsResponse": { "type": "structure", "members": { "Subscriptions": { "shape": "SubscriptionList", "documentation": "The subscriptions.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DescribeResourcePermissionsRequest": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "PrincipalId": { "shape": "IdType", "documentation": "The ID of the principal to filter permissions by.
", "location": "querystring", "locationName": "principalId" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return with this call.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call)
", "location": "querystring", "locationName": "marker" } } }, "DescribeResourcePermissionsResponse": { "type": "structure", "members": { "Principals": { "shape": "PrincipalList", "documentation": "The principals.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DescribeRootFoldersRequest": { "type": "structure", "required": [ "AuthenticationToken" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token.
", "location": "header", "locationName": "Authentication" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call.)
", "location": "querystring", "locationName": "marker" } } }, "DescribeRootFoldersResponse": { "type": "structure", "members": { "Folders": { "shape": "FolderMetadataList", "documentation": "The user's special folders.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results.
" } } }, "DescribeUsersRequest": { "type": "structure", "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
", "location": "querystring", "locationName": "organizationId" }, "UserIds": { "shape": "UserIdsType", "documentation": "The IDs of the users.
", "location": "querystring", "locationName": "userIds" }, "Query": { "shape": "SearchQueryType", "documentation": "A query to filter users by user name. Remember the following about the Userids
and Query
parameters:
If you don't use either parameter, the API returns a paginated list of all users on the site.
If you use both parameters, the API ignores the Query
parameter.
The Userid
parameter only returns user names that match a corresponding user ID.
The Query
parameter runs a \"prefix\" search for users by the GivenName
, SurName
, or UserName
fields included in a CreateUser API call. For example, querying on Ma
returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying on Ma J
only returns Mateo Jackson.
The state of the users. Specify \"ALL\" to include inactive users.
", "location": "querystring", "locationName": "include" }, "Order": { "shape": "OrderType", "documentation": "The order for the results.
", "location": "querystring", "locationName": "order" }, "Sort": { "shape": "UserSortType", "documentation": "The sorting criteria.
", "location": "querystring", "locationName": "sort" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. (You received this marker from a previous call.)
", "location": "querystring", "locationName": "marker" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of items to return.
", "location": "querystring", "locationName": "limit" }, "Fields": { "shape": "FieldNamesType", "documentation": "A comma-separated list of values. Specify \"STORAGE_METADATA\" to include the user storage quota and utilization information.
", "location": "querystring", "locationName": "fields" } } }, "DescribeUsersResponse": { "type": "structure", "members": { "Users": { "shape": "OrganizationUserList", "documentation": "The users.
" }, "TotalNumberOfUsers": { "shape": "SizeType", "documentation": "The total number of users included in the results.
", "deprecated": true }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "DocumentContentType": { "type": "string", "max": 128, "min": 1 }, "DocumentMetadata": { "type": "structure", "members": { "Id": { "shape": "ResourceIdType", "documentation": "The ID of the document.
" }, "CreatorId": { "shape": "IdType", "documentation": "The ID of the creator.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The time when the document was created.
" }, "ModifiedTimestamp": { "shape": "TimestampType", "documentation": "The time when the document was updated.
" }, "LatestVersionMetadata": { "shape": "DocumentVersionMetadata", "documentation": "The latest version of the document.
" }, "ResourceState": { "shape": "ResourceStateType", "documentation": "The resource state.
" }, "Labels": { "shape": "SharedLabels", "documentation": "List of labels on the document.
" } }, "documentation": "Describes the document.
" }, "DocumentMetadataList": { "type": "list", "member": { "shape": "DocumentMetadata" } }, "DocumentSourceType": { "type": "string", "enum": [ "ORIGINAL", "WITH_COMMENTS" ] }, "DocumentSourceUrlMap": { "type": "map", "key": { "shape": "DocumentSourceType" }, "value": { "shape": "UrlType" } }, "DocumentStatusType": { "type": "string", "enum": [ "INITIALIZED", "ACTIVE" ] }, "DocumentThumbnailType": { "type": "string", "enum": [ "SMALL", "SMALL_HQ", "LARGE" ] }, "DocumentThumbnailUrlMap": { "type": "map", "key": { "shape": "DocumentThumbnailType" }, "value": { "shape": "UrlType" } }, "DocumentVersionIdType": { "type": "string", "max": 128, "min": 1, "pattern": "[\\w+-.@]+" }, "DocumentVersionMetadata": { "type": "structure", "members": { "Id": { "shape": "DocumentVersionIdType", "documentation": "The ID of the version.
" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the version.
" }, "ContentType": { "shape": "DocumentContentType", "documentation": "The content type of the document.
" }, "Size": { "shape": "SizeType", "documentation": "The size of the document, in bytes.
" }, "Signature": { "shape": "HashType", "documentation": "The signature of the document.
" }, "Status": { "shape": "DocumentStatusType", "documentation": "The status of the document.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the document was first uploaded.
" }, "ModifiedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the document was last uploaded.
" }, "ContentCreatedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the content of the document was originally created.
" }, "ContentModifiedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the content of the document was modified.
" }, "CreatorId": { "shape": "IdType", "documentation": "The ID of the creator.
" }, "Thumbnail": { "shape": "DocumentThumbnailUrlMap", "documentation": "The thumbnail of the document.
" }, "Source": { "shape": "DocumentSourceUrlMap", "documentation": "The source of the document.
" } }, "documentation": "Describes a version of a document.
" }, "DocumentVersionMetadataList": { "type": "list", "member": { "shape": "DocumentVersionMetadata" } }, "DocumentVersionStatus": { "type": "string", "enum": [ "ACTIVE" ] }, "EmailAddressType": { "type": "string", "max": 256, "min": 1, "pattern": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}", "sensitive": true }, "FieldNamesType": { "type": "string", "max": 256, "min": 1, "pattern": "[\\w,]+" }, "Filters": { "type": "structure", "members": { "TextLocales": { "shape": "TextLocaleTypeList", "documentation": "Filters by the locale of the content or comment.
" }, "ContentCategories": { "shape": "SearchContentCategoryTypeList", "documentation": "Filters by content category.
" }, "ResourceTypes": { "shape": "SearchResourceTypeList", "documentation": "Filters based on entity type.
" }, "Labels": { "shape": "SearchLabelList", "documentation": "Filter by labels using exact match.
" }, "Principals": { "shape": "SearchPrincipalTypeList", "documentation": "Filter based on UserIds or GroupIds.
" }, "AncestorIds": { "shape": "SearchAncestorIdList", "documentation": "Filter based on resource’s path.
" }, "SearchCollectionTypes": { "shape": "SearchCollectionTypeList", "documentation": "Filter based on file groupings.
" }, "SizeRange": { "shape": "LongRangeType", "documentation": "Filter based on size (in bytes).
" }, "CreatedRange": { "shape": "DateRangeType", "documentation": "Filter based on resource’s creation timestamp.
" }, "ModifiedRange": { "shape": "DateRangeType", "documentation": "Filter based on resource’s modified timestamp.
" } }, "documentation": "Filters results based on entity metadata.
" }, "FolderContentType": { "type": "string", "enum": [ "ALL", "DOCUMENT", "FOLDER" ] }, "FolderMetadata": { "type": "structure", "members": { "Id": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the folder.
" }, "CreatorId": { "shape": "IdType", "documentation": "The ID of the creator.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The time when the folder was created.
" }, "ModifiedTimestamp": { "shape": "TimestampType", "documentation": "The time when the folder was updated.
" }, "ResourceState": { "shape": "ResourceStateType", "documentation": "The resource state of the folder.
" }, "Signature": { "shape": "HashType", "documentation": "The unique identifier created from the subfolders and documents of the folder.
" }, "Labels": { "shape": "SharedLabels", "documentation": "List of labels on the folder.
" }, "Size": { "shape": "SizeType", "documentation": "The size of the folder metadata.
" }, "LatestVersionSize": { "shape": "SizeType", "documentation": "The size of the latest version of the folder metadata.
" } }, "documentation": "Describes a folder.
" }, "FolderMetadataList": { "type": "list", "member": { "shape": "FolderMetadata" } }, "GetCurrentUserRequest": { "type": "structure", "required": [ "AuthenticationToken" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token.
", "location": "header", "locationName": "Authentication" } } }, "GetCurrentUserResponse": { "type": "structure", "members": { "User": { "shape": "User", "documentation": "Metadata of the user.
" } } }, "GetDocumentPathRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "IdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of levels in the hierarchy to return.
", "location": "querystring", "locationName": "limit" }, "Fields": { "shape": "FieldNamesType", "documentation": "A comma-separated list of values. Specify NAME
to include the names of the parent folders.
This value is not supported.
", "location": "querystring", "locationName": "marker" } } }, "GetDocumentPathResponse": { "type": "structure", "members": { "Path": { "shape": "ResourcePath", "documentation": "The path information.
" } } }, "GetDocumentRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "IncludeCustomMetadata": { "shape": "BooleanType", "documentation": "Set this to TRUE
to include custom metadata in the response.
The metadata details of the document.
" }, "CustomMetadata": { "shape": "CustomMetadataMap", "documentation": "The custom metadata on the document.
" } } }, "GetDocumentVersionRequest": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The version ID of the document.
", "location": "uri", "locationName": "VersionId" }, "Fields": { "shape": "FieldNamesType", "documentation": "A comma-separated list of values. Specify \"SOURCE\" to include a URL for the source document.
", "location": "querystring", "locationName": "fields" }, "IncludeCustomMetadata": { "shape": "BooleanType", "documentation": "Set this to TRUE to include custom metadata in the response.
", "location": "querystring", "locationName": "includeCustomMetadata" } } }, "GetDocumentVersionResponse": { "type": "structure", "members": { "Metadata": { "shape": "DocumentVersionMetadata", "documentation": "The version metadata.
" }, "CustomMetadata": { "shape": "CustomMetadataMap", "documentation": "The custom metadata on the document version.
" } } }, "GetFolderPathRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "IdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of levels in the hierarchy to return.
", "location": "querystring", "locationName": "limit" }, "Fields": { "shape": "FieldNamesType", "documentation": "A comma-separated list of values. Specify \"NAME\" to include the names of the parent folders.
", "location": "querystring", "locationName": "fields" }, "Marker": { "shape": "PageMarkerType", "documentation": "This value is not supported.
", "location": "querystring", "locationName": "marker" } } }, "GetFolderPathResponse": { "type": "structure", "members": { "Path": { "shape": "ResourcePath", "documentation": "The path information.
" } } }, "GetFolderRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" }, "IncludeCustomMetadata": { "shape": "BooleanType", "documentation": "Set to TRUE to include custom metadata in the response.
", "location": "querystring", "locationName": "includeCustomMetadata" } } }, "GetFolderResponse": { "type": "structure", "members": { "Metadata": { "shape": "FolderMetadata", "documentation": "The metadata of the folder.
" }, "CustomMetadata": { "shape": "CustomMetadataMap", "documentation": "The custom metadata on the folder.
" } } }, "GetResourcesRequest": { "type": "structure", "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "UserId": { "shape": "IdType", "documentation": "The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
", "location": "querystring", "locationName": "userId" }, "CollectionType": { "shape": "ResourceCollectionType", "documentation": "The collection type.
", "location": "querystring", "locationName": "collectionType" }, "Limit": { "shape": "LimitType", "documentation": "The maximum number of resources to return.
", "location": "querystring", "locationName": "limit" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker for the next set of results. This marker was received from a previous call.
", "location": "querystring", "locationName": "marker" } } }, "GetResourcesResponse": { "type": "structure", "members": { "Folders": { "shape": "FolderMetadataList", "documentation": "The folders in the specified folder.
" }, "Documents": { "shape": "DocumentMetadataList", "documentation": "The documents in the specified collection.
" }, "Marker": { "shape": "PageMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "GroupMetadata": { "type": "structure", "members": { "Id": { "shape": "IdType", "documentation": "The ID of the user group.
" }, "Name": { "shape": "GroupNameType", "documentation": "The name of the group.
" } }, "documentation": "Describes the metadata of a user group.
" }, "GroupMetadataList": { "type": "list", "member": { "shape": "GroupMetadata" } }, "GroupNameType": { "type": "string" }, "HashType": { "type": "string", "max": 128, "min": 0, "pattern": "[&\\w+-.@]+" }, "HeaderNameType": { "type": "string", "max": 256, "min": 1, "pattern": "[\\w-]+" }, "HeaderValueType": { "type": "string", "max": 1024, "min": 1 }, "IdType": { "type": "string", "max": 256, "min": 1, "pattern": "[&\\w+-.@]+" }, "InitiateDocumentVersionUploadRequest": { "type": "structure", "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "Id": { "shape": "ResourceIdType", "documentation": "The ID of the document.
" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the document.
" }, "ContentCreatedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the content of the document was originally created.
" }, "ContentModifiedTimestamp": { "shape": "TimestampType", "documentation": "The timestamp when the content of the document was modified.
" }, "ContentType": { "shape": "DocumentContentType", "documentation": "The content type of the document.
" }, "DocumentSizeInBytes": { "shape": "SizeType", "documentation": "The size of the document, in bytes.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" } } }, "InitiateDocumentVersionUploadResponse": { "type": "structure", "members": { "Metadata": { "shape": "DocumentMetadata", "documentation": "The document metadata.
" }, "UploadMetadata": { "shape": "UploadMetadata", "documentation": "The upload metadata.
" } } }, "LanguageCodeType": { "type": "string", "enum": [ "AR", "BG", "BN", "DA", "DE", "CS", "EL", "EN", "ES", "FA", "FI", "FR", "HI", "HU", "ID", "IT", "JA", "KO", "LT", "LV", "NL", "NO", "PT", "RO", "RU", "SV", "SW", "TH", "TR", "ZH", "DEFAULT" ] }, "LimitType": { "type": "integer", "max": 999, "min": 1 }, "LocaleType": { "type": "string", "enum": [ "en", "fr", "ko", "de", "es", "ja", "ru", "zh_CN", "zh_TW", "pt_BR", "default" ] }, "LongRangeType": { "type": "structure", "members": { "StartValue": { "shape": "LongType", "documentation": "The size start range (in bytes).
" }, "EndValue": { "shape": "LongType", "documentation": "The size end range (in bytes).
" } }, "documentation": "Filter based on size (in bytes).
" }, "LongType": { "type": "long" }, "MarkerType": { "type": "string", "max": 2048, "min": 1, "pattern": "[\\u0000-\\u00FF]+" }, "MessageType": { "type": "string", "max": 2048, "min": 0, "sensitive": true }, "NextMarkerType": { "type": "string", "max": 2048, "min": 1, "pattern": "[\\d]+" }, "NotificationOptions": { "type": "structure", "members": { "SendEmail": { "shape": "BooleanType", "documentation": "Boolean value to indicate an email notification should be sent to the recipients.
" }, "EmailMessage": { "shape": "MessageType", "documentation": "Text value to be included in the email body.
" } }, "documentation": "Set of options which defines notification preferences of given action.
" }, "OrderByFieldType": { "type": "string", "enum": [ "RELEVANCE", "NAME", "SIZE", "CREATED_TIMESTAMP", "MODIFIED_TIMESTAMP" ] }, "OrderType": { "type": "string", "enum": [ "ASCENDING", "DESCENDING" ] }, "OrganizationUserList": { "type": "list", "member": { "shape": "User" } }, "PageMarkerType": { "type": "string", "max": 2048, "min": 1 }, "Participants": { "type": "structure", "members": { "Users": { "shape": "UserMetadataList", "documentation": "The list of users.
" }, "Groups": { "shape": "GroupMetadataList", "documentation": "The list of user groups.
" } }, "documentation": "Describes the users or user groups.
" }, "PasswordType": { "type": "string", "max": 32, "min": 4, "pattern": "[\\u0020-\\u00FF]+", "sensitive": true }, "PermissionInfo": { "type": "structure", "members": { "Role": { "shape": "RoleType", "documentation": "The role of the user.
" }, "Type": { "shape": "RolePermissionType", "documentation": "The type of permissions.
" } }, "documentation": "Describes the permissions.
" }, "PermissionInfoList": { "type": "list", "member": { "shape": "PermissionInfo" } }, "PositiveIntegerType": { "type": "integer", "min": 1 }, "PositiveSizeType": { "type": "long", "min": 0 }, "Principal": { "type": "structure", "members": { "Id": { "shape": "IdType", "documentation": "The ID of the resource.
" }, "Type": { "shape": "PrincipalType", "documentation": "The type of resource.
" }, "Roles": { "shape": "PermissionInfoList", "documentation": "The permission information for the resource.
" } }, "documentation": "Describes a resource.
" }, "PrincipalList": { "type": "list", "member": { "shape": "Principal" } }, "PrincipalRoleType": { "type": "string", "enum": [ "VIEWER", "CONTRIBUTOR", "OWNER", "COOWNER" ] }, "PrincipalType": { "type": "string", "enum": [ "USER", "GROUP", "INVITE", "ANONYMOUS", "ORGANIZATION" ] }, "RemoveAllResourcePermissionsRequest": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" } } }, "RemoveResourcePermissionRequest": { "type": "structure", "required": [ "ResourceId", "PrincipalId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "ResourceId": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
", "location": "uri", "locationName": "ResourceId" }, "PrincipalId": { "shape": "IdType", "documentation": "The principal ID of the resource.
", "location": "uri", "locationName": "PrincipalId" }, "PrincipalType": { "shape": "PrincipalType", "documentation": "The principal type of the resource.
", "location": "querystring", "locationName": "type" } } }, "ResourceCollectionType": { "type": "string", "enum": [ "SHARED_WITH_ME" ] }, "ResourceIdType": { "type": "string", "max": 128, "min": 1, "pattern": "[\\w+-.@]+" }, "ResourceMetadata": { "type": "structure", "members": { "Type": { "shape": "ResourceType", "documentation": "The type of resource.
" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the resource.
" }, "OriginalName": { "shape": "ResourceNameType", "documentation": "The original name of the resource before a rename operation.
" }, "Id": { "shape": "ResourceIdType", "documentation": "The ID of the resource.
" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The version ID of the resource. This is an optional field and is filled for action on document version.
" }, "Owner": { "shape": "UserMetadata", "documentation": "The owner of the resource.
" }, "ParentId": { "shape": "ResourceIdType", "documentation": "The parent ID of the resource before a rename operation.
" } }, "documentation": "Describes the metadata of a resource.
" }, "ResourceNameType": { "type": "string", "max": 255, "min": 1, "pattern": "[\\u0020-\\u202D\\u202F-\\uFFFF]+", "sensitive": true }, "ResourcePath": { "type": "structure", "members": { "Components": { "shape": "ResourcePathComponentList", "documentation": "The components of the resource path.
" } }, "documentation": "Describes the path information of a resource.
" }, "ResourcePathComponent": { "type": "structure", "members": { "Id": { "shape": "IdType", "documentation": "The ID of the resource path.
" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the resource path.
" } }, "documentation": "Describes the resource path.
" }, "ResourcePathComponentList": { "type": "list", "member": { "shape": "ResourcePathComponent" } }, "ResourceSortType": { "type": "string", "enum": [ "DATE", "NAME" ] }, "ResourceStateType": { "type": "string", "enum": [ "ACTIVE", "RESTORING", "RECYCLING", "RECYCLED" ] }, "ResourceType": { "type": "string", "enum": [ "FOLDER", "DOCUMENT" ] }, "ResponseItem": { "type": "structure", "members": { "ResourceType": { "shape": "ResponseItemType", "documentation": "The type of item being returned.
" }, "WebUrl": { "shape": "ResponseItemWebUrl", "documentation": "The webUrl of the item being returned.
" }, "DocumentMetadata": { "shape": "DocumentMetadata", "documentation": "The document that matches the query.
" }, "FolderMetadata": { "shape": "FolderMetadata", "documentation": "The folder that matches the query.
" }, "CommentMetadata": { "shape": "CommentMetadata", "documentation": "The comment that matches the query.
" }, "DocumentVersionMetadata": { "shape": "DocumentVersionMetadata", "documentation": "The document version that matches the metadata.
" } }, "documentation": "List of Documents, Folders, Comments, and Document Versions matching the query.
" }, "ResponseItemType": { "type": "string", "enum": [ "DOCUMENT", "FOLDER", "COMMENT", "DOCUMENT_VERSION" ] }, "ResponseItemWebUrl": { "type": "string", "max": 512, "min": 1, "pattern": "[\\u0020-\\uFFFF]+", "sensitive": true }, "ResponseItemsList": { "type": "list", "member": { "shape": "ResponseItem" }, "max": 100 }, "RestoreDocumentVersionsRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" } } }, "RolePermissionType": { "type": "string", "enum": [ "DIRECT", "INHERITED" ] }, "RoleType": { "type": "string", "enum": [ "VIEWER", "CONTRIBUTOR", "OWNER", "COOWNER" ] }, "SearchAncestorId": { "type": "string", "max": 128, "min": 1 }, "SearchAncestorIdList": { "type": "list", "member": { "shape": "SearchAncestorId" }, "max": 10 }, "SearchCollectionType": { "type": "string", "enum": [ "OWNED", "SHARED_WITH_ME" ] }, "SearchCollectionTypeList": { "type": "list", "member": { "shape": "SearchCollectionType" }, "max": 2 }, "SearchContentCategoryTypeList": { "type": "list", "member": { "shape": "ContentCategoryType" }, "max": 9 }, "SearchLabel": { "type": "string", "max": 128, "min": 1 }, "SearchLabelList": { "type": "list", "member": { "shape": "SearchLabel" }, "max": 10 }, "SearchMarkerType": { "type": "string", "max": 12288, "min": 1, "pattern": "[\\u0000-\\u00FF]+" }, "SearchPrincipalRoleList": { "type": "list", "member": { "shape": "PrincipalRoleType" }, "max": 4 }, "SearchPrincipalType": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "IdType", "documentation": "UserIds or GroupIds.
" }, "Roles": { "shape": "SearchPrincipalRoleList", "documentation": "The Role of a User or Group.
" } }, "documentation": "Filter based on UserIds or GroupIds.
" }, "SearchPrincipalTypeList": { "type": "list", "member": { "shape": "SearchPrincipalType" }, "max": 10 }, "SearchQueryScopeType": { "type": "string", "enum": [ "NAME", "CONTENT" ] }, "SearchQueryScopeTypeList": { "type": "list", "member": { "shape": "SearchQueryScopeType" }, "max": 2 }, "SearchQueryType": { "type": "string", "max": 512, "min": 1, "pattern": "[\\u0020-\\uFFFF]+", "sensitive": true }, "SearchResourceType": { "type": "string", "enum": [ "FOLDER", "DOCUMENT", "COMMENT", "DOCUMENT_VERSION" ] }, "SearchResourceTypeList": { "type": "list", "member": { "shape": "SearchResourceType" }, "max": 4 }, "SearchResourcesRequest": { "type": "structure", "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "QueryText": { "shape": "SearchQueryType", "documentation": "The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
" }, "QueryScopes": { "shape": "SearchQueryScopeTypeList", "documentation": "Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
" }, "OrganizationId": { "shape": "IdType", "documentation": "Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
" }, "AdditionalResponseFields": { "shape": "AdditionalResponseFieldsList", "documentation": "A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
" }, "Filters": { "shape": "Filters", "documentation": "Filters results based on entity metadata.
" }, "OrderBy": { "shape": "SearchResultSortList", "documentation": "Order by results in one or more categories.
" }, "Limit": { "shape": "SearchResultsLimitType", "documentation": "Max results count per page.
" }, "Marker": { "shape": "NextMarkerType", "documentation": "The marker for the next set of results.
" } } }, "SearchResourcesResponse": { "type": "structure", "members": { "Items": { "shape": "ResponseItemsList", "documentation": "List of Documents, Folders, Comments, and Document Versions matching the query.
" }, "Marker": { "shape": "NextMarkerType", "documentation": "The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
" } } }, "SearchResultSortList": { "type": "list", "member": { "shape": "SearchSortResult" }, "max": 1 }, "SearchResultsLimitType": { "type": "integer", "max": 100, "min": 1 }, "SearchSortResult": { "type": "structure", "members": { "Field": { "shape": "OrderByFieldType", "documentation": "Sort search results based on this field name.
" }, "Order": { "shape": "SortOrder", "documentation": "Sort direction.
" } }, "documentation": "The result of the sort operation.
" }, "SharePrincipal": { "type": "structure", "required": [ "Id", "Type", "Role" ], "members": { "Id": { "shape": "IdType", "documentation": "The ID of the recipient.
" }, "Type": { "shape": "PrincipalType", "documentation": "The type of the recipient.
" }, "Role": { "shape": "RoleType", "documentation": "The role of the recipient.
" } }, "documentation": "Describes the recipient type and ID, if available.
" }, "SharePrincipalList": { "type": "list", "member": { "shape": "SharePrincipal" } }, "ShareResult": { "type": "structure", "members": { "PrincipalId": { "shape": "IdType", "documentation": "The ID of the principal.
" }, "InviteePrincipalId": { "shape": "IdType", "documentation": "The ID of the invited user.
" }, "Role": { "shape": "RoleType", "documentation": "The role.
" }, "Status": { "shape": "ShareStatusType", "documentation": "The status.
" }, "ShareId": { "shape": "ResourceIdType", "documentation": "The ID of the resource that was shared.
" }, "StatusMessage": { "shape": "MessageType", "documentation": "The status message.
" } }, "documentation": "Describes the share results of a resource.
" }, "ShareResultsList": { "type": "list", "member": { "shape": "ShareResult" } }, "ShareStatusType": { "type": "string", "enum": [ "SUCCESS", "FAILURE" ] }, "SharedLabel": { "type": "string", "max": 32, "min": 1, "pattern": "[a-zA-Z0-9._+-/=][a-zA-Z0-9 ._+-/=]*" }, "SharedLabels": { "type": "list", "member": { "shape": "SharedLabel" }, "max": 20 }, "SignedHeaderMap": { "type": "map", "key": { "shape": "HeaderNameType" }, "value": { "shape": "HeaderValueType" } }, "SizeType": { "type": "long" }, "SortOrder": { "type": "string", "enum": [ "ASC", "DESC" ] }, "StorageRuleType": { "type": "structure", "members": { "StorageAllocatedInBytes": { "shape": "PositiveSizeType", "documentation": "The amount of storage allocated, in bytes.
" }, "StorageType": { "shape": "StorageType", "documentation": "The type of storage.
" } }, "documentation": "Describes the storage for a user.
" }, "StorageType": { "type": "string", "enum": [ "UNLIMITED", "QUOTA" ] }, "Subscription": { "type": "structure", "members": { "SubscriptionId": { "shape": "IdType", "documentation": "The ID of the subscription.
" }, "EndPoint": { "shape": "SubscriptionEndPointType", "documentation": "The endpoint of the subscription.
" }, "Protocol": { "shape": "SubscriptionProtocolType", "documentation": "The protocol of the subscription.
" } }, "documentation": "Describes a subscription.
" }, "SubscriptionEndPointType": { "type": "string", "max": 256, "min": 1 }, "SubscriptionList": { "type": "list", "member": { "shape": "Subscription" }, "max": 256 }, "SubscriptionProtocolType": { "type": "string", "enum": [ "HTTPS", "SQS" ] }, "SubscriptionType": { "type": "string", "enum": [ "ALL" ] }, "TextLocaleTypeList": { "type": "list", "member": { "shape": "LanguageCodeType" }, "max": 1 }, "TimeZoneIdType": { "type": "string", "max": 256, "min": 1 }, "TimestampType": { "type": "timestamp" }, "UpdateDocumentRequest": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the document.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" }, "ResourceState": { "shape": "ResourceStateType", "documentation": "The resource state of the document. Only ACTIVE and RECYCLED are supported.
" } } }, "UpdateDocumentVersionRequest": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "DocumentId": { "shape": "ResourceIdType", "documentation": "The ID of the document.
", "location": "uri", "locationName": "DocumentId" }, "VersionId": { "shape": "DocumentVersionIdType", "documentation": "The version ID of the document.
", "location": "uri", "locationName": "VersionId" }, "VersionStatus": { "shape": "DocumentVersionStatus", "documentation": "The status of the version.
" } } }, "UpdateFolderRequest": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "FolderId": { "shape": "ResourceIdType", "documentation": "The ID of the folder.
", "location": "uri", "locationName": "FolderId" }, "Name": { "shape": "ResourceNameType", "documentation": "The name of the folder.
" }, "ParentFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the parent folder.
" }, "ResourceState": { "shape": "ResourceStateType", "documentation": "The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
" } } }, "UpdateUserRequest": { "type": "structure", "required": [ "UserId" ], "members": { "AuthenticationToken": { "shape": "AuthenticationHeaderType", "documentation": "Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
", "location": "header", "locationName": "Authentication" }, "UserId": { "shape": "IdType", "documentation": "The ID of the user.
", "location": "uri", "locationName": "UserId" }, "GivenName": { "shape": "UserAttributeValueType", "documentation": "The given name of the user.
" }, "Surname": { "shape": "UserAttributeValueType", "documentation": "The surname of the user.
" }, "Type": { "shape": "UserType", "documentation": "The type of the user.
" }, "StorageRule": { "shape": "StorageRuleType", "documentation": "The amount of storage for the user.
" }, "TimeZoneId": { "shape": "TimeZoneIdType", "documentation": "The time zone ID of the user.
" }, "Locale": { "shape": "LocaleType", "documentation": "The locale of the user.
" }, "GrantPoweruserPrivileges": { "shape": "BooleanEnumType", "documentation": "Boolean value to determine whether the user is granted Power user privileges.
" } } }, "UpdateUserResponse": { "type": "structure", "members": { "User": { "shape": "User", "documentation": "The user information.
" } } }, "UploadMetadata": { "type": "structure", "members": { "UploadUrl": { "shape": "UrlType", "documentation": "The URL of the upload.
" }, "SignedHeaders": { "shape": "SignedHeaderMap", "documentation": "The signed headers.
" } }, "documentation": "Describes the upload.
" }, "UrlType": { "type": "string", "max": 1024, "min": 1, "sensitive": true }, "User": { "type": "structure", "members": { "Id": { "shape": "IdType", "documentation": "The ID of the user.
" }, "Username": { "shape": "UsernameType", "documentation": "The login name of the user.
" }, "EmailAddress": { "shape": "EmailAddressType", "documentation": "The email address of the user.
" }, "GivenName": { "shape": "UserAttributeValueType", "documentation": "The given name of the user.
" }, "Surname": { "shape": "UserAttributeValueType", "documentation": "The surname of the user.
" }, "OrganizationId": { "shape": "IdType", "documentation": "The ID of the organization.
" }, "RootFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the root folder.
" }, "RecycleBinFolderId": { "shape": "ResourceIdType", "documentation": "The ID of the recycle bin folder.
" }, "Status": { "shape": "UserStatusType", "documentation": "The status of the user.
" }, "Type": { "shape": "UserType", "documentation": "The type of user.
" }, "CreatedTimestamp": { "shape": "TimestampType", "documentation": "The time when the user was created.
" }, "ModifiedTimestamp": { "shape": "TimestampType", "documentation": "The time when the user was modified.
" }, "TimeZoneId": { "shape": "TimeZoneIdType", "documentation": "The time zone ID of the user.
" }, "Locale": { "shape": "LocaleType", "documentation": "The locale of the user.
" }, "Storage": { "shape": "UserStorageMetadata", "documentation": "The storage for the user.
" } }, "documentation": "Describes a user.
" }, "UserActivities": { "type": "list", "member": { "shape": "Activity" } }, "UserAttributeValueType": { "type": "string", "max": 64, "min": 1, "sensitive": true }, "UserFilterType": { "type": "string", "enum": [ "ALL", "ACTIVE_PENDING" ] }, "UserIdsType": { "type": "string", "max": 2000, "min": 1, "pattern": "[&\\w+-.@, ]+" }, "UserMetadata": { "type": "structure", "members": { "Id": { "shape": "IdType", "documentation": "The ID of the user.
" }, "Username": { "shape": "UsernameType", "documentation": "The name of the user.
" }, "GivenName": { "shape": "UserAttributeValueType", "documentation": "The given name of the user before a rename operation.
" }, "Surname": { "shape": "UserAttributeValueType", "documentation": "The surname of the user.
" }, "EmailAddress": { "shape": "EmailAddressType", "documentation": "The email address of the user.
" } }, "documentation": "Describes the metadata of the user.
" }, "UserMetadataList": { "type": "list", "member": { "shape": "UserMetadata" } }, "UserSortType": { "type": "string", "enum": [ "USER_NAME", "FULL_NAME", "STORAGE_LIMIT", "USER_STATUS", "STORAGE_USED" ] }, "UserStatusType": { "type": "string", "enum": [ "ACTIVE", "INACTIVE", "PENDING" ] }, "UserStorageMetadata": { "type": "structure", "members": { "StorageUtilizedInBytes": { "shape": "SizeType", "documentation": "The amount of storage used, in bytes.
" }, "StorageRule": { "shape": "StorageRuleType", "documentation": "The storage for a user.
" } }, "documentation": "Describes the storage for a user.
" }, "UserType": { "type": "string", "enum": [ "USER", "ADMIN", "POWERUSER", "MINIMALUSER", "WORKSPACESUSER" ] }, "UsernameType": { "type": "string", "max": 256, "min": 1, "pattern": "[\\w\\-+.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]+)?", "sensitive": true } }, "documentation": "The Amazon WorkDocs API is designed for the following use cases:
File Migration: File migration applications are supported for users who want to migrate their files from an on-premises or off-premises file system or service. Users can insert files into a user directory structure, as well as allow for basic metadata changes, such as modifications to the permissions of files.
Security: Support security applications are supported for users who have additional security needs, such as antivirus or data loss prevention. The API actions, along with CloudTrail, allow these applications to detect when changes occur in Amazon WorkDocs. Then, the application can take the necessary actions and replace the target file. If the target file violates the policy, the application can also choose to email the user.
eDiscovery/Analytics: General administrative applications are supported, such as eDiscovery and analytics. These applications can choose to mimic or record the actions in an Amazon WorkDocs site, along with CloudTrail, to replicate data for eDiscovery, backup, or analytical applications.
All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. They not only require the use of the Amazon Web Services SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM user gains full administrative visibility into the entire Amazon WorkDocs site (or as set in the IAM policy). This includes, but is not limited to, the ability to modify file permissions and upload any file to any user. This allows developers to perform the three use cases above, as well as give users the ability to grant access on a selective basis using the IAM model.
The pricing for Amazon WorkDocs APIs varies depending on the API call type for these actions:
READ (Get*)
WRITE (Activate*, Add*, Create*, Deactivate*, Initiate*, Update*)
LIST (Describe*)
DELETE*, CANCEL
For information about Amazon WorkDocs API pricing, see Amazon WorkDocs Pricing.