C# Class Amazon.CodeCommit.AmazonCodeCommitClient

Implementation for accessing CodeCommit AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the operations and data types for AWS CodeCommit API.

You can use the AWS CodeCommit API to work with the following objects:

  • Repositories, by calling the following:
    • BatchGetRepositories, which returns information about one or more repositories associated with your AWS account
    • CreateRepository, which creates an AWS CodeCommit repository
    • DeleteRepository, which deletes an AWS CodeCommit repository
    • GetRepository, which returns information about a specified repository
    • ListRepositories, which lists all AWS CodeCommit repositories associated with your AWS account
    • UpdateRepositoryDescription, which sets or updates the description of the repository
    • UpdateRepositoryName, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.
  • Branches, by calling the following:
    • CreateBranch, which creates a new branch in a specified repository
    • GetBranch, which returns information about a specified branch
    • ListBranches, which lists all branches for a specified repository
    • UpdateDefaultBranch, which changes the default branch for a repository
  • Information about committed code in a repository, by calling the following:
    • GetCommit, which returns information about a commit, including commit messages and committer information.
  • Triggers, by calling the following:
    • GetRepositoryTriggers, which returns information about triggers configured for a repository
    • PutRepositoryTriggers, which replaces all triggers for a repository and can be used to create or delete triggers
    • TestRepositoryTriggers, which tests the functionality of a repository trigger by sending data to the trigger target

For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.

Inheritance: AmazonServiceClient, IAmazonCodeCommit
Mostrar archivo Open project: aws/aws-sdk-net

Public Methods

Method Description
AmazonCodeCommitClient ( ) : System

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonCodeCommitClient ( AWSCredentials credentials ) : System

Constructs AmazonCodeCommitClient with AWS Credentials

AmazonCodeCommitClient ( AWSCredentials credentials, AmazonCodeCommitConfig clientConfig ) : System

Constructs AmazonCodeCommitClient with AWS Credentials and an AmazonCodeCommitClient Configuration object.

AmazonCodeCommitClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonCodeCommitClient with AWS Credentials

AmazonCodeCommitClient ( AmazonCodeCommitConfig config ) : System

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonCodeCommitClient ( RegionEndpoint region ) : System

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonCodeCommitConfig clientConfig ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeCommitClient Configuration object.

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodeCommitConfig clientConfig ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeCommitClient Configuration object.

AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key

BatchGetRepositories ( BatchGetRepositoriesRequest request ) : Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

Returns information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

BatchGetRepositoriesAsync ( BatchGetRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchGetRepositories operation.

BeginBatchGetRepositories ( BatchGetRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchGetRepositories operation.

BeginCreateBranch ( CreateBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateBranch operation.

BeginCreateRepository ( CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateRepository operation.

BeginDeleteRepository ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteRepository operation.

BeginGetBranch ( GetBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetBranch operation.

BeginGetCommit ( GetCommitRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetCommit operation.

BeginGetRepository ( GetRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetRepository operation.

BeginGetRepositoryTriggers ( GetRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the GetRepositoryTriggers operation.

BeginListBranches ( Amazon.CodeCommit.Model.ListBranchesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ListBranches operation.

BeginListRepositories ( Amazon.CodeCommit.Model.ListRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ListRepositories operation.

BeginPutRepositoryTriggers ( PutRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutRepositoryTriggers operation.

BeginTestRepositoryTriggers ( TestRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the TestRepositoryTriggers operation.

BeginUpdateDefaultBranch ( UpdateDefaultBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateDefaultBranch operation.

BeginUpdateRepositoryDescription ( UpdateRepositoryDescriptionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateRepositoryDescription operation.

BeginUpdateRepositoryName ( UpdateRepositoryNameRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateRepositoryName operation.

CreateBranch ( CreateBranchRequest request ) : CreateBranchResponse

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.

CreateBranchAsync ( CreateBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateBranch operation.

CreateRepository ( CreateRepositoryRequest request ) : Amazon.CodeCommit.Model.CreateRepositoryResponse

Creates a new, empty repository.

CreateRepositoryAsync ( CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateRepository operation.

DeleteRepository ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request ) : Amazon.CodeCommit.Model.DeleteRepositoryResponse

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.

DeleteRepositoryAsync ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteRepository operation.

EndBatchGetRepositories ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

Finishes the asynchronous execution of the BatchGetRepositories operation.

EndCreateBranch ( IAsyncResult asyncResult ) : CreateBranchResponse

Finishes the asynchronous execution of the CreateBranch operation.

EndCreateRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.CreateRepositoryResponse

Finishes the asynchronous execution of the CreateRepository operation.

EndDeleteRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.DeleteRepositoryResponse

Finishes the asynchronous execution of the DeleteRepository operation.

EndGetBranch ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.GetBranchResponse

Finishes the asynchronous execution of the GetBranch operation.

EndGetCommit ( IAsyncResult asyncResult ) : GetCommitResponse

Finishes the asynchronous execution of the GetCommit operation.

EndGetRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.GetRepositoryResponse

Finishes the asynchronous execution of the GetRepository operation.

EndGetRepositoryTriggers ( IAsyncResult asyncResult ) : GetRepositoryTriggersResponse

Finishes the asynchronous execution of the GetRepositoryTriggers operation.

EndListBranches ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.ListBranchesResponse

Finishes the asynchronous execution of the ListBranches operation.

EndListRepositories ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.ListRepositoriesResponse

Finishes the asynchronous execution of the ListRepositories operation.

EndPutRepositoryTriggers ( IAsyncResult asyncResult ) : PutRepositoryTriggersResponse

Finishes the asynchronous execution of the PutRepositoryTriggers operation.

EndTestRepositoryTriggers ( IAsyncResult asyncResult ) : TestRepositoryTriggersResponse

Finishes the asynchronous execution of the TestRepositoryTriggers operation.

EndUpdateDefaultBranch ( IAsyncResult asyncResult ) : UpdateDefaultBranchResponse

Finishes the asynchronous execution of the UpdateDefaultBranch operation.

EndUpdateRepositoryDescription ( IAsyncResult asyncResult ) : UpdateRepositoryDescriptionResponse

Finishes the asynchronous execution of the UpdateRepositoryDescription operation.

EndUpdateRepositoryName ( IAsyncResult asyncResult ) : UpdateRepositoryNameResponse

Finishes the asynchronous execution of the UpdateRepositoryName operation.

GetBranch ( GetBranchRequest request ) : Amazon.CodeCommit.Model.GetBranchResponse

Returns information about a repository branch, including its name and the last commit ID.

GetBranchAsync ( GetBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetBranch operation.

GetCommit ( GetCommitRequest request ) : GetCommitResponse

Returns information about a commit, including commit message and committer information.

GetCommitAsync ( GetCommitRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetCommit operation.

GetRepository ( GetRepositoryRequest request ) : Amazon.CodeCommit.Model.GetRepositoryResponse

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

GetRepositoryAsync ( GetRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetRepository operation.

GetRepositoryTriggers ( GetRepositoryTriggersRequest request ) : GetRepositoryTriggersResponse

Gets information about triggers configured for a repository.

GetRepositoryTriggersAsync ( GetRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the GetRepositoryTriggers operation.

ListBranches ( Amazon.CodeCommit.Model.ListBranchesRequest request ) : Amazon.CodeCommit.Model.ListBranchesResponse

Gets information about one or more branches in a repository.

ListBranchesAsync ( Amazon.CodeCommit.Model.ListBranchesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ListBranches operation.

ListRepositories ( Amazon.CodeCommit.Model.ListRepositoriesRequest request ) : Amazon.CodeCommit.Model.ListRepositoriesResponse

Gets information about one or more repositories.

ListRepositoriesAsync ( Amazon.CodeCommit.Model.ListRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ListRepositories operation.

PutRepositoryTriggers ( PutRepositoryTriggersRequest request ) : PutRepositoryTriggersResponse

Replaces all triggers for a repository. This can be used to create or delete triggers.

PutRepositoryTriggersAsync ( PutRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutRepositoryTriggers operation.

TestRepositoryTriggers ( TestRepositoryTriggersRequest request ) : TestRepositoryTriggersResponse

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

TestRepositoryTriggersAsync ( TestRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the TestRepositoryTriggers operation.

UpdateDefaultBranch ( UpdateDefaultBranchRequest request ) : UpdateDefaultBranchResponse

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 ( UpdateDefaultBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateDefaultBranch operation.

UpdateRepositoryDescription ( UpdateRepositoryDescriptionRequest request ) : UpdateRepositoryDescriptionResponse

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 request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateRepositoryDescription operation.

UpdateRepositoryName ( UpdateRepositoryNameRequest request ) : UpdateRepositoryNameResponse

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.

UpdateRepositoryNameAsync ( UpdateRepositoryNameRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateRepositoryName operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonCodeCommitClient ( ) : System
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Credentials
public AmazonCodeCommitClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Credentials and an AmazonCodeCommitClient Configuration object.
public AmazonCodeCommitClient ( AWSCredentials credentials, AmazonCodeCommitConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonCodeCommitConfig The AmazonCodeCommitClient Configuration Object
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Credentials
public AmazonCodeCommitClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonCodeCommitClient ( AmazonCodeCommitConfig config ) : System
config AmazonCodeCommitConfig The AmazonCodeCommitClient Configuration Object
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonCodeCommitClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeCommitClient Configuration object.
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonCodeCommitConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonCodeCommitConfig The AmazonCodeCommitClient Configuration Object
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID, AWS Secret Key and an AmazonCodeCommitClient Configuration object.
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCodeCommitConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonCodeCommitConfig The AmazonCodeCommitClient Configuration Object
return System

AmazonCodeCommitClient() public method

Constructs AmazonCodeCommitClient with AWS Access Key ID and AWS Secret Key
public AmazonCodeCommitClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
return System

BatchGetRepositories() public method

Returns information about one or more repositories.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The maximum number of allowed repository names was exceeded. Currently, this number /// is 25. /// /// A repository names object is required but was not specified. ///
public BatchGetRepositories ( BatchGetRepositoriesRequest request ) : Amazon.CodeCommit.Model.BatchGetRepositoriesResponse
request Amazon.CodeCommit.Model.BatchGetRepositoriesRequest Container for the necessary parameters to execute the BatchGetRepositories service method.
return Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

BatchGetRepositoriesAsync() public method

Initiates the asynchronous execution of the BatchGetRepositories operation.
public BatchGetRepositoriesAsync ( BatchGetRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.BatchGetRepositoriesRequest Container for the necessary parameters to execute the BatchGetRepositories operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BeginBatchGetRepositories() public method

Initiates the asynchronous execution of the BatchGetRepositories operation.
public BeginBatchGetRepositories ( BatchGetRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.BatchGetRepositoriesRequest Container for the necessary parameters to execute the BatchGetRepositories operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateBranch() public method

Initiates the asynchronous execution of the CreateBranch operation.
public BeginCreateBranch ( CreateBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.CreateBranchRequest Container for the necessary parameters to execute the CreateBranch operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateRepository() public method

Initiates the asynchronous execution of the CreateRepository operation.
public BeginCreateRepository ( CreateRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteRepository() public method

Initiates the asynchronous execution of the DeleteRepository operation.
public BeginDeleteRepository ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetBranch() public method

Initiates the asynchronous execution of the GetBranch operation.
public BeginGetBranch ( GetBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.GetBranchRequest Container for the necessary parameters to execute the GetBranch operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetCommit() public method

Initiates the asynchronous execution of the GetCommit operation.
public BeginGetCommit ( GetCommitRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.GetCommitRequest Container for the necessary parameters to execute the GetCommit operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetRepository() public method

Initiates the asynchronous execution of the GetRepository operation.
public BeginGetRepository ( GetRepositoryRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.GetRepositoryRequest Container for the necessary parameters to execute the GetRepository operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginGetRepositoryTriggers() public method

Initiates the asynchronous execution of the GetRepositoryTriggers operation.
public BeginGetRepositoryTriggers ( GetRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.GetRepositoryTriggersRequest Container for the necessary parameters to execute the GetRepositoryTriggers operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginListBranches() public method

Initiates the asynchronous execution of the ListBranches operation.
public BeginListBranches ( Amazon.CodeCommit.Model.ListBranchesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.ListBranchesRequest Container for the necessary parameters to execute the ListBranches operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginListRepositories() public method

Initiates the asynchronous execution of the ListRepositories operation.
public BeginListRepositories ( Amazon.CodeCommit.Model.ListRepositoriesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.ListRepositoriesRequest Container for the necessary parameters to execute the ListRepositories operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutRepositoryTriggers() public method

Initiates the asynchronous execution of the PutRepositoryTriggers operation.
public BeginPutRepositoryTriggers ( PutRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.PutRepositoryTriggersRequest Container for the necessary parameters to execute the PutRepositoryTriggers operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginTestRepositoryTriggers() public method

Initiates the asynchronous execution of the TestRepositoryTriggers operation.
public BeginTestRepositoryTriggers ( TestRepositoryTriggersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.TestRepositoryTriggersRequest Container for the necessary parameters to execute the TestRepositoryTriggers operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginUpdateDefaultBranch() public method

Initiates the asynchronous execution of the UpdateDefaultBranch operation.
public BeginUpdateDefaultBranch ( UpdateDefaultBranchRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.UpdateDefaultBranchRequest Container for the necessary parameters to execute the UpdateDefaultBranch operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginUpdateRepositoryDescription() public method

Initiates the asynchronous execution of the UpdateRepositoryDescription operation.
public BeginUpdateRepositoryDescription ( UpdateRepositoryDescriptionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.UpdateRepositoryDescriptionRequest Container for the necessary parameters to execute the UpdateRepositoryDescription operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginUpdateRepositoryName() public method

Initiates the asynchronous execution of the UpdateRepositoryName operation.
public BeginUpdateRepositoryName ( UpdateRepositoryNameRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CodeCommit.Model.UpdateRepositoryNameRequest Container for the necessary parameters to execute the UpdateRepositoryName operation on AmazonCodeCommitClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

CreateBranch() public method

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.

/// The specified branch name already exists. /// /// A branch name is required but was not specified. /// /// The specified commit does not exist or no commit was specified, and the specified /// repository has no default branch. /// /// A commit ID was not specified. /// /// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified branch name is not valid. /// /// The specified commit ID is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public CreateBranch ( CreateBranchRequest request ) : CreateBranchResponse
request Amazon.CodeCommit.Model.CreateBranchRequest Container for the necessary parameters to execute the CreateBranch service method.
return CreateBranchResponse

CreateBranchAsync() public method

Initiates the asynchronous execution of the CreateBranch operation.
public CreateBranchAsync ( CreateBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.CreateBranchRequest Container for the necessary parameters to execute the CreateBranch operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateRepository() public method

Creates a new, empty repository.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified repository description is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// A repository resource limit was exceeded. /// /// The specified repository name already exists. /// /// A repository name is required but was not specified. ///
public CreateRepository ( CreateRepositoryRequest request ) : Amazon.CodeCommit.Model.CreateRepositoryResponse
request Amazon.CodeCommit.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository service method.
return Amazon.CodeCommit.Model.CreateRepositoryResponse

CreateRepositoryAsync() public method

Initiates the asynchronous execution of the CreateRepository operation.
public CreateRepositoryAsync ( CreateRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateSigner() protected method

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
return Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteRepository() public method

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.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// A repository name is required but was not specified. ///
public DeleteRepository ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request ) : Amazon.CodeCommit.Model.DeleteRepositoryResponse
request Amazon.CodeCommit.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository service method.
return Amazon.CodeCommit.Model.DeleteRepositoryResponse

DeleteRepositoryAsync() public method

Initiates the asynchronous execution of the DeleteRepository operation.
public DeleteRepositoryAsync ( Amazon.CodeCommit.Model.DeleteRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.DeleteRepositoryRequest Container for the necessary parameters to execute the DeleteRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EndBatchGetRepositories() public method

Finishes the asynchronous execution of the BatchGetRepositories operation.
public EndBatchGetRepositories ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.BatchGetRepositoriesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchGetRepositories.
return Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

EndCreateBranch() public method

Finishes the asynchronous execution of the CreateBranch operation.
public EndCreateBranch ( IAsyncResult asyncResult ) : CreateBranchResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateBranch.
return CreateBranchResponse

EndCreateRepository() public method

Finishes the asynchronous execution of the CreateRepository operation.
public EndCreateRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.CreateRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateRepository.
return Amazon.CodeCommit.Model.CreateRepositoryResponse

EndDeleteRepository() public method

Finishes the asynchronous execution of the DeleteRepository operation.
public EndDeleteRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.DeleteRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteRepository.
return Amazon.CodeCommit.Model.DeleteRepositoryResponse

EndGetBranch() public method

Finishes the asynchronous execution of the GetBranch operation.
public EndGetBranch ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.GetBranchResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetBranch.
return Amazon.CodeCommit.Model.GetBranchResponse

EndGetCommit() public method

Finishes the asynchronous execution of the GetCommit operation.
public EndGetCommit ( IAsyncResult asyncResult ) : GetCommitResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetCommit.
return Amazon.CodeCommit.Model.GetCommitResponse

EndGetRepository() public method

Finishes the asynchronous execution of the GetRepository operation.
public EndGetRepository ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.GetRepositoryResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetRepository.
return Amazon.CodeCommit.Model.GetRepositoryResponse

EndGetRepositoryTriggers() public method

Finishes the asynchronous execution of the GetRepositoryTriggers operation.
public EndGetRepositoryTriggers ( IAsyncResult asyncResult ) : GetRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetRepositoryTriggers.
return Amazon.CodeCommit.Model.GetRepositoryTriggersResponse

EndListBranches() public method

Finishes the asynchronous execution of the ListBranches operation.
public EndListBranches ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.ListBranchesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginListBranches.
return Amazon.CodeCommit.Model.ListBranchesResponse

EndListRepositories() public method

Finishes the asynchronous execution of the ListRepositories operation.
public EndListRepositories ( IAsyncResult asyncResult ) : Amazon.CodeCommit.Model.ListRepositoriesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginListRepositories.
return Amazon.CodeCommit.Model.ListRepositoriesResponse

EndPutRepositoryTriggers() public method

Finishes the asynchronous execution of the PutRepositoryTriggers operation.
public EndPutRepositoryTriggers ( IAsyncResult asyncResult ) : PutRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutRepositoryTriggers.
return Amazon.CodeCommit.Model.PutRepositoryTriggersResponse

EndTestRepositoryTriggers() public method

Finishes the asynchronous execution of the TestRepositoryTriggers operation.
public EndTestRepositoryTriggers ( IAsyncResult asyncResult ) : TestRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginTestRepositoryTriggers.
return Amazon.CodeCommit.Model.TestRepositoryTriggersResponse

EndUpdateDefaultBranch() public method

Finishes the asynchronous execution of the UpdateDefaultBranch operation.
public EndUpdateDefaultBranch ( IAsyncResult asyncResult ) : UpdateDefaultBranchResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateDefaultBranch.
return UpdateDefaultBranchResponse

EndUpdateRepositoryDescription() public method

Finishes the asynchronous execution of the UpdateRepositoryDescription operation.
public EndUpdateRepositoryDescription ( IAsyncResult asyncResult ) : UpdateRepositoryDescriptionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateRepositoryDescription.
return UpdateRepositoryDescriptionResponse

EndUpdateRepositoryName() public method

Finishes the asynchronous execution of the UpdateRepositoryName operation.
public EndUpdateRepositoryName ( IAsyncResult asyncResult ) : UpdateRepositoryNameResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateRepositoryName.
return UpdateRepositoryNameResponse

GetBranch() public method

Returns information about a repository branch, including its name and the last commit ID.
/// The specified branch does not exist. /// /// A branch name is required but was not specified. /// /// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified branch name is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public GetBranch ( GetBranchRequest request ) : Amazon.CodeCommit.Model.GetBranchResponse
request Amazon.CodeCommit.Model.GetBranchRequest Container for the necessary parameters to execute the GetBranch service method.
return Amazon.CodeCommit.Model.GetBranchResponse

GetBranchAsync() public method

Initiates the asynchronous execution of the GetBranch operation.
public GetBranchAsync ( GetBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.GetBranchRequest Container for the necessary parameters to execute the GetBranch operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

GetCommit() public method

Returns information about a commit, including commit message and committer information.
/// The specified commit ID does not exist. /// /// A commit ID was not specified. /// /// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified commit ID is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public GetCommit ( GetCommitRequest request ) : GetCommitResponse
request Amazon.CodeCommit.Model.GetCommitRequest Container for the necessary parameters to execute the GetCommit service method.
return Amazon.CodeCommit.Model.GetCommitResponse

GetCommitAsync() public method

Initiates the asynchronous execution of the GetCommit operation.
public GetCommitAsync ( GetCommitRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.GetCommitRequest Container for the necessary parameters to execute the GetCommit operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

GetRepository() public method

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.

/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public GetRepository ( GetRepositoryRequest request ) : Amazon.CodeCommit.Model.GetRepositoryResponse
request Amazon.CodeCommit.Model.GetRepositoryRequest Container for the necessary parameters to execute the GetRepository service method.
return Amazon.CodeCommit.Model.GetRepositoryResponse

GetRepositoryAsync() public method

Initiates the asynchronous execution of the GetRepository operation.
public GetRepositoryAsync ( GetRepositoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.GetRepositoryRequest Container for the necessary parameters to execute the GetRepository operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

GetRepositoryTriggers() public method

Gets information about triggers configured for a repository.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public GetRepositoryTriggers ( GetRepositoryTriggersRequest request ) : GetRepositoryTriggersResponse
request Amazon.CodeCommit.Model.GetRepositoryTriggersRequest Container for the necessary parameters to execute the GetRepositoryTriggers service method.
return Amazon.CodeCommit.Model.GetRepositoryTriggersResponse

GetRepositoryTriggersAsync() public method

Initiates the asynchronous execution of the GetRepositoryTriggers operation.
public GetRepositoryTriggersAsync ( GetRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.GetRepositoryTriggersRequest Container for the necessary parameters to execute the GetRepositoryTriggers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ListBranches() public method

Gets information about one or more branches in a repository.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified continuation token is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public ListBranches ( Amazon.CodeCommit.Model.ListBranchesRequest request ) : Amazon.CodeCommit.Model.ListBranchesResponse
request Amazon.CodeCommit.Model.ListBranchesRequest Container for the necessary parameters to execute the ListBranches service method.
return Amazon.CodeCommit.Model.ListBranchesResponse

ListBranchesAsync() public method

Initiates the asynchronous execution of the ListBranches operation.
public ListBranchesAsync ( Amazon.CodeCommit.Model.ListBranchesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.ListBranchesRequest Container for the necessary parameters to execute the ListBranches operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ListRepositories() public method

Gets information about one or more repositories.
/// The specified continuation token is not valid. /// /// The specified sort order is not valid. /// /// The specified sort by value is not valid. ///
public ListRepositories ( Amazon.CodeCommit.Model.ListRepositoriesRequest request ) : Amazon.CodeCommit.Model.ListRepositoriesResponse
request Amazon.CodeCommit.Model.ListRepositoriesRequest Container for the necessary parameters to execute the ListRepositories service method.
return Amazon.CodeCommit.Model.ListRepositoriesResponse

ListRepositoriesAsync() public method

Initiates the asynchronous execution of the ListRepositories operation.
public ListRepositoriesAsync ( Amazon.CodeCommit.Model.ListRepositoriesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.ListRepositoriesRequest Container for the necessary parameters to execute the ListRepositories operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutRepositoryTriggers() public method

Replaces all triggers for a repository. This can be used to create or delete triggers.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// One or more branch names specified for the trigger is not valid. /// /// The custom data provided for the trigger is not valid. /// /// The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. /// The most common reason for this error is that the ARN does not meet the requirements /// for the service type. /// /// One or more events specified for the trigger is not valid. Check to make sure that /// all events specified match the requirements for allowed events. /// /// The name of the trigger is not valid. /// /// The region for the trigger target does not match the region for the repository. Triggers /// must be created in the same region as the target for the trigger. /// /// The number of branches for the trigger was exceeded. /// /// The number of triggers allowed for the repository was exceeded. /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. /// /// At least one branch name is required but was not specified in the trigger configuration. /// /// A destination ARN for the target service for the trigger is required but was not specified. /// /// At least one event for the trigger is required but was not specified. /// /// A name for the trigger is required but was not specified. /// /// The list of triggers for the repository is required but was not specified. ///
public PutRepositoryTriggers ( PutRepositoryTriggersRequest request ) : PutRepositoryTriggersResponse
request Amazon.CodeCommit.Model.PutRepositoryTriggersRequest Container for the necessary parameters to execute the PutRepositoryTriggers service method.
return Amazon.CodeCommit.Model.PutRepositoryTriggersResponse

PutRepositoryTriggersAsync() public method

Initiates the asynchronous execution of the PutRepositoryTriggers operation.
public PutRepositoryTriggersAsync ( PutRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.PutRepositoryTriggersRequest Container for the necessary parameters to execute the PutRepositoryTriggers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

TestRepositoryTriggers() public method

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// One or more branch names specified for the trigger is not valid. /// /// The custom data provided for the trigger is not valid. /// /// The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. /// The most common reason for this error is that the ARN does not meet the requirements /// for the service type. /// /// One or more events specified for the trigger is not valid. Check to make sure that /// all events specified match the requirements for allowed events. /// /// The name of the trigger is not valid. /// /// The region for the trigger target does not match the region for the repository. Triggers /// must be created in the same region as the target for the trigger. /// /// The number of branches for the trigger was exceeded. /// /// The number of triggers allowed for the repository was exceeded. /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. /// /// At least one branch name is required but was not specified in the trigger configuration. /// /// A destination ARN for the target service for the trigger is required but was not specified. /// /// At least one event for the trigger is required but was not specified. /// /// A name for the trigger is required but was not specified. /// /// The list of triggers for the repository is required but was not specified. ///
public TestRepositoryTriggers ( TestRepositoryTriggersRequest request ) : TestRepositoryTriggersResponse
request Amazon.CodeCommit.Model.TestRepositoryTriggersRequest Container for the necessary parameters to execute the TestRepositoryTriggers service method.
return Amazon.CodeCommit.Model.TestRepositoryTriggersResponse

TestRepositoryTriggersAsync() public method

Initiates the asynchronous execution of the TestRepositoryTriggers operation.
public TestRepositoryTriggersAsync ( TestRepositoryTriggersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.TestRepositoryTriggersRequest Container for the necessary parameters to execute the TestRepositoryTriggers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

UpdateDefaultBranch() public method

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.

/// The specified branch does not exist. /// /// A branch name is required but was not specified. /// /// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified branch name is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public UpdateDefaultBranch ( UpdateDefaultBranchRequest request ) : UpdateDefaultBranchResponse
request Amazon.CodeCommit.Model.UpdateDefaultBranchRequest Container for the necessary parameters to execute the UpdateDefaultBranch service method.
return UpdateDefaultBranchResponse

UpdateDefaultBranchAsync() public method

Initiates the asynchronous execution of the UpdateDefaultBranch operation.
public UpdateDefaultBranchAsync ( UpdateDefaultBranchRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.UpdateDefaultBranchRequest Container for the necessary parameters to execute the UpdateDefaultBranch operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

UpdateRepositoryDescription() public method

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.

/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified repository description is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// A repository name is required but was not specified. ///
public UpdateRepositoryDescription ( UpdateRepositoryDescriptionRequest request ) : UpdateRepositoryDescriptionResponse
request Amazon.CodeCommit.Model.UpdateRepositoryDescriptionRequest Container for the necessary parameters to execute the UpdateRepositoryDescription service method.
return UpdateRepositoryDescriptionResponse

UpdateRepositoryDescriptionAsync() public method

Initiates the asynchronous execution of the UpdateRepositoryDescription operation.
public UpdateRepositoryDescriptionAsync ( UpdateRepositoryDescriptionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.UpdateRepositoryDescriptionRequest Container for the necessary parameters to execute the UpdateRepositoryDescription operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

UpdateRepositoryName() public method

Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
/// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// The specified repository does not exist. /// /// The specified repository name already exists. /// /// A repository name is required but was not specified. ///
public UpdateRepositoryName ( UpdateRepositoryNameRequest request ) : UpdateRepositoryNameResponse
request Amazon.CodeCommit.Model.UpdateRepositoryNameRequest Container for the necessary parameters to execute the UpdateRepositoryName service method.
return UpdateRepositoryNameResponse

UpdateRepositoryNameAsync() public method

Initiates the asynchronous execution of the UpdateRepositoryName operation.
public UpdateRepositoryNameAsync ( UpdateRepositoryNameRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CodeCommit.Model.UpdateRepositoryNameRequest Container for the necessary parameters to execute the UpdateRepositoryName operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task