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
Afficher le fichier Open project: aws/aws-sdk-net

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

Constructs AmazonCodeCommitClient with AWS Credentials
public AmazonCodeCommitClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
Résultat System

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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.
Résultat System

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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.
Résultat System

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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
Résultat System

AmazonCodeCommitClient() public méthode

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.
Résultat System

BatchGetRepositories() public méthode

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.
Résultat Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

BatchGetRepositoriesAsync() public méthode

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. ///
Résultat Task

BeginBatchGetRepositories() public méthode

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.
Résultat IAsyncResult

BeginCreateBranch() public méthode

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.
Résultat IAsyncResult

BeginCreateRepository() public méthode

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.
Résultat IAsyncResult

BeginDeleteRepository() public méthode

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.
Résultat IAsyncResult

BeginGetBranch() public méthode

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.
Résultat IAsyncResult

BeginGetCommit() public méthode

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.
Résultat IAsyncResult

BeginGetRepository() public méthode

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.
Résultat IAsyncResult

BeginGetRepositoryTriggers() public méthode

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.
Résultat IAsyncResult

BeginListBranches() public méthode

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.
Résultat IAsyncResult

BeginListRepositories() public méthode

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.
Résultat IAsyncResult

BeginPutRepositoryTriggers() public méthode

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.
Résultat IAsyncResult

BeginTestRepositoryTriggers() public méthode

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.
Résultat IAsyncResult

BeginUpdateDefaultBranch() public méthode

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.
Résultat IAsyncResult

BeginUpdateRepositoryDescription() public méthode

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.
Résultat IAsyncResult

BeginUpdateRepositoryName() public méthode

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.
Résultat IAsyncResult

CreateBranch() public méthode

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.
Résultat CreateBranchResponse

CreateBranchAsync() public méthode

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. ///
Résultat Task

CreateRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.CreateRepositoryResponse

CreateRepositoryAsync() public méthode

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. ///
Résultat Task

CreateSigner() protected méthode

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

DeleteRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.DeleteRepositoryResponse

DeleteRepositoryAsync() public méthode

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. ///
Résultat Task

Dispose() protected méthode

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndBatchGetRepositories() public méthode

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.
Résultat Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

EndCreateBranch() public méthode

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

EndCreateRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.CreateRepositoryResponse

EndDeleteRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.DeleteRepositoryResponse

EndGetBranch() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetBranchResponse

EndGetCommit() public méthode

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

EndGetRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetRepositoryResponse

EndGetRepositoryTriggers() public méthode

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

EndListBranches() public méthode

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.
Résultat Amazon.CodeCommit.Model.ListBranchesResponse

EndListRepositories() public méthode

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.
Résultat Amazon.CodeCommit.Model.ListRepositoriesResponse

EndPutRepositoryTriggers() public méthode

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

EndTestRepositoryTriggers() public méthode

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

EndUpdateDefaultBranch() public méthode

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

EndUpdateRepositoryDescription() public méthode

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

EndUpdateRepositoryName() public méthode

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

GetBranch() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetBranchResponse

GetBranchAsync() public méthode

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. ///
Résultat Task

GetCommit() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetCommitResponse

GetCommitAsync() public méthode

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. ///
Résultat Task

GetRepository() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetRepositoryResponse

GetRepositoryAsync() public méthode

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. ///
Résultat Task

GetRepositoryTriggers() public méthode

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.
Résultat Amazon.CodeCommit.Model.GetRepositoryTriggersResponse

GetRepositoryTriggersAsync() public méthode

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. ///
Résultat Task

ListBranches() public méthode

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.
Résultat Amazon.CodeCommit.Model.ListBranchesResponse

ListBranchesAsync() public méthode

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. ///
Résultat Task

ListRepositories() public méthode

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.
Résultat Amazon.CodeCommit.Model.ListRepositoriesResponse

ListRepositoriesAsync() public méthode

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. ///
Résultat Task

PutRepositoryTriggers() public méthode

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.
Résultat Amazon.CodeCommit.Model.PutRepositoryTriggersResponse

PutRepositoryTriggersAsync() public méthode

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. ///
Résultat Task

TestRepositoryTriggers() public méthode

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.
Résultat Amazon.CodeCommit.Model.TestRepositoryTriggersResponse

TestRepositoryTriggersAsync() public méthode

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. ///
Résultat Task

UpdateDefaultBranch() public méthode

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.
Résultat UpdateDefaultBranchResponse

UpdateDefaultBranchAsync() public méthode

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. ///
Résultat Task

UpdateRepositoryDescription() public méthode

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.
Résultat UpdateRepositoryDescriptionResponse

UpdateRepositoryDescriptionAsync() public méthode

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. ///
Résultat Task

UpdateRepositoryName() public méthode

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.
Résultat UpdateRepositoryNameResponse

UpdateRepositoryNameAsync() public méthode

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. ///
Résultat Task