AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.
You can use the AWS CodeCommit API to work with the following objects:
For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.
Namespace: Amazon.CodeCommit
Assembly: AWSSDK.dll
Version: (assembly version)
public interface IAmazonCodeCommit IDisposable
The IAmazonCodeCommit type exposes the following members
Name | Description | |
---|---|---|
BatchGetRepositories(BatchGetRepositoriesRequest) |
Gets 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(BatchGetRepositoriesRequest, CancellationToken) | Initiates the asynchronous execution of the BatchGetRepositories operation. | |
CreateBranch(CreateBranchRequest) |
Creates a new branch in a repository and points the branch to a commit.
|
|
CreateBranchAsync(CreateBranchRequest, CancellationToken) | Initiates the asynchronous execution of the CreateBranch operation. | |
CreateRepository(CreateRepositoryRequest) | Creates a new, empty repository. | |
CreateRepositoryAsync(CreateRepositoryRequest, CancellationToken) | Initiates the asynchronous execution of the CreateRepository operation. | |
DeleteRepository(DeleteRepositoryRequest) |
Deletes a repository. If a specified repository was already deleted, a null repository
ID will be returned.
|
|
DeleteRepositoryAsync(DeleteRepositoryRequest, CancellationToken) | Initiates the asynchronous execution of the DeleteRepository operation. | |
GetBranch(GetBranchRequest) | Retrieves information about a repository branch, including its name and the last commit ID. | |
GetBranchAsync(GetBranchRequest, CancellationToken) | Initiates the asynchronous execution of the GetBranch operation. | |
GetRepository(GetRepositoryRequest) |
Gets 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(GetRepositoryRequest, CancellationToken) | Initiates the asynchronous execution of the GetRepository operation. | |
ListBranches(ListBranchesRequest) | Gets information about one or more branches in a repository. | |
ListBranchesAsync(ListBranchesRequest, CancellationToken) | Initiates the asynchronous execution of the ListBranches operation. | |
ListRepositories(ListRepositoriesRequest) | Gets information about one or more repositories. | |
ListRepositoriesAsync(ListRepositoriesRequest, CancellationToken) | Initiates the asynchronous execution of the ListRepositories operation. | |
UpdateDefaultBranch(UpdateDefaultBranchRequest) |
Sets or changes the default branch name for the specified repository.
|
|
UpdateDefaultBranchAsync(UpdateDefaultBranchRequest, CancellationToken) | Initiates the asynchronous execution of the UpdateDefaultBranch operation. | |
UpdateRepositoryDescription(UpdateRepositoryDescriptionRequest) |
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page. |
|
UpdateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest, CancellationToken) | Initiates the asynchronous execution of the UpdateRepositoryDescription operation. | |
UpdateRepositoryName(UpdateRepositoryNameRequest) | Renames a repository. | |
UpdateRepositoryNameAsync(UpdateRepositoryNameRequest, CancellationToken) | Initiates the asynchronous execution of the UpdateRepositoryName operation. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5