@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_PREFIXbatchGetRepositories, createBranch, createRepository, deleteBranch, deleteRepository, getBlob, getBranch, getCachedResponseMetadata, getCommit, getDifferences, getRepository, getRepositoryTriggers, listBranches, listRepositories, putRepositoryTriggers, setEndpoint, setRegion, shutdown, testRepositoryTriggers, updateDefaultBranch, updateRepositoryDescription, updateRepositoryNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchGetRepositories, createBranch, createRepository, deleteBranch, deleteRepository, getBlob, getBranch, getCachedResponseMetadata, getCommit, getDifferences, getRepository, getRepositoryTriggers, listBranches, listRepositories, putRepositoryTriggers, setEndpoint, setRegion, shutdown, testRepositoryTriggers, updateDefaultBranch, updateRepositoryDescription, updateRepositoryNamepublic Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request)
AWSCodeCommitAsyncReturns 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.
batchGetRepositoriesAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a batch get repositories operation.public Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request, AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
AWSCodeCommitAsyncReturns 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.
batchGetRepositoriesAsync in interface AWSCodeCommitAsyncrequest - 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<CreateBranchResult> createBranchAsync(CreateBranchRequest request)
AWSCodeCommitAsyncCreates 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.
createBranchAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a create branch operation.public Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request, AsyncHandler<CreateBranchRequest,CreateBranchResult> asyncHandler)
AWSCodeCommitAsyncCreates 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.
createBranchAsync in interface AWSCodeCommitAsyncrequest - 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<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request)
AWSCodeCommitAsyncCreates a new, empty repository.
createRepositoryAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a create repository operation.public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
AWSCodeCommitAsyncCreates a new, empty repository.
createRepositoryAsync in interface AWSCodeCommitAsyncrequest - 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<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request)
AWSCodeCommitAsyncDeletes a branch from a repository, unless that branch is the default branch for the repository.
deleteBranchAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a delete branch operation.public Future<DeleteBranchResult> deleteBranchAsync(DeleteBranchRequest request, AsyncHandler<DeleteBranchRequest,DeleteBranchResult> asyncHandler)
AWSCodeCommitAsyncDeletes a branch from a repository, unless that branch is the default branch for the repository.
deleteBranchAsync in interface AWSCodeCommitAsyncrequest - 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<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request)
AWSCodeCommitAsyncDeletes 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.
deleteRepositoryAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a delete repository operation.public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
AWSCodeCommitAsyncDeletes 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.
deleteRepositoryAsync in interface AWSCodeCommitAsyncrequest - 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<GetBlobResult> getBlobAsync(GetBlobRequest request)
AWSCodeCommitAsyncReturns the base-64 encoded content of an individual blob within a repository.
getBlobAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a get blob operation.public Future<GetBlobResult> getBlobAsync(GetBlobRequest request, AsyncHandler<GetBlobRequest,GetBlobResult> asyncHandler)
AWSCodeCommitAsyncReturns the base-64 encoded content of an individual blob within a repository.
getBlobAsync in interface AWSCodeCommitAsyncrequest - 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)
AWSCodeCommitAsyncReturns information about a repository branch, including its name and the last commit ID.
getBranchAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a get branch operation.public Future<GetBranchResult> getBranchAsync(GetBranchRequest request, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
AWSCodeCommitAsyncReturns information about a repository branch, including its name and the last commit ID.
getBranchAsync in interface AWSCodeCommitAsyncrequest - 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<GetCommitResult> getCommitAsync(GetCommitRequest request)
AWSCodeCommitAsyncReturns information about a commit, including commit message and committer information.
getCommitAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a get commit operation.public Future<GetCommitResult> getCommitAsync(GetCommitRequest request, AsyncHandler<GetCommitRequest,GetCommitResult> asyncHandler)
AWSCodeCommitAsyncReturns information about a commit, including commit message and committer information.
getCommitAsync in interface AWSCodeCommitAsyncrequest - 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)
AWSCodeCommitAsyncReturns 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 AWSCodeCommitAsyncpublic Future<GetDifferencesResult> getDifferencesAsync(GetDifferencesRequest request, AsyncHandler<GetDifferencesRequest,GetDifferencesResult> asyncHandler)
AWSCodeCommitAsyncReturns 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 AWSCodeCommitAsyncasyncHandler - 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)
AWSCodeCommitAsyncReturns 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.
getRepositoryAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a get repository operation.public Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
AWSCodeCommitAsyncReturns 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.
getRepositoryAsync in interface AWSCodeCommitAsyncrequest - 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)
AWSCodeCommitAsyncGets information about triggers configured for a repository.
getRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a get repository triggers operation.public Future<GetRepositoryTriggersResult> getRepositoryTriggersAsync(GetRepositoryTriggersRequest request, AsyncHandler<GetRepositoryTriggersRequest,GetRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsyncGets information about triggers configured for a repository.
getRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - 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<ListBranchesResult> listBranchesAsync(ListBranchesRequest request)
AWSCodeCommitAsyncGets information about one or more branches in a repository.
listBranchesAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a list branches operation.public Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
AWSCodeCommitAsyncGets information about one or more branches in a repository.
listBranchesAsync in interface AWSCodeCommitAsyncrequest - 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<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request)
AWSCodeCommitAsyncGets information about one or more repositories.
listRepositoriesAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a list repositories operation.public Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
AWSCodeCommitAsyncGets information about one or more repositories.
listRepositoriesAsync in interface AWSCodeCommitAsyncrequest - 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<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request)
AWSCodeCommitAsyncReplaces all triggers for a repository. This can be used to create or delete triggers.
putRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - Represents the input ofa put repository triggers operation.public Future<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request, AsyncHandler<PutRepositoryTriggersRequest,PutRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsyncReplaces all triggers for a repository. This can be used to create or delete triggers.
putRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - Represents the input ofa 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<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request)
AWSCodeCommitAsyncTests 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.
testRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - Represents the input of a test repository triggers operation.public Future<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request, AsyncHandler<TestRepositoryTriggersRequest,TestRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsyncTests 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.
testRepositoryTriggersAsync in interface AWSCodeCommitAsyncrequest - 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<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request)
AWSCodeCommitAsyncSets 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 AWSCodeCommitAsyncrequest - Represents the input of an update default branch operation.public Future<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request, AsyncHandler<UpdateDefaultBranchRequest,UpdateDefaultBranchResult> asyncHandler)
AWSCodeCommitAsyncSets 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 AWSCodeCommitAsyncrequest - 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<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request)
AWSCodeCommitAsyncSets 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.
updateRepositoryDescriptionAsync in interface AWSCodeCommitAsyncrequest - Represents the input of an update repository description operation.public Future<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request, AsyncHandler<UpdateRepositoryDescriptionRequest,UpdateRepositoryDescriptionResult> asyncHandler)
AWSCodeCommitAsyncSets 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.
updateRepositoryDescriptionAsync in interface AWSCodeCommitAsyncrequest - 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<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request)
AWSCodeCommitAsyncRenames 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.
updateRepositoryNameAsync in interface AWSCodeCommitAsyncrequest - Represents the input of an update repository description operation.public Future<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request, AsyncHandler<UpdateRepositoryNameRequest,UpdateRepositoryNameResult> asyncHandler)
AWSCodeCommitAsyncRenames 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.
updateRepositoryNameAsync in interface AWSCodeCommitAsyncrequest - 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.