AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Interface for accessing CodeCommit AWS CodeCommit

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.

Inheritance Hierarchy

Amazon.CodeCommit.IAmazonCodeCommit

Namespace: Amazon.CodeCommit
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public interface IAmazonCodeCommit
         IDisposable

The IAmazonCodeCommit type exposes the following members

Methods

NameDescription
Public Method 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.

Public Method BatchGetRepositoriesAsync(BatchGetRepositoriesRequest, CancellationToken) Initiates the asynchronous execution of the BatchGetRepositories operation.
Public Method CreateBranch(CreateBranchRequest) Creates a new branch in a repository and points the branch to a commit. Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
Public Method CreateBranchAsync(CreateBranchRequest, CancellationToken) Initiates the asynchronous execution of the CreateBranch operation.
Public Method CreateRepository(CreateRepositoryRequest) Creates a new, empty repository.
Public Method CreateRepositoryAsync(CreateRepositoryRequest, CancellationToken) Initiates the asynchronous execution of the CreateRepository operation.
Public Method DeleteRepository(DeleteRepositoryRequest) Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned. Deleting a repository also deletes all associated objects and metadata. After a repository is deleted, all future push calls to the deleted repository will fail.
Public Method DeleteRepositoryAsync(DeleteRepositoryRequest, CancellationToken) Initiates the asynchronous execution of the DeleteRepository operation.
Public Method GetBranch(GetBranchRequest) Retrieves information about a repository branch, including its name and the last commit ID.
Public Method GetBranchAsync(GetBranchRequest, CancellationToken) Initiates the asynchronous execution of the GetBranch operation.
Public Method 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.

Public Method GetRepositoryAsync(GetRepositoryRequest, CancellationToken) Initiates the asynchronous execution of the GetRepository operation.
Public Method ListBranches(ListBranchesRequest) Gets information about one or more branches in a repository.
Public Method ListBranchesAsync(ListBranchesRequest, CancellationToken) Initiates the asynchronous execution of the ListBranches operation.
Public Method ListRepositories(ListRepositoriesRequest) Gets information about one or more repositories.
Public Method ListRepositoriesAsync(ListRepositoriesRequest, CancellationToken) Initiates the asynchronous execution of the ListRepositories operation.
Public Method UpdateDefaultBranch(UpdateDefaultBranchRequest) Sets or changes the default branch name for the specified repository. If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
Public Method UpdateDefaultBranchAsync(UpdateDefaultBranchRequest, CancellationToken) Initiates the asynchronous execution of the UpdateDefaultBranch operation.
Public Method 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.

Public Method UpdateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest, CancellationToken) Initiates the asynchronous execution of the UpdateRepositoryDescription operation.
Public Method UpdateRepositoryName(UpdateRepositoryNameRequest) Renames a repository.
Public Method UpdateRepositoryNameAsync(UpdateRepositoryNameRequest, CancellationToken) Initiates the asynchronous execution of the UpdateRepositoryName operation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5