C# Класс 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.

Наследование: AmazonServiceClient, IAmazonCodeCommit
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Описание методов

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

Constructs AmazonCodeCommitClient with AWS Credentials
public AmazonCodeCommitClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

Constructs AmazonCodeCommitClient with AWS Credentials
public AmazonCodeCommitClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

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.
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

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.
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

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
Результат System

AmazonCodeCommitClient() публичный Метод

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.
Результат System

BatchGetRepositories() публичный Метод

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.
Результат Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

BatchGetRepositoriesAsync() публичный Метод

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. ///
Результат Task

BeginBatchGetRepositories() публичный Метод

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.
Результат IAsyncResult

BeginCreateBranch() публичный Метод

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.
Результат IAsyncResult

BeginCreateRepository() публичный Метод

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.
Результат IAsyncResult

BeginDeleteRepository() публичный Метод

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.
Результат IAsyncResult

BeginGetBranch() публичный Метод

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.
Результат IAsyncResult

BeginGetCommit() публичный Метод

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.
Результат IAsyncResult

BeginGetRepository() публичный Метод

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.
Результат IAsyncResult

BeginGetRepositoryTriggers() публичный Метод

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.
Результат IAsyncResult

BeginListBranches() публичный Метод

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.
Результат IAsyncResult

BeginListRepositories() публичный Метод

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.
Результат IAsyncResult

BeginPutRepositoryTriggers() публичный Метод

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.
Результат IAsyncResult

BeginTestRepositoryTriggers() публичный Метод

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.
Результат IAsyncResult

BeginUpdateDefaultBranch() публичный Метод

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.
Результат IAsyncResult

BeginUpdateRepositoryDescription() публичный Метод

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.
Результат IAsyncResult

BeginUpdateRepositoryName() публичный Метод

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.
Результат IAsyncResult

CreateBranch() публичный Метод

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.
Результат CreateBranchResponse

CreateBranchAsync() публичный Метод

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. ///
Результат Task

CreateRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.CreateRepositoryResponse

CreateRepositoryAsync() публичный Метод

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. ///
Результат Task

CreateSigner() защищенный Метод

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
Результат Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.DeleteRepositoryResponse

DeleteRepositoryAsync() публичный Метод

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. ///
Результат Task

Dispose() защищенный Метод

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndBatchGetRepositories() публичный Метод

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.
Результат Amazon.CodeCommit.Model.BatchGetRepositoriesResponse

EndCreateBranch() публичный Метод

Finishes the asynchronous execution of the CreateBranch operation.
public EndCreateBranch ( IAsyncResult asyncResult ) : CreateBranchResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateBranch.
Результат CreateBranchResponse

EndCreateRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.CreateRepositoryResponse

EndDeleteRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.DeleteRepositoryResponse

EndGetBranch() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetBranchResponse

EndGetCommit() публичный Метод

Finishes the asynchronous execution of the GetCommit operation.
public EndGetCommit ( IAsyncResult asyncResult ) : GetCommitResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetCommit.
Результат Amazon.CodeCommit.Model.GetCommitResponse

EndGetRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetRepositoryResponse

EndGetRepositoryTriggers() публичный Метод

Finishes the asynchronous execution of the GetRepositoryTriggers operation.
public EndGetRepositoryTriggers ( IAsyncResult asyncResult ) : GetRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginGetRepositoryTriggers.
Результат Amazon.CodeCommit.Model.GetRepositoryTriggersResponse

EndListBranches() публичный Метод

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.
Результат Amazon.CodeCommit.Model.ListBranchesResponse

EndListRepositories() публичный Метод

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.
Результат Amazon.CodeCommit.Model.ListRepositoriesResponse

EndPutRepositoryTriggers() публичный Метод

Finishes the asynchronous execution of the PutRepositoryTriggers operation.
public EndPutRepositoryTriggers ( IAsyncResult asyncResult ) : PutRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutRepositoryTriggers.
Результат Amazon.CodeCommit.Model.PutRepositoryTriggersResponse

EndTestRepositoryTriggers() публичный Метод

Finishes the asynchronous execution of the TestRepositoryTriggers operation.
public EndTestRepositoryTriggers ( IAsyncResult asyncResult ) : TestRepositoryTriggersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginTestRepositoryTriggers.
Результат Amazon.CodeCommit.Model.TestRepositoryTriggersResponse

EndUpdateDefaultBranch() публичный Метод

Finishes the asynchronous execution of the UpdateDefaultBranch operation.
public EndUpdateDefaultBranch ( IAsyncResult asyncResult ) : UpdateDefaultBranchResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateDefaultBranch.
Результат UpdateDefaultBranchResponse

EndUpdateRepositoryDescription() публичный Метод

Finishes the asynchronous execution of the UpdateRepositoryDescription operation.
public EndUpdateRepositoryDescription ( IAsyncResult asyncResult ) : UpdateRepositoryDescriptionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateRepositoryDescription.
Результат UpdateRepositoryDescriptionResponse

EndUpdateRepositoryName() публичный Метод

Finishes the asynchronous execution of the UpdateRepositoryName operation.
public EndUpdateRepositoryName ( IAsyncResult asyncResult ) : UpdateRepositoryNameResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateRepositoryName.
Результат UpdateRepositoryNameResponse

GetBranch() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetBranchResponse

GetBranchAsync() публичный Метод

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. ///
Результат Task

GetCommit() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetCommitResponse

GetCommitAsync() публичный Метод

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. ///
Результат Task

GetRepository() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetRepositoryResponse

GetRepositoryAsync() публичный Метод

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. ///
Результат Task

GetRepositoryTriggers() публичный Метод

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.
Результат Amazon.CodeCommit.Model.GetRepositoryTriggersResponse

GetRepositoryTriggersAsync() публичный Метод

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. ///
Результат Task

ListBranches() публичный Метод

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.
Результат Amazon.CodeCommit.Model.ListBranchesResponse

ListBranchesAsync() публичный Метод

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. ///
Результат Task

ListRepositories() публичный Метод

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.
Результат Amazon.CodeCommit.Model.ListRepositoriesResponse

ListRepositoriesAsync() публичный Метод

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. ///
Результат Task

PutRepositoryTriggers() публичный Метод

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.
Результат Amazon.CodeCommit.Model.PutRepositoryTriggersResponse

PutRepositoryTriggersAsync() публичный Метод

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. ///
Результат Task

TestRepositoryTriggers() публичный Метод

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.
Результат Amazon.CodeCommit.Model.TestRepositoryTriggersResponse

TestRepositoryTriggersAsync() публичный Метод

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. ///
Результат Task

UpdateDefaultBranch() публичный Метод

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.
Результат UpdateDefaultBranchResponse

UpdateDefaultBranchAsync() публичный Метод

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. ///
Результат Task

UpdateRepositoryDescription() публичный Метод

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.
Результат UpdateRepositoryDescriptionResponse

UpdateRepositoryDescriptionAsync() публичный Метод

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. ///
Результат Task

UpdateRepositoryName() публичный Метод

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.
Результат UpdateRepositoryNameResponse

UpdateRepositoryNameAsync() публичный Метод

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. ///
Результат Task