All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.workdocs.AmazonWorkDocsAsync Maven / Gradle / Ivy

/*
 * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.workdocs;

import javax.annotation.Generated;

import com.amazonaws.services.workdocs.model.*;

/**
 * Interface for accessing Amazon WorkDocs asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.workdocs.AbstractAmazonWorkDocsAsync} instead. *

*

*

* The 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-premise or off-premise 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 * anti-virus or data loss prevention. The APIs, in conjunction with Amazon CloudTrail, allow these applications to * detect when changes occur in Amazon WorkDocs, so the application can take the necessary actions and replace the * target file. The application can also choose to email the user if the target file violates the policy. *

    *
  • *
  • *

    * eDiscovery/Analytics: General administrative applications are supported, such as eDiscovery and analytics. These * applications can choose to mimic and/or record the actions in an Amazon WorkDocs site, in conjunction with Amazon * CloudTrails, to replicate data for eDiscovery, backup, or analytical applications. *

    *
  • *
*

* All Amazon WorkDocs APIs are Amazon authenticated, certificate-signed APIs. They not only require the use of the AWS * 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. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonWorkDocsAsync extends AmazonWorkDocs { /** *

* 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. *

* * @param abortDocumentVersionUploadRequest * @return A Java Future containing the result of the AbortDocumentVersionUpload operation returned by the service. * @sample AmazonWorkDocsAsync.AbortDocumentVersionUpload * @see AWS API Documentation */ java.util.concurrent.Future abortDocumentVersionUploadAsync( AbortDocumentVersionUploadRequest abortDocumentVersionUploadRequest); /** *

* 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. *

* * @param abortDocumentVersionUploadRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AbortDocumentVersionUpload operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.AbortDocumentVersionUpload * @see AWS API Documentation */ java.util.concurrent.Future abortDocumentVersionUploadAsync( AbortDocumentVersionUploadRequest abortDocumentVersionUploadRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param activateUserRequest * @return A Java Future containing the result of the ActivateUser operation returned by the service. * @sample AmazonWorkDocsAsync.ActivateUser * @see AWS API * Documentation */ java.util.concurrent.Future activateUserAsync(ActivateUserRequest activateUserRequest); /** *

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

* * @param activateUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ActivateUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.ActivateUser * @see AWS API * Documentation */ java.util.concurrent.Future activateUserAsync(ActivateUserRequest activateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param addResourcePermissionsRequest * @return A Java Future containing the result of the AddResourcePermissions operation returned by the service. * @sample AmazonWorkDocsAsync.AddResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future addResourcePermissionsAsync(AddResourcePermissionsRequest addResourcePermissionsRequest); /** *

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

* * @param addResourcePermissionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AddResourcePermissions operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.AddResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future addResourcePermissionsAsync(AddResourcePermissionsRequest addResourcePermissionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds a new comment to the specified document version. *

* * @param createCommentRequest * @return A Java Future containing the result of the CreateComment operation returned by the service. * @sample AmazonWorkDocsAsync.CreateComment * @see AWS API * Documentation */ java.util.concurrent.Future createCommentAsync(CreateCommentRequest createCommentRequest); /** *

* Adds a new comment to the specified document version. *

* * @param createCommentRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateComment operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.CreateComment * @see AWS API * Documentation */ java.util.concurrent.Future createCommentAsync(CreateCommentRequest createCommentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createCustomMetadataRequest * @return A Java Future containing the result of the CreateCustomMetadata operation returned by the service. * @sample AmazonWorkDocsAsync.CreateCustomMetadata * @see AWS * API Documentation */ java.util.concurrent.Future createCustomMetadataAsync(CreateCustomMetadataRequest createCustomMetadataRequest); /** *

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

* * @param createCustomMetadataRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateCustomMetadata operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.CreateCustomMetadata * @see AWS * API Documentation */ java.util.concurrent.Future createCustomMetadataAsync(CreateCustomMetadataRequest createCustomMetadataRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a folder with the specified name and parent folder. *

* * @param createFolderRequest * @return A Java Future containing the result of the CreateFolder operation returned by the service. * @sample AmazonWorkDocsAsync.CreateFolder * @see AWS API * Documentation */ java.util.concurrent.Future createFolderAsync(CreateFolderRequest createFolderRequest); /** *

* Creates a folder with the specified name and parent folder. *

* * @param createFolderRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateFolder operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.CreateFolder * @see AWS API * Documentation */ java.util.concurrent.Future createFolderAsync(CreateFolderRequest createFolderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createLabelsRequest * @return A Java Future containing the result of the CreateLabels operation returned by the service. * @sample AmazonWorkDocsAsync.CreateLabels * @see AWS API * Documentation */ java.util.concurrent.Future createLabelsAsync(CreateLabelsRequest createLabelsRequest); /** *

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

* * @param createLabelsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateLabels operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.CreateLabels * @see AWS API * Documentation */ java.util.concurrent.Future createLabelsAsync(CreateLabelsRequest createLabelsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Configure WorkDocs to use Amazon SNS notifications. *

*

* The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Confirm the * Subscription in the Amazon Simple Notification Service Developer Guide. *

* * @param createNotificationSubscriptionRequest * @return A Java Future containing the result of the CreateNotificationSubscription operation returned by the * service. * @sample AmazonWorkDocsAsync.CreateNotificationSubscription * @see AWS API Documentation */ java.util.concurrent.Future createNotificationSubscriptionAsync( CreateNotificationSubscriptionRequest createNotificationSubscriptionRequest); /** *

* Configure WorkDocs to use Amazon SNS notifications. *

*

* The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Confirm the * Subscription in the Amazon Simple Notification Service Developer Guide. *

* * @param createNotificationSubscriptionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateNotificationSubscription operation returned by the * service. * @sample AmazonWorkDocsAsyncHandler.CreateNotificationSubscription * @see AWS API Documentation */ java.util.concurrent.Future createNotificationSubscriptionAsync( CreateNotificationSubscriptionRequest createNotificationSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param createUserRequest * @return A Java Future containing the result of the CreateUser operation returned by the service. * @sample AmazonWorkDocsAsync.CreateUser * @see AWS API * Documentation */ java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest); /** *

* 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. *

* * @param createUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.CreateUser * @see AWS API * Documentation */ java.util.concurrent.Future createUserAsync(CreateUserRequest createUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param deactivateUserRequest * @return A Java Future containing the result of the DeactivateUser operation returned by the service. * @sample AmazonWorkDocsAsync.DeactivateUser * @see AWS API * Documentation */ java.util.concurrent.Future deactivateUserAsync(DeactivateUserRequest deactivateUserRequest); /** *

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

* * @param deactivateUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeactivateUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeactivateUser * @see AWS API * Documentation */ java.util.concurrent.Future deactivateUserAsync(DeactivateUserRequest deactivateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified comment from the document version. *

* * @param deleteCommentRequest * @return A Java Future containing the result of the DeleteComment operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteComment * @see AWS API * Documentation */ java.util.concurrent.Future deleteCommentAsync(DeleteCommentRequest deleteCommentRequest); /** *

* Deletes the specified comment from the document version. *

* * @param deleteCommentRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteComment operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteComment * @see AWS API * Documentation */ java.util.concurrent.Future deleteCommentAsync(DeleteCommentRequest deleteCommentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes custom metadata from the specified resource. *

* * @param deleteCustomMetadataRequest * @return A Java Future containing the result of the DeleteCustomMetadata operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteCustomMetadata * @see AWS * API Documentation */ java.util.concurrent.Future deleteCustomMetadataAsync(DeleteCustomMetadataRequest deleteCustomMetadataRequest); /** *

* Deletes custom metadata from the specified resource. *

* * @param deleteCustomMetadataRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteCustomMetadata operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteCustomMetadata * @see AWS * API Documentation */ java.util.concurrent.Future deleteCustomMetadataAsync(DeleteCustomMetadataRequest deleteCustomMetadataRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Permanently deletes the specified document and its associated metadata. *

* * @param deleteDocumentRequest * @return A Java Future containing the result of the DeleteDocument operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteDocument * @see AWS API * Documentation */ java.util.concurrent.Future deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest); /** *

* Permanently deletes the specified document and its associated metadata. *

* * @param deleteDocumentRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteDocument operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteDocument * @see AWS API * Documentation */ java.util.concurrent.Future deleteDocumentAsync(DeleteDocumentRequest deleteDocumentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Permanently deletes the specified folder and its contents. *

* * @param deleteFolderRequest * @return A Java Future containing the result of the DeleteFolder operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteFolder * @see AWS API * Documentation */ java.util.concurrent.Future deleteFolderAsync(DeleteFolderRequest deleteFolderRequest); /** *

* Permanently deletes the specified folder and its contents. *

* * @param deleteFolderRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteFolder operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteFolder * @see AWS API * Documentation */ java.util.concurrent.Future deleteFolderAsync(DeleteFolderRequest deleteFolderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the contents of the specified folder. *

* * @param deleteFolderContentsRequest * @return A Java Future containing the result of the DeleteFolderContents operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteFolderContents * @see AWS * API Documentation */ java.util.concurrent.Future deleteFolderContentsAsync(DeleteFolderContentsRequest deleteFolderContentsRequest); /** *

* Deletes the contents of the specified folder. *

* * @param deleteFolderContentsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteFolderContents operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteFolderContents * @see AWS * API Documentation */ java.util.concurrent.Future deleteFolderContentsAsync(DeleteFolderContentsRequest deleteFolderContentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified list of labels from a resource. *

* * @param deleteLabelsRequest * @return A Java Future containing the result of the DeleteLabels operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteLabels * @see AWS API * Documentation */ java.util.concurrent.Future deleteLabelsAsync(DeleteLabelsRequest deleteLabelsRequest); /** *

* Deletes the specified list of labels from a resource. *

* * @param deleteLabelsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteLabels operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteLabels * @see AWS API * Documentation */ java.util.concurrent.Future deleteLabelsAsync(DeleteLabelsRequest deleteLabelsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified subscription from the specified organization. *

* * @param deleteNotificationSubscriptionRequest * @return A Java Future containing the result of the DeleteNotificationSubscription operation returned by the * service. * @sample AmazonWorkDocsAsync.DeleteNotificationSubscription * @see AWS API Documentation */ java.util.concurrent.Future deleteNotificationSubscriptionAsync( DeleteNotificationSubscriptionRequest deleteNotificationSubscriptionRequest); /** *

* Deletes the specified subscription from the specified organization. *

* * @param deleteNotificationSubscriptionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteNotificationSubscription operation returned by the * service. * @sample AmazonWorkDocsAsyncHandler.DeleteNotificationSubscription * @see AWS API Documentation */ java.util.concurrent.Future deleteNotificationSubscriptionAsync( DeleteNotificationSubscriptionRequest deleteNotificationSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the specified user from a Simple AD or Microsoft AD directory. *

* * @param deleteUserRequest * @return A Java Future containing the result of the DeleteUser operation returned by the service. * @sample AmazonWorkDocsAsync.DeleteUser * @see AWS API * Documentation */ java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest); /** *

* Deletes the specified user from a Simple AD or Microsoft AD directory. *

* * @param deleteUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DeleteUser * @see AWS API * Documentation */ java.util.concurrent.Future deleteUserAsync(DeleteUserRequest deleteUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Describes the user activities in a specified time period. *

* * @param describeActivitiesRequest * @return A Java Future containing the result of the DescribeActivities operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeActivities * @see AWS * API Documentation */ java.util.concurrent.Future describeActivitiesAsync(DescribeActivitiesRequest describeActivitiesRequest); /** *

* Describes the user activities in a specified time period. *

* * @param describeActivitiesRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeActivities operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeActivities * @see AWS * API Documentation */ java.util.concurrent.Future describeActivitiesAsync(DescribeActivitiesRequest describeActivitiesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* List all the comments for the specified document version. *

* * @param describeCommentsRequest * @return A Java Future containing the result of the DescribeComments operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeComments * @see AWS API * Documentation */ java.util.concurrent.Future describeCommentsAsync(DescribeCommentsRequest describeCommentsRequest); /** *

* List all the comments for the specified document version. *

* * @param describeCommentsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeComments operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeComments * @see AWS API * Documentation */ java.util.concurrent.Future describeCommentsAsync(DescribeCommentsRequest describeCommentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the document versions for the specified document. *

*

* By default, only active versions are returned. *

* * @param describeDocumentVersionsRequest * @return A Java Future containing the result of the DescribeDocumentVersions operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeDocumentVersions * @see AWS API Documentation */ java.util.concurrent.Future describeDocumentVersionsAsync(DescribeDocumentVersionsRequest describeDocumentVersionsRequest); /** *

* Retrieves the document versions for the specified document. *

*

* By default, only active versions are returned. *

* * @param describeDocumentVersionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeDocumentVersions operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeDocumentVersions * @see AWS API Documentation */ java.util.concurrent.Future describeDocumentVersionsAsync(DescribeDocumentVersionsRequest describeDocumentVersionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param describeFolderContentsRequest * @return A Java Future containing the result of the DescribeFolderContents operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeFolderContents * @see AWS API Documentation */ java.util.concurrent.Future describeFolderContentsAsync(DescribeFolderContentsRequest describeFolderContentsRequest); /** *

* 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. *

* * @param describeFolderContentsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeFolderContents operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeFolderContents * @see AWS API Documentation */ java.util.concurrent.Future describeFolderContentsAsync(DescribeFolderContentsRequest describeFolderContentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the specified notification subscriptions. *

* * @param describeNotificationSubscriptionsRequest * @return A Java Future containing the result of the DescribeNotificationSubscriptions operation returned by the * service. * @sample AmazonWorkDocsAsync.DescribeNotificationSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future describeNotificationSubscriptionsAsync( DescribeNotificationSubscriptionsRequest describeNotificationSubscriptionsRequest); /** *

* Lists the specified notification subscriptions. *

* * @param describeNotificationSubscriptionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeNotificationSubscriptions operation returned by the * service. * @sample AmazonWorkDocsAsyncHandler.DescribeNotificationSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future describeNotificationSubscriptionsAsync( DescribeNotificationSubscriptionsRequest describeNotificationSubscriptionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Describes the permissions of a specified resource. *

* * @param describeResourcePermissionsRequest * @return A Java Future containing the result of the DescribeResourcePermissions operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future describeResourcePermissionsAsync( DescribeResourcePermissionsRequest describeResourcePermissionsRequest); /** *

* Describes the permissions of a specified resource. *

* * @param describeResourcePermissionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeResourcePermissions operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future describeResourcePermissionsAsync( DescribeResourcePermissionsRequest describeResourcePermissionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Describes the current user's special folders; the RootFolder and the RecyleBin. * RootFolder is the root of user's files and folders and RecyleBin is the root of * recycled items. This is not a valid action for SigV4 (administrative API) clients. *

* * @param describeRootFoldersRequest * @return A Java Future containing the result of the DescribeRootFolders operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeRootFolders * @see AWS * API Documentation */ java.util.concurrent.Future describeRootFoldersAsync(DescribeRootFoldersRequest describeRootFoldersRequest); /** *

* Describes the current user's special folders; the RootFolder and the RecyleBin. * RootFolder is the root of user's files and folders and RecyleBin is the root of * recycled items. This is not a valid action for SigV4 (administrative API) clients. *

* * @param describeRootFoldersRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeRootFolders operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeRootFolders * @see AWS * API Documentation */ java.util.concurrent.Future describeRootFoldersAsync(DescribeRootFoldersRequest describeRootFoldersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param describeUsersRequest * @return A Java Future containing the result of the DescribeUsers operation returned by the service. * @sample AmazonWorkDocsAsync.DescribeUsers * @see AWS API * Documentation */ java.util.concurrent.Future describeUsersAsync(DescribeUsersRequest describeUsersRequest); /** *

* 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. *

* * @param describeUsersRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeUsers operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.DescribeUsers * @see AWS API * Documentation */ java.util.concurrent.Future describeUsersAsync(DescribeUsersRequest describeUsersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves details of the current user for whom the authentication token was generated. This is not a valid action * for SigV4 (administrative API) clients. *

* * @param getCurrentUserRequest * @return A Java Future containing the result of the GetCurrentUser operation returned by the service. * @sample AmazonWorkDocsAsync.GetCurrentUser * @see AWS API * Documentation */ java.util.concurrent.Future getCurrentUserAsync(GetCurrentUserRequest getCurrentUserRequest); /** *

* Retrieves details of the current user for whom the authentication token was generated. This is not a valid action * for SigV4 (administrative API) clients. *

* * @param getCurrentUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetCurrentUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetCurrentUser * @see AWS API * Documentation */ java.util.concurrent.Future getCurrentUserAsync(GetCurrentUserRequest getCurrentUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves details of a document. *

* * @param getDocumentRequest * @return A Java Future containing the result of the GetDocument operation returned by the service. * @sample AmazonWorkDocsAsync.GetDocument * @see AWS API * Documentation */ java.util.concurrent.Future getDocumentAsync(GetDocumentRequest getDocumentRequest); /** *

* Retrieves details of a document. *

* * @param getDocumentRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetDocument operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetDocument * @see AWS API * Documentation */ java.util.concurrent.Future getDocumentAsync(GetDocumentRequest getDocumentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param getDocumentPathRequest * @return A Java Future containing the result of the GetDocumentPath operation returned by the service. * @sample AmazonWorkDocsAsync.GetDocumentPath * @see AWS API * Documentation */ java.util.concurrent.Future getDocumentPathAsync(GetDocumentPathRequest getDocumentPathRequest); /** *

* 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. *

* * @param getDocumentPathRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetDocumentPath operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetDocumentPath * @see AWS API * Documentation */ java.util.concurrent.Future getDocumentPathAsync(GetDocumentPathRequest getDocumentPathRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves version metadata for the specified document. *

* * @param getDocumentVersionRequest * @return A Java Future containing the result of the GetDocumentVersion operation returned by the service. * @sample AmazonWorkDocsAsync.GetDocumentVersion * @see AWS * API Documentation */ java.util.concurrent.Future getDocumentVersionAsync(GetDocumentVersionRequest getDocumentVersionRequest); /** *

* Retrieves version metadata for the specified document. *

* * @param getDocumentVersionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetDocumentVersion operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetDocumentVersion * @see AWS * API Documentation */ java.util.concurrent.Future getDocumentVersionAsync(GetDocumentVersionRequest getDocumentVersionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the metadata of the specified folder. *

* * @param getFolderRequest * @return A Java Future containing the result of the GetFolder operation returned by the service. * @sample AmazonWorkDocsAsync.GetFolder * @see AWS API * Documentation */ java.util.concurrent.Future getFolderAsync(GetFolderRequest getFolderRequest); /** *

* Retrieves the metadata of the specified folder. *

* * @param getFolderRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetFolder operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetFolder * @see AWS API * Documentation */ java.util.concurrent.Future getFolderAsync(GetFolderRequest getFolderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param getFolderPathRequest * @return A Java Future containing the result of the GetFolderPath operation returned by the service. * @sample AmazonWorkDocsAsync.GetFolderPath * @see AWS API * Documentation */ java.util.concurrent.Future getFolderPathAsync(GetFolderPathRequest getFolderPathRequest); /** *

* 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. *

* * @param getFolderPathRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetFolderPath operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.GetFolderPath * @see AWS API * Documentation */ java.util.concurrent.Future getFolderPathAsync(GetFolderPathRequest getFolderPathRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param initiateDocumentVersionUploadRequest * @return A Java Future containing the result of the InitiateDocumentVersionUpload operation returned by the * service. * @sample AmazonWorkDocsAsync.InitiateDocumentVersionUpload * @see AWS API Documentation */ java.util.concurrent.Future initiateDocumentVersionUploadAsync( InitiateDocumentVersionUploadRequest initiateDocumentVersionUploadRequest); /** *

* 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. *

* * @param initiateDocumentVersionUploadRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the InitiateDocumentVersionUpload operation returned by the * service. * @sample AmazonWorkDocsAsyncHandler.InitiateDocumentVersionUpload * @see AWS API Documentation */ java.util.concurrent.Future initiateDocumentVersionUploadAsync( InitiateDocumentVersionUploadRequest initiateDocumentVersionUploadRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes all the permissions from the specified resource. *

* * @param removeAllResourcePermissionsRequest * @return A Java Future containing the result of the RemoveAllResourcePermissions operation returned by the * service. * @sample AmazonWorkDocsAsync.RemoveAllResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future removeAllResourcePermissionsAsync( RemoveAllResourcePermissionsRequest removeAllResourcePermissionsRequest); /** *

* Removes all the permissions from the specified resource. *

* * @param removeAllResourcePermissionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the RemoveAllResourcePermissions operation returned by the * service. * @sample AmazonWorkDocsAsyncHandler.RemoveAllResourcePermissions * @see AWS API Documentation */ java.util.concurrent.Future removeAllResourcePermissionsAsync( RemoveAllResourcePermissionsRequest removeAllResourcePermissionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param removeResourcePermissionRequest * @return A Java Future containing the result of the RemoveResourcePermission operation returned by the service. * @sample AmazonWorkDocsAsync.RemoveResourcePermission * @see AWS API Documentation */ java.util.concurrent.Future removeResourcePermissionAsync(RemoveResourcePermissionRequest removeResourcePermissionRequest); /** *

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

* * @param removeResourcePermissionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the RemoveResourcePermission operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.RemoveResourcePermission * @see AWS API Documentation */ java.util.concurrent.Future removeResourcePermissionAsync(RemoveResourcePermissionRequest removeResourcePermissionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param updateDocumentRequest * @return A Java Future containing the result of the UpdateDocument operation returned by the service. * @sample AmazonWorkDocsAsync.UpdateDocument * @see AWS API * Documentation */ java.util.concurrent.Future updateDocumentAsync(UpdateDocumentRequest updateDocumentRequest); /** *

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

* * @param updateDocumentRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateDocument operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.UpdateDocument * @see AWS API * Documentation */ java.util.concurrent.Future updateDocumentAsync(UpdateDocumentRequest updateDocumentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param updateDocumentVersionRequest * @return A Java Future containing the result of the UpdateDocumentVersion operation returned by the service. * @sample AmazonWorkDocsAsync.UpdateDocumentVersion * @see AWS * API Documentation */ java.util.concurrent.Future updateDocumentVersionAsync(UpdateDocumentVersionRequest updateDocumentVersionRequest); /** *

* 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. *

* * @param updateDocumentVersionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateDocumentVersion operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.UpdateDocumentVersion * @see AWS * API Documentation */ java.util.concurrent.Future updateDocumentVersionAsync(UpdateDocumentVersionRequest updateDocumentVersionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param updateFolderRequest * @return A Java Future containing the result of the UpdateFolder operation returned by the service. * @sample AmazonWorkDocsAsync.UpdateFolder * @see AWS API * Documentation */ java.util.concurrent.Future updateFolderAsync(UpdateFolderRequest updateFolderRequest); /** *

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

* * @param updateFolderRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateFolder operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.UpdateFolder * @see AWS API * Documentation */ java.util.concurrent.Future updateFolderAsync(UpdateFolderRequest updateFolderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param updateUserRequest * @return A Java Future containing the result of the UpdateUser operation returned by the service. * @sample AmazonWorkDocsAsync.UpdateUser * @see AWS API * Documentation */ java.util.concurrent.Future updateUserAsync(UpdateUserRequest updateUserRequest); /** *

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

* * @param updateUserRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateUser operation returned by the service. * @sample AmazonWorkDocsAsyncHandler.UpdateUser * @see AWS API * Documentation */ java.util.concurrent.Future updateUserAsync(UpdateUserRequest updateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy