Workdocs

This page documents function available when using the Workdocs module, created with @service Workdocs.

Index

Documentation

Main.Workdocs.abort_document_version_uploadMethod
abort_document_version_upload(document_id, version_id)
abort_document_version_upload(document_id, version_id, params::Dict{String,<:Any})

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.

Arguments

  • document_id: The ID of the document.
  • version_id: The ID of the version.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.activate_userMethod
activate_user(user_id)
activate_user(user_id, params::Dict{String,<:Any})

Activates the specified user. Only active users can access Amazon WorkDocs.

Arguments

  • user_id: The ID of the user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.add_resource_permissionsMethod
add_resource_permissions(principals, resource_id)
add_resource_permissions(principals, resource_id, params::Dict{String,<:Any})

Creates a set of permissions for the specified folder or document. The resource permissions are overwritten if the principals already have different permissions.

Arguments

  • principals: The users, groups, or organization being granted permission.
  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "NotificationOptions": The notification options.
source
Main.Workdocs.create_commentMethod
create_comment(document_id, text, version_id)
create_comment(document_id, text, version_id, params::Dict{String,<:Any})

Adds a new comment to the specified document version.

Arguments

  • document_id: The ID of the document.
  • text: The text of the comment.
  • version_id: The ID of the document version.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "NotifyCollaborators": Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
  • "ParentId": The ID of the parent comment.
  • "ThreadId": The ID of the root comment in the thread.
  • "Visibility": 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.
source
Main.Workdocs.create_custom_metadataMethod
create_custom_metadata(custom_metadata, resource_id)
create_custom_metadata(custom_metadata, resource_id, params::Dict{String,<:Any})

Adds one or more custom properties to the specified resource (a folder, document, or version).

Arguments

  • custom_metadata: Custom metadata in the form of name-value pairs.
  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "versionid": The ID of the version, if the custom metadata is being added to a document version.
source
Main.Workdocs.create_folderMethod
create_folder(parent_folder_id)
create_folder(parent_folder_id, params::Dict{String,<:Any})

Creates a folder with the specified name and parent folder.

Arguments

  • parent_folder_id: The ID of the parent folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "Name": The name of the new folder.
source
Main.Workdocs.create_labelsMethod
create_labels(labels, resource_id)
create_labels(labels, resource_id, params::Dict{String,<:Any})

Adds the specified list of labels to the given resource (a document or folder)

Arguments

  • labels: List of labels to add to the resource.
  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.create_notification_subscriptionMethod
create_notification_subscription(endpoint, organization_id, protocol, subscription_type)
create_notification_subscription(endpoint, organization_id, protocol, subscription_type, params::Dict{String,<:Any})

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.

Arguments

  • endpoint: The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https.
  • organization_id: The ID of the organization.
  • protocol: The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
  • subscription_type: The notification type.
source
Main.Workdocs.create_userMethod
create_user(given_name, password, surname, username)
create_user(given_name, password, surname, username, params::Dict{String,<:Any})

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.

Arguments

  • given_name: The given name of the user.
  • password: The password of the user.
  • surname: The surname of the user.
  • username: The login name of the user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "EmailAddress": The email address of the user.
  • "OrganizationId": The ID of the organization.
  • "StorageRule": The amount of storage for the user.
  • "TimeZoneId": The time zone ID of the user.
source
Main.Workdocs.deactivate_userMethod
deactivate_user(user_id)
deactivate_user(user_id, params::Dict{String,<:Any})

Deactivates the specified user, which revokes the user's access to Amazon WorkDocs.

Arguments

  • user_id: The ID of the user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_commentMethod
delete_comment(comment_id, document_id, version_id)
delete_comment(comment_id, document_id, version_id, params::Dict{String,<:Any})

Deletes the specified comment from the document version.

Arguments

  • comment_id: The ID of the comment.
  • document_id: The ID of the document.
  • version_id: The ID of the document version.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_custom_metadataMethod
delete_custom_metadata(resource_id)
delete_custom_metadata(resource_id, params::Dict{String,<:Any})

Deletes custom metadata from the specified resource.

Arguments

  • resource_id: The ID of the resource, either a document or folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "deleteAll": Flag to indicate removal of all custom metadata properties from the specified resource.
  • "keys": List of properties to remove.
  • "versionId": The ID of the version, if the custom metadata is being deleted from a document version.
source
Main.Workdocs.delete_documentMethod
delete_document(document_id)
delete_document(document_id, params::Dict{String,<:Any})

Permanently deletes the specified document and its associated metadata.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_document_versionMethod
delete_document_version(document_id, version_id, delete_prior_versions)
delete_document_version(document_id, version_id, delete_prior_versions, params::Dict{String,<:Any})

Deletes a specific version of a document.

Arguments

  • document_id: The ID of the document associated with the version being deleted.
  • version_id: The ID of the version being deleted.
  • delete_prior_versions: Deletes all versions of a document prior to the current version.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_folderMethod
delete_folder(folder_id)
delete_folder(folder_id, params::Dict{String,<:Any})

Permanently deletes the specified folder and its contents.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_folder_contentsMethod
delete_folder_contents(folder_id)
delete_folder_contents(folder_id, params::Dict{String,<:Any})

Deletes the contents of the specified folder.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.delete_labelsMethod
delete_labels(resource_id)
delete_labels(resource_id, params::Dict{String,<:Any})

Deletes the specified list of labels from a resource.

Arguments

  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "deleteAll": Flag to request removal of all labels from the specified resource.
  • "labels": List of labels to delete from the resource.
source
Main.Workdocs.delete_notification_subscriptionMethod
delete_notification_subscription(organization_id, subscription_id)
delete_notification_subscription(organization_id, subscription_id, params::Dict{String,<:Any})

Deletes the specified subscription from the specified organization.

Arguments

  • organization_id: The ID of the organization.
  • subscription_id: The ID of the subscription.
source
Main.Workdocs.delete_userMethod
delete_user(user_id)
delete_user(user_id, params::Dict{String,<:Any})

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.

Arguments

  • user_id: The ID of the user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using Amazon Web Services credentials.
source
Main.Workdocs.describe_activitiesMethod
describe_activities()
describe_activities(params::Dict{String,<:Any})

Describes the user activities in a specified time period.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "activityTypes": Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.
  • "endTime": The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.
  • "includeIndirectActivities": 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).
  • "limit": The maximum number of items to return.
  • "marker": The marker for the next set of results.
  • "organizationId": The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.
  • "resourceId": The document or folder ID for which to describe activity types.
  • "startTime": The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.
  • "userId": 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.
source
Main.Workdocs.describe_commentsMethod
describe_comments(document_id, version_id)
describe_comments(document_id, version_id, params::Dict{String,<:Any})

List all the comments for the specified document version.

Arguments

  • document_id: The ID of the document.
  • version_id: The ID of the document version.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "limit": The maximum number of items to return.
  • "marker": The marker for the next set of results. This marker was received from a previous call.
source
Main.Workdocs.describe_document_versionsMethod
describe_document_versions(document_id)
describe_document_versions(document_id, params::Dict{String,<:Any})

Retrieves the document versions for the specified document. By default, only active versions are returned.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "fields": Specify "SOURCE" to include initialized versions and a URL for the source document.
  • "include": A comma-separated list of values. Specify "INITIALIZED" to include incomplete versions.
  • "limit": The maximum number of versions to return with this call.
  • "marker": The marker for the next set of results. (You received this marker from a previous call.)
source
Main.Workdocs.describe_folder_contentsMethod
describe_folder_contents(folder_id)
describe_folder_contents(folder_id, params::Dict{String,<:Any})

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.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "include": The contents to include. Specify "INITIALIZED" to include initialized documents.
  • "limit": The maximum number of items to return with this call.
  • "marker": The marker for the next set of results. This marker was received from a previous call.
  • "order": The order for the contents of the folder.
  • "sort": The sorting criteria.
  • "type": The type of items.
source
Main.Workdocs.describe_groupsMethod
describe_groups(search_query)
describe_groups(search_query, params::Dict{String,<:Any})

Describes the groups specified by the query. Groups are defined by the underlying Active Directory.

Arguments

  • search_query: A query to describe groups by group name.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "limit": The maximum number of items to return with this call.
  • "marker": The marker for the next set of results. (You received this marker from a previous call.)
  • "organizationId": The ID of the organization.
source
Main.Workdocs.describe_notification_subscriptionsMethod
describe_notification_subscriptions(organization_id)
describe_notification_subscriptions(organization_id, params::Dict{String,<:Any})

Lists the specified notification subscriptions.

Arguments

  • organization_id: The ID of the organization.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "limit": The maximum number of items to return with this call.
  • "marker": The marker for the next set of results. (You received this marker from a previous call.)
source
Main.Workdocs.describe_resource_permissionsMethod
describe_resource_permissions(resource_id)
describe_resource_permissions(resource_id, params::Dict{String,<:Any})

Describes the permissions of a specified resource.

Arguments

  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "limit": The maximum number of items to return with this call.
  • "marker": The marker for the next set of results. (You received this marker from a previous call)
  • "principalId": The ID of the principal to filter permissions by.
source
Main.Workdocs.describe_root_foldersMethod
describe_root_folders(authentication)
describe_root_folders(authentication, params::Dict{String,<:Any})

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.

Arguments

  • authentication: Amazon WorkDocs authentication token.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "limit": The maximum number of items to return.
  • "marker": The marker for the next set of results. (You received this marker from a previous call.)
source
Main.Workdocs.describe_usersMethod
describe_users()
describe_users(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "fields": A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
  • "include": The state of the users. Specify "ALL" to include inactive users.
  • "limit": The maximum number of items to return.
  • "marker": The marker for the next set of results. (You received this marker from a previous call.)
  • "order": The order for the results.
  • "organizationId": The ID of the organization.
  • "query": 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.
  • "sort": The sorting criteria.
  • "userIds": The IDs of the users.
source
Main.Workdocs.get_current_userMethod
get_current_user(authentication)
get_current_user(authentication, params::Dict{String,<:Any})

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.

Arguments

  • authentication: Amazon WorkDocs authentication token.
source
Main.Workdocs.get_documentMethod
get_document(document_id)
get_document(document_id, params::Dict{String,<:Any})

Retrieves details of a document.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "includeCustomMetadata": Set this to TRUE to include custom metadata in the response.
source
Main.Workdocs.get_document_pathMethod
get_document_path(document_id)
get_document_path(document_id, params::Dict{String,<:Any})

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.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "fields": A comma-separated list of values. Specify NAME to include the names of the parent folders.
  • "limit": The maximum number of levels in the hierarchy to return.
  • "marker": This value is not supported.
source
Main.Workdocs.get_document_versionMethod
get_document_version(document_id, version_id)
get_document_version(document_id, version_id, params::Dict{String,<:Any})

Retrieves version metadata for the specified document.

Arguments

  • document_id: The ID of the document.
  • version_id: The version ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "fields": A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
  • "includeCustomMetadata": Set this to TRUE to include custom metadata in the response.
source
Main.Workdocs.get_folderMethod
get_folder(folder_id)
get_folder(folder_id, params::Dict{String,<:Any})

Retrieves the metadata of the specified folder.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "includeCustomMetadata": Set to TRUE to include custom metadata in the response.
source
Main.Workdocs.get_folder_pathMethod
get_folder_path(folder_id)
get_folder_path(folder_id, params::Dict{String,<:Any})

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.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "fields": A comma-separated list of values. Specify "NAME" to include the names of the parent folders.
  • "limit": The maximum number of levels in the hierarchy to return.
  • "marker": This value is not supported.
source
Main.Workdocs.get_resourcesMethod
get_resources()
get_resources(params::Dict{String,<:Any})

Retrieves a collection of resources, including folders and documents. The only CollectionType supported is SHAREDWITHME.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "collectionType": The collection type.
  • "limit": The maximum number of resources to return.
  • "marker": The marker for the next set of results. This marker was received from a previous call.
  • "userId": The user ID for the resource collection. This is a required field for accessing the API operation using IAM credentials.
source
Main.Workdocs.initiate_document_version_uploadMethod
initiate_document_version_upload()
initiate_document_version_upload(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "ContentCreatedTimestamp": The timestamp when the content of the document was originally created.
  • "ContentModifiedTimestamp": The timestamp when the content of the document was modified.
  • "ContentType": The content type of the document.
  • "DocumentSizeInBytes": The size of the document, in bytes.
  • "Id": The ID of the document.
  • "Name": The name of the document.
  • "ParentFolderId": The ID of the parent folder.
source
Main.Workdocs.remove_all_resource_permissionsMethod
remove_all_resource_permissions(resource_id)
remove_all_resource_permissions(resource_id, params::Dict{String,<:Any})

Removes all the permissions from the specified resource.

Arguments

  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.remove_resource_permissionMethod
remove_resource_permission(principal_id, resource_id)
remove_resource_permission(principal_id, resource_id, params::Dict{String,<:Any})

Removes the permission for the specified principal from the specified resource.

Arguments

  • principal_id: The principal ID of the resource.
  • resource_id: The ID of the resource.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "type": The principal type of the resource.
source
Main.Workdocs.restore_document_versionsMethod
restore_document_versions(document_id)
restore_document_versions(document_id, params::Dict{String,<:Any})

Recovers a deleted version of an Amazon WorkDocs document.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
source
Main.Workdocs.search_resourcesMethod
search_resources()
search_resources(params::Dict{String,<:Any})

Searches metadata and the content of folders, documents, document versions, and comments.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "AdditionalResponseFields": A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "Filters": Filters results based on entity metadata.
  • "Limit": Max results count per page.
  • "Marker": The marker for the next set of results.
  • "OrderBy": Order by results in one or more categories.
  • "OrganizationId": Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
  • "QueryScopes": 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
  • "QueryText": 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.
source
Main.Workdocs.update_documentMethod
update_document(document_id)
update_document(document_id, params::Dict{String,<:Any})

Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.

Arguments

  • document_id: The ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "Name": The name of the document.
  • "ParentFolderId": The ID of the parent folder.
  • "ResourceState": The resource state of the document. Only ACTIVE and RECYCLED are supported.
source
Main.Workdocs.update_document_versionMethod
update_document_version(document_id, version_id)
update_document_version(document_id, version_id, params::Dict{String,<:Any})

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.

Arguments

  • document_id: The ID of the document.
  • version_id: The version ID of the document.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "VersionStatus": The status of the version.
source
Main.Workdocs.update_folderMethod
update_folder(folder_id)
update_folder(folder_id, params::Dict{String,<:Any})

Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.

Arguments

  • folder_id: The ID of the folder.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "Name": The name of the folder.
  • "ParentFolderId": The ID of the parent folder.
  • "ResourceState": The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
source
Main.Workdocs.update_userMethod
update_user(user_id)
update_user(user_id, params::Dict{String,<:Any})

Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.

Arguments

  • user_id: The ID of the user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "Authentication": Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • "GivenName": The given name of the user.
  • "GrantPoweruserPrivileges": Boolean value to determine whether the user is granted Power user privileges.
  • "Locale": The locale of the user.
  • "StorageRule": The amount of storage for the user.
  • "Surname": The surname of the user.
  • "TimeZoneId": The time zone ID of the user.
  • "Type": The type of the user.
source