/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codecommit; import javax.annotation.Generated; import com.amazonaws.services.codecommit.model.*; /** * Interface for accessing CodeCommit asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *

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

*

* AWS CodeCommit *

* This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data * types for AWS CodeCommit API along with usage examples. *

*

* You can use the AWS CodeCommit API to work with the following objects: *

*

* Repositories, by calling the following: *

* *

* Branches, by calling the following: *

* *

* Files, by calling the following: *

* *

* Commits, by calling the following: *

* *

* Merges, by calling the following: *

* *

* Pull requests, by calling the following: *

* *

* Approval rule templates, by calling the following: *

* *

* Comments in a repository, by calling the following: *

* *

* Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following: *

* *

* Triggers, by calling the following: *

* *

* For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide. *

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

* Creates an association between an approval rule template and a specified repository. Then, the next time a pull * request is created in the repository where the destination reference (if specified) matches the destination * reference (branch) for the pull request, an approval rule that matches the template conditions is automatically * created for that pull request. If no destination references are specified in the template, an approval rule that * matches the template contents is created for all pull requests in that repository. *

* * @param associateApprovalRuleTemplateWithRepositoryRequest * @return A Java Future containing the result of the AssociateApprovalRuleTemplateWithRepository operation returned * by the service. * @sample AWSCodeCommitAsync.AssociateApprovalRuleTemplateWithRepository * @see AWS API Documentation */ java.util.concurrent.Future associateApprovalRuleTemplateWithRepositoryAsync( AssociateApprovalRuleTemplateWithRepositoryRequest associateApprovalRuleTemplateWithRepositoryRequest); /** *

* Creates an association between an approval rule template and a specified repository. Then, the next time a pull * request is created in the repository where the destination reference (if specified) matches the destination * reference (branch) for the pull request, an approval rule that matches the template conditions is automatically * created for that pull request. If no destination references are specified in the template, an approval rule that * matches the template contents is created for all pull requests in that repository. *

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

* Creates an association between an approval rule template and one or more specified repositories. *

* * @param batchAssociateApprovalRuleTemplateWithRepositoriesRequest * @return A Java Future containing the result of the BatchAssociateApprovalRuleTemplateWithRepositories operation * returned by the service. * @sample AWSCodeCommitAsync.BatchAssociateApprovalRuleTemplateWithRepositories * @see AWS API Documentation */ java.util.concurrent.Future batchAssociateApprovalRuleTemplateWithRepositoriesAsync( BatchAssociateApprovalRuleTemplateWithRepositoriesRequest batchAssociateApprovalRuleTemplateWithRepositoriesRequest); /** *

* Creates an association between an approval rule template and one or more specified repositories. *

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

* Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the * squash or three-way merge strategy. *

* * @param batchDescribeMergeConflictsRequest * @return A Java Future containing the result of the BatchDescribeMergeConflicts operation returned by the service. * @sample AWSCodeCommitAsync.BatchDescribeMergeConflicts * @see AWS API Documentation */ java.util.concurrent.Future batchDescribeMergeConflictsAsync( BatchDescribeMergeConflictsRequest batchDescribeMergeConflictsRequest); /** *

* Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the * squash or three-way merge strategy. *

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

* Removes the association between an approval rule template and one or more specified repositories. *

* * @param batchDisassociateApprovalRuleTemplateFromRepositoriesRequest * @return A Java Future containing the result of the BatchDisassociateApprovalRuleTemplateFromRepositories * operation returned by the service. * @sample AWSCodeCommitAsync.BatchDisassociateApprovalRuleTemplateFromRepositories * @see AWS API Documentation */ java.util.concurrent.Future batchDisassociateApprovalRuleTemplateFromRepositoriesAsync( BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest batchDisassociateApprovalRuleTemplateFromRepositoriesRequest); /** *

* Removes the association between an approval rule template and one or more specified repositories. *

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

* Returns information about the contents of one or more commits in a repository. *

* * @param batchGetCommitsRequest * @return A Java Future containing the result of the BatchGetCommits operation returned by the service. * @sample AWSCodeCommitAsync.BatchGetCommits * @see AWS API * Documentation */ java.util.concurrent.Future batchGetCommitsAsync(BatchGetCommitsRequest batchGetCommitsRequest); /** *

* Returns information about the contents of one or more commits in a repository. *

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

* Returns information about one or more repositories. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param batchGetRepositoriesRequest * Represents the input of a batch get repositories operation. * @return A Java Future containing the result of the BatchGetRepositories operation returned by the service. * @sample AWSCodeCommitAsync.BatchGetRepositories * @see AWS API Documentation */ java.util.concurrent.Future batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest); /** *

* Returns information about one or more repositories. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param batchGetRepositoriesRequest * Represents the input of a batch get repositories operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the BatchGetRepositories operation returned by the service. * @sample AWSCodeCommitAsyncHandler.BatchGetRepositories * @see AWS API Documentation */ java.util.concurrent.Future batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a template for approval rules that can then be associated with one or more repositories in your AWS * account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches * the conditions of the template for all pull requests that meet the conditions of the template. For more * information, see AssociateApprovalRuleTemplateWithRepository. *

* * @param createApprovalRuleTemplateRequest * @return A Java Future containing the result of the CreateApprovalRuleTemplate operation returned by the service. * @sample AWSCodeCommitAsync.CreateApprovalRuleTemplate * @see AWS API Documentation */ java.util.concurrent.Future createApprovalRuleTemplateAsync( CreateApprovalRuleTemplateRequest createApprovalRuleTemplateRequest); /** *

* Creates a template for approval rules that can then be associated with one or more repositories in your AWS * account. When you associate a template with a repository, AWS CodeCommit creates an approval rule that matches * the conditions of the template for all pull requests that meet the conditions of the template. For more * information, see AssociateApprovalRuleTemplateWithRepository. *

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

* Creates a branch in a repository and points the branch to a commit. *

* *

* Calling the create branch operation does not set a repository's default branch. To do this, call the update * default branch operation. *

*
* * @param createBranchRequest * Represents the input of a create branch operation. * @return A Java Future containing the result of the CreateBranch operation returned by the service. * @sample AWSCodeCommitAsync.CreateBranch * @see AWS API * Documentation */ java.util.concurrent.Future createBranchAsync(CreateBranchRequest createBranchRequest); /** *

* Creates a branch in a repository and points the branch to a commit. *

* *

* Calling the create branch operation does not set a repository's default branch. To do this, call the update * default branch operation. *

*
* * @param createBranchRequest * Represents the input of a create branch operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateBranch operation returned by the service. * @sample AWSCodeCommitAsyncHandler.CreateBranch * @see AWS API * Documentation */ java.util.concurrent.Future createBranchAsync(CreateBranchRequest createBranchRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a commit for a repository on the tip of a specified branch. *

* * @param createCommitRequest * @return A Java Future containing the result of the CreateCommit operation returned by the service. * @sample AWSCodeCommitAsync.CreateCommit * @see AWS API * Documentation */ java.util.concurrent.Future createCommitAsync(CreateCommitRequest createCommitRequest); /** *

* Creates a commit for a repository on the tip of a specified branch. *

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

* Creates a pull request in the specified repository. *

* * @param createPullRequestRequest * @return A Java Future containing the result of the CreatePullRequest operation returned by the service. * @sample AWSCodeCommitAsync.CreatePullRequest * @see AWS * API Documentation */ java.util.concurrent.Future createPullRequestAsync(CreatePullRequestRequest createPullRequestRequest); /** *

* Creates a pull request in the specified repository. *

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

* Creates an approval rule for a pull request. *

* * @param createPullRequestApprovalRuleRequest * @return A Java Future containing the result of the CreatePullRequestApprovalRule operation returned by the * service. * @sample AWSCodeCommitAsync.CreatePullRequestApprovalRule * @see AWS API Documentation */ java.util.concurrent.Future createPullRequestApprovalRuleAsync( CreatePullRequestApprovalRuleRequest createPullRequestApprovalRuleRequest); /** *

* Creates an approval rule for a pull request. *

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

* Creates a new, empty repository. *

* * @param createRepositoryRequest * Represents the input of a create repository operation. * @return A Java Future containing the result of the CreateRepository operation returned by the service. * @sample AWSCodeCommitAsync.CreateRepository * @see AWS * API Documentation */ java.util.concurrent.Future createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest); /** *

* Creates a new, empty repository. *

* * @param createRepositoryRequest * Represents the input of a create repository operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateRepository operation returned by the service. * @sample AWSCodeCommitAsyncHandler.CreateRepository * @see AWS * API Documentation */ java.util.concurrent.Future createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates an unreferenced commit that represents the result of merging two branches using a specified merge * strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the * fast-forward merge strategy because that strategy does not create a merge commit. *

* *

* This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git * fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it. *

*
* * @param createUnreferencedMergeCommitRequest * @return A Java Future containing the result of the CreateUnreferencedMergeCommit operation returned by the * service. * @sample AWSCodeCommitAsync.CreateUnreferencedMergeCommit * @see AWS API Documentation */ java.util.concurrent.Future createUnreferencedMergeCommitAsync( CreateUnreferencedMergeCommitRequest createUnreferencedMergeCommitRequest); /** *

* Creates an unreferenced commit that represents the result of merging two branches using a specified merge * strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the * fast-forward merge strategy because that strategy does not create a merge commit. *

* *

* This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git * fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it. *

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

* Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests * already created with the template. *

* * @param deleteApprovalRuleTemplateRequest * @return A Java Future containing the result of the DeleteApprovalRuleTemplate operation returned by the service. * @sample AWSCodeCommitAsync.DeleteApprovalRuleTemplate * @see AWS API Documentation */ java.util.concurrent.Future deleteApprovalRuleTemplateAsync( DeleteApprovalRuleTemplateRequest deleteApprovalRuleTemplateRequest); /** *

* Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests * already created with the template. *

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

* Deletes a branch from a repository, unless that branch is the default branch for the repository. *

* * @param deleteBranchRequest * Represents the input of a delete branch operation. * @return A Java Future containing the result of the DeleteBranch operation returned by the service. * @sample AWSCodeCommitAsync.DeleteBranch * @see AWS API * Documentation */ java.util.concurrent.Future deleteBranchAsync(DeleteBranchRequest deleteBranchRequest); /** *

* Deletes a branch from a repository, unless that branch is the default branch for the repository. *

* * @param deleteBranchRequest * Represents the input of a delete branch operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteBranch operation returned by the service. * @sample AWSCodeCommitAsyncHandler.DeleteBranch * @see AWS API * Documentation */ java.util.concurrent.Future deleteBranchAsync(DeleteBranchRequest deleteBranchRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the content of a comment made on a change, file, or commit in a repository. *

* * @param deleteCommentContentRequest * @return A Java Future containing the result of the DeleteCommentContent operation returned by the service. * @sample AWSCodeCommitAsync.DeleteCommentContent * @see AWS API Documentation */ java.util.concurrent.Future deleteCommentContentAsync(DeleteCommentContentRequest deleteCommentContentRequest); /** *

* Deletes the content of a comment made on a change, file, or commit in a repository. *

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

* Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. * The file still exists in the commits earlier to the commit that contains the deletion. *

* * @param deleteFileRequest * @return A Java Future containing the result of the DeleteFile operation returned by the service. * @sample AWSCodeCommitAsync.DeleteFile * @see AWS API * Documentation */ java.util.concurrent.Future deleteFileAsync(DeleteFileRequest deleteFileRequest); /** *

* Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. * The file still exists in the commits earlier to the commit that contains the deletion. *

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

* Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if * the pull request is open, and if the approval rule was created specifically for a pull request and not generated * from an approval rule template associated with the repository where the pull request was created. You cannot * delete an approval rule from a merged or closed pull request. *

* * @param deletePullRequestApprovalRuleRequest * @return A Java Future containing the result of the DeletePullRequestApprovalRule operation returned by the * service. * @sample AWSCodeCommitAsync.DeletePullRequestApprovalRule * @see AWS API Documentation */ java.util.concurrent.Future deletePullRequestApprovalRuleAsync( DeletePullRequestApprovalRuleRequest deletePullRequestApprovalRuleRequest); /** *

* Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if * the pull request is open, and if the approval rule was created specifically for a pull request and not generated * from an approval rule template associated with the repository where the pull request was created. You cannot * delete an approval rule from a merged or closed pull request. *

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

* Deletes a repository. If a specified repository was already deleted, a null repository ID is returned. *

* *

* Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future * push calls to the deleted repository fail. *

*
* * @param deleteRepositoryRequest * Represents the input of a delete repository operation. * @return A Java Future containing the result of the DeleteRepository operation returned by the service. * @sample AWSCodeCommitAsync.DeleteRepository * @see AWS * API Documentation */ java.util.concurrent.Future deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest); /** *

* Deletes a repository. If a specified repository was already deleted, a null repository ID is returned. *

* *

* Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future * push calls to the deleted repository fail. *

*
* * @param deleteRepositoryRequest * Represents the input of a delete repository operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteRepository operation returned by the service. * @sample AWSCodeCommitAsyncHandler.DeleteRepository * @see AWS * API Documentation */ java.util.concurrent.Future deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the * squash or three-way merge strategy. If the merge option for the attempted merge is specified as * FAST_FORWARD_MERGE, an exception is thrown. *

* * @param describeMergeConflictsRequest * @return A Java Future containing the result of the DescribeMergeConflicts operation returned by the service. * @sample AWSCodeCommitAsync.DescribeMergeConflicts * @see AWS API Documentation */ java.util.concurrent.Future describeMergeConflictsAsync(DescribeMergeConflictsRequest describeMergeConflictsRequest); /** *

* Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the * squash or three-way merge strategy. If the merge option for the attempted merge is specified as * FAST_FORWARD_MERGE, an exception is thrown. *

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

* Returns information about one or more pull request events. *

* * @param describePullRequestEventsRequest * @return A Java Future containing the result of the DescribePullRequestEvents operation returned by the service. * @sample AWSCodeCommitAsync.DescribePullRequestEvents * @see AWS API Documentation */ java.util.concurrent.Future describePullRequestEventsAsync( DescribePullRequestEventsRequest describePullRequestEventsRequest); /** *

* Returns information about one or more pull request events. *

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

* Removes the association between a template and a repository so that approval rules based on the template are not * automatically created when pull requests are created in the specified repository. This does not delete any * approval rules previously created for pull requests through the template association. *

* * @param disassociateApprovalRuleTemplateFromRepositoryRequest * @return A Java Future containing the result of the DisassociateApprovalRuleTemplateFromRepository operation * returned by the service. * @sample AWSCodeCommitAsync.DisassociateApprovalRuleTemplateFromRepository * @see AWS API Documentation */ java.util.concurrent.Future disassociateApprovalRuleTemplateFromRepositoryAsync( DisassociateApprovalRuleTemplateFromRepositoryRequest disassociateApprovalRuleTemplateFromRepositoryRequest); /** *

* Removes the association between a template and a repository so that approval rules based on the template are not * automatically created when pull requests are created in the specified repository. This does not delete any * approval rules previously created for pull requests through the template association. *

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

* Evaluates whether a pull request has met all the conditions specified in its associated approval rules. *

* * @param evaluatePullRequestApprovalRulesRequest * @return A Java Future containing the result of the EvaluatePullRequestApprovalRules operation returned by the * service. * @sample AWSCodeCommitAsync.EvaluatePullRequestApprovalRules * @see AWS API Documentation */ java.util.concurrent.Future evaluatePullRequestApprovalRulesAsync( EvaluatePullRequestApprovalRulesRequest evaluatePullRequestApprovalRulesRequest); /** *

* Evaluates whether a pull request has met all the conditions specified in its associated approval rules. *

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

* Returns information about a specified approval rule template. *

* * @param getApprovalRuleTemplateRequest * @return A Java Future containing the result of the GetApprovalRuleTemplate operation returned by the service. * @sample AWSCodeCommitAsync.GetApprovalRuleTemplate * @see AWS API Documentation */ java.util.concurrent.Future getApprovalRuleTemplateAsync(GetApprovalRuleTemplateRequest getApprovalRuleTemplateRequest); /** *

* Returns information about a specified approval rule template. *

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

* Returns the base-64 encoded content of an individual blob in a repository. *

* * @param getBlobRequest * Represents the input of a get blob operation. * @return A Java Future containing the result of the GetBlob operation returned by the service. * @sample AWSCodeCommitAsync.GetBlob * @see AWS API * Documentation */ java.util.concurrent.Future getBlobAsync(GetBlobRequest getBlobRequest); /** *

* Returns the base-64 encoded content of an individual blob in a repository. *

* * @param getBlobRequest * Represents the input of a get blob operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetBlob operation returned by the service. * @sample AWSCodeCommitAsyncHandler.GetBlob * @see AWS API * Documentation */ java.util.concurrent.Future getBlobAsync(GetBlobRequest getBlobRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about a repository branch, including its name and the last commit ID. *

* * @param getBranchRequest * Represents the input of a get branch operation. * @return A Java Future containing the result of the GetBranch operation returned by the service. * @sample AWSCodeCommitAsync.GetBranch * @see AWS API * Documentation */ java.util.concurrent.Future getBranchAsync(GetBranchRequest getBranchRequest); /** *

* Returns information about a repository branch, including its name and the last commit ID. *

* * @param getBranchRequest * Represents the input of a get branch operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetBranch operation returned by the service. * @sample AWSCodeCommitAsyncHandler.GetBranch * @see AWS API * Documentation */ java.util.concurrent.Future getBranchAsync(GetBranchRequest getBranchRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the content of a comment made on a change, file, or commit in a repository. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

*
* * @param getCommentRequest * @return A Java Future containing the result of the GetComment operation returned by the service. * @sample AWSCodeCommitAsync.GetComment * @see AWS API * Documentation */ java.util.concurrent.Future getCommentAsync(GetCommentRequest getCommentRequest); /** *

* Returns the content of a comment made on a change, file, or commit in a repository. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

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

* Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will * not be included in the count. *

* * @param getCommentReactionsRequest * @return A Java Future containing the result of the GetCommentReactions operation returned by the service. * @sample AWSCodeCommitAsync.GetCommentReactions * @see AWS * API Documentation */ java.util.concurrent.Future getCommentReactionsAsync(GetCommentReactionsRequest getCommentReactionsRequest); /** *

* Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will * not be included in the count. *

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

* Returns information about comments made on the comparison between two commits. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

*
* * @param getCommentsForComparedCommitRequest * @return A Java Future containing the result of the GetCommentsForComparedCommit operation returned by the * service. * @sample AWSCodeCommitAsync.GetCommentsForComparedCommit * @see AWS API Documentation */ java.util.concurrent.Future getCommentsForComparedCommitAsync( GetCommentsForComparedCommitRequest getCommentsForComparedCommitRequest); /** *

* Returns information about comments made on the comparison between two commits. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

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

* Returns comments made on a pull request. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

*
* * @param getCommentsForPullRequestRequest * @return A Java Future containing the result of the GetCommentsForPullRequest operation returned by the service. * @sample AWSCodeCommitAsync.GetCommentsForPullRequest * @see AWS API Documentation */ java.util.concurrent.Future getCommentsForPullRequestAsync( GetCommentsForPullRequestRequest getCommentsForPullRequestRequest); /** *

* Returns comments made on a pull request. *

* *

* Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a * count of reactions from active identities, use GetCommentReactions. *

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

* Returns information about a commit, including commit message and committer information. *

* * @param getCommitRequest * Represents the input of a get commit operation. * @return A Java Future containing the result of the GetCommit operation returned by the service. * @sample AWSCodeCommitAsync.GetCommit * @see AWS API * Documentation */ java.util.concurrent.Future getCommitAsync(GetCommitRequest getCommitRequest); /** *

* Returns information about a commit, including commit message and committer information. *

* * @param getCommitRequest * Represents the input of a get commit operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetCommit operation returned by the service. * @sample AWSCodeCommitAsyncHandler.GetCommit * @see AWS API * Documentation */ java.util.concurrent.Future getCommitAsync(GetCommitRequest getCommitRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or * other fully qualified reference). Results can be limited to a specified path. *

* * @param getDifferencesRequest * @return A Java Future containing the result of the GetDifferences operation returned by the service. * @sample AWSCodeCommitAsync.GetDifferences * @see AWS API * Documentation */ java.util.concurrent.Future getDifferencesAsync(GetDifferencesRequest getDifferencesRequest); /** *

* Returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or * other fully qualified reference). Results can be limited to a specified path. *

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

* Returns the base-64 encoded contents of a specified file and its metadata. *

* * @param getFileRequest * @return A Java Future containing the result of the GetFile operation returned by the service. * @sample AWSCodeCommitAsync.GetFile * @see AWS API * Documentation */ java.util.concurrent.Future getFileAsync(GetFileRequest getFileRequest); /** *

* Returns the base-64 encoded contents of a specified file and its metadata. *

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

* Returns the contents of a specified folder in a repository. *

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

* Returns the contents of a specified folder in a repository. *

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

* Returns information about a specified merge commit. *

* * @param getMergeCommitRequest * @return A Java Future containing the result of the GetMergeCommit operation returned by the service. * @sample AWSCodeCommitAsync.GetMergeCommit * @see AWS API * Documentation */ java.util.concurrent.Future getMergeCommitAsync(GetMergeCommitRequest getMergeCommitRequest); /** *

* Returns information about a specified merge commit. *

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

* Returns information about merge conflicts between the before and after commit IDs for a pull request in a * repository. *

* * @param getMergeConflictsRequest * @return A Java Future containing the result of the GetMergeConflicts operation returned by the service. * @sample AWSCodeCommitAsync.GetMergeConflicts * @see AWS * API Documentation */ java.util.concurrent.Future getMergeConflictsAsync(GetMergeConflictsRequest getMergeConflictsRequest); /** *

* Returns information about merge conflicts between the before and after commit IDs for a pull request in a * repository. *

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

* Returns information about the merge options available for merging two specified branches. For details about why a * merge option is not available, use GetMergeConflicts or DescribeMergeConflicts. *

* * @param getMergeOptionsRequest * @return A Java Future containing the result of the GetMergeOptions operation returned by the service. * @sample AWSCodeCommitAsync.GetMergeOptions * @see AWS API * Documentation */ java.util.concurrent.Future getMergeOptionsAsync(GetMergeOptionsRequest getMergeOptionsRequest); /** *

* Returns information about the merge options available for merging two specified branches. For details about why a * merge option is not available, use GetMergeConflicts or DescribeMergeConflicts. *

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

* Gets information about a pull request in a specified repository. *

* * @param getPullRequestRequest * @return A Java Future containing the result of the GetPullRequest operation returned by the service. * @sample AWSCodeCommitAsync.GetPullRequest * @see AWS API * Documentation */ java.util.concurrent.Future getPullRequestAsync(GetPullRequestRequest getPullRequestRequest); /** *

* Gets information about a pull request in a specified repository. *

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

* Gets information about the approval states for a specified pull request. Approval states only apply to pull * requests that have one or more approval rules applied to them. *

* * @param getPullRequestApprovalStatesRequest * @return A Java Future containing the result of the GetPullRequestApprovalStates operation returned by the * service. * @sample AWSCodeCommitAsync.GetPullRequestApprovalStates * @see AWS API Documentation */ java.util.concurrent.Future getPullRequestApprovalStatesAsync( GetPullRequestApprovalStatesRequest getPullRequestApprovalStatesRequest); /** *

* Gets information about the approval states for a specified pull request. Approval states only apply to pull * requests that have one or more approval rules applied to them. *

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

* Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, * the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the * pull request. *

* * @param getPullRequestOverrideStateRequest * @return A Java Future containing the result of the GetPullRequestOverrideState operation returned by the service. * @sample AWSCodeCommitAsync.GetPullRequestOverrideState * @see AWS API Documentation */ java.util.concurrent.Future getPullRequestOverrideStateAsync( GetPullRequestOverrideStateRequest getPullRequestOverrideStateRequest); /** *

* Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, * the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the * pull request. *

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

* Returns information about a repository. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param getRepositoryRequest * Represents the input of a get repository operation. * @return A Java Future containing the result of the GetRepository operation returned by the service. * @sample AWSCodeCommitAsync.GetRepository * @see AWS API * Documentation */ java.util.concurrent.Future getRepositoryAsync(GetRepositoryRequest getRepositoryRequest); /** *

* Returns information about a repository. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param getRepositoryRequest * Represents the input of a get repository operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetRepository operation returned by the service. * @sample AWSCodeCommitAsyncHandler.GetRepository * @see AWS API * Documentation */ java.util.concurrent.Future getRepositoryAsync(GetRepositoryRequest getRepositoryRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about triggers configured for a repository. *

* * @param getRepositoryTriggersRequest * Represents the input of a get repository triggers operation. * @return A Java Future containing the result of the GetRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsync.GetRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future getRepositoryTriggersAsync(GetRepositoryTriggersRequest getRepositoryTriggersRequest); /** *

* Gets information about triggers configured for a repository. *

* * @param getRepositoryTriggersRequest * Represents the input of a get repository triggers operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsyncHandler.GetRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future getRepositoryTriggersAsync(GetRepositoryTriggersRequest getRepositoryTriggersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not * specified, the AWS Region where you are signed in is used. *

* * @param listApprovalRuleTemplatesRequest * @return A Java Future containing the result of the ListApprovalRuleTemplates operation returned by the service. * @sample AWSCodeCommitAsync.ListApprovalRuleTemplates * @see AWS API Documentation */ java.util.concurrent.Future listApprovalRuleTemplatesAsync( ListApprovalRuleTemplatesRequest listApprovalRuleTemplatesRequest); /** *

* Lists all approval rule templates in the specified AWS Region in your AWS account. If an AWS Region is not * specified, the AWS Region where you are signed in is used. *

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

* Lists all approval rule templates that are associated with a specified repository. *

* * @param listAssociatedApprovalRuleTemplatesForRepositoryRequest * @return A Java Future containing the result of the ListAssociatedApprovalRuleTemplatesForRepository operation * returned by the service. * @sample AWSCodeCommitAsync.ListAssociatedApprovalRuleTemplatesForRepository * @see AWS API Documentation */ java.util.concurrent.Future listAssociatedApprovalRuleTemplatesForRepositoryAsync( ListAssociatedApprovalRuleTemplatesForRepositoryRequest listAssociatedApprovalRuleTemplatesForRepositoryRequest); /** *

* Lists all approval rule templates that are associated with a specified repository. *

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

* Gets information about one or more branches in a repository. *

* * @param listBranchesRequest * Represents the input of a list branches operation. * @return A Java Future containing the result of the ListBranches operation returned by the service. * @sample AWSCodeCommitAsync.ListBranches * @see AWS API * Documentation */ java.util.concurrent.Future listBranchesAsync(ListBranchesRequest listBranchesRequest); /** *

* Gets information about one or more branches in a repository. *

* * @param listBranchesRequest * Represents the input of a list branches operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListBranches operation returned by the service. * @sample AWSCodeCommitAsyncHandler.ListBranches * @see AWS API * Documentation */ java.util.concurrent.Future listBranchesAsync(ListBranchesRequest listBranchesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of pull requests for a specified repository. The return list can be refined by pull request status * or pull request author ARN. *

* * @param listPullRequestsRequest * @return A Java Future containing the result of the ListPullRequests operation returned by the service. * @sample AWSCodeCommitAsync.ListPullRequests * @see AWS * API Documentation */ java.util.concurrent.Future listPullRequestsAsync(ListPullRequestsRequest listPullRequestsRequest); /** *

* Returns a list of pull requests for a specified repository. The return list can be refined by pull request status * or pull request author ARN. *

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

* Gets information about one or more repositories. *

* * @param listRepositoriesRequest * Represents the input of a list repositories operation. * @return A Java Future containing the result of the ListRepositories operation returned by the service. * @sample AWSCodeCommitAsync.ListRepositories * @see AWS * API Documentation */ java.util.concurrent.Future listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest); /** *

* Gets information about one or more repositories. *

* * @param listRepositoriesRequest * Represents the input of a list repositories operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListRepositories operation returned by the service. * @sample AWSCodeCommitAsyncHandler.ListRepositories * @see AWS * API Documentation */ java.util.concurrent.Future listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all repositories associated with the specified approval rule template. *

* * @param listRepositoriesForApprovalRuleTemplateRequest * @return A Java Future containing the result of the ListRepositoriesForApprovalRuleTemplate operation returned by * the service. * @sample AWSCodeCommitAsync.ListRepositoriesForApprovalRuleTemplate * @see AWS API Documentation */ java.util.concurrent.Future listRepositoriesForApprovalRuleTemplateAsync( ListRepositoriesForApprovalRuleTemplateRequest listRepositoriesForApprovalRuleTemplateRequest); /** *

* Lists all repositories associated with the specified approval rule template. *

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

* Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid * resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSCodeCommitAsync.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit. For a list of valid * resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

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

* Merges two branches using the fast-forward merge strategy. *

* * @param mergeBranchesByFastForwardRequest * @return A Java Future containing the result of the MergeBranchesByFastForward operation returned by the service. * @sample AWSCodeCommitAsync.MergeBranchesByFastForward * @see AWS API Documentation */ java.util.concurrent.Future mergeBranchesByFastForwardAsync( MergeBranchesByFastForwardRequest mergeBranchesByFastForwardRequest); /** *

* Merges two branches using the fast-forward merge strategy. *

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

* Merges two branches using the squash merge strategy. *

* * @param mergeBranchesBySquashRequest * @return A Java Future containing the result of the MergeBranchesBySquash operation returned by the service. * @sample AWSCodeCommitAsync.MergeBranchesBySquash * @see AWS API Documentation */ java.util.concurrent.Future mergeBranchesBySquashAsync(MergeBranchesBySquashRequest mergeBranchesBySquashRequest); /** *

* Merges two branches using the squash merge strategy. *

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

* Merges two specified branches using the three-way merge strategy. *

* * @param mergeBranchesByThreeWayRequest * @return A Java Future containing the result of the MergeBranchesByThreeWay operation returned by the service. * @sample AWSCodeCommitAsync.MergeBranchesByThreeWay * @see AWS API Documentation */ java.util.concurrent.Future mergeBranchesByThreeWayAsync(MergeBranchesByThreeWayRequest mergeBranchesByThreeWayRequest); /** *

* Merges two specified branches using the three-way merge strategy. *

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

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull * request. *

* * @param mergePullRequestByFastForwardRequest * @return A Java Future containing the result of the MergePullRequestByFastForward operation returned by the * service. * @sample AWSCodeCommitAsync.MergePullRequestByFastForward * @see AWS API Documentation */ java.util.concurrent.Future mergePullRequestByFastForwardAsync( MergePullRequestByFastForwardRequest mergePullRequestByFastForwardRequest); /** *

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull * request. *

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

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request. *

* * @param mergePullRequestBySquashRequest * @return A Java Future containing the result of the MergePullRequestBySquash operation returned by the service. * @sample AWSCodeCommitAsync.MergePullRequestBySquash * @see AWS API Documentation */ java.util.concurrent.Future mergePullRequestBySquashAsync(MergePullRequestBySquashRequest mergePullRequestBySquashRequest); /** *

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request. *

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

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull * request. *

* * @param mergePullRequestByThreeWayRequest * @return A Java Future containing the result of the MergePullRequestByThreeWay operation returned by the service. * @sample AWSCodeCommitAsync.MergePullRequestByThreeWay * @see AWS API Documentation */ java.util.concurrent.Future mergePullRequestByThreeWayAsync( MergePullRequestByThreeWayRequest mergePullRequestByThreeWayRequest); /** *

* Attempts to merge the source commit of a pull request into the specified destination branch for that pull request * at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull * request. *

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

* Sets aside (overrides) all approval rule requirements for a specified pull request. *

* * @param overridePullRequestApprovalRulesRequest * @return A Java Future containing the result of the OverridePullRequestApprovalRules operation returned by the * service. * @sample AWSCodeCommitAsync.OverridePullRequestApprovalRules * @see AWS API Documentation */ java.util.concurrent.Future overridePullRequestApprovalRulesAsync( OverridePullRequestApprovalRulesRequest overridePullRequestApprovalRulesRequest); /** *

* Sets aside (overrides) all approval rule requirements for a specified pull request. *

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

* Posts a comment on the comparison between two commits. *

* * @param postCommentForComparedCommitRequest * @return A Java Future containing the result of the PostCommentForComparedCommit operation returned by the * service. * @sample AWSCodeCommitAsync.PostCommentForComparedCommit * @see AWS API Documentation */ java.util.concurrent.Future postCommentForComparedCommitAsync( PostCommentForComparedCommitRequest postCommentForComparedCommitRequest); /** *

* Posts a comment on the comparison between two commits. *

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

* Posts a comment on a pull request. *

* * @param postCommentForPullRequestRequest * @return A Java Future containing the result of the PostCommentForPullRequest operation returned by the service. * @sample AWSCodeCommitAsync.PostCommentForPullRequest * @see AWS API Documentation */ java.util.concurrent.Future postCommentForPullRequestAsync( PostCommentForPullRequestRequest postCommentForPullRequestRequest); /** *

* Posts a comment on a pull request. *

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

* Posts a comment in reply to an existing comment on a comparison between commits or a pull request. *

* * @param postCommentReplyRequest * @return A Java Future containing the result of the PostCommentReply operation returned by the service. * @sample AWSCodeCommitAsync.PostCommentReply * @see AWS * API Documentation */ java.util.concurrent.Future postCommentReplyAsync(PostCommentReplyRequest postCommentReplyRequest); /** *

* Posts a comment in reply to an existing comment on a comparison between commits or a pull request. *

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

* Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You * can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user. *

* * @param putCommentReactionRequest * @return A Java Future containing the result of the PutCommentReaction operation returned by the service. * @sample AWSCodeCommitAsync.PutCommentReaction * @see AWS * API Documentation */ java.util.concurrent.Future putCommentReactionAsync(PutCommentReactionRequest putCommentReactionRequest); /** *

* Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You * can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user. *

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

* Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in * the specified branch. *

* * @param putFileRequest * @return A Java Future containing the result of the PutFile operation returned by the service. * @sample AWSCodeCommitAsync.PutFile * @see AWS API * Documentation */ java.util.concurrent.Future putFileAsync(PutFileRequest putFileRequest); /** *

* Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in * the specified branch. *

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

* Replaces all triggers for a repository. Used to create or delete triggers. *

* * @param putRepositoryTriggersRequest * Represents the input of a put repository triggers operation. * @return A Java Future containing the result of the PutRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsync.PutRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future putRepositoryTriggersAsync(PutRepositoryTriggersRequest putRepositoryTriggersRequest); /** *

* Replaces all triggers for a repository. Used to create or delete triggers. *

* * @param putRepositoryTriggersRequest * Represents the input of a put repository triggers operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsyncHandler.PutRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future putRepositoryTriggersAsync(PutRepositoryTriggersRequest putRepositoryTriggersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSCodeCommitAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

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

* Tests the functionality of repository triggers by sending information to the trigger target. If real data is * available in the repository, the test sends data from the last commit. If no data is available, sample data is * generated. *

* * @param testRepositoryTriggersRequest * Represents the input of a test repository triggers operation. * @return A Java Future containing the result of the TestRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsync.TestRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future testRepositoryTriggersAsync(TestRepositoryTriggersRequest testRepositoryTriggersRequest); /** *

* Tests the functionality of repository triggers by sending information to the trigger target. If real data is * available in the repository, the test sends data from the last commit. If no data is available, sample data is * generated. *

* * @param testRepositoryTriggersRequest * Represents the input of a test repository triggers operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TestRepositoryTriggers operation returned by the service. * @sample AWSCodeCommitAsyncHandler.TestRepositoryTriggers * @see AWS API Documentation */ java.util.concurrent.Future testRepositoryTriggersAsync(TestRepositoryTriggersRequest testRepositoryTriggersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSCodeCommitAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide. *

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

* Updates the content of an approval rule template. You can change the number of required approvals, the membership * of the approval rule, and whether an approval pool is defined. *

* * @param updateApprovalRuleTemplateContentRequest * @return A Java Future containing the result of the UpdateApprovalRuleTemplateContent operation returned by the * service. * @sample AWSCodeCommitAsync.UpdateApprovalRuleTemplateContent * @see AWS API Documentation */ java.util.concurrent.Future updateApprovalRuleTemplateContentAsync( UpdateApprovalRuleTemplateContentRequest updateApprovalRuleTemplateContentRequest); /** *

* Updates the content of an approval rule template. You can change the number of required approvals, the membership * of the approval rule, and whether an approval pool is defined. *

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

* Updates the description for a specified approval rule template. *

* * @param updateApprovalRuleTemplateDescriptionRequest * @return A Java Future containing the result of the UpdateApprovalRuleTemplateDescription operation returned by * the service. * @sample AWSCodeCommitAsync.UpdateApprovalRuleTemplateDescription * @see AWS API Documentation */ java.util.concurrent.Future updateApprovalRuleTemplateDescriptionAsync( UpdateApprovalRuleTemplateDescriptionRequest updateApprovalRuleTemplateDescriptionRequest); /** *

* Updates the description for a specified approval rule template. *

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

* Updates the name of a specified approval rule template. *

* * @param updateApprovalRuleTemplateNameRequest * @return A Java Future containing the result of the UpdateApprovalRuleTemplateName operation returned by the * service. * @sample AWSCodeCommitAsync.UpdateApprovalRuleTemplateName * @see AWS API Documentation */ java.util.concurrent.Future updateApprovalRuleTemplateNameAsync( UpdateApprovalRuleTemplateNameRequest updateApprovalRuleTemplateNameRequest); /** *

* Updates the name of a specified approval rule template. *

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

* Replaces the contents of a comment. *

* * @param updateCommentRequest * @return A Java Future containing the result of the UpdateComment operation returned by the service. * @sample AWSCodeCommitAsync.UpdateComment * @see AWS API * Documentation */ java.util.concurrent.Future updateCommentAsync(UpdateCommentRequest updateCommentRequest); /** *

* Replaces the contents of a comment. *

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

* Sets or changes the default branch name for the specified repository. *

* *

* If you use this operation to change the default branch name to the current default branch name, a success message * is returned even though the default branch did not change. *

*
* * @param updateDefaultBranchRequest * Represents the input of an update default branch operation. * @return A Java Future containing the result of the UpdateDefaultBranch operation returned by the service. * @sample AWSCodeCommitAsync.UpdateDefaultBranch * @see AWS * API Documentation */ java.util.concurrent.Future updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest); /** *

* Sets or changes the default branch name for the specified repository. *

* *

* If you use this operation to change the default branch name to the current default branch name, a success message * is returned even though the default branch did not change. *

*
* * @param updateDefaultBranchRequest * Represents the input of an update default branch operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateDefaultBranch operation returned by the service. * @sample AWSCodeCommitAsyncHandler.UpdateDefaultBranch * @see AWS * API Documentation */ java.util.concurrent.Future updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the structure of an approval rule created specifically for a pull request. For example, you can change * the number of required approvers and the approval pool for approvers. *

* * @param updatePullRequestApprovalRuleContentRequest * @return A Java Future containing the result of the UpdatePullRequestApprovalRuleContent operation returned by the * service. * @sample AWSCodeCommitAsync.UpdatePullRequestApprovalRuleContent * @see AWS API Documentation */ java.util.concurrent.Future updatePullRequestApprovalRuleContentAsync( UpdatePullRequestApprovalRuleContentRequest updatePullRequestApprovalRuleContentRequest); /** *

* Updates the structure of an approval rule created specifically for a pull request. For example, you can change * the number of required approvers and the approval pool for approvers. *

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

* Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the * request is made. *

* * @param updatePullRequestApprovalStateRequest * @return A Java Future containing the result of the UpdatePullRequestApprovalState operation returned by the * service. * @sample AWSCodeCommitAsync.UpdatePullRequestApprovalState * @see AWS API Documentation */ java.util.concurrent.Future updatePullRequestApprovalStateAsync( UpdatePullRequestApprovalStateRequest updatePullRequestApprovalStateRequest); /** *

* Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the * request is made. *

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

* Replaces the contents of the description of a pull request. *

* * @param updatePullRequestDescriptionRequest * @return A Java Future containing the result of the UpdatePullRequestDescription operation returned by the * service. * @sample AWSCodeCommitAsync.UpdatePullRequestDescription * @see AWS API Documentation */ java.util.concurrent.Future updatePullRequestDescriptionAsync( UpdatePullRequestDescriptionRequest updatePullRequestDescriptionRequest); /** *

* Replaces the contents of the description of a pull request. *

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

* Updates the status of a pull request. *

* * @param updatePullRequestStatusRequest * @return A Java Future containing the result of the UpdatePullRequestStatus operation returned by the service. * @sample AWSCodeCommitAsync.UpdatePullRequestStatus * @see AWS API Documentation */ java.util.concurrent.Future updatePullRequestStatusAsync(UpdatePullRequestStatusRequest updatePullRequestStatusRequest); /** *

* Updates the status of a pull request. *

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

* Replaces the title of a pull request. *

* * @param updatePullRequestTitleRequest * @return A Java Future containing the result of the UpdatePullRequestTitle operation returned by the service. * @sample AWSCodeCommitAsync.UpdatePullRequestTitle * @see AWS API Documentation */ java.util.concurrent.Future updatePullRequestTitleAsync(UpdatePullRequestTitleRequest updatePullRequestTitleRequest); /** *

* Replaces the title of a pull request. *

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

* Sets or changes the comment or description for a repository. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param updateRepositoryDescriptionRequest * Represents the input of an update repository description operation. * @return A Java Future containing the result of the UpdateRepositoryDescription operation returned by the service. * @sample AWSCodeCommitAsync.UpdateRepositoryDescription * @see AWS API Documentation */ java.util.concurrent.Future updateRepositoryDescriptionAsync( UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest); /** *

* Sets or changes the comment or description for a repository. *

* *

* The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications * that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious * code. Make sure that you HTML-encode the description field in any application that uses this API to display the * repository description on a webpage. *

*
* * @param updateRepositoryDescriptionRequest * Represents the input of an update repository description operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateRepositoryDescription operation returned by the service. * @sample AWSCodeCommitAsyncHandler.UpdateRepositoryDescription * @see AWS API Documentation */ java.util.concurrent.Future updateRepositoryDescriptionAsync( UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Renames a repository. The repository name must be unique across the calling AWS account. Repository names are * limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix * .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User * Guide. *

* * @param updateRepositoryNameRequest * Represents the input of an update repository description operation. * @return A Java Future containing the result of the UpdateRepositoryName operation returned by the service. * @sample AWSCodeCommitAsync.UpdateRepositoryName * @see AWS API Documentation */ java.util.concurrent.Future updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest); /** *

* Renames a repository. The repository name must be unique across the calling AWS account. Repository names are * limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix * .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User * Guide. *

* * @param updateRepositoryNameRequest * Represents the input of an update repository description operation. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateRepositoryName operation returned by the service. * @sample AWSCodeCommitAsyncHandler.UpdateRepositoryName * @see AWS API Documentation */ java.util.concurrent.Future updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }