AWS SDK for C++  0.14.3
AWS SDK for C++
Public Types | Public Member Functions | List of all members
Aws::CodeCommit::CodeCommitClient Class Reference

#include <CodeCommitClient.h>

+ Inheritance diagram for Aws::CodeCommit::CodeCommitClient:

Public Types

typedef Aws::Client::AWSJsonClient BASECLASS
 
- Public Types inherited from Aws::Client::AWSJsonClient
typedef AWSClient BASECLASS
 

Public Member Functions

 CodeCommitClient (const Client::ClientConfiguration &clientConfiguration=Client::ClientConfiguration())
 
 CodeCommitClient (const Auth::AWSCredentials &credentials, const Client::ClientConfiguration &clientConfiguration=Client::ClientConfiguration())
 
 CodeCommitClient (const std::shared_ptr< Auth::AWSCredentialsProvider > &credentialsProvider, const Client::ClientConfiguration &clientConfiguration=Client::ClientConfiguration())
 
virtual ~CodeCommitClient ()
 
virtual Model::BatchGetRepositoriesOutcome BatchGetRepositories (const Model::BatchGetRepositoriesRequest &request) const
 
virtual Model::BatchGetRepositoriesOutcomeCallable BatchGetRepositoriesCallable (const Model::BatchGetRepositoriesRequest &request) const
 
virtual void BatchGetRepositoriesAsync (const Model::BatchGetRepositoriesRequest &request, const BatchGetRepositoriesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::CreateBranchOutcome CreateBranch (const Model::CreateBranchRequest &request) const
 
virtual Model::CreateBranchOutcomeCallable CreateBranchCallable (const Model::CreateBranchRequest &request) const
 
virtual void CreateBranchAsync (const Model::CreateBranchRequest &request, const CreateBranchResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::CreateRepositoryOutcome CreateRepository (const Model::CreateRepositoryRequest &request) const
 
virtual Model::CreateRepositoryOutcomeCallable CreateRepositoryCallable (const Model::CreateRepositoryRequest &request) const
 
virtual void CreateRepositoryAsync (const Model::CreateRepositoryRequest &request, const CreateRepositoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::DeleteRepositoryOutcome DeleteRepository (const Model::DeleteRepositoryRequest &request) const
 
virtual Model::DeleteRepositoryOutcomeCallable DeleteRepositoryCallable (const Model::DeleteRepositoryRequest &request) const
 
virtual void DeleteRepositoryAsync (const Model::DeleteRepositoryRequest &request, const DeleteRepositoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetBranchOutcome GetBranch (const Model::GetBranchRequest &request) const
 
virtual Model::GetBranchOutcomeCallable GetBranchCallable (const Model::GetBranchRequest &request) const
 
virtual void GetBranchAsync (const Model::GetBranchRequest &request, const GetBranchResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetCommitOutcome GetCommit (const Model::GetCommitRequest &request) const
 
virtual Model::GetCommitOutcomeCallable GetCommitCallable (const Model::GetCommitRequest &request) const
 
virtual void GetCommitAsync (const Model::GetCommitRequest &request, const GetCommitResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetRepositoryOutcome GetRepository (const Model::GetRepositoryRequest &request) const
 
virtual Model::GetRepositoryOutcomeCallable GetRepositoryCallable (const Model::GetRepositoryRequest &request) const
 
virtual void GetRepositoryAsync (const Model::GetRepositoryRequest &request, const GetRepositoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::GetRepositoryTriggersOutcome GetRepositoryTriggers (const Model::GetRepositoryTriggersRequest &request) const
 
virtual Model::GetRepositoryTriggersOutcomeCallable GetRepositoryTriggersCallable (const Model::GetRepositoryTriggersRequest &request) const
 
virtual void GetRepositoryTriggersAsync (const Model::GetRepositoryTriggersRequest &request, const GetRepositoryTriggersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ListBranchesOutcome ListBranches (const Model::ListBranchesRequest &request) const
 
virtual Model::ListBranchesOutcomeCallable ListBranchesCallable (const Model::ListBranchesRequest &request) const
 
virtual void ListBranchesAsync (const Model::ListBranchesRequest &request, const ListBranchesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::ListRepositoriesOutcome ListRepositories (const Model::ListRepositoriesRequest &request) const
 
virtual Model::ListRepositoriesOutcomeCallable ListRepositoriesCallable (const Model::ListRepositoriesRequest &request) const
 
virtual void ListRepositoriesAsync (const Model::ListRepositoriesRequest &request, const ListRepositoriesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::PutRepositoryTriggersOutcome PutRepositoryTriggers (const Model::PutRepositoryTriggersRequest &request) const
 
virtual Model::PutRepositoryTriggersOutcomeCallable PutRepositoryTriggersCallable (const Model::PutRepositoryTriggersRequest &request) const
 
virtual void PutRepositoryTriggersAsync (const Model::PutRepositoryTriggersRequest &request, const PutRepositoryTriggersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::TestRepositoryTriggersOutcome TestRepositoryTriggers (const Model::TestRepositoryTriggersRequest &request) const
 
virtual Model::TestRepositoryTriggersOutcomeCallable TestRepositoryTriggersCallable (const Model::TestRepositoryTriggersRequest &request) const
 
virtual void TestRepositoryTriggersAsync (const Model::TestRepositoryTriggersRequest &request, const TestRepositoryTriggersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::UpdateDefaultBranchOutcome UpdateDefaultBranch (const Model::UpdateDefaultBranchRequest &request) const
 
virtual Model::UpdateDefaultBranchOutcomeCallable UpdateDefaultBranchCallable (const Model::UpdateDefaultBranchRequest &request) const
 
virtual void UpdateDefaultBranchAsync (const Model::UpdateDefaultBranchRequest &request, const UpdateDefaultBranchResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::UpdateRepositoryDescriptionOutcome UpdateRepositoryDescription (const Model::UpdateRepositoryDescriptionRequest &request) const
 
virtual Model::UpdateRepositoryDescriptionOutcomeCallable UpdateRepositoryDescriptionCallable (const Model::UpdateRepositoryDescriptionRequest &request) const
 
virtual void UpdateRepositoryDescriptionAsync (const Model::UpdateRepositoryDescriptionRequest &request, const UpdateRepositoryDescriptionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
virtual Model::UpdateRepositoryNameOutcome UpdateRepositoryName (const Model::UpdateRepositoryNameRequest &request) const
 
virtual Model::UpdateRepositoryNameOutcomeCallable UpdateRepositoryNameCallable (const Model::UpdateRepositoryNameRequest &request) const
 
virtual void UpdateRepositoryNameAsync (const Model::UpdateRepositoryNameRequest &request, const UpdateRepositoryNameResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
 
- Public Member Functions inherited from Aws::Client::AWSJsonClient
 AWSJsonClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSJsonClient ()=default
 
- Public Member Functions inherited from Aws::Client::AWSClient
 AWSClient (const Aws::Client::ClientConfiguration &configuration, const std::shared_ptr< Aws::Client::AWSAuthSigner > &signer, const std::shared_ptr< AWSErrorMarshaller > &errorMarshaller)
 
virtual ~AWSClient ()
 
Aws::String GeneratePresignedUrl (Aws::Http::URI &uri, Aws::Http::HttpMethod method, long long expirationInSeconds=0)
 
void DisableRequestProcessing ()
 
void EnableRequestProcessing ()
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Client::AWSJsonClient
virtual AWSError< CoreErrorsBuildAWSError (const std::shared_ptr< Aws::Http::HttpResponse > &response) const override
 
JsonOutcome MakeRequest (const Aws::String &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST) const
 
JsonOutcome MakeRequest (const Aws::String &uri, Http::HttpMethod method=Http::HttpMethod::HTTP_POST) const
 
- Protected Member Functions inherited from Aws::Client::AWSClient
HttpResponseOutcome AttemptExhaustively (const Aws::String &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod httpMethod) const
 
HttpResponseOutcome AttemptExhaustively (const Aws::String &uri, Http::HttpMethod httpMethod) const
 
HttpResponseOutcome AttemptOneRequest (const Aws::String &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod httpMethod) const
 
HttpResponseOutcome AttemptOneRequest (const Aws::String &uri, Http::HttpMethod httpMethod) const
 
StreamOutcome MakeRequestWithUnparsedResponse (const Aws::String &uri, const Aws::AmazonWebServiceRequest &request, Http::HttpMethod method=Http::HttpMethod::HTTP_POST) const
 
virtual void BuildHttpRequest (const Aws::AmazonWebServiceRequest &request, const std::shared_ptr< Aws::Http::HttpRequest > &httpRequest) const
 
const std::shared_ptr< AWSErrorMarshaller > & GetErrorMarshaller () const
 

Detailed Description

<fullname>AWS CodeCommit</fullname>

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:

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

Definition at line 181 of file CodeCommitClient.h.

Member Typedef Documentation

Definition at line 184 of file CodeCommitClient.h.

Constructor & Destructor Documentation

Aws::CodeCommit::CodeCommitClient::CodeCommitClient ( const Client::ClientConfiguration clientConfiguration = Client::ClientConfiguration())

Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

Aws::CodeCommit::CodeCommitClient::CodeCommitClient ( const Auth::AWSCredentials credentials,
const Client::ClientConfiguration clientConfiguration = Client::ClientConfiguration() 
)

Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config is not specified, it will be initialized to default values.

Aws::CodeCommit::CodeCommitClient::CodeCommitClient ( const std::shared_ptr< Auth::AWSCredentialsProvider > &  credentialsProvider,
const Client::ClientConfiguration clientConfiguration = Client::ClientConfiguration() 
)

Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, the default http client factory will be used

virtual Aws::CodeCommit::CodeCommitClient::~CodeCommitClient ( )
virtual

Member Function Documentation

virtual Model::BatchGetRepositoriesOutcome Aws::CodeCommit::CodeCommitClient::BatchGetRepositories ( const Model::BatchGetRepositoriesRequest request) const
virtual

Returns information about one or more repositories.

<note>

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.

</note>

virtual void Aws::CodeCommit::CodeCommitClient::BatchGetRepositoriesAsync ( const Model::BatchGetRepositoriesRequest request,
const BatchGetRepositoriesResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns information about one or more repositories.

<note>

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.

</note>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::BatchGetRepositoriesOutcomeCallable Aws::CodeCommit::CodeCommitClient::BatchGetRepositoriesCallable ( const Model::BatchGetRepositoriesRequest request) const
virtual

Returns information about one or more repositories.

<note>

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.

</note>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::CreateBranchOutcome Aws::CodeCommit::CodeCommitClient::CreateBranch ( const Model::CreateBranchRequest request) const
virtual

Creates a new branch in a repository and points the branch to a commit.

<note>

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

</note>

virtual void Aws::CodeCommit::CodeCommitClient::CreateBranchAsync ( const Model::CreateBranchRequest request,
const CreateBranchResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Creates a new branch in a repository and points the branch to a commit.

<note>

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

</note>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::CreateBranchOutcomeCallable Aws::CodeCommit::CodeCommitClient::CreateBranchCallable ( const Model::CreateBranchRequest request) const
virtual

Creates a new branch in a repository and points the branch to a commit.

<note>

Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.

</note>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::CreateRepositoryOutcome Aws::CodeCommit::CodeCommitClient::CreateRepository ( const Model::CreateRepositoryRequest request) const
virtual

Creates a new, empty repository.

virtual void Aws::CodeCommit::CodeCommitClient::CreateRepositoryAsync ( const Model::CreateRepositoryRequest request,
const CreateRepositoryResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Creates a new, empty repository.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::CreateRepositoryOutcomeCallable Aws::CodeCommit::CodeCommitClient::CreateRepositoryCallable ( const Model::CreateRepositoryRequest request) const
virtual

Creates a new, empty repository.

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::DeleteRepositoryOutcome Aws::CodeCommit::CodeCommitClient::DeleteRepository ( const Model::DeleteRepositoryRequest request) const
virtual

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

<important>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.</important>

virtual void Aws::CodeCommit::CodeCommitClient::DeleteRepositoryAsync ( const Model::DeleteRepositoryRequest request,
const DeleteRepositoryResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

<important>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.</important>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::DeleteRepositoryOutcomeCallable Aws::CodeCommit::CodeCommitClient::DeleteRepositoryCallable ( const Model::DeleteRepositoryRequest request) const
virtual

Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.

<important>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.</important>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::GetBranchOutcome Aws::CodeCommit::CodeCommitClient::GetBranch ( const Model::GetBranchRequest request) const
virtual

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

virtual void Aws::CodeCommit::CodeCommitClient::GetBranchAsync ( const Model::GetBranchRequest request,
const GetBranchResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::GetBranchOutcomeCallable Aws::CodeCommit::CodeCommitClient::GetBranchCallable ( const Model::GetBranchRequest request) const
virtual

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

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::GetCommitOutcome Aws::CodeCommit::CodeCommitClient::GetCommit ( const Model::GetCommitRequest request) const
virtual

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

virtual void Aws::CodeCommit::CodeCommitClient::GetCommitAsync ( const Model::GetCommitRequest request,
const GetCommitResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::GetCommitOutcomeCallable Aws::CodeCommit::CodeCommitClient::GetCommitCallable ( const Model::GetCommitRequest request) const
virtual

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

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::GetRepositoryOutcome Aws::CodeCommit::CodeCommitClient::GetRepository ( const Model::GetRepositoryRequest request) const
virtual

Returns information about a repository.

<note>

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.

</note>

virtual void Aws::CodeCommit::CodeCommitClient::GetRepositoryAsync ( const Model::GetRepositoryRequest request,
const GetRepositoryResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Returns information about a repository.

<note>

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.

</note>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::GetRepositoryOutcomeCallable Aws::CodeCommit::CodeCommitClient::GetRepositoryCallable ( const Model::GetRepositoryRequest request) const
virtual

Returns information about a repository.

<note>

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.

</note>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::GetRepositoryTriggersOutcome Aws::CodeCommit::CodeCommitClient::GetRepositoryTriggers ( const Model::GetRepositoryTriggersRequest request) const
virtual

Gets information about triggers configured for a repository.

virtual void Aws::CodeCommit::CodeCommitClient::GetRepositoryTriggersAsync ( const Model::GetRepositoryTriggersRequest request,
const GetRepositoryTriggersResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Gets information about triggers configured for a repository.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::GetRepositoryTriggersOutcomeCallable Aws::CodeCommit::CodeCommitClient::GetRepositoryTriggersCallable ( const Model::GetRepositoryTriggersRequest request) const
virtual

Gets information about triggers configured for a repository.

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::ListBranchesOutcome Aws::CodeCommit::CodeCommitClient::ListBranches ( const Model::ListBranchesRequest request) const
virtual

Gets information about one or more branches in a repository.

virtual void Aws::CodeCommit::CodeCommitClient::ListBranchesAsync ( const Model::ListBranchesRequest request,
const ListBranchesResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Gets information about one or more branches in a repository.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::ListBranchesOutcomeCallable Aws::CodeCommit::CodeCommitClient::ListBranchesCallable ( const Model::ListBranchesRequest request) const
virtual

Gets information about one or more branches in a repository.

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::ListRepositoriesOutcome Aws::CodeCommit::CodeCommitClient::ListRepositories ( const Model::ListRepositoriesRequest request) const
virtual

Gets information about one or more repositories.

virtual void Aws::CodeCommit::CodeCommitClient::ListRepositoriesAsync ( const Model::ListRepositoriesRequest request,
const ListRepositoriesResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Gets information about one or more repositories.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::ListRepositoriesOutcomeCallable Aws::CodeCommit::CodeCommitClient::ListRepositoriesCallable ( const Model::ListRepositoriesRequest request) const
virtual

Gets information about one or more repositories.

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::PutRepositoryTriggersOutcome Aws::CodeCommit::CodeCommitClient::PutRepositoryTriggers ( const Model::PutRepositoryTriggersRequest request) const
virtual

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

virtual void Aws::CodeCommit::CodeCommitClient::PutRepositoryTriggersAsync ( const Model::PutRepositoryTriggersRequest request,
const PutRepositoryTriggersResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::PutRepositoryTriggersOutcomeCallable Aws::CodeCommit::CodeCommitClient::PutRepositoryTriggersCallable ( const Model::PutRepositoryTriggersRequest request) const
virtual

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

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::TestRepositoryTriggersOutcome Aws::CodeCommit::CodeCommitClient::TestRepositoryTriggers ( const Model::TestRepositoryTriggersRequest request) const
virtual

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.

virtual void Aws::CodeCommit::CodeCommitClient::TestRepositoryTriggersAsync ( const Model::TestRepositoryTriggersRequest request,
const TestRepositoryTriggersResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::TestRepositoryTriggersOutcomeCallable Aws::CodeCommit::CodeCommitClient::TestRepositoryTriggersCallable ( const Model::TestRepositoryTriggersRequest request) const
virtual

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.

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::UpdateDefaultBranchOutcome Aws::CodeCommit::CodeCommitClient::UpdateDefaultBranch ( const Model::UpdateDefaultBranchRequest request) const
virtual

Sets or changes the default branch name for the specified repository.

<note>

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.

</note>

virtual void Aws::CodeCommit::CodeCommitClient::UpdateDefaultBranchAsync ( const Model::UpdateDefaultBranchRequest request,
const UpdateDefaultBranchResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Sets or changes the default branch name for the specified repository.

<note>

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.

</note>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::UpdateDefaultBranchOutcomeCallable Aws::CodeCommit::CodeCommitClient::UpdateDefaultBranchCallable ( const Model::UpdateDefaultBranchRequest request) const
virtual

Sets or changes the default branch name for the specified repository.

<note>

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.

</note>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::UpdateRepositoryDescriptionOutcome Aws::CodeCommit::CodeCommitClient::UpdateRepositoryDescription ( const Model::UpdateRepositoryDescriptionRequest request) const
virtual

Sets or changes the comment or description for a repository.

<note>

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.

</note>

virtual void Aws::CodeCommit::CodeCommitClient::UpdateRepositoryDescriptionAsync ( const Model::UpdateRepositoryDescriptionRequest request,
const UpdateRepositoryDescriptionResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

Sets or changes the comment or description for a repository.

<note>

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.

</note>

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::UpdateRepositoryDescriptionOutcomeCallable Aws::CodeCommit::CodeCommitClient::UpdateRepositoryDescriptionCallable ( const Model::UpdateRepositoryDescriptionRequest request) const
virtual

Sets or changes the comment or description for a repository.

<note>

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.

</note>

returns a future to the operation so that it can be executed in parallel to other requests.

virtual Model::UpdateRepositoryNameOutcome Aws::CodeCommit::CodeCommitClient::UpdateRepositoryName ( const Model::UpdateRepositoryNameRequest request) const
virtual

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.

virtual void Aws::CodeCommit::CodeCommitClient::UpdateRepositoryNameAsync ( const Model::UpdateRepositoryNameRequest request,
const UpdateRepositoryNameResponseReceivedHandler handler,
const std::shared_ptr< const Aws::Client::AsyncCallerContext > &  context = nullptr 
) const
virtual

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.

Queues the request into a thread executor and triggers associated callback when operation has finished.

virtual Model::UpdateRepositoryNameOutcomeCallable Aws::CodeCommit::CodeCommitClient::UpdateRepositoryNameCallable ( const Model::UpdateRepositoryNameRequest request) const
virtual

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.

returns a future to the operation so that it can be executed in parallel to other requests.


The documentation for this class was generated from the following file: