@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSCodeCommitAsync extends AbstractAWSCodeCommit implements AWSCodeCommitAsync
AWSCodeCommitAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
associateApprovalRuleTemplateWithRepository, batchAssociateApprovalRuleTemplateWithRepositories, batchDescribeMergeConflicts, batchDisassociateApprovalRuleTemplateFromRepositories, batchGetCommits, batchGetRepositories, createApprovalRuleTemplate, createBranch, createCommit, createPullRequest, createPullRequestApprovalRule, createRepository, createUnreferencedMergeCommit, deleteApprovalRuleTemplate, deleteBranch, deleteCommentContent, deleteFile, deletePullRequestApprovalRule, deleteRepository, describeMergeConflicts, describePullRequestEvents, disassociateApprovalRuleTemplateFromRepository, evaluatePullRequestApprovalRules, getApprovalRuleTemplate, getBlob, getBranch, getCachedResponseMetadata, getComment, getCommentReactions, getCommentsForComparedCommit, getCommentsForPullRequest, getCommit, getDifferences, getFile, getFolder, getMergeCommit, getMergeConflicts, getMergeOptions, getPullRequest, getPullRequestApprovalStates, getPullRequestOverrideState, getRepository, getRepositoryTriggers, listApprovalRuleTemplates, listAssociatedApprovalRuleTemplatesForRepository, listBranches, listFileCommitHistory, listPullRequests, listRepositories, listRepositoriesForApprovalRuleTemplate, listTagsForResource, mergeBranchesByFastForward, mergeBranchesBySquash, mergeBranchesByThreeWay, mergePullRequestByFastForward, mergePullRequestBySquash, mergePullRequestByThreeWay, overridePullRequestApprovalRules, postCommentForComparedCommit, postCommentForPullRequest, postCommentReply, putCommentReaction, putFile, putRepositoryTriggers, setEndpoint, setRegion, shutdown, tagResource, testRepositoryTriggers, untagResource, updateApprovalRuleTemplateContent, updateApprovalRuleTemplateDescription, updateApprovalRuleTemplateName, updateComment, updateDefaultBranch, updatePullRequestApprovalRuleContent, updatePullRequestApprovalState, updatePullRequestDescription, updatePullRequestStatus, updatePullRequestTitle, updateRepositoryDescription, updateRepositoryEncryptionKey, updateRepositoryName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateApprovalRuleTemplateWithRepository, batchAssociateApprovalRuleTemplateWithRepositories, batchDescribeMergeConflicts, batchDisassociateApprovalRuleTemplateFromRepositories, batchGetCommits, batchGetRepositories, createApprovalRuleTemplate, createBranch, createCommit, createPullRequest, createPullRequestApprovalRule, createRepository, createUnreferencedMergeCommit, deleteApprovalRuleTemplate, deleteBranch, deleteCommentContent, deleteFile, deletePullRequestApprovalRule, deleteRepository, describeMergeConflicts, describePullRequestEvents, disassociateApprovalRuleTemplateFromRepository, evaluatePullRequestApprovalRules, getApprovalRuleTemplate, getBlob, getBranch, getCachedResponseMetadata, getComment, getCommentReactions, getCommentsForComparedCommit, getCommentsForPullRequest, getCommit, getDifferences, getFile, getFolder, getMergeCommit, getMergeConflicts, getMergeOptions, getPullRequest, getPullRequestApprovalStates, getPullRequestOverrideState, getRepository, getRepositoryTriggers, listApprovalRuleTemplates, listAssociatedApprovalRuleTemplatesForRepository, listBranches, listFileCommitHistory, listPullRequests, listRepositories, listRepositoriesForApprovalRuleTemplate, listTagsForResource, mergeBranchesByFastForward, mergeBranchesBySquash, mergeBranchesByThreeWay, mergePullRequestByFastForward, mergePullRequestBySquash, mergePullRequestByThreeWay, overridePullRequestApprovalRules, postCommentForComparedCommit, postCommentForPullRequest, postCommentReply, putCommentReaction, putFile, putRepositoryTriggers, setEndpoint, setRegion, shutdown, tagResource, testRepositoryTriggers, untagResource, updateApprovalRuleTemplateContent, updateApprovalRuleTemplateDescription, updateApprovalRuleTemplateName, updateComment, updateDefaultBranch, updatePullRequestApprovalRuleContent, updatePullRequestApprovalState, updatePullRequestDescription, updatePullRequestStatus, updatePullRequestTitle, updateRepositoryDescription, updateRepositoryEncryptionKey, updateRepositoryName
public Future<AssociateApprovalRuleTemplateWithRepositoryResult> associateApprovalRuleTemplateWithRepositoryAsync(AssociateApprovalRuleTemplateWithRepositoryRequest request)
AWSCodeCommitAsync
Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.
associateApprovalRuleTemplateWithRepositoryAsync
in interface AWSCodeCommitAsync
public Future<AssociateApprovalRuleTemplateWithRepositoryResult> associateApprovalRuleTemplateWithRepositoryAsync(AssociateApprovalRuleTemplateWithRepositoryRequest request, AsyncHandler<AssociateApprovalRuleTemplateWithRepositoryRequest,AssociateApprovalRuleTemplateWithRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Creates an association between an approval rule template and a specified repository. Then, the next time a pull request is created in the repository where the destination reference (if specified) matches the destination reference (branch) for the pull request, an approval rule that matches the template conditions is automatically created for that pull request. If no destination references are specified in the template, an approval rule that matches the template contents is created for all pull requests in that repository.
associateApprovalRuleTemplateWithRepositoryAsync
in interface AWSCodeCommitAsync
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.public Future<BatchAssociateApprovalRuleTemplateWithRepositoriesResult> batchAssociateApprovalRuleTemplateWithRepositoriesAsync(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request)
AWSCodeCommitAsync
Creates an association between an approval rule template and one or more specified repositories.
batchAssociateApprovalRuleTemplateWithRepositoriesAsync
in interface AWSCodeCommitAsync
public Future<BatchAssociateApprovalRuleTemplateWithRepositoriesResult> batchAssociateApprovalRuleTemplateWithRepositoriesAsync(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request, AsyncHandler<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest,BatchAssociateApprovalRuleTemplateWithRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Creates an association between an approval rule template and one or more specified repositories.
batchAssociateApprovalRuleTemplateWithRepositoriesAsync
in interface AWSCodeCommitAsync
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.public Future<BatchDescribeMergeConflictsResult> batchDescribeMergeConflictsAsync(BatchDescribeMergeConflictsRequest request)
AWSCodeCommitAsync
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.
batchDescribeMergeConflictsAsync
in interface AWSCodeCommitAsync
public Future<BatchDescribeMergeConflictsResult> batchDescribeMergeConflictsAsync(BatchDescribeMergeConflictsRequest request, AsyncHandler<BatchDescribeMergeConflictsRequest,BatchDescribeMergeConflictsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.
batchDescribeMergeConflictsAsync
in interface AWSCodeCommitAsync
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.public Future<BatchDisassociateApprovalRuleTemplateFromRepositoriesResult> batchDisassociateApprovalRuleTemplateFromRepositoriesAsync(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request)
AWSCodeCommitAsync
Removes the association between an approval rule template and one or more specified repositories.
batchDisassociateApprovalRuleTemplateFromRepositoriesAsync
in interface AWSCodeCommitAsync
public Future<BatchDisassociateApprovalRuleTemplateFromRepositoriesResult> batchDisassociateApprovalRuleTemplateFromRepositoriesAsync(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request, AsyncHandler<BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest,BatchDisassociateApprovalRuleTemplateFromRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Removes the association between an approval rule template and one or more specified repositories.
batchDisassociateApprovalRuleTemplateFromRepositoriesAsync
in interface AWSCodeCommitAsync
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.public Future<BatchGetCommitsResult> batchGetCommitsAsync(BatchGetCommitsRequest request)
AWSCodeCommitAsync
Returns information about the contents of one or more commits in a repository.
batchGetCommitsAsync
in interface AWSCodeCommitAsync
public Future<BatchGetCommitsResult> batchGetCommitsAsync(BatchGetCommitsRequest request, AsyncHandler<BatchGetCommitsRequest,BatchGetCommitsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about the contents of one or more commits in a repository.
batchGetCommitsAsync
in interface AWSCodeCommitAsync
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.public Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request)
AWSCodeCommitAsync
Returns information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
batchGetRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a batch get repositories operation.public Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request, AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Returns information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
batchGetRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a batch get repositories operation.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.public Future<CreateApprovalRuleTemplateResult> createApprovalRuleTemplateAsync(CreateApprovalRuleTemplateRequest request)
AWSCodeCommitAsync
Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
createApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
public Future<CreateApprovalRuleTemplateResult> createApprovalRuleTemplateAsync(CreateApprovalRuleTemplateRequest request, AsyncHandler<CreateApprovalRuleTemplateRequest,CreateApprovalRuleTemplateResult> asyncHandler)
AWSCodeCommitAsync
Creates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
createApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
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.public Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request)
AWSCodeCommitAsync
Creates a branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
createBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create branch operation.public Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request, AsyncHandler<CreateBranchRequest,CreateBranchResult> asyncHandler)
AWSCodeCommitAsync
Creates a branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
createBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create branch operation.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.public Future<CreateCommitResult> createCommitAsync(CreateCommitRequest request)
AWSCodeCommitAsync
Creates a commit for a repository on the tip of a specified branch.
createCommitAsync
in interface AWSCodeCommitAsync
public Future<CreateCommitResult> createCommitAsync(CreateCommitRequest request, AsyncHandler<CreateCommitRequest,CreateCommitResult> asyncHandler)
AWSCodeCommitAsync
Creates a commit for a repository on the tip of a specified branch.
createCommitAsync
in interface AWSCodeCommitAsync
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.public Future<CreatePullRequestResult> createPullRequestAsync(CreatePullRequestRequest request)
AWSCodeCommitAsync
Creates a pull request in the specified repository.
createPullRequestAsync
in interface AWSCodeCommitAsync
public Future<CreatePullRequestResult> createPullRequestAsync(CreatePullRequestRequest request, AsyncHandler<CreatePullRequestRequest,CreatePullRequestResult> asyncHandler)
AWSCodeCommitAsync
Creates a pull request in the specified repository.
createPullRequestAsync
in interface AWSCodeCommitAsync
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.public Future<CreatePullRequestApprovalRuleResult> createPullRequestApprovalRuleAsync(CreatePullRequestApprovalRuleRequest request)
AWSCodeCommitAsync
Creates an approval rule for a pull request.
createPullRequestApprovalRuleAsync
in interface AWSCodeCommitAsync
public Future<CreatePullRequestApprovalRuleResult> createPullRequestApprovalRuleAsync(CreatePullRequestApprovalRuleRequest request, AsyncHandler<CreatePullRequestApprovalRuleRequest,CreatePullRequestApprovalRuleResult> asyncHandler)
AWSCodeCommitAsync
Creates an approval rule for a pull request.
createPullRequestApprovalRuleAsync
in interface AWSCodeCommitAsync
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.public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request)
AWSCodeCommitAsync
Creates a new, empty repository.
createRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create repository operation.public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Creates a new, empty repository.
createRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create repository operation.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.public Future<CreateUnreferencedMergeCommitResult> createUnreferencedMergeCommitAsync(CreateUnreferencedMergeCommitRequest request)
AWSCodeCommitAsync
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.
This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.
createUnreferencedMergeCommitAsync
in interface AWSCodeCommitAsync
public Future<CreateUnreferencedMergeCommitResult> createUnreferencedMergeCommitAsync(CreateUnreferencedMergeCommitRequest request, AsyncHandler<CreateUnreferencedMergeCommitRequest,CreateUnreferencedMergeCommitResult> asyncHandler)
AWSCodeCommitAsync
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy because that strategy does not create a merge commit.
This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.
createUnreferencedMergeCommitAsync
in interface AWSCodeCommitAsync
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.public Future<DeleteApprovalRuleTemplateResult> deleteApprovalRuleTemplateAsync(DeleteApprovalRuleTemplateRequest request)
AWSCodeCommitAsync
Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.
deleteApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
public Future<DeleteApprovalRuleTemplateResult> deleteApprovalRuleTemplateAsync(DeleteApprovalRuleTemplateRequest request, AsyncHandler<DeleteApprovalRuleTemplateRequest,DeleteApprovalRuleTemplateResult> asyncHandler)
AWSCodeCommitAsync
Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.
deleteApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
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.public Future<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request)
AWSCodeCommitAsync
Deletes a branch from a repository, unless that branch is the default branch for the repository.
deleteBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a delete branch operation.public Future<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request, AsyncHandler<DeleteBranchRequest,DeleteBranchResult> asyncHandler)
AWSCodeCommitAsync
Deletes a branch from a repository, unless that branch is the default branch for the repository.
deleteBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a delete branch operation.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.public Future<DeleteCommentContentResult> deleteCommentContentAsync(DeleteCommentContentRequest request)
AWSCodeCommitAsync
Deletes the content of a comment made on a change, file, or commit in a repository.
deleteCommentContentAsync
in interface AWSCodeCommitAsync
public Future<DeleteCommentContentResult> deleteCommentContentAsync(DeleteCommentContentRequest request, AsyncHandler<DeleteCommentContentRequest,DeleteCommentContentResult> asyncHandler)
AWSCodeCommitAsync
Deletes the content of a comment made on a change, file, or commit in a repository.
deleteCommentContentAsync
in interface AWSCodeCommitAsync
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.public Future<DeleteFileResult> deleteFileAsync(DeleteFileRequest request)
AWSCodeCommitAsync
Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.
deleteFileAsync
in interface AWSCodeCommitAsync
public Future<DeleteFileResult> deleteFileAsync(DeleteFileRequest request, AsyncHandler<DeleteFileRequest,DeleteFileResult> asyncHandler)
AWSCodeCommitAsync
Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.
deleteFileAsync
in interface AWSCodeCommitAsync
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.public Future<DeletePullRequestApprovalRuleResult> deletePullRequestApprovalRuleAsync(DeletePullRequestApprovalRuleRequest request)
AWSCodeCommitAsync
Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.
deletePullRequestApprovalRuleAsync
in interface AWSCodeCommitAsync
public Future<DeletePullRequestApprovalRuleResult> deletePullRequestApprovalRuleAsync(DeletePullRequestApprovalRuleRequest request, AsyncHandler<DeletePullRequestApprovalRuleRequest,DeletePullRequestApprovalRuleResult> asyncHandler)
AWSCodeCommitAsync
Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the pull request was created. You cannot delete an approval rule from a merged or closed pull request.
deletePullRequestApprovalRuleAsync
in interface AWSCodeCommitAsync
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.public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request)
AWSCodeCommitAsync
Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.
Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.
deleteRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a delete repository operation.public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Deletes a repository. If a specified repository was already deleted, a null repository ID is returned.
Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository fail.
deleteRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a delete repository operation.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.public Future<DescribeMergeConflictsResult> describeMergeConflictsAsync(DescribeMergeConflictsRequest request)
AWSCodeCommitAsync
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
describeMergeConflictsAsync
in interface AWSCodeCommitAsync
public Future<DescribeMergeConflictsResult> describeMergeConflictsAsync(DescribeMergeConflictsRequest request, AsyncHandler<DescribeMergeConflictsRequest,DescribeMergeConflictsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy. If the merge option for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
describeMergeConflictsAsync
in interface AWSCodeCommitAsync
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.public Future<DescribePullRequestEventsResult> describePullRequestEventsAsync(DescribePullRequestEventsRequest request)
AWSCodeCommitAsync
Returns information about one or more pull request events.
describePullRequestEventsAsync
in interface AWSCodeCommitAsync
public Future<DescribePullRequestEventsResult> describePullRequestEventsAsync(DescribePullRequestEventsRequest request, AsyncHandler<DescribePullRequestEventsRequest,DescribePullRequestEventsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about one or more pull request events.
describePullRequestEventsAsync
in interface AWSCodeCommitAsync
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.public Future<DisassociateApprovalRuleTemplateFromRepositoryResult> disassociateApprovalRuleTemplateFromRepositoryAsync(DisassociateApprovalRuleTemplateFromRepositoryRequest request)
AWSCodeCommitAsync
Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.
disassociateApprovalRuleTemplateFromRepositoryAsync
in interface AWSCodeCommitAsync
public Future<DisassociateApprovalRuleTemplateFromRepositoryResult> disassociateApprovalRuleTemplateFromRepositoryAsync(DisassociateApprovalRuleTemplateFromRepositoryRequest request, AsyncHandler<DisassociateApprovalRuleTemplateFromRepositoryRequest,DisassociateApprovalRuleTemplateFromRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Removes the association between a template and a repository so that approval rules based on the template are not automatically created when pull requests are created in the specified repository. This does not delete any approval rules previously created for pull requests through the template association.
disassociateApprovalRuleTemplateFromRepositoryAsync
in interface AWSCodeCommitAsync
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.public Future<EvaluatePullRequestApprovalRulesResult> evaluatePullRequestApprovalRulesAsync(EvaluatePullRequestApprovalRulesRequest request)
AWSCodeCommitAsync
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
evaluatePullRequestApprovalRulesAsync
in interface AWSCodeCommitAsync
public Future<EvaluatePullRequestApprovalRulesResult> evaluatePullRequestApprovalRulesAsync(EvaluatePullRequestApprovalRulesRequest request, AsyncHandler<EvaluatePullRequestApprovalRulesRequest,EvaluatePullRequestApprovalRulesResult> asyncHandler)
AWSCodeCommitAsync
Evaluates whether a pull request has met all the conditions specified in its associated approval rules.
evaluatePullRequestApprovalRulesAsync
in interface AWSCodeCommitAsync
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.public Future<GetApprovalRuleTemplateResult> getApprovalRuleTemplateAsync(GetApprovalRuleTemplateRequest request)
AWSCodeCommitAsync
Returns information about a specified approval rule template.
getApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
public Future<GetApprovalRuleTemplateResult> getApprovalRuleTemplateAsync(GetApprovalRuleTemplateRequest request, AsyncHandler<GetApprovalRuleTemplateRequest,GetApprovalRuleTemplateResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a specified approval rule template.
getApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
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.public Future<GetBlobResult> getBlobAsync(GetBlobRequest request)
AWSCodeCommitAsync
Returns the base-64 encoded content of an individual blob in a repository.
getBlobAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get blob operation.public Future<GetBlobResult> getBlobAsync(GetBlobRequest request, AsyncHandler<GetBlobRequest,GetBlobResult> asyncHandler)
AWSCodeCommitAsync
Returns the base-64 encoded content of an individual blob in a repository.
getBlobAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get blob operation.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.public Future<GetBranchResult> getBranchAsync(GetBranchRequest request)
AWSCodeCommitAsync
Returns information about a repository branch, including its name and the last commit ID.
getBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get branch operation.public Future<GetBranchResult> getBranchAsync(GetBranchRequest request, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a repository branch, including its name and the last commit ID.
getBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get branch operation.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.public Future<GetCommentResult> getCommentAsync(GetCommentRequest request)
AWSCodeCommitAsync
Returns the content of a comment made on a change, file, or commit in a repository.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentAsync
in interface AWSCodeCommitAsync
public Future<GetCommentResult> getCommentAsync(GetCommentRequest request, AsyncHandler<GetCommentRequest,GetCommentResult> asyncHandler)
AWSCodeCommitAsync
Returns the content of a comment made on a change, file, or commit in a repository.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentAsync
in interface AWSCodeCommitAsync
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.public Future<GetCommentReactionsResult> getCommentReactionsAsync(GetCommentReactionsRequest request)
AWSCodeCommitAsync
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
getCommentReactionsAsync
in interface AWSCodeCommitAsync
public Future<GetCommentReactionsResult> getCommentReactionsAsync(GetCommentReactionsRequest request, AsyncHandler<GetCommentReactionsRequest,GetCommentReactionsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
getCommentReactionsAsync
in interface AWSCodeCommitAsync
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.public Future<GetCommentsForComparedCommitResult> getCommentsForComparedCommitAsync(GetCommentsForComparedCommitRequest request)
AWSCodeCommitAsync
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForComparedCommitAsync
in interface AWSCodeCommitAsync
public Future<GetCommentsForComparedCommitResult> getCommentsForComparedCommitAsync(GetCommentsForComparedCommitRequest request, AsyncHandler<GetCommentsForComparedCommitRequest,GetCommentsForComparedCommitResult> asyncHandler)
AWSCodeCommitAsync
Returns information about comments made on the comparison between two commits.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForComparedCommitAsync
in interface AWSCodeCommitAsync
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.public Future<GetCommentsForPullRequestResult> getCommentsForPullRequestAsync(GetCommentsForPullRequestRequest request)
AWSCodeCommitAsync
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForPullRequestAsync
in interface AWSCodeCommitAsync
public Future<GetCommentsForPullRequestResult> getCommentsForPullRequestAsync(GetCommentsForPullRequestRequest request, AsyncHandler<GetCommentsForPullRequestRequest,GetCommentsForPullRequestResult> asyncHandler)
AWSCodeCommitAsync
Returns comments made on a pull request.
Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
getCommentsForPullRequestAsync
in interface AWSCodeCommitAsync
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.public Future<GetCommitResult> getCommitAsync(GetCommitRequest request)
AWSCodeCommitAsync
Returns information about a commit, including commit message and committer information.
getCommitAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get commit operation.public Future<GetCommitResult> getCommitAsync(GetCommitRequest request, AsyncHandler<GetCommitRequest,GetCommitResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a commit, including commit message and committer information.
getCommitAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get commit operation.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.public Future<GetDifferencesResult> getDifferencesAsync(GetDifferencesRequest request)
AWSCodeCommitAsync
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.
getDifferencesAsync
in interface AWSCodeCommitAsync
public Future<GetDifferencesResult> getDifferencesAsync(GetDifferencesRequest request, AsyncHandler<GetDifferencesRequest,GetDifferencesResult> asyncHandler)
AWSCodeCommitAsync
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.
getDifferencesAsync
in interface AWSCodeCommitAsync
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.public Future<GetFileResult> getFileAsync(GetFileRequest request)
AWSCodeCommitAsync
Returns the base-64 encoded contents of a specified file and its metadata.
getFileAsync
in interface AWSCodeCommitAsync
public Future<GetFileResult> getFileAsync(GetFileRequest request, AsyncHandler<GetFileRequest,GetFileResult> asyncHandler)
AWSCodeCommitAsync
Returns the base-64 encoded contents of a specified file and its metadata.
getFileAsync
in interface AWSCodeCommitAsync
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.public Future<GetFolderResult> getFolderAsync(GetFolderRequest request)
AWSCodeCommitAsync
Returns the contents of a specified folder in a repository.
getFolderAsync
in interface AWSCodeCommitAsync
public Future<GetFolderResult> getFolderAsync(GetFolderRequest request, AsyncHandler<GetFolderRequest,GetFolderResult> asyncHandler)
AWSCodeCommitAsync
Returns the contents of a specified folder in a repository.
getFolderAsync
in interface AWSCodeCommitAsync
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.public Future<GetMergeCommitResult> getMergeCommitAsync(GetMergeCommitRequest request)
AWSCodeCommitAsync
Returns information about a specified merge commit.
getMergeCommitAsync
in interface AWSCodeCommitAsync
public Future<GetMergeCommitResult> getMergeCommitAsync(GetMergeCommitRequest request, AsyncHandler<GetMergeCommitRequest,GetMergeCommitResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a specified merge commit.
getMergeCommitAsync
in interface AWSCodeCommitAsync
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.public Future<GetMergeConflictsResult> getMergeConflictsAsync(GetMergeConflictsRequest request)
AWSCodeCommitAsync
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
getMergeConflictsAsync
in interface AWSCodeCommitAsync
public Future<GetMergeConflictsResult> getMergeConflictsAsync(GetMergeConflictsRequest request, AsyncHandler<GetMergeConflictsRequest,GetMergeConflictsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.
getMergeConflictsAsync
in interface AWSCodeCommitAsync
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.public Future<GetMergeOptionsResult> getMergeOptionsAsync(GetMergeOptionsRequest request)
AWSCodeCommitAsync
Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
getMergeOptionsAsync
in interface AWSCodeCommitAsync
public Future<GetMergeOptionsResult> getMergeOptionsAsync(GetMergeOptionsRequest request, AsyncHandler<GetMergeOptionsRequest,GetMergeOptionsResult> asyncHandler)
AWSCodeCommitAsync
Returns information about the merge options available for merging two specified branches. For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
getMergeOptionsAsync
in interface AWSCodeCommitAsync
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.public Future<GetPullRequestResult> getPullRequestAsync(GetPullRequestRequest request)
AWSCodeCommitAsync
Gets information about a pull request in a specified repository.
getPullRequestAsync
in interface AWSCodeCommitAsync
public Future<GetPullRequestResult> getPullRequestAsync(GetPullRequestRequest request, AsyncHandler<GetPullRequestRequest,GetPullRequestResult> asyncHandler)
AWSCodeCommitAsync
Gets information about a pull request in a specified repository.
getPullRequestAsync
in interface AWSCodeCommitAsync
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.public Future<GetPullRequestApprovalStatesResult> getPullRequestApprovalStatesAsync(GetPullRequestApprovalStatesRequest request)
AWSCodeCommitAsync
Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.
getPullRequestApprovalStatesAsync
in interface AWSCodeCommitAsync
public Future<GetPullRequestApprovalStatesResult> getPullRequestApprovalStatesAsync(GetPullRequestApprovalStatesRequest request, AsyncHandler<GetPullRequestApprovalStatesRequest,GetPullRequestApprovalStatesResult> asyncHandler)
AWSCodeCommitAsync
Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more approval rules applied to them.
getPullRequestApprovalStatesAsync
in interface AWSCodeCommitAsync
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.public Future<GetPullRequestOverrideStateResult> getPullRequestOverrideStateAsync(GetPullRequestOverrideStateRequest request)
AWSCodeCommitAsync
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
getPullRequestOverrideStateAsync
in interface AWSCodeCommitAsync
public Future<GetPullRequestOverrideStateResult> getPullRequestOverrideStateAsync(GetPullRequestOverrideStateRequest request, AsyncHandler<GetPullRequestOverrideStateRequest,GetPullRequestOverrideStateResult> asyncHandler)
AWSCodeCommitAsync
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
getPullRequestOverrideStateAsync
in interface AWSCodeCommitAsync
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.public Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request)
AWSCodeCommitAsync
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
getRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository operation.public Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
getRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository operation.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.public Future<GetRepositoryTriggersResult> getRepositoryTriggersAsync(GetRepositoryTriggersRequest request)
AWSCodeCommitAsync
Gets information about triggers configured for a repository.
getRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository triggers operation.public Future<GetRepositoryTriggersResult> getRepositoryTriggersAsync(GetRepositoryTriggersRequest request, AsyncHandler<GetRepositoryTriggersRequest,GetRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Gets information about triggers configured for a repository.
getRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository triggers operation.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.public Future<ListApprovalRuleTemplatesResult> listApprovalRuleTemplatesAsync(ListApprovalRuleTemplatesRequest request)
AWSCodeCommitAsync
Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.
listApprovalRuleTemplatesAsync
in interface AWSCodeCommitAsync
public Future<ListApprovalRuleTemplatesResult> listApprovalRuleTemplatesAsync(ListApprovalRuleTemplatesRequest request, AsyncHandler<ListApprovalRuleTemplatesRequest,ListApprovalRuleTemplatesResult> asyncHandler)
AWSCodeCommitAsync
Lists all approval rule templates in the specified Amazon Web Services Region in your Amazon Web Services account. If an Amazon Web Services Region is not specified, the Amazon Web Services Region where you are signed in is used.
listApprovalRuleTemplatesAsync
in interface AWSCodeCommitAsync
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.public Future<ListAssociatedApprovalRuleTemplatesForRepositoryResult> listAssociatedApprovalRuleTemplatesForRepositoryAsync(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request)
AWSCodeCommitAsync
Lists all approval rule templates that are associated with a specified repository.
listAssociatedApprovalRuleTemplatesForRepositoryAsync
in interface AWSCodeCommitAsync
public Future<ListAssociatedApprovalRuleTemplatesForRepositoryResult> listAssociatedApprovalRuleTemplatesForRepositoryAsync(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request, AsyncHandler<ListAssociatedApprovalRuleTemplatesForRepositoryRequest,ListAssociatedApprovalRuleTemplatesForRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Lists all approval rule templates that are associated with a specified repository.
listAssociatedApprovalRuleTemplatesForRepositoryAsync
in interface AWSCodeCommitAsync
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.public Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request)
AWSCodeCommitAsync
Gets information about one or more branches in a repository.
listBranchesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list branches operation.public Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
AWSCodeCommitAsync
Gets information about one or more branches in a repository.
listBranchesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list branches operation.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.public Future<ListFileCommitHistoryResult> listFileCommitHistoryAsync(ListFileCommitHistoryRequest request)
AWSCodeCommitAsync
Retrieves a list of commits and changes to a specified file.
listFileCommitHistoryAsync
in interface AWSCodeCommitAsync
public Future<ListFileCommitHistoryResult> listFileCommitHistoryAsync(ListFileCommitHistoryRequest request, AsyncHandler<ListFileCommitHistoryRequest,ListFileCommitHistoryResult> asyncHandler)
AWSCodeCommitAsync
Retrieves a list of commits and changes to a specified file.
listFileCommitHistoryAsync
in interface AWSCodeCommitAsync
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.public Future<ListPullRequestsResult> listPullRequestsAsync(ListPullRequestsRequest request)
AWSCodeCommitAsync
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.
listPullRequestsAsync
in interface AWSCodeCommitAsync
public Future<ListPullRequestsResult> listPullRequestsAsync(ListPullRequestsRequest request, AsyncHandler<ListPullRequestsRequest,ListPullRequestsResult> asyncHandler)
AWSCodeCommitAsync
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.
listPullRequestsAsync
in interface AWSCodeCommitAsync
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.public Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request)
AWSCodeCommitAsync
Gets information about one or more repositories.
listRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list repositories operation.public Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Gets information about one or more repositories.
listRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list repositories operation.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.public Future<ListRepositoriesForApprovalRuleTemplateResult> listRepositoriesForApprovalRuleTemplateAsync(ListRepositoriesForApprovalRuleTemplateRequest request)
AWSCodeCommitAsync
Lists all repositories associated with the specified approval rule template.
listRepositoriesForApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
public Future<ListRepositoriesForApprovalRuleTemplateResult> listRepositoriesForApprovalRuleTemplateAsync(ListRepositoriesForApprovalRuleTemplateRequest request, AsyncHandler<ListRepositoriesForApprovalRuleTemplateRequest,ListRepositoriesForApprovalRuleTemplateResult> asyncHandler)
AWSCodeCommitAsync
Lists all repositories associated with the specified approval rule template.
listRepositoriesForApprovalRuleTemplateAsync
in interface AWSCodeCommitAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSCodeCommitAsync
Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
listTagsForResourceAsync
in interface AWSCodeCommitAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSCodeCommitAsync
Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
listTagsForResourceAsync
in interface AWSCodeCommitAsync
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.public Future<MergeBranchesByFastForwardResult> mergeBranchesByFastForwardAsync(MergeBranchesByFastForwardRequest request)
AWSCodeCommitAsync
Merges two branches using the fast-forward merge strategy.
mergeBranchesByFastForwardAsync
in interface AWSCodeCommitAsync
public Future<MergeBranchesByFastForwardResult> mergeBranchesByFastForwardAsync(MergeBranchesByFastForwardRequest request, AsyncHandler<MergeBranchesByFastForwardRequest,MergeBranchesByFastForwardResult> asyncHandler)
AWSCodeCommitAsync
Merges two branches using the fast-forward merge strategy.
mergeBranchesByFastForwardAsync
in interface AWSCodeCommitAsync
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.public Future<MergeBranchesBySquashResult> mergeBranchesBySquashAsync(MergeBranchesBySquashRequest request)
AWSCodeCommitAsync
Merges two branches using the squash merge strategy.
mergeBranchesBySquashAsync
in interface AWSCodeCommitAsync
public Future<MergeBranchesBySquashResult> mergeBranchesBySquashAsync(MergeBranchesBySquashRequest request, AsyncHandler<MergeBranchesBySquashRequest,MergeBranchesBySquashResult> asyncHandler)
AWSCodeCommitAsync
Merges two branches using the squash merge strategy.
mergeBranchesBySquashAsync
in interface AWSCodeCommitAsync
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.public Future<MergeBranchesByThreeWayResult> mergeBranchesByThreeWayAsync(MergeBranchesByThreeWayRequest request)
AWSCodeCommitAsync
Merges two specified branches using the three-way merge strategy.
mergeBranchesByThreeWayAsync
in interface AWSCodeCommitAsync
public Future<MergeBranchesByThreeWayResult> mergeBranchesByThreeWayAsync(MergeBranchesByThreeWayRequest request, AsyncHandler<MergeBranchesByThreeWayRequest,MergeBranchesByThreeWayResult> asyncHandler)
AWSCodeCommitAsync
Merges two specified branches using the three-way merge strategy.
mergeBranchesByThreeWayAsync
in interface AWSCodeCommitAsync
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.public Future<MergePullRequestByFastForwardResult> mergePullRequestByFastForwardAsync(MergePullRequestByFastForwardRequest request)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByFastForwardAsync
in interface AWSCodeCommitAsync
public Future<MergePullRequestByFastForwardResult> mergePullRequestByFastForwardAsync(MergePullRequestByFastForwardRequest request, AsyncHandler<MergePullRequestByFastForwardRequest,MergePullRequestByFastForwardResult> asyncHandler)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByFastForwardAsync
in interface AWSCodeCommitAsync
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.public Future<MergePullRequestBySquashResult> mergePullRequestBySquashAsync(MergePullRequestBySquashRequest request)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestBySquashAsync
in interface AWSCodeCommitAsync
public Future<MergePullRequestBySquashResult> mergePullRequestBySquashAsync(MergePullRequestBySquashRequest request, AsyncHandler<MergePullRequestBySquashRequest,MergePullRequestBySquashResult> asyncHandler)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestBySquashAsync
in interface AWSCodeCommitAsync
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.public Future<MergePullRequestByThreeWayResult> mergePullRequestByThreeWayAsync(MergePullRequestByThreeWayRequest request)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByThreeWayAsync
in interface AWSCodeCommitAsync
public Future<MergePullRequestByThreeWayResult> mergePullRequestByThreeWayAsync(MergePullRequestByThreeWayRequest request, AsyncHandler<MergePullRequestByThreeWayRequest,MergePullRequestByThreeWayResult> asyncHandler)
AWSCodeCommitAsync
Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.
mergePullRequestByThreeWayAsync
in interface AWSCodeCommitAsync
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.public Future<OverridePullRequestApprovalRulesResult> overridePullRequestApprovalRulesAsync(OverridePullRequestApprovalRulesRequest request)
AWSCodeCommitAsync
Sets aside (overrides) all approval rule requirements for a specified pull request.
overridePullRequestApprovalRulesAsync
in interface AWSCodeCommitAsync
public Future<OverridePullRequestApprovalRulesResult> overridePullRequestApprovalRulesAsync(OverridePullRequestApprovalRulesRequest request, AsyncHandler<OverridePullRequestApprovalRulesRequest,OverridePullRequestApprovalRulesResult> asyncHandler)
AWSCodeCommitAsync
Sets aside (overrides) all approval rule requirements for a specified pull request.
overridePullRequestApprovalRulesAsync
in interface AWSCodeCommitAsync
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.public Future<PostCommentForComparedCommitResult> postCommentForComparedCommitAsync(PostCommentForComparedCommitRequest request)
AWSCodeCommitAsync
Posts a comment on the comparison between two commits.
postCommentForComparedCommitAsync
in interface AWSCodeCommitAsync
public Future<PostCommentForComparedCommitResult> postCommentForComparedCommitAsync(PostCommentForComparedCommitRequest request, AsyncHandler<PostCommentForComparedCommitRequest,PostCommentForComparedCommitResult> asyncHandler)
AWSCodeCommitAsync
Posts a comment on the comparison between two commits.
postCommentForComparedCommitAsync
in interface AWSCodeCommitAsync
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.public Future<PostCommentForPullRequestResult> postCommentForPullRequestAsync(PostCommentForPullRequestRequest request)
AWSCodeCommitAsync
Posts a comment on a pull request.
postCommentForPullRequestAsync
in interface AWSCodeCommitAsync
public Future<PostCommentForPullRequestResult> postCommentForPullRequestAsync(PostCommentForPullRequestRequest request, AsyncHandler<PostCommentForPullRequestRequest,PostCommentForPullRequestResult> asyncHandler)
AWSCodeCommitAsync
Posts a comment on a pull request.
postCommentForPullRequestAsync
in interface AWSCodeCommitAsync
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.public Future<PostCommentReplyResult> postCommentReplyAsync(PostCommentReplyRequest request)
AWSCodeCommitAsync
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
postCommentReplyAsync
in interface AWSCodeCommitAsync
public Future<PostCommentReplyResult> postCommentReplyAsync(PostCommentReplyRequest request, AsyncHandler<PostCommentReplyRequest,PostCommentReplyResult> asyncHandler)
AWSCodeCommitAsync
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
postCommentReplyAsync
in interface AWSCodeCommitAsync
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.public Future<PutCommentReactionResult> putCommentReactionAsync(PutCommentReactionRequest request)
AWSCodeCommitAsync
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.
putCommentReactionAsync
in interface AWSCodeCommitAsync
public Future<PutCommentReactionResult> putCommentReactionAsync(PutCommentReactionRequest request, AsyncHandler<PutCommentReactionRequest,PutCommentReactionResult> asyncHandler)
AWSCodeCommitAsync
Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.
putCommentReactionAsync
in interface AWSCodeCommitAsync
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.public Future<PutFileResult> putFileAsync(PutFileRequest request)
AWSCodeCommitAsync
Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.
putFileAsync
in interface AWSCodeCommitAsync
public Future<PutFileResult> putFileAsync(PutFileRequest request, AsyncHandler<PutFileRequest,PutFileResult> asyncHandler)
AWSCodeCommitAsync
Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.
putFileAsync
in interface AWSCodeCommitAsync
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.public Future<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request)
AWSCodeCommitAsync
Replaces all triggers for a repository. Used to create or delete triggers.
putRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a put repository triggers operation.public Future<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request, AsyncHandler<PutRepositoryTriggersRequest,PutRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Replaces all triggers for a repository. Used to create or delete triggers.
putRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a put repository triggers operation.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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSCodeCommitAsync
Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
tagResourceAsync
in interface AWSCodeCommitAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSCodeCommitAsync
Adds or updates tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
tagResourceAsync
in interface AWSCodeCommitAsync
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.public Future<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request)
AWSCodeCommitAsync
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.
testRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a test repository triggers operation.public Future<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request, AsyncHandler<TestRepositoryTriggersRequest,TestRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test sends data from the last commit. If no data is available, sample data is generated.
testRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a test repository triggers operation.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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSCodeCommitAsync
Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
untagResourceAsync
in interface AWSCodeCommitAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSCodeCommitAsync
Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see CodeCommit Resources and Operations in the CodeCommit User Guide.
untagResourceAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateApprovalRuleTemplateContentResult> updateApprovalRuleTemplateContentAsync(UpdateApprovalRuleTemplateContentRequest request)
AWSCodeCommitAsync
Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.
updateApprovalRuleTemplateContentAsync
in interface AWSCodeCommitAsync
public Future<UpdateApprovalRuleTemplateContentResult> updateApprovalRuleTemplateContentAsync(UpdateApprovalRuleTemplateContentRequest request, AsyncHandler<UpdateApprovalRuleTemplateContentRequest,UpdateApprovalRuleTemplateContentResult> asyncHandler)
AWSCodeCommitAsync
Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.
updateApprovalRuleTemplateContentAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateApprovalRuleTemplateDescriptionResult> updateApprovalRuleTemplateDescriptionAsync(UpdateApprovalRuleTemplateDescriptionRequest request)
AWSCodeCommitAsync
Updates the description for a specified approval rule template.
updateApprovalRuleTemplateDescriptionAsync
in interface AWSCodeCommitAsync
public Future<UpdateApprovalRuleTemplateDescriptionResult> updateApprovalRuleTemplateDescriptionAsync(UpdateApprovalRuleTemplateDescriptionRequest request, AsyncHandler<UpdateApprovalRuleTemplateDescriptionRequest,UpdateApprovalRuleTemplateDescriptionResult> asyncHandler)
AWSCodeCommitAsync
Updates the description for a specified approval rule template.
updateApprovalRuleTemplateDescriptionAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateApprovalRuleTemplateNameResult> updateApprovalRuleTemplateNameAsync(UpdateApprovalRuleTemplateNameRequest request)
AWSCodeCommitAsync
Updates the name of a specified approval rule template.
updateApprovalRuleTemplateNameAsync
in interface AWSCodeCommitAsync
public Future<UpdateApprovalRuleTemplateNameResult> updateApprovalRuleTemplateNameAsync(UpdateApprovalRuleTemplateNameRequest request, AsyncHandler<UpdateApprovalRuleTemplateNameRequest,UpdateApprovalRuleTemplateNameResult> asyncHandler)
AWSCodeCommitAsync
Updates the name of a specified approval rule template.
updateApprovalRuleTemplateNameAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateCommentResult> updateCommentAsync(UpdateCommentRequest request)
AWSCodeCommitAsync
Replaces the contents of a comment.
updateCommentAsync
in interface AWSCodeCommitAsync
public Future<UpdateCommentResult> updateCommentAsync(UpdateCommentRequest request, AsyncHandler<UpdateCommentRequest,UpdateCommentResult> asyncHandler)
AWSCodeCommitAsync
Replaces the contents of a comment.
updateCommentAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request)
AWSCodeCommitAsync
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.
updateDefaultBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update default branch operation.public Future<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request, AsyncHandler<UpdateDefaultBranchRequest,UpdateDefaultBranchResult> asyncHandler)
AWSCodeCommitAsync
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.
updateDefaultBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update default branch operation.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.public Future<UpdatePullRequestApprovalRuleContentResult> updatePullRequestApprovalRuleContentAsync(UpdatePullRequestApprovalRuleContentRequest request)
AWSCodeCommitAsync
Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
updatePullRequestApprovalRuleContentAsync
in interface AWSCodeCommitAsync
public Future<UpdatePullRequestApprovalRuleContentResult> updatePullRequestApprovalRuleContentAsync(UpdatePullRequestApprovalRuleContentRequest request, AsyncHandler<UpdatePullRequestApprovalRuleContentRequest,UpdatePullRequestApprovalRuleContentResult> asyncHandler)
AWSCodeCommitAsync
Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and the approval pool for approvers.
updatePullRequestApprovalRuleContentAsync
in interface AWSCodeCommitAsync
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.public Future<UpdatePullRequestApprovalStateResult> updatePullRequestApprovalStateAsync(UpdatePullRequestApprovalStateRequest request)
AWSCodeCommitAsync
Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.
updatePullRequestApprovalStateAsync
in interface AWSCodeCommitAsync
public Future<UpdatePullRequestApprovalStateResult> updatePullRequestApprovalStateAsync(UpdatePullRequestApprovalStateRequest request, AsyncHandler<UpdatePullRequestApprovalStateRequest,UpdatePullRequestApprovalStateResult> asyncHandler)
AWSCodeCommitAsync
Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.
updatePullRequestApprovalStateAsync
in interface AWSCodeCommitAsync
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.public Future<UpdatePullRequestDescriptionResult> updatePullRequestDescriptionAsync(UpdatePullRequestDescriptionRequest request)
AWSCodeCommitAsync
Replaces the contents of the description of a pull request.
updatePullRequestDescriptionAsync
in interface AWSCodeCommitAsync
public Future<UpdatePullRequestDescriptionResult> updatePullRequestDescriptionAsync(UpdatePullRequestDescriptionRequest request, AsyncHandler<UpdatePullRequestDescriptionRequest,UpdatePullRequestDescriptionResult> asyncHandler)
AWSCodeCommitAsync
Replaces the contents of the description of a pull request.
updatePullRequestDescriptionAsync
in interface AWSCodeCommitAsync
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.public Future<UpdatePullRequestStatusResult> updatePullRequestStatusAsync(UpdatePullRequestStatusRequest request)
AWSCodeCommitAsync
Updates the status of a pull request.
updatePullRequestStatusAsync
in interface AWSCodeCommitAsync
public Future<UpdatePullRequestStatusResult> updatePullRequestStatusAsync(UpdatePullRequestStatusRequest request, AsyncHandler<UpdatePullRequestStatusRequest,UpdatePullRequestStatusResult> asyncHandler)
AWSCodeCommitAsync
Updates the status of a pull request.
updatePullRequestStatusAsync
in interface AWSCodeCommitAsync
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.public Future<UpdatePullRequestTitleResult> updatePullRequestTitleAsync(UpdatePullRequestTitleRequest request)
AWSCodeCommitAsync
Replaces the title of a pull request.
updatePullRequestTitleAsync
in interface AWSCodeCommitAsync
public Future<UpdatePullRequestTitleResult> updatePullRequestTitleAsync(UpdatePullRequestTitleRequest request, AsyncHandler<UpdatePullRequestTitleRequest,UpdatePullRequestTitleResult> asyncHandler)
AWSCodeCommitAsync
Replaces the title of a pull request.
updatePullRequestTitleAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request)
AWSCodeCommitAsync
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
updateRepositoryDescriptionAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description operation.public Future<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request, AsyncHandler<UpdateRepositoryDescriptionRequest,UpdateRepositoryDescriptionResult> asyncHandler)
AWSCodeCommitAsync
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
updateRepositoryDescriptionAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description operation.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.public Future<UpdateRepositoryEncryptionKeyResult> updateRepositoryEncryptionKeyAsync(UpdateRepositoryEncryptionKeyRequest request)
AWSCodeCommitAsync
Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.
updateRepositoryEncryptionKeyAsync
in interface AWSCodeCommitAsync
public Future<UpdateRepositoryEncryptionKeyResult> updateRepositoryEncryptionKeyAsync(UpdateRepositoryEncryptionKeyRequest request, AsyncHandler<UpdateRepositoryEncryptionKeyRequest,UpdateRepositoryEncryptionKeyResult> asyncHandler)
AWSCodeCommitAsync
Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.
updateRepositoryEncryptionKeyAsync
in interface AWSCodeCommitAsync
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.public Future<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request)
AWSCodeCommitAsync
Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide.
updateRepositoryNameAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description operation.public Future<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request, AsyncHandler<UpdateRepositoryNameRequest,UpdateRepositoryNameResult> asyncHandler)
AWSCodeCommitAsync
Renames a repository. The repository name must be unique across the calling Amazon Web Services account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Quotas in the CodeCommit User Guide.
updateRepositoryNameAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description operation.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.