/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the workdocs-2016-05-01.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.WorkDocs.Model; namespace Amazon.WorkDocs { /// /// Interface for accessing WorkDocs /// /// The Amazon WorkDocs API is designed for the following use cases: /// /// /// /// 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: /// /// /// /// For information about Amazon WorkDocs API pricing, see Amazon /// WorkDocs Pricing. /// /// /// public partial interface IAmazonWorkDocs : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IWorkDocsPaginatorFactory Paginators { get; } #endif #region AbortDocumentVersionUpload /// /// 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. /// /// Container for the necessary parameters to execute the AbortDocumentVersionUpload service method. /// /// The response from the AbortDocumentVersionUpload service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for AbortDocumentVersionUpload Operation AbortDocumentVersionUploadResponse AbortDocumentVersionUpload(AbortDocumentVersionUploadRequest request); /// /// Initiates the asynchronous execution of the AbortDocumentVersionUpload operation. /// /// /// Container for the necessary parameters to execute the AbortDocumentVersionUpload operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAbortDocumentVersionUpload /// operation. /// REST API Reference for AbortDocumentVersionUpload Operation IAsyncResult BeginAbortDocumentVersionUpload(AbortDocumentVersionUploadRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the AbortDocumentVersionUpload operation. /// /// /// The IAsyncResult returned by the call to BeginAbortDocumentVersionUpload. /// /// Returns a AbortDocumentVersionUploadResult from WorkDocs. /// REST API Reference for AbortDocumentVersionUpload Operation AbortDocumentVersionUploadResponse EndAbortDocumentVersionUpload(IAsyncResult asyncResult); #endregion #region ActivateUser /// /// Activates the specified user. Only active users can access Amazon WorkDocs. /// /// Container for the necessary parameters to execute the ActivateUser service method. /// /// The response from the ActivateUser service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for ActivateUser Operation ActivateUserResponse ActivateUser(ActivateUserRequest request); /// /// Initiates the asynchronous execution of the ActivateUser operation. /// /// /// Container for the necessary parameters to execute the ActivateUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndActivateUser /// operation. /// REST API Reference for ActivateUser Operation IAsyncResult BeginActivateUser(ActivateUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ActivateUser operation. /// /// /// The IAsyncResult returned by the call to BeginActivateUser. /// /// Returns a ActivateUserResult from WorkDocs. /// REST API Reference for ActivateUser Operation ActivateUserResponse EndActivateUser(IAsyncResult asyncResult); #endregion #region AddResourcePermissions /// /// Creates a set of permissions for the specified folder or document. The resource permissions /// are overwritten if the principals already have different permissions. /// /// Container for the necessary parameters to execute the AddResourcePermissions service method. /// /// The response from the AddResourcePermissions service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for AddResourcePermissions Operation AddResourcePermissionsResponse AddResourcePermissions(AddResourcePermissionsRequest request); /// /// Initiates the asynchronous execution of the AddResourcePermissions operation. /// /// /// Container for the necessary parameters to execute the AddResourcePermissions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddResourcePermissions /// operation. /// REST API Reference for AddResourcePermissions Operation IAsyncResult BeginAddResourcePermissions(AddResourcePermissionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the AddResourcePermissions operation. /// /// /// The IAsyncResult returned by the call to BeginAddResourcePermissions. /// /// Returns a AddResourcePermissionsResult from WorkDocs. /// REST API Reference for AddResourcePermissions Operation AddResourcePermissionsResponse EndAddResourcePermissions(IAsyncResult asyncResult); #endregion #region CreateComment /// /// Adds a new comment to the specified document version. /// /// Container for the necessary parameters to execute the CreateComment service method. /// /// The response from the CreateComment service method, as returned by WorkDocs. /// /// This exception is thrown when the document is locked for comments and user tries to /// create or delete a comment on that document. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The requested operation is not allowed on the specified comment object. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateComment Operation CreateCommentResponse CreateComment(CreateCommentRequest request); /// /// Initiates the asynchronous execution of the CreateComment operation. /// /// /// Container for the necessary parameters to execute the CreateComment operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateComment /// operation. /// REST API Reference for CreateComment Operation IAsyncResult BeginCreateComment(CreateCommentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateComment operation. /// /// /// The IAsyncResult returned by the call to BeginCreateComment. /// /// Returns a CreateCommentResult from WorkDocs. /// REST API Reference for CreateComment Operation CreateCommentResponse EndCreateComment(IAsyncResult asyncResult); #endregion #region CreateCustomMetadata /// /// Adds one or more custom properties to the specified resource (a folder, document, /// or version). /// /// Container for the necessary parameters to execute the CreateCustomMetadata service method. /// /// The response from the CreateCustomMetadata service method, as returned by WorkDocs. /// /// The limit has been reached on the number of custom properties for the specified resource. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateCustomMetadata Operation CreateCustomMetadataResponse CreateCustomMetadata(CreateCustomMetadataRequest request); /// /// Initiates the asynchronous execution of the CreateCustomMetadata operation. /// /// /// Container for the necessary parameters to execute the CreateCustomMetadata operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCustomMetadata /// operation. /// REST API Reference for CreateCustomMetadata Operation IAsyncResult BeginCreateCustomMetadata(CreateCustomMetadataRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateCustomMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCustomMetadata. /// /// Returns a CreateCustomMetadataResult from WorkDocs. /// REST API Reference for CreateCustomMetadata Operation CreateCustomMetadataResponse EndCreateCustomMetadata(IAsyncResult asyncResult); #endregion #region CreateFolder /// /// Creates a folder with the specified name and parent folder. /// /// Container for the necessary parameters to execute the CreateFolder service method. /// /// The response from the CreateFolder service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource already exists. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateFolder Operation CreateFolderResponse CreateFolder(CreateFolderRequest request); /// /// Initiates the asynchronous execution of the CreateFolder operation. /// /// /// Container for the necessary parameters to execute the CreateFolder operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFolder /// operation. /// REST API Reference for CreateFolder Operation IAsyncResult BeginCreateFolder(CreateFolderRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateFolder operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFolder. /// /// Returns a CreateFolderResult from WorkDocs. /// REST API Reference for CreateFolder Operation CreateFolderResponse EndCreateFolder(IAsyncResult asyncResult); #endregion #region CreateLabels /// /// Adds the specified list of labels to the given resource (a document or folder) /// /// Container for the necessary parameters to execute the CreateLabels service method. /// /// The response from the CreateLabels service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The limit has been reached on the number of labels for the specified resource. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateLabels Operation CreateLabelsResponse CreateLabels(CreateLabelsRequest request); /// /// Initiates the asynchronous execution of the CreateLabels operation. /// /// /// Container for the necessary parameters to execute the CreateLabels operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLabels /// operation. /// REST API Reference for CreateLabels Operation IAsyncResult BeginCreateLabels(CreateLabelsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateLabels operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLabels. /// /// Returns a CreateLabelsResult from WorkDocs. /// REST API Reference for CreateLabels Operation CreateLabelsResponse EndCreateLabels(IAsyncResult asyncResult); #endregion #region CreateNotificationSubscription /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateNotificationSubscription service method. /// /// The response from the CreateNotificationSubscription service method, as returned by WorkDocs. /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// You've reached the limit on the number of subscriptions for the WorkDocs instance. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateNotificationSubscription Operation CreateNotificationSubscriptionResponse CreateNotificationSubscription(CreateNotificationSubscriptionRequest request); /// /// Initiates the asynchronous execution of the CreateNotificationSubscription operation. /// /// /// Container for the necessary parameters to execute the CreateNotificationSubscription operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateNotificationSubscription /// operation. /// REST API Reference for CreateNotificationSubscription Operation IAsyncResult BeginCreateNotificationSubscription(CreateNotificationSubscriptionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateNotificationSubscription operation. /// /// /// The IAsyncResult returned by the call to BeginCreateNotificationSubscription. /// /// Returns a CreateNotificationSubscriptionResult from WorkDocs. /// REST API Reference for CreateNotificationSubscription Operation CreateNotificationSubscriptionResponse EndCreateNotificationSubscription(IAsyncResult asyncResult); #endregion #region CreateUser /// /// 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. /// /// Container for the necessary parameters to execute the CreateUser service method. /// /// The response from the CreateUser service method, as returned by WorkDocs. /// /// The resource already exists. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for CreateUser Operation CreateUserResponse CreateUser(CreateUserRequest request); /// /// Initiates the asynchronous execution of the CreateUser operation. /// /// /// Container for the necessary parameters to execute the CreateUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUser /// operation. /// REST API Reference for CreateUser Operation IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateUser operation. /// /// /// The IAsyncResult returned by the call to BeginCreateUser. /// /// Returns a CreateUserResult from WorkDocs. /// REST API Reference for CreateUser Operation CreateUserResponse EndCreateUser(IAsyncResult asyncResult); #endregion #region DeactivateUser /// /// Deactivates the specified user, which revokes the user's access to Amazon WorkDocs. /// /// Container for the necessary parameters to execute the DeactivateUser service method. /// /// The response from the DeactivateUser service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeactivateUser Operation DeactivateUserResponse DeactivateUser(DeactivateUserRequest request); /// /// Initiates the asynchronous execution of the DeactivateUser operation. /// /// /// Container for the necessary parameters to execute the DeactivateUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeactivateUser /// operation. /// REST API Reference for DeactivateUser Operation IAsyncResult BeginDeactivateUser(DeactivateUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeactivateUser operation. /// /// /// The IAsyncResult returned by the call to BeginDeactivateUser. /// /// Returns a DeactivateUserResult from WorkDocs. /// REST API Reference for DeactivateUser Operation DeactivateUserResponse EndDeactivateUser(IAsyncResult asyncResult); #endregion #region DeleteComment /// /// Deletes the specified comment from the document version. /// /// Container for the necessary parameters to execute the DeleteComment service method. /// /// The response from the DeleteComment service method, as returned by WorkDocs. /// /// This exception is thrown when the document is locked for comments and user tries to /// create or delete a comment on that document. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteComment Operation DeleteCommentResponse DeleteComment(DeleteCommentRequest request); /// /// Initiates the asynchronous execution of the DeleteComment operation. /// /// /// Container for the necessary parameters to execute the DeleteComment operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteComment /// operation. /// REST API Reference for DeleteComment Operation IAsyncResult BeginDeleteComment(DeleteCommentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteComment operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteComment. /// /// Returns a DeleteCommentResult from WorkDocs. /// REST API Reference for DeleteComment Operation DeleteCommentResponse EndDeleteComment(IAsyncResult asyncResult); #endregion #region DeleteCustomMetadata /// /// Deletes custom metadata from the specified resource. /// /// Container for the necessary parameters to execute the DeleteCustomMetadata service method. /// /// The response from the DeleteCustomMetadata service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteCustomMetadata Operation DeleteCustomMetadataResponse DeleteCustomMetadata(DeleteCustomMetadataRequest request); /// /// Initiates the asynchronous execution of the DeleteCustomMetadata operation. /// /// /// Container for the necessary parameters to execute the DeleteCustomMetadata operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCustomMetadata /// operation. /// REST API Reference for DeleteCustomMetadata Operation IAsyncResult BeginDeleteCustomMetadata(DeleteCustomMetadataRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteCustomMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCustomMetadata. /// /// Returns a DeleteCustomMetadataResult from WorkDocs. /// REST API Reference for DeleteCustomMetadata Operation DeleteCustomMetadataResponse EndDeleteCustomMetadata(IAsyncResult asyncResult); #endregion #region DeleteDocument /// /// Permanently deletes the specified document and its associated metadata. /// /// Container for the necessary parameters to execute the DeleteDocument service method. /// /// The response from the DeleteDocument service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteDocument Operation DeleteDocumentResponse DeleteDocument(DeleteDocumentRequest request); /// /// Initiates the asynchronous execution of the DeleteDocument operation. /// /// /// Container for the necessary parameters to execute the DeleteDocument operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDocument /// operation. /// REST API Reference for DeleteDocument Operation IAsyncResult BeginDeleteDocument(DeleteDocumentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDocument operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDocument. /// /// Returns a DeleteDocumentResult from WorkDocs. /// REST API Reference for DeleteDocument Operation DeleteDocumentResponse EndDeleteDocument(IAsyncResult asyncResult); #endregion #region DeleteDocumentVersion /// /// Deletes a specific version of a document. /// /// Container for the necessary parameters to execute the DeleteDocumentVersion service method. /// /// The response from the DeleteDocumentVersion service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The operation is invalid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteDocumentVersion Operation DeleteDocumentVersionResponse DeleteDocumentVersion(DeleteDocumentVersionRequest request); /// /// Initiates the asynchronous execution of the DeleteDocumentVersion operation. /// /// /// Container for the necessary parameters to execute the DeleteDocumentVersion operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDocumentVersion /// operation. /// REST API Reference for DeleteDocumentVersion Operation IAsyncResult BeginDeleteDocumentVersion(DeleteDocumentVersionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteDocumentVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDocumentVersion. /// /// Returns a DeleteDocumentVersionResult from WorkDocs. /// REST API Reference for DeleteDocumentVersion Operation DeleteDocumentVersionResponse EndDeleteDocumentVersion(IAsyncResult asyncResult); #endregion #region DeleteFolder /// /// Permanently deletes the specified folder and its contents. /// /// Container for the necessary parameters to execute the DeleteFolder service method. /// /// The response from the DeleteFolder service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteFolder Operation DeleteFolderResponse DeleteFolder(DeleteFolderRequest request); /// /// Initiates the asynchronous execution of the DeleteFolder operation. /// /// /// Container for the necessary parameters to execute the DeleteFolder operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFolder /// operation. /// REST API Reference for DeleteFolder Operation IAsyncResult BeginDeleteFolder(DeleteFolderRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteFolder operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFolder. /// /// Returns a DeleteFolderResult from WorkDocs. /// REST API Reference for DeleteFolder Operation DeleteFolderResponse EndDeleteFolder(IAsyncResult asyncResult); #endregion #region DeleteFolderContents /// /// Deletes the contents of the specified folder. /// /// Container for the necessary parameters to execute the DeleteFolderContents service method. /// /// The response from the DeleteFolderContents service method, as returned by WorkDocs. /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteFolderContents Operation DeleteFolderContentsResponse DeleteFolderContents(DeleteFolderContentsRequest request); /// /// Initiates the asynchronous execution of the DeleteFolderContents operation. /// /// /// Container for the necessary parameters to execute the DeleteFolderContents operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFolderContents /// operation. /// REST API Reference for DeleteFolderContents Operation IAsyncResult BeginDeleteFolderContents(DeleteFolderContentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteFolderContents operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFolderContents. /// /// Returns a DeleteFolderContentsResult from WorkDocs. /// REST API Reference for DeleteFolderContents Operation DeleteFolderContentsResponse EndDeleteFolderContents(IAsyncResult asyncResult); #endregion #region DeleteLabels /// /// Deletes the specified list of labels from a resource. /// /// Container for the necessary parameters to execute the DeleteLabels service method. /// /// The response from the DeleteLabels service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteLabels Operation DeleteLabelsResponse DeleteLabels(DeleteLabelsRequest request); /// /// Initiates the asynchronous execution of the DeleteLabels operation. /// /// /// Container for the necessary parameters to execute the DeleteLabels operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLabels /// operation. /// REST API Reference for DeleteLabels Operation IAsyncResult BeginDeleteLabels(DeleteLabelsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteLabels operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLabels. /// /// Returns a DeleteLabelsResult from WorkDocs. /// REST API Reference for DeleteLabels Operation DeleteLabelsResponse EndDeleteLabels(IAsyncResult asyncResult); #endregion #region DeleteNotificationSubscription /// /// Deletes the specified subscription from the specified organization. /// /// Container for the necessary parameters to execute the DeleteNotificationSubscription service method. /// /// The response from the DeleteNotificationSubscription service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteNotificationSubscription Operation DeleteNotificationSubscriptionResponse DeleteNotificationSubscription(DeleteNotificationSubscriptionRequest request); /// /// Initiates the asynchronous execution of the DeleteNotificationSubscription operation. /// /// /// Container for the necessary parameters to execute the DeleteNotificationSubscription operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteNotificationSubscription /// operation. /// REST API Reference for DeleteNotificationSubscription Operation IAsyncResult BeginDeleteNotificationSubscription(DeleteNotificationSubscriptionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteNotificationSubscription operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNotificationSubscription. /// /// Returns a DeleteNotificationSubscriptionResult from WorkDocs. /// REST API Reference for DeleteNotificationSubscription Operation DeleteNotificationSubscriptionResponse EndDeleteNotificationSubscription(IAsyncResult asyncResult); #endregion #region DeleteUser /// /// 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. /// /// /// /// Container for the necessary parameters to execute the DeleteUser service method. /// /// The response from the DeleteUser service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DeleteUser Operation DeleteUserResponse DeleteUser(DeleteUserRequest request); /// /// Initiates the asynchronous execution of the DeleteUser operation. /// /// /// Container for the necessary parameters to execute the DeleteUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUser /// operation. /// REST API Reference for DeleteUser Operation IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteUser operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteUser. /// /// Returns a DeleteUserResult from WorkDocs. /// REST API Reference for DeleteUser Operation DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult); #endregion #region DescribeActivities /// /// Describes the user activities in a specified time period. /// /// Container for the necessary parameters to execute the DescribeActivities service method. /// /// The response from the DescribeActivities service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeActivities Operation DescribeActivitiesResponse DescribeActivities(DescribeActivitiesRequest request); /// /// Initiates the asynchronous execution of the DescribeActivities operation. /// /// /// Container for the necessary parameters to execute the DescribeActivities operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeActivities /// operation. /// REST API Reference for DescribeActivities Operation IAsyncResult BeginDescribeActivities(DescribeActivitiesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeActivities operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeActivities. /// /// Returns a DescribeActivitiesResult from WorkDocs. /// REST API Reference for DescribeActivities Operation DescribeActivitiesResponse EndDescribeActivities(IAsyncResult asyncResult); #endregion #region DescribeComments /// /// List all the comments for the specified document version. /// /// Container for the necessary parameters to execute the DescribeComments service method. /// /// The response from the DescribeComments service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeComments Operation DescribeCommentsResponse DescribeComments(DescribeCommentsRequest request); /// /// Initiates the asynchronous execution of the DescribeComments operation. /// /// /// Container for the necessary parameters to execute the DescribeComments operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeComments /// operation. /// REST API Reference for DescribeComments Operation IAsyncResult BeginDescribeComments(DescribeCommentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeComments operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeComments. /// /// Returns a DescribeCommentsResult from WorkDocs. /// REST API Reference for DescribeComments Operation DescribeCommentsResponse EndDescribeComments(IAsyncResult asyncResult); #endregion #region DescribeDocumentVersions /// /// Retrieves the document versions for the specified document. /// /// /// /// By default, only active versions are returned. /// /// /// Container for the necessary parameters to execute the DescribeDocumentVersions service method. /// /// The response from the DescribeDocumentVersions service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The password is invalid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeDocumentVersions Operation DescribeDocumentVersionsResponse DescribeDocumentVersions(DescribeDocumentVersionsRequest request); /// /// Initiates the asynchronous execution of the DescribeDocumentVersions operation. /// /// /// Container for the necessary parameters to execute the DescribeDocumentVersions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDocumentVersions /// operation. /// REST API Reference for DescribeDocumentVersions Operation IAsyncResult BeginDescribeDocumentVersions(DescribeDocumentVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeDocumentVersions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDocumentVersions. /// /// Returns a DescribeDocumentVersionsResult from WorkDocs. /// REST API Reference for DescribeDocumentVersions Operation DescribeDocumentVersionsResponse EndDescribeDocumentVersions(IAsyncResult asyncResult); #endregion #region DescribeFolderContents /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeFolderContents service method. /// /// The response from the DescribeFolderContents service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeFolderContents Operation DescribeFolderContentsResponse DescribeFolderContents(DescribeFolderContentsRequest request); /// /// Initiates the asynchronous execution of the DescribeFolderContents operation. /// /// /// Container for the necessary parameters to execute the DescribeFolderContents operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFolderContents /// operation. /// REST API Reference for DescribeFolderContents Operation IAsyncResult BeginDescribeFolderContents(DescribeFolderContentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeFolderContents operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeFolderContents. /// /// Returns a DescribeFolderContentsResult from WorkDocs. /// REST API Reference for DescribeFolderContents Operation DescribeFolderContentsResponse EndDescribeFolderContents(IAsyncResult asyncResult); #endregion #region DescribeGroups /// /// Describes the groups specified by the query. Groups are defined by the underlying /// Active Directory. /// /// Container for the necessary parameters to execute the DescribeGroups service method. /// /// The response from the DescribeGroups service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeGroups Operation DescribeGroupsResponse DescribeGroups(DescribeGroupsRequest request); /// /// Initiates the asynchronous execution of the DescribeGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeGroups operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGroups /// operation. /// REST API Reference for DescribeGroups Operation IAsyncResult BeginDescribeGroups(DescribeGroupsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeGroups. /// /// Returns a DescribeGroupsResult from WorkDocs. /// REST API Reference for DescribeGroups Operation DescribeGroupsResponse EndDescribeGroups(IAsyncResult asyncResult); #endregion #region DescribeNotificationSubscriptions /// /// Lists the specified notification subscriptions. /// /// Container for the necessary parameters to execute the DescribeNotificationSubscriptions service method. /// /// The response from the DescribeNotificationSubscriptions service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// One or more of the dependencies is unavailable. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeNotificationSubscriptions Operation DescribeNotificationSubscriptionsResponse DescribeNotificationSubscriptions(DescribeNotificationSubscriptionsRequest request); /// /// Initiates the asynchronous execution of the DescribeNotificationSubscriptions operation. /// /// /// Container for the necessary parameters to execute the DescribeNotificationSubscriptions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeNotificationSubscriptions /// operation. /// REST API Reference for DescribeNotificationSubscriptions Operation IAsyncResult BeginDescribeNotificationSubscriptions(DescribeNotificationSubscriptionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeNotificationSubscriptions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeNotificationSubscriptions. /// /// Returns a DescribeNotificationSubscriptionsResult from WorkDocs. /// REST API Reference for DescribeNotificationSubscriptions Operation DescribeNotificationSubscriptionsResponse EndDescribeNotificationSubscriptions(IAsyncResult asyncResult); #endregion #region DescribeResourcePermissions /// /// Describes the permissions of a specified resource. /// /// Container for the necessary parameters to execute the DescribeResourcePermissions service method. /// /// The response from the DescribeResourcePermissions service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeResourcePermissions Operation DescribeResourcePermissionsResponse DescribeResourcePermissions(DescribeResourcePermissionsRequest request); /// /// Initiates the asynchronous execution of the DescribeResourcePermissions operation. /// /// /// Container for the necessary parameters to execute the DescribeResourcePermissions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeResourcePermissions /// operation. /// REST API Reference for DescribeResourcePermissions Operation IAsyncResult BeginDescribeResourcePermissions(DescribeResourcePermissionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeResourcePermissions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeResourcePermissions. /// /// Returns a DescribeResourcePermissionsResult from WorkDocs. /// REST API Reference for DescribeResourcePermissions Operation DescribeResourcePermissionsResponse EndDescribeResourcePermissions(IAsyncResult asyncResult); #endregion #region DescribeRootFolders /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeRootFolders service method. /// /// The response from the DescribeRootFolders service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeRootFolders Operation DescribeRootFoldersResponse DescribeRootFolders(DescribeRootFoldersRequest request); /// /// Initiates the asynchronous execution of the DescribeRootFolders operation. /// /// /// Container for the necessary parameters to execute the DescribeRootFolders operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRootFolders /// operation. /// REST API Reference for DescribeRootFolders Operation IAsyncResult BeginDescribeRootFolders(DescribeRootFoldersRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeRootFolders operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRootFolders. /// /// Returns a DescribeRootFoldersResult from WorkDocs. /// REST API Reference for DescribeRootFolders Operation DescribeRootFoldersResponse EndDescribeRootFolders(IAsyncResult asyncResult); #endregion #region DescribeUsers /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeUsers service method. /// /// The response from the DescribeUsers service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The response is too large to return. The request must include a filter to reduce the /// size of the response. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for DescribeUsers Operation DescribeUsersResponse DescribeUsers(DescribeUsersRequest request); /// /// Initiates the asynchronous execution of the DescribeUsers operation. /// /// /// Container for the necessary parameters to execute the DescribeUsers operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUsers /// operation. /// REST API Reference for DescribeUsers Operation IAsyncResult BeginDescribeUsers(DescribeUsersRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeUsers operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeUsers. /// /// Returns a DescribeUsersResult from WorkDocs. /// REST API Reference for DescribeUsers Operation DescribeUsersResponse EndDescribeUsers(IAsyncResult asyncResult); #endregion #region GetCurrentUser /// /// 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. /// /// /// Container for the necessary parameters to execute the GetCurrentUser service method. /// /// The response from the GetCurrentUser service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetCurrentUser Operation GetCurrentUserResponse GetCurrentUser(GetCurrentUserRequest request); /// /// Initiates the asynchronous execution of the GetCurrentUser operation. /// /// /// Container for the necessary parameters to execute the GetCurrentUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCurrentUser /// operation. /// REST API Reference for GetCurrentUser Operation IAsyncResult BeginGetCurrentUser(GetCurrentUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetCurrentUser operation. /// /// /// The IAsyncResult returned by the call to BeginGetCurrentUser. /// /// Returns a GetCurrentUserResult from WorkDocs. /// REST API Reference for GetCurrentUser Operation GetCurrentUserResponse EndGetCurrentUser(IAsyncResult asyncResult); #endregion #region GetDocument /// /// Retrieves details of a document. /// /// Container for the necessary parameters to execute the GetDocument service method. /// /// The response from the GetDocument service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The password is invalid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetDocument Operation GetDocumentResponse GetDocument(GetDocumentRequest request); /// /// Initiates the asynchronous execution of the GetDocument operation. /// /// /// Container for the necessary parameters to execute the GetDocument operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocument /// operation. /// REST API Reference for GetDocument Operation IAsyncResult BeginGetDocument(GetDocumentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDocument operation. /// /// /// The IAsyncResult returned by the call to BeginGetDocument. /// /// Returns a GetDocumentResult from WorkDocs. /// REST API Reference for GetDocument Operation GetDocumentResponse EndGetDocument(IAsyncResult asyncResult); #endregion #region GetDocumentPath /// /// 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. /// /// /// Container for the necessary parameters to execute the GetDocumentPath service method. /// /// The response from the GetDocumentPath service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetDocumentPath Operation GetDocumentPathResponse GetDocumentPath(GetDocumentPathRequest request); /// /// Initiates the asynchronous execution of the GetDocumentPath operation. /// /// /// Container for the necessary parameters to execute the GetDocumentPath operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentPath /// operation. /// REST API Reference for GetDocumentPath Operation IAsyncResult BeginGetDocumentPath(GetDocumentPathRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDocumentPath operation. /// /// /// The IAsyncResult returned by the call to BeginGetDocumentPath. /// /// Returns a GetDocumentPathResult from WorkDocs. /// REST API Reference for GetDocumentPath Operation GetDocumentPathResponse EndGetDocumentPath(IAsyncResult asyncResult); #endregion #region GetDocumentVersion /// /// Retrieves version metadata for the specified document. /// /// Container for the necessary parameters to execute the GetDocumentVersion service method. /// /// The response from the GetDocumentVersion service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The password is invalid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetDocumentVersion Operation GetDocumentVersionResponse GetDocumentVersion(GetDocumentVersionRequest request); /// /// Initiates the asynchronous execution of the GetDocumentVersion operation. /// /// /// Container for the necessary parameters to execute the GetDocumentVersion operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDocumentVersion /// operation. /// REST API Reference for GetDocumentVersion Operation IAsyncResult BeginGetDocumentVersion(GetDocumentVersionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetDocumentVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetDocumentVersion. /// /// Returns a GetDocumentVersionResult from WorkDocs. /// REST API Reference for GetDocumentVersion Operation GetDocumentVersionResponse EndGetDocumentVersion(IAsyncResult asyncResult); #endregion #region GetFolder /// /// Retrieves the metadata of the specified folder. /// /// Container for the necessary parameters to execute the GetFolder service method. /// /// The response from the GetFolder service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetFolder Operation GetFolderResponse GetFolder(GetFolderRequest request); /// /// Initiates the asynchronous execution of the GetFolder operation. /// /// /// Container for the necessary parameters to execute the GetFolder operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFolder /// operation. /// REST API Reference for GetFolder Operation IAsyncResult BeginGetFolder(GetFolderRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetFolder operation. /// /// /// The IAsyncResult returned by the call to BeginGetFolder. /// /// Returns a GetFolderResult from WorkDocs. /// REST API Reference for GetFolder Operation GetFolderResponse EndGetFolder(IAsyncResult asyncResult); #endregion #region GetFolderPath /// /// 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. /// /// /// Container for the necessary parameters to execute the GetFolderPath service method. /// /// The response from the GetFolderPath service method, as returned by WorkDocs. /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetFolderPath Operation GetFolderPathResponse GetFolderPath(GetFolderPathRequest request); /// /// Initiates the asynchronous execution of the GetFolderPath operation. /// /// /// Container for the necessary parameters to execute the GetFolderPath operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFolderPath /// operation. /// REST API Reference for GetFolderPath Operation IAsyncResult BeginGetFolderPath(GetFolderPathRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetFolderPath operation. /// /// /// The IAsyncResult returned by the call to BeginGetFolderPath. /// /// Returns a GetFolderPathResult from WorkDocs. /// REST API Reference for GetFolderPath Operation GetFolderPathResponse EndGetFolderPath(IAsyncResult asyncResult); #endregion #region GetResources /// /// Retrieves a collection of resources, including folders and documents. The only CollectionType /// supported is SHARED_WITH_ME. /// /// Container for the necessary parameters to execute the GetResources service method. /// /// The response from the GetResources service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for GetResources Operation GetResourcesResponse GetResources(GetResourcesRequest request); /// /// Initiates the asynchronous execution of the GetResources operation. /// /// /// Container for the necessary parameters to execute the GetResources operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResources /// operation. /// REST API Reference for GetResources Operation IAsyncResult BeginGetResources(GetResourcesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetResources operation. /// /// /// The IAsyncResult returned by the call to BeginGetResources. /// /// Returns a GetResourcesResult from WorkDocs. /// REST API Reference for GetResources Operation GetResourcesResponse EndGetResources(IAsyncResult asyncResult); #endregion #region InitiateDocumentVersionUpload /// /// 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. /// /// /// Container for the necessary parameters to execute the InitiateDocumentVersionUpload service method. /// /// The response from the InitiateDocumentVersionUpload service method, as returned by WorkDocs. /// /// This exception is thrown when a valid checkout ID is not presented on document version /// upload calls for a document that has been checked out from Web client. /// /// /// The resource already exists. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The password is invalid. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// The resource is already checked out. /// /// /// One or more of the dependencies is unavailable. /// /// /// The storage limit has been exceeded. /// /// /// The storage limit will be exceeded. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for InitiateDocumentVersionUpload Operation InitiateDocumentVersionUploadResponse InitiateDocumentVersionUpload(InitiateDocumentVersionUploadRequest request); /// /// Initiates the asynchronous execution of the InitiateDocumentVersionUpload operation. /// /// /// Container for the necessary parameters to execute the InitiateDocumentVersionUpload operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndInitiateDocumentVersionUpload /// operation. /// REST API Reference for InitiateDocumentVersionUpload Operation IAsyncResult BeginInitiateDocumentVersionUpload(InitiateDocumentVersionUploadRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the InitiateDocumentVersionUpload operation. /// /// /// The IAsyncResult returned by the call to BeginInitiateDocumentVersionUpload. /// /// Returns a InitiateDocumentVersionUploadResult from WorkDocs. /// REST API Reference for InitiateDocumentVersionUpload Operation InitiateDocumentVersionUploadResponse EndInitiateDocumentVersionUpload(IAsyncResult asyncResult); #endregion #region RemoveAllResourcePermissions /// /// Removes all the permissions from the specified resource. /// /// Container for the necessary parameters to execute the RemoveAllResourcePermissions service method. /// /// The response from the RemoveAllResourcePermissions service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for RemoveAllResourcePermissions Operation RemoveAllResourcePermissionsResponse RemoveAllResourcePermissions(RemoveAllResourcePermissionsRequest request); /// /// Initiates the asynchronous execution of the RemoveAllResourcePermissions operation. /// /// /// Container for the necessary parameters to execute the RemoveAllResourcePermissions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveAllResourcePermissions /// operation. /// REST API Reference for RemoveAllResourcePermissions Operation IAsyncResult BeginRemoveAllResourcePermissions(RemoveAllResourcePermissionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RemoveAllResourcePermissions operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveAllResourcePermissions. /// /// Returns a RemoveAllResourcePermissionsResult from WorkDocs. /// REST API Reference for RemoveAllResourcePermissions Operation RemoveAllResourcePermissionsResponse EndRemoveAllResourcePermissions(IAsyncResult asyncResult); #endregion #region RemoveResourcePermission /// /// Removes the permission for the specified principal from the specified resource. /// /// Container for the necessary parameters to execute the RemoveResourcePermission service method. /// /// The response from the RemoveResourcePermission service method, as returned by WorkDocs. /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for RemoveResourcePermission Operation RemoveResourcePermissionResponse RemoveResourcePermission(RemoveResourcePermissionRequest request); /// /// Initiates the asynchronous execution of the RemoveResourcePermission operation. /// /// /// Container for the necessary parameters to execute the RemoveResourcePermission operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveResourcePermission /// operation. /// REST API Reference for RemoveResourcePermission Operation IAsyncResult BeginRemoveResourcePermission(RemoveResourcePermissionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RemoveResourcePermission operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveResourcePermission. /// /// Returns a RemoveResourcePermissionResult from WorkDocs. /// REST API Reference for RemoveResourcePermission Operation RemoveResourcePermissionResponse EndRemoveResourcePermission(IAsyncResult asyncResult); #endregion #region RestoreDocumentVersions /// /// Recovers a deleted version of an Amazon WorkDocs document. /// /// Container for the necessary parameters to execute the RestoreDocumentVersions service method. /// /// The response from the RestoreDocumentVersions service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The operation is invalid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for RestoreDocumentVersions Operation RestoreDocumentVersionsResponse RestoreDocumentVersions(RestoreDocumentVersionsRequest request); /// /// Initiates the asynchronous execution of the RestoreDocumentVersions operation. /// /// /// Container for the necessary parameters to execute the RestoreDocumentVersions operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRestoreDocumentVersions /// operation. /// REST API Reference for RestoreDocumentVersions Operation IAsyncResult BeginRestoreDocumentVersions(RestoreDocumentVersionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RestoreDocumentVersions operation. /// /// /// The IAsyncResult returned by the call to BeginRestoreDocumentVersions. /// /// Returns a RestoreDocumentVersionsResult from WorkDocs. /// REST API Reference for RestoreDocumentVersions Operation RestoreDocumentVersionsResponse EndRestoreDocumentVersions(IAsyncResult asyncResult); #endregion #region SearchResources /// /// Searches metadata and the content of folders, documents, document versions, and comments. /// /// Container for the necessary parameters to execute the SearchResources service method. /// /// The response from the SearchResources service method, as returned by WorkDocs. /// /// The pagination marker or limit fields are not valid. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for SearchResources Operation SearchResourcesResponse SearchResources(SearchResourcesRequest request); /// /// Initiates the asynchronous execution of the SearchResources operation. /// /// /// Container for the necessary parameters to execute the SearchResources operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchResources /// operation. /// REST API Reference for SearchResources Operation IAsyncResult BeginSearchResources(SearchResourcesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the SearchResources operation. /// /// /// The IAsyncResult returned by the call to BeginSearchResources. /// /// Returns a SearchResourcesResult from WorkDocs. /// REST API Reference for SearchResources Operation SearchResourcesResponse EndSearchResources(IAsyncResult asyncResult); #endregion #region UpdateDocument /// /// Updates the specified attributes of a document. The user must have access to both /// the document and its parent folder, if applicable. /// /// Container for the necessary parameters to execute the UpdateDocument service method. /// /// The response from the UpdateDocument service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource already exists. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for UpdateDocument Operation UpdateDocumentResponse UpdateDocument(UpdateDocumentRequest request); /// /// Initiates the asynchronous execution of the UpdateDocument operation. /// /// /// Container for the necessary parameters to execute the UpdateDocument operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDocument /// operation. /// REST API Reference for UpdateDocument Operation IAsyncResult BeginUpdateDocument(UpdateDocumentRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateDocument operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDocument. /// /// Returns a UpdateDocumentResult from WorkDocs. /// REST API Reference for UpdateDocument Operation UpdateDocumentResponse EndUpdateDocument(IAsyncResult asyncResult); #endregion #region UpdateDocumentVersion /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateDocumentVersion service method. /// /// The response from the UpdateDocumentVersion service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The operation is invalid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for UpdateDocumentVersion Operation UpdateDocumentVersionResponse UpdateDocumentVersion(UpdateDocumentVersionRequest request); /// /// Initiates the asynchronous execution of the UpdateDocumentVersion operation. /// /// /// Container for the necessary parameters to execute the UpdateDocumentVersion operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDocumentVersion /// operation. /// REST API Reference for UpdateDocumentVersion Operation IAsyncResult BeginUpdateDocumentVersion(UpdateDocumentVersionRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateDocumentVersion operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDocumentVersion. /// /// Returns a UpdateDocumentVersionResult from WorkDocs. /// REST API Reference for UpdateDocumentVersion Operation UpdateDocumentVersionResponse EndUpdateDocumentVersion(IAsyncResult asyncResult); #endregion #region UpdateFolder /// /// Updates the specified attributes of the specified folder. The user must have access /// to both the folder and its parent folder, if applicable. /// /// Container for the necessary parameters to execute the UpdateFolder service method. /// /// The response from the UpdateFolder service method, as returned by WorkDocs. /// /// The resource hierarchy is changing. /// /// /// Another operation is in progress on the resource that conflicts with the current operation. /// /// /// The resource already exists. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The maximum of 100,000 files and folders under the parent folder has been exceeded. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for UpdateFolder Operation UpdateFolderResponse UpdateFolder(UpdateFolderRequest request); /// /// Initiates the asynchronous execution of the UpdateFolder operation. /// /// /// Container for the necessary parameters to execute the UpdateFolder operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFolder /// operation. /// REST API Reference for UpdateFolder Operation IAsyncResult BeginUpdateFolder(UpdateFolderRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateFolder operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFolder. /// /// Returns a UpdateFolderResult from WorkDocs. /// REST API Reference for UpdateFolder Operation UpdateFolderResponse EndUpdateFolder(IAsyncResult asyncResult); #endregion #region UpdateUser /// /// Updates the specified attributes of the specified user, and grants or revokes administrative /// privileges to the Amazon WorkDocs site. /// /// Container for the necessary parameters to execute the UpdateUser service method. /// /// The response from the UpdateUser service method, as returned by WorkDocs. /// /// The last user in the organization is being deactivated. /// /// /// The resource does not exist. /// /// /// The Directory Service cannot reach an on-premises instance. Or a dependency under /// the control of the organization is failing, such as a connected Active Directory. /// /// /// The user is undergoing transfer of ownership. /// /// /// The pagination marker or limit fields are not valid. /// /// /// The specified document version is not in the INITIALIZED state. /// /// /// One or more of the dependencies is unavailable. /// /// /// The operation is not permitted. /// /// /// The caller does not have access to perform the action on the resource. /// /// REST API Reference for UpdateUser Operation UpdateUserResponse UpdateUser(UpdateUserRequest request); /// /// Initiates the asynchronous execution of the UpdateUser operation. /// /// /// Container for the necessary parameters to execute the UpdateUser operation on AmazonWorkDocsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateUser /// operation. /// REST API Reference for UpdateUser Operation IAsyncResult BeginUpdateUser(UpdateUserRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateUser operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateUser. /// /// Returns a UpdateUserResult from WorkDocs. /// REST API Reference for UpdateUser Operation UpdateUserResponse EndUpdateUser(IAsyncResult asyncResult); #endregion } }