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

com.amazonaws.services.codecommit.AWSCodeCommitAsync Maven / Gradle / Ivy

/*
 * Copyright 2014-2019 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: *

*
    *
  • *

    * BatchGetRepositories, which returns information about one or more repositories associated with your AWS * account. *

    *
  • *
  • *

    * CreateRepository, which creates an AWS CodeCommit repository. *

    *
  • *
  • *

    * DeleteRepository, which deletes an AWS CodeCommit repository. *

    *
  • *
  • *

    * GetRepository, which returns information about a specified repository. *

    *
  • *
  • *

    * ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account. *

    *
  • *
  • *

    * UpdateRepositoryDescription, which sets or updates the description of the repository. *

    *
  • *
  • *

    * UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no * other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use. *

    *
  • *
*

* Branches, by calling the following: *

*
    *
  • *

    * CreateBranch, which creates a new branch in a specified repository. *

    *
  • *
  • *

    * DeleteBranch, which deletes the specified branch in a repository unless it is the default branch. *

    *
  • *
  • *

    * GetBranch, which returns information about a specified branch. *

    *
  • *
  • *

    * ListBranches, which lists all branches for a specified repository. *

    *
  • *
  • *

    * UpdateDefaultBranch, which changes the default branch for a repository. *

    *
  • *
*

* Files, by calling the following: *

*
    *
  • *

    * DeleteFile, which deletes the content of a specified file from a specified branch. *

    *
  • *
  • *

    * GetFile, which returns the base-64 encoded content of a specified file. *

    *
  • *
  • *

    * GetFolder, which returns the contents of a specified folder or directory. *

    *
  • *
  • *

    * PutFile, which adds or modifies a file in a specified repository and branch. *

    *
  • *
*

* Information about committed code in a repository, by calling the following: *

*
    *
  • *

    * CreateCommit, which creates a commit for changes to a repository. *

    *
  • *
  • *

    * GetBlob, which returns the base-64 encoded content of an individual Git blob object within a repository. *

    *
  • *
  • *

    * GetCommit, which returns information about a commit, including commit messages and author and committer * information. *

    *
  • *
  • *

    * GetDifferences, which returns information about the differences in a valid commit specifier (such as a branch, * tag, HEAD, commit ID or other fully qualified reference). *

    *
  • *
*

* Merges, by calling the following: *

*
    *
  • *

    * BatchDescribeMergeConflicts, which returns information about conflicts in a merge between commits in a * repository. *

    *
  • *
  • *

    * CreateUnreferencedMergeCommit, which creates an unreferenced commit between two branches or commits for the * purpose of comparing them and identifying any potential conflicts. *

    *
  • *
  • *

    * DescribeMergeConflicts, which returns information about merge conflicts between the base, source, and * destination versions of a file in a potential merge. *

    *
  • *
  • *

    * GetMergeCommit, which returns information about the merge between a source and destination commit. *

    *
  • *
  • *

    * GetMergeConflicts, which returns information about merge conflicts between the source and destination branch * in a pull request. *

    *
  • *
  • *

    * GetMergeOptions, which returns information about the available merge options between two branches or commit * specifiers. *

    *
  • *
  • *

    * MergeBranchesByFastForward, which merges two branches using the fast-forward merge option. *

    *
  • *
  • *

    * MergeBranchesBySquash, which merges two branches using the squash merge option. *

    *
  • *
  • *

    * MergeBranchesByThreeWay, which merges two branches using the three-way merge option. *

    *
  • *
*

* Pull requests, by calling the following: *

*
    *
  • *

    * CreatePullRequest, which creates a pull request in a specified repository. *

    *
  • *
  • *

    * DescribePullRequestEvents, which returns information about one or more pull request events. *

    *
  • *
  • *

    * GetCommentsForPullRequest, which returns information about comments on a specified pull request. *

    *
  • *
  • *

    * GetPullRequest, which returns information about a specified pull request. *

    *
  • *
  • *

    * ListPullRequests, which lists all pull requests for a repository. *

    *
  • *
  • *

    * MergePullRequestByFastForward, which merges the source destination branch of a pull request into the specified * destination branch for that pull request using the fast-forward merge option. *

    *
  • *
  • *

    * MergePullRequestBySquash, which merges the source destination branch of a pull request into the specified * destination branch for that pull request using the squash merge option. *

    *
  • *
  • *

    * MergePullRequestByThreeWay. which merges the source destination branch of a pull request into the specified * destination branch for that pull request using the three-way merge option. *

    *
  • *
  • *

    * PostCommentForPullRequest, which posts a comment to a pull request at the specified line, file, or request. *

    *
  • *
  • *

    * UpdatePullRequestDescription, which updates the description of a pull request. *

    *
  • *
  • *

    * UpdatePullRequestStatus, which updates the status of a pull request. *

    *
  • *
  • *

    * UpdatePullRequestTitle, which updates the title of a pull request. *

    *
  • *
*

* Information about comments in a repository, by calling the following: *

*
    *
  • *

    * DeleteCommentContent, which deletes the content of a comment on a commit in a repository. *

    *
  • *
  • *

    * GetComment, which returns information about a comment on a commit. *

    *
  • *
  • *

    * GetCommentsForComparedCommit, which returns information about comments on the comparison between two commit * specifiers in a repository. *

    *
  • *
  • *

    * PostCommentForComparedCommit, which creates a comment on the comparison between two commit specifiers in a * repository. *

    *
  • *
  • *

    * PostCommentReply, which creates a reply to a comment. *

    *
  • *
  • *

    * UpdateComment, which updates the content of a comment on a commit in a repository. *

    *
  • *
*

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

*
    *
  • *

    * ListTagsForResource, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS * CodeCommit. *

    *
  • *
  • *

    * TagResource, which adds or updates tags for a resource in AWS CodeCommit. *

    *
  • *
  • *

    * UntagResource, which removes tags for a resource in AWS CodeCommit. *

    *
  • *
*

* Triggers, by calling the following: *

*
    *
  • *

    * GetRepositoryTriggers, which returns information about triggers configured for a repository. *

    *
  • *
  • *

    * PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete * triggers. *

    *
  • *
  • *

    * TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger * target. *

    *
  • *
*

* 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 { /** *

* 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); /** *

* 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 web page could 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 web page. *

*
* * @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 web page could 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 web page. *

*
* * @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 new 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 new 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 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 unerferenced 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 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 unerferenced 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 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 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 will still exist in the commits prior 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 will still exist in the commits prior 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 a repository. If a specified repository was already deleted, a null repository ID will be returned. *

* *

* Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future * push calls to the deleted repository will 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 will be returned. *

* *

* Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future * push calls to the deleted repository will 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 will be 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 will be 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); /** *

* Returns the base-64 encoded content of an individual blob within 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 within 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. *

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

* * @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 comments made on the comparison between two commits. *

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

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

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

* * @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 * particular 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 * particular 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); /** *

* 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 web page could 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 web page. *

*
* * @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 web page could 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 web page. *

*
* * @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); /** *

* 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); /** *

* 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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* Closes a pull request and 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. *

* * @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); /** *

* 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 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. This can be used to create or delete triggers. *

* * @param putRepositoryTriggersRequest * Represents the input ofa 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. This can be used to create or delete triggers. *

* * @param putRepositoryTriggersRequest * Represents the input ofa 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 will send data from the last commit. If no data is available, sample data * will be 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 will send data from the last commit. If no data is available, sample data * will be 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); /** *

* 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); /** *

* 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 web page could 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 web page. *

*
* * @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 web page could 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 web page. *

*
* * @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. In addition, repository * names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. * The suffix ".git" is prohibited. For a full description of 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. In addition, repository * names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. * The suffix ".git" is prohibited. For a full description of 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); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy