
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).
*
*
*
*
* 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.
*
*
* -
*
* GetMergeConflicts, which returns information about merge conflicts between the source and destination branch
* in a 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.
*
*
* -
*
* 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.
*
*
*
*
* 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 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);
/**
*
* 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 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 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);
/**
*
* 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);
/**
*
* 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 option.
*
*
* @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 option.
*
*
* @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);
/**
*
* 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);
/**
*
* 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);
/**
*
* 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);
}