/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the codecommit-2015-04-13.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CodeCommit.Model;
namespace Amazon.CodeCommit
{
///
/// Interface 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 along with usage examples.
///
///
///
/// 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 can access it until you
/// send them the new HTTPS or SSH URL to use.
///
///
///
/// Branches, by calling the following:
///
/// -
///
/// CreateBranch, which creates a branch in a specified repository.
///
///
-
///
/// DeleteBranch, which deletes the specified branch in a repository unless it
/// is the default branch.
///
///
-
///
/// 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.
///
///
///
/// Files, by calling the following:
///
/// -
///
/// DeleteFile, which deletes the content of a specified file from a specified
/// branch.
///
///
-
///
/// GetBlob, which returns the base-64 encoded content of an individual Git blob
/// object in a repository.
///
///
-
///
/// GetFile, which returns the base-64 encoded content of a specified file.
///
///
-
///
/// GetFolder, which returns the contents of a specified folder or directory.
///
///
-
///
/// PutFile, which adds or modifies a single file in a specified repository and
/// branch.
///
///
///
/// Commits, by calling the following:
///
/// -
///
/// BatchGetCommits, which returns information about one or more commits in a
/// repository.
///
///
-
///
/// CreateCommit, which creates a commit for changes to a repository.
///
///
-
///
/// GetCommit, which returns information about a commit, including commit messages
/// and author and committer information.
///
///
-
///
/// GetDifferences, which returns information about the differences in a valid
/// commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified
/// reference).
///
///
///
/// Merges, by calling the following:
///
/// -
///
/// BatchDescribeMergeConflicts, which returns information about conflicts in
/// a merge between commits in a repository.
///
///
-
///
/// CreateUnreferencedMergeCommit, which creates an unreferenced commit between
/// two branches or commits for the purpose of comparing them and identifying any potential
/// conflicts.
///
///
-
///
/// DescribeMergeConflicts, which returns information about merge conflicts between
/// the base, source, and destination versions of a file in a potential merge.
///
///
-
///
/// GetMergeCommit, which returns information about the merge between a source
/// and destination commit.
///
///
-
///
/// GetMergeConflicts, which returns information about merge conflicts between
/// the source and destination branch in a pull request.
///
///
-
///
/// GetMergeOptions, which returns information about the available merge options
/// between two branches or commit specifiers.
///
///
-
///
/// MergeBranchesByFastForward, which merges two branches using the fast-forward
/// merge option.
///
///
-
///
/// MergeBranchesBySquash, which merges two branches using the squash merge option.
///
///
-
///
/// MergeBranchesByThreeWay, which merges two branches using the three-way merge
/// option.
///
///
///
/// Pull requests, by calling the following:
///
/// -
///
/// CreatePullRequest, which creates a pull request in a specified repository.
///
///
-
///
/// CreatePullRequestApprovalRule, which creates an approval rule for a specified
/// pull request.
///
///
-
///
/// DeletePullRequestApprovalRule, which deletes an approval rule for a specified
/// pull request.
///
///
-
///
/// DescribePullRequestEvents, which returns information about one or more pull
/// request events.
///
///
-
///
/// EvaluatePullRequestApprovalRules, which evaluates whether a pull request has
/// met all the conditions specified in its associated approval rules.
///
///
-
///
/// GetCommentsForPullRequest, which returns information about comments on a specified
/// pull request.
///
///
-
///
/// GetPullRequest, which returns information about a specified pull request.
///
///
-
///
/// GetPullRequestApprovalStates, which returns information about the approval
/// states for a specified pull request.
///
///
-
///
/// GetPullRequestOverrideState, which returns information about whether approval
/// rules have been set aside (overriden) for a pull request, and if so, the Amazon Resource
/// Name (ARN) of the user or identity that overrode the rules and their requirements
/// for the pull request.
///
///
-
///
/// ListPullRequests, which lists all pull requests for a repository.
///
///
-
///
/// MergePullRequestByFastForward, which merges the source destination branch
/// of a pull request into the specified destination branch for that pull request using
/// the fast-forward merge option.
///
///
-
///
/// MergePullRequestBySquash, which merges the source destination branch of a
/// pull request into the specified destination branch for that pull request using the
/// squash merge option.
///
///
-
///
/// MergePullRequestByThreeWay. which merges the source destination branch of
/// a pull request into the specified destination branch for that pull request using the
/// three-way merge option.
///
///
-
///
/// OverridePullRequestApprovalRules, which sets aside all approval rule requirements
/// for a pull request.
///
///
-
///
/// PostCommentForPullRequest, which posts a comment to a pull request at the
/// specified line, file, or request.
///
///
-
///
/// UpdatePullRequestApprovalRuleContent, which updates the structure of an approval
/// rule for a pull request.
///
///
-
///
/// UpdatePullRequestApprovalState, which updates the state of an approval on
/// a pull request.
///
///
-
///
/// UpdatePullRequestDescription, which updates the description of a pull request.
///
///
-
///
/// UpdatePullRequestStatus, which updates the status of a pull request.
///
///
-
///
/// UpdatePullRequestTitle, which updates the title of a pull request.
///
///
///
/// Approval rule templates, by calling the following:
///
/// -
///
/// AssociateApprovalRuleTemplateWithRepository, which associates a template with
/// a specified repository. After the template is associated with a repository, AWS CodeCommit
/// creates approval rules that match the template conditions on every pull request created
/// in the specified repository.
///
///
-
///
/// BatchAssociateApprovalRuleTemplateWithRepositories, which associates a template
/// with one or more specified repositories. After the template is associated with a repository,
/// AWS CodeCommit creates approval rules that match the template conditions on every
/// pull request created in the specified repositories.
///
///
-
///
/// BatchDisassociateApprovalRuleTemplateFromRepositories, which removes the association
/// between a template and specified repositories so that approval rules based on the
/// template are not automatically created when pull requests are created in those repositories.
///
///
-
///
/// CreateApprovalRuleTemplate, which creates a template for approval rules that
/// can then be associated with one or more repositories in your AWS account.
///
///
-
///
/// DeleteApprovalRuleTemplate, which deletes the specified template. It does
/// not remove approval rules on pull requests already created with the template.
///
///
-
///
/// DisassociateApprovalRuleTemplateFromRepository, which removes the association
/// between a template and a repository so that approval rules based on the template are
/// not automatically created when pull requests are created in the specified repository.
///
///
-
///
/// GetApprovalRuleTemplate, which returns information about an approval rule
/// template.
///
///
-
///
/// ListApprovalRuleTemplates, which lists all approval rule templates in the
/// AWS Region in your AWS account.
///
///
-
///
/// ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval
/// rule templates that are associated with a specified repository.
///
///
-
///
/// ListRepositoriesForApprovalRuleTemplate, which lists all repositories associated
/// with the specified approval rule template.
///
///
-
///
/// UpdateApprovalRuleTemplateDescription, which updates the description of an
/// approval rule template.
///
///
-
///
/// UpdateApprovalRuleTemplateName, which updates the name of an approval rule
/// template.
///
///
-
///
/// UpdateApprovalRuleTemplateContent, which updates the content of an approval
/// rule template.
///
///
///
/// Comments in a repository, by calling the following:
///
/// -
///
/// DeleteCommentContent, which deletes the content of a comment on a commit in
/// a repository.
///
///
-
///
/// GetComment, which returns information about a comment on a commit.
///
///
-
///
/// GetCommentReactions, which returns information about emoji reactions to comments.
///
///
-
///
/// GetCommentsForComparedCommit, which returns information about comments on
/// the comparison between two commit specifiers in a repository.
///
///
-
///
/// PostCommentForComparedCommit, which creates a comment on the comparison between
/// two commit specifiers in a repository.
///
///
-
///
/// PostCommentReply, which creates a reply to a comment.
///
///
-
///
/// PutCommentReaction, which creates or updates an emoji reaction to a comment.
///
///
-
///
/// UpdateComment, which updates the content of a comment on a commit in a repository.
///
///
///
/// Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:
///
/// -
///
/// ListTagsForResource, which gets information about AWS tags for a specified
/// Amazon Resource Name (ARN) in AWS CodeCommit.
///
///
-
///
/// TagResource, which adds or updates tags for a resource in AWS CodeCommit.
///
///
-
///
/// UntagResource, which removes tags for a resource in AWS CodeCommit.
///
///
///
/// 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.
///
///
public partial interface IAmazonCodeCommit : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ICodeCommitPaginatorFactory Paginators { get; }
#endif
#region AssociateApprovalRuleTemplateWithRepository
///
/// Creates an association between an approval rule template and a specified repository.
/// Then, the next time a pull request is created in the repository where the destination
/// reference (if specified) matches the destination reference (branch) for the pull request,
/// an approval rule that matches the template conditions is automatically created for
/// that pull request. If no destination references are specified in the template, an
/// approval rule that matches the template contents is created for all pull requests
/// in that repository.
///
/// Container for the necessary parameters to execute the AssociateApprovalRuleTemplateWithRepository service method.
///
/// The response from the AssociateApprovalRuleTemplateWithRepository service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template 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 name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 approval rule templates for a repository has been exceeded.
/// You cannot associate more than 25 approval rule templates with a repository.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation
AssociateApprovalRuleTemplateWithRepositoryResponse AssociateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest request);
///
/// Initiates the asynchronous execution of the AssociateApprovalRuleTemplateWithRepository operation.
///
///
/// Container for the necessary parameters to execute the AssociateApprovalRuleTemplateWithRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApprovalRuleTemplateWithRepository
/// operation.
/// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation
IAsyncResult BeginAssociateApprovalRuleTemplateWithRepository(AssociateApprovalRuleTemplateWithRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the AssociateApprovalRuleTemplateWithRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateApprovalRuleTemplateWithRepository.
///
/// Returns a AssociateApprovalRuleTemplateWithRepositoryResult from CodeCommit.
/// REST API Reference for AssociateApprovalRuleTemplateWithRepository Operation
AssociateApprovalRuleTemplateWithRepositoryResponse EndAssociateApprovalRuleTemplateWithRepository(IAsyncResult asyncResult);
#endregion
#region BatchAssociateApprovalRuleTemplateWithRepositories
///
/// Creates an association between an approval rule template and one or more specified
/// repositories.
///
/// Container for the necessary parameters to execute the BatchAssociateApprovalRuleTemplateWithRepositories service method.
///
/// The response from the BatchAssociateApprovalRuleTemplateWithRepositories service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template 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 name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// The maximum number of allowed repository names was exceeded. Currently, this number
/// is 100.
///
///
/// At least one repository name object is required, but was not specified.
///
/// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse BatchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request);
///
/// Initiates the asynchronous execution of the BatchAssociateApprovalRuleTemplateWithRepositories operation.
///
///
/// Container for the necessary parameters to execute the BatchAssociateApprovalRuleTemplateWithRepositories operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchAssociateApprovalRuleTemplateWithRepositories
/// operation.
/// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation
IAsyncResult BeginBatchAssociateApprovalRuleTemplateWithRepositories(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the BatchAssociateApprovalRuleTemplateWithRepositories operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchAssociateApprovalRuleTemplateWithRepositories.
///
/// Returns a BatchAssociateApprovalRuleTemplateWithRepositoriesResult from CodeCommit.
/// REST API Reference for BatchAssociateApprovalRuleTemplateWithRepositories Operation
BatchAssociateApprovalRuleTemplateWithRepositoriesResponse EndBatchAssociateApprovalRuleTemplateWithRepositories(IAsyncResult asyncResult);
#endregion
#region BatchDescribeMergeConflicts
///
/// Returns information about one or more merge conflicts in the attempted merge of two
/// commit specifiers using the squash or three-way merge strategy.
///
/// Container for the necessary parameters to execute the BatchDescribeMergeConflicts service method.
///
/// The response from the BatchDescribeMergeConflicts service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified value for the number of conflict files to return is not valid.
///
///
/// The specified value for the number of merge hunks to return is not valid.
///
///
/// The specified merge option is not valid for this operation. Not all merge strategies
/// are supported for all operations.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// A merge option or stategy is required, and none was provided.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for BatchDescribeMergeConflicts Operation
BatchDescribeMergeConflictsResponse BatchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest request);
///
/// Initiates the asynchronous execution of the BatchDescribeMergeConflicts operation.
///
///
/// Container for the necessary parameters to execute the BatchDescribeMergeConflicts operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDescribeMergeConflicts
/// operation.
/// REST API Reference for BatchDescribeMergeConflicts Operation
IAsyncResult BeginBatchDescribeMergeConflicts(BatchDescribeMergeConflictsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the BatchDescribeMergeConflicts operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchDescribeMergeConflicts.
///
/// Returns a BatchDescribeMergeConflictsResult from CodeCommit.
/// REST API Reference for BatchDescribeMergeConflicts Operation
BatchDescribeMergeConflictsResponse EndBatchDescribeMergeConflicts(IAsyncResult asyncResult);
#endregion
#region BatchDisassociateApprovalRuleTemplateFromRepositories
///
/// Removes the association between an approval rule template and one or more specified
/// repositories.
///
/// Container for the necessary parameters to execute the BatchDisassociateApprovalRuleTemplateFromRepositories service method.
///
/// The response from the BatchDisassociateApprovalRuleTemplateFromRepositories service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template 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 name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// The maximum number of allowed repository names was exceeded. Currently, this number
/// is 100.
///
///
/// At least one repository name object is required, but was not specified.
///
/// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse BatchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request);
///
/// Initiates the asynchronous execution of the BatchDisassociateApprovalRuleTemplateFromRepositories operation.
///
///
/// Container for the necessary parameters to execute the BatchDisassociateApprovalRuleTemplateFromRepositories operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDisassociateApprovalRuleTemplateFromRepositories
/// operation.
/// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation
IAsyncResult BeginBatchDisassociateApprovalRuleTemplateFromRepositories(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the BatchDisassociateApprovalRuleTemplateFromRepositories operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchDisassociateApprovalRuleTemplateFromRepositories.
///
/// Returns a BatchDisassociateApprovalRuleTemplateFromRepositoriesResult from CodeCommit.
/// REST API Reference for BatchDisassociateApprovalRuleTemplateFromRepositories Operation
BatchDisassociateApprovalRuleTemplateFromRepositoriesResponse EndBatchDisassociateApprovalRuleTemplateFromRepositories(IAsyncResult asyncResult);
#endregion
#region BatchGetCommits
///
/// Returns information about the contents of one or more commits in a repository.
///
/// Container for the necessary parameters to execute the BatchGetCommits service method.
///
/// The response from the BatchGetCommits service method, as returned by CodeCommit.
///
/// The maximum number of allowed commit IDs in a batch request is 100. Verify that your
/// batch requests contains no more than 100 commit IDs, and then try again.
///
///
/// A list of commit IDs is required, but was either not specified or the list was empty.
///
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for BatchGetCommits Operation
BatchGetCommitsResponse BatchGetCommits(BatchGetCommitsRequest request);
///
/// Initiates the asynchronous execution of the BatchGetCommits operation.
///
///
/// Container for the necessary parameters to execute the BatchGetCommits operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetCommits
/// operation.
/// REST API Reference for BatchGetCommits Operation
IAsyncResult BeginBatchGetCommits(BatchGetCommitsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the BatchGetCommits operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetCommits.
///
/// Returns a BatchGetCommitsResult from CodeCommit.
/// REST API Reference for BatchGetCommits Operation
BatchGetCommitsResponse EndBatchGetCommits(IAsyncResult asyncResult);
#endregion
#region 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 webpage can 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 webpage.
///
///
///
/// Container for the necessary parameters to execute the BatchGetRepositories service method.
///
/// The response from the BatchGetRepositories service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 100.
///
///
/// At least one repository name object is required, but was not specified.
///
/// REST API Reference for BatchGetRepositories Operation
BatchGetRepositoriesResponse BatchGetRepositories(BatchGetRepositoriesRequest request);
///
/// Initiates the asynchronous execution of the BatchGetRepositories operation.
///
///
/// Container for the necessary parameters to execute the BatchGetRepositories operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetRepositories
/// operation.
/// REST API Reference for BatchGetRepositories Operation
IAsyncResult BeginBatchGetRepositories(BatchGetRepositoriesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the BatchGetRepositories operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetRepositories.
///
/// Returns a BatchGetRepositoriesResult from CodeCommit.
/// REST API Reference for BatchGetRepositories Operation
BatchGetRepositoriesResponse EndBatchGetRepositories(IAsyncResult asyncResult);
#endregion
#region CreateApprovalRuleTemplate
///
/// Creates a template for approval rules that can then be associated with one or more
/// repositories in your AWS account. When you associate a template with a repository,
/// AWS CodeCommit creates an approval rule that matches the conditions of the template
/// for all pull requests that meet the conditions of the template. For more information,
/// see AssociateApprovalRuleTemplateWithRepository.
///
/// Container for the necessary parameters to execute the CreateApprovalRuleTemplate service method.
///
/// The response from the CreateApprovalRuleTemplate service method, as returned by CodeCommit.
///
/// The content for the approval rule template is empty. You must provide some content
/// for an approval rule template. The content cannot be null.
///
///
/// You cannot create an approval rule template with that name because a template with
/// that name already exists in this AWS Region for your AWS account. Approval rule template
/// names must be unique.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The content of the approval rule template is not valid.
///
///
/// The description for the approval rule template is not valid because it exceeds the
/// maximum characters allowed for a description. For more information about limits in
/// AWS CodeCommit, see AWS
/// CodeCommit User Guide.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// The maximum number of approval rule templates has been exceeded for this AWS Region.
///
/// REST API Reference for CreateApprovalRuleTemplate Operation
CreateApprovalRuleTemplateResponse CreateApprovalRuleTemplate(CreateApprovalRuleTemplateRequest request);
///
/// Initiates the asynchronous execution of the CreateApprovalRuleTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateApprovalRuleTemplate operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApprovalRuleTemplate
/// operation.
/// REST API Reference for CreateApprovalRuleTemplate Operation
IAsyncResult BeginCreateApprovalRuleTemplate(CreateApprovalRuleTemplateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateApprovalRuleTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApprovalRuleTemplate.
///
/// Returns a CreateApprovalRuleTemplateResult from CodeCommit.
/// REST API Reference for CreateApprovalRuleTemplate Operation
CreateApprovalRuleTemplateResponse EndCreateApprovalRuleTemplate(IAsyncResult asyncResult);
#endregion
#region CreateBranch
///
/// Creates a 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.
///
///
///
/// Container for the necessary parameters to execute the CreateBranch service method.
///
/// The response from the CreateBranch service method, as returned by CodeCommit.
///
/// Cannot create the branch with the specified name because the commit conflicts with
/// an existing branch with the same name. Branch names must be unique.
///
///
/// 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 reference name is not valid.
///
///
/// The specified commit ID is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for CreateBranch Operation
CreateBranchResponse CreateBranch(CreateBranchRequest request);
///
/// Initiates the asynchronous execution of the CreateBranch operation.
///
///
/// Container for the necessary parameters to execute the CreateBranch operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBranch
/// operation.
/// REST API Reference for CreateBranch Operation
IAsyncResult BeginCreateBranch(CreateBranchRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateBranch operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBranch.
///
/// Returns a CreateBranchResult from CodeCommit.
/// REST API Reference for CreateBranch Operation
CreateBranchResponse EndCreateBranch(IAsyncResult asyncResult);
#endregion
#region CreateCommit
///
/// Creates a commit for a repository on the tip of a specified branch.
///
/// Container for the necessary parameters to execute the CreateCommit service method.
///
/// The response from the CreateCommit service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// A branch name is required, but was not specified.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// A file cannot be added to the repository because the specified path name has the same
/// name as a file that already exists in this repository. Either provide a different
/// name for the file, or specify a different path for the file.
///
///
/// 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 commit cannot be created because both a source file and file content have been
/// specified for the same file. You cannot provide both. Either specify a source file
/// or provide the file content directly.
///
///
/// The file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The specified file does not exist. Verify that you have used the correct file name,
/// full path, and extension.
///
///
/// The commit cannot be created because no files have been specified as added, updated,
/// or changed (PutFile or DeleteFile) for the commit.
///
///
/// The commit cannot be created because no file mode has been specified. A file mode
/// is required to update mode permissions for a file.
///
///
/// A file cannot be added to the repository because the specified file name has the same
/// name as a directory in this repository. Either provide another name for the file,
/// or add the file in a directory that does not match the file name.
///
///
/// The commit cannot be created because a specified file path points to a submodule.
/// Verify that the destination files have valid file paths that do not point to a submodule.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified reference name is not valid.
///
///
/// The specified deletion parameter is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The parent commit ID is not valid. The commit ID cannot be empty, and must match the
/// head commit ID for the branch of the repository where you want to add or update a
/// file.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 number of specified files to change as part of this commit exceeds the maximum
/// number of files that can be changed in a single commit. Consider using a Git client
/// for these changes.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The commit cannot be created because no changes will be made to the repository as
/// a result of this commit. A commit must contain at least one change.
///
///
/// The parent commit ID is not valid because it does not exist. The specified parent
/// commit ID does not exist in the specified branch of the repository.
///
///
/// The file could not be added because the provided parent commit ID is not the current
/// tip of the specified branch. To view the full commit ID of the current head of the
/// branch, use GetBranch.
///
///
/// A parent commit ID is required. To view the full commit ID of a branch in a repository,
/// use GetBranch or a Git command (for example, git pull or git log).
///
///
/// The folderPath for a location cannot be null.
///
///
/// The commit cannot be created because one or more files specified in the commit reference
/// both a file and a folder.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The commit cannot be created because one of the changes specifies copying or moving
/// a .gitkeep file.
///
///
/// The commit cannot be created because one or more changes in this commit duplicate
/// actions in the same file path. For example, you cannot make the same delete request
/// to the same file in the same file path twice, or make a delete request and a move
/// request to the same file as part of the same commit.
///
///
/// The commit cannot be created because no source files or file content have been specified
/// for the commit.
///
/// REST API Reference for CreateCommit Operation
CreateCommitResponse CreateCommit(CreateCommitRequest request);
///
/// Initiates the asynchronous execution of the CreateCommit operation.
///
///
/// Container for the necessary parameters to execute the CreateCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCommit
/// operation.
/// REST API Reference for CreateCommit Operation
IAsyncResult BeginCreateCommit(CreateCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCommit.
///
/// Returns a CreateCommitResult from CodeCommit.
/// REST API Reference for CreateCommit Operation
CreateCommitResponse EndCreateCommit(IAsyncResult asyncResult);
#endregion
#region CreatePullRequest
///
/// Creates a pull request in the specified repository.
///
/// Container for the necessary parameters to execute the CreatePullRequest service method.
///
/// The response from the CreatePullRequest service method, as returned by CodeCommit.
///
/// A client request token is required. A client request token is an unique, client-generated
/// idempotency token that, when provided in a request, ensures the request cannot be
/// repeated with a changed parameter. If a request is received with the same parameters
/// and a token is included, the request returns information about the initial request
/// that used that token.
///
///
/// 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 client request token is not valid. Either the token is not in a valid format,
/// or the token has been used in a previous request and cannot be reused.
///
///
/// The client request token is not valid.
///
///
/// The pull request description is not valid. Descriptions cannot be more than 1,000
/// characters.
///
///
/// The specified reference name format is not valid. Reference names must conform to
/// the Git references format (for example, refs/heads/master). For more information,
/// see Git Internals
/// - Git References or consult your Git documentation.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 target for the pull request is not valid. A target must contain the full values
/// for the repository name, source branch, and destination branch for the pull request.
///
///
/// The targets for the pull request is not valid or not in a valid format. Targets are
/// a list of target objects. Each target object must contain the full values for the
/// repository name, source branch, and destination branch for a pull request.
///
///
/// The title of the pull request is not valid. Pull request titles cannot exceed 100
/// characters in length.
///
///
/// You cannot create the pull request because the repository has too many open pull requests.
/// The maximum number of open pull requests for a repository is 1,000. Close one or more
/// open pull requests, and then try again.
///
///
/// You cannot include more than one repository in a pull request. Make sure you have
/// specified only one repository name in your request, and then try again.
///
///
/// The specified reference does not exist. You must provide a full commit ID.
///
///
/// A reference name is required, but none was provided.
///
///
/// The specified reference is not a supported type.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The source branch and destination branch for the pull request are the same. You must
/// specify different branches for the source and destination.
///
///
/// A pull request target is required. It cannot be empty or null. A pull request target
/// must contain the full values for the repository name, source branch, and destination
/// branch for the pull request.
///
///
/// An array of target objects is required. It cannot be empty or null.
///
///
/// A pull request title is required. It cannot be empty or null.
///
/// REST API Reference for CreatePullRequest Operation
CreatePullRequestResponse CreatePullRequest(CreatePullRequestRequest request);
///
/// Initiates the asynchronous execution of the CreatePullRequest operation.
///
///
/// Container for the necessary parameters to execute the CreatePullRequest operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePullRequest
/// operation.
/// REST API Reference for CreatePullRequest Operation
IAsyncResult BeginCreatePullRequest(CreatePullRequestRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreatePullRequest operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePullRequest.
///
/// Returns a CreatePullRequestResult from CodeCommit.
/// REST API Reference for CreatePullRequest Operation
CreatePullRequestResponse EndCreatePullRequest(IAsyncResult asyncResult);
#endregion
#region CreatePullRequestApprovalRule
///
/// Creates an approval rule for a pull request.
///
/// Container for the necessary parameters to execute the CreatePullRequestApprovalRule service method.
///
/// The response from the CreatePullRequestApprovalRule service method, as returned by CodeCommit.
///
/// The content for the approval rule is empty. You must provide some content for an approval
/// rule. The content cannot be null.
///
///
/// An approval rule with that name already exists. Approval rule names must be unique
/// within the scope of a pull request.
///
///
/// An approval rule 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 content for the approval rule is not valid.
///
///
/// The name for the approval rule is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The approval rule cannot be added. The pull request has the maximum number of approval
/// rules associated with it.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for CreatePullRequestApprovalRule Operation
CreatePullRequestApprovalRuleResponse CreatePullRequestApprovalRule(CreatePullRequestApprovalRuleRequest request);
///
/// Initiates the asynchronous execution of the CreatePullRequestApprovalRule operation.
///
///
/// Container for the necessary parameters to execute the CreatePullRequestApprovalRule operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePullRequestApprovalRule
/// operation.
/// REST API Reference for CreatePullRequestApprovalRule Operation
IAsyncResult BeginCreatePullRequestApprovalRule(CreatePullRequestApprovalRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreatePullRequestApprovalRule operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePullRequestApprovalRule.
///
/// Returns a CreatePullRequestApprovalRuleResult from CodeCommit.
/// REST API Reference for CreatePullRequestApprovalRule Operation
CreatePullRequestApprovalRuleResponse EndCreatePullRequestApprovalRule(IAsyncResult asyncResult);
#endregion
#region CreateRepository
///
/// Creates a new, empty repository.
///
/// Container for the necessary parameters to execute the CreateRepository service method.
///
/// The response from the CreateRepository service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 tag is not valid. Key names cannot be prefixed with aws:.
///
///
/// The map of tags is not valid.
///
///
/// A repository resource limit was exceeded.
///
///
/// The specified repository name already exists.
///
///
/// A repository name is required, but was not specified.
///
///
/// The tag policy is not valid.
///
///
/// The maximum number of tags for an AWS CodeCommit resource has been exceeded.
///
/// REST API Reference for CreateRepository Operation
CreateRepositoryResponse CreateRepository(CreateRepositoryRequest request);
///
/// Initiates the asynchronous execution of the CreateRepository operation.
///
///
/// Container for the necessary parameters to execute the CreateRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRepository
/// operation.
/// REST API Reference for CreateRepository Operation
IAsyncResult BeginCreateRepository(CreateRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRepository.
///
/// Returns a CreateRepositoryResult from CodeCommit.
/// REST API Reference for CreateRepository Operation
CreateRepositoryResponse EndCreateRepository(IAsyncResult asyncResult);
#endregion
#region CreateUnreferencedMergeCommit
///
/// Creates an unreferenced commit that represents the result of merging two branches
/// using a specified merge strategy. This can help you determine the outcome of a potential
/// merge. This API cannot be used with the fast-forward merge strategy because that strategy
/// does not create a merge commit.
///
///
///
/// This unreferenced merge commit can only be accessed using the GetCommit API or through
/// git commands such as git fetch. To retrieve this commit, you must specify its commit
/// ID or otherwise reference it.
///
///
///
/// Container for the necessary parameters to execute the CreateUnreferencedMergeCommit service method.
///
/// The response from the CreateUnreferencedMergeCommit service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// A commit was not specified.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The commit cannot be created because no file mode has been specified. A file mode
/// is required to update mode permissions for a file.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified commit is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution list is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The specified merge option is not valid for this operation. Not all merge strategies
/// are supported for all operations.
///
///
/// The specified path is not valid.
///
///
/// Automerge was specified for resolving the conflict, but the replacement type is not
/// valid or content is missing.
///
///
/// Automerge was specified for resolving the conflict, but the specified replacement
/// type is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The number of allowed conflict resolution entries was exceeded.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// A merge option or stategy is required, and none was provided.
///
///
/// More than one conflict resolution entries exists for the conflict. A conflict can
/// have only one conflict resolution entry.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The folderPath for a location cannot be null.
///
///
/// USE_NEW_CONTENT was specified, but no replacement content has been provided.
///
///
/// A replacement type is required.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for CreateUnreferencedMergeCommit Operation
CreateUnreferencedMergeCommitResponse CreateUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest request);
///
/// Initiates the asynchronous execution of the CreateUnreferencedMergeCommit operation.
///
///
/// Container for the necessary parameters to execute the CreateUnreferencedMergeCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUnreferencedMergeCommit
/// operation.
/// REST API Reference for CreateUnreferencedMergeCommit Operation
IAsyncResult BeginCreateUnreferencedMergeCommit(CreateUnreferencedMergeCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateUnreferencedMergeCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateUnreferencedMergeCommit.
///
/// Returns a CreateUnreferencedMergeCommitResult from CodeCommit.
/// REST API Reference for CreateUnreferencedMergeCommit Operation
CreateUnreferencedMergeCommitResponse EndCreateUnreferencedMergeCommit(IAsyncResult asyncResult);
#endregion
#region DeleteApprovalRuleTemplate
///
/// Deletes a specified approval rule template. Deleting a template does not remove approval
/// rules on pull requests already created with the template.
///
/// Container for the necessary parameters to execute the DeleteApprovalRuleTemplate service method.
///
/// The response from the DeleteApprovalRuleTemplate service method, as returned by CodeCommit.
///
/// The approval rule template is associated with one or more repositories. You cannot
/// delete a template that is associated with a repository. Remove all associations, and
/// then try again.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
/// REST API Reference for DeleteApprovalRuleTemplate Operation
DeleteApprovalRuleTemplateResponse DeleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest request);
///
/// Initiates the asynchronous execution of the DeleteApprovalRuleTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteApprovalRuleTemplate operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApprovalRuleTemplate
/// operation.
/// REST API Reference for DeleteApprovalRuleTemplate Operation
IAsyncResult BeginDeleteApprovalRuleTemplate(DeleteApprovalRuleTemplateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteApprovalRuleTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApprovalRuleTemplate.
///
/// Returns a DeleteApprovalRuleTemplateResult from CodeCommit.
/// REST API Reference for DeleteApprovalRuleTemplate Operation
DeleteApprovalRuleTemplateResponse EndDeleteApprovalRuleTemplate(IAsyncResult asyncResult);
#endregion
#region DeleteBranch
///
/// Deletes a branch from a repository, unless that branch is the default branch for the
/// repository.
///
/// Container for the necessary parameters to execute the DeleteBranch service method.
///
/// The response from the DeleteBranch service method, as returned by CodeCommit.
///
/// A branch name is required, but was not specified.
///
///
/// The specified branch is the default branch for the repository, and cannot be deleted.
/// To delete this branch, you must first set another branch as the default branch.
///
///
/// 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 reference name is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for DeleteBranch Operation
DeleteBranchResponse DeleteBranch(DeleteBranchRequest request);
///
/// Initiates the asynchronous execution of the DeleteBranch operation.
///
///
/// Container for the necessary parameters to execute the DeleteBranch operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBranch
/// operation.
/// REST API Reference for DeleteBranch Operation
IAsyncResult BeginDeleteBranch(DeleteBranchRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteBranch operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBranch.
///
/// Returns a DeleteBranchResult from CodeCommit.
/// REST API Reference for DeleteBranch Operation
DeleteBranchResponse EndDeleteBranch(IAsyncResult asyncResult);
#endregion
#region DeleteCommentContent
///
/// Deletes the content of a comment made on a change, file, or commit in a repository.
///
/// Container for the necessary parameters to execute the DeleteCommentContent service method.
///
/// The response from the DeleteCommentContent service method, as returned by CodeCommit.
///
/// This comment has already been deleted. You cannot edit or delete a deleted comment.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// The comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
/// REST API Reference for DeleteCommentContent Operation
DeleteCommentContentResponse DeleteCommentContent(DeleteCommentContentRequest request);
///
/// Initiates the asynchronous execution of the DeleteCommentContent operation.
///
///
/// Container for the necessary parameters to execute the DeleteCommentContent operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCommentContent
/// operation.
/// REST API Reference for DeleteCommentContent Operation
IAsyncResult BeginDeleteCommentContent(DeleteCommentContentRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteCommentContent operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCommentContent.
///
/// Returns a DeleteCommentContentResult from CodeCommit.
/// REST API Reference for DeleteCommentContent Operation
DeleteCommentContentResponse EndDeleteCommentContent(IAsyncResult asyncResult);
#endregion
#region DeleteFile
///
/// Deletes a specified file from a specified branch. A commit is created on the branch
/// that contains the revision. The file still exists in the commits earlier to the commit
/// that contains the deletion.
///
/// Container for the necessary parameters to execute the DeleteFile service method.
///
/// The response from the DeleteFile service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// A branch name is required, but was not specified.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// 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 file does not exist. Verify that you have used the correct file name,
/// full path, and extension.
///
///
/// The specified reference name is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The parent commit ID is not valid. The commit ID cannot be empty, and must match the
/// head commit ID for the branch of the repository where you want to add or update a
/// file.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The parent commit ID is not valid because it does not exist. The specified parent
/// commit ID does not exist in the specified branch of the repository.
///
///
/// The file could not be added because the provided parent commit ID is not the current
/// tip of the specified branch. To view the full commit ID of the current head of the
/// branch, use GetBranch.
///
///
/// A parent commit ID is required. To view the full commit ID of a branch in a repository,
/// use GetBranch or a Git command (for example, git pull or git log).
///
///
/// The folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for DeleteFile Operation
DeleteFileResponse DeleteFile(DeleteFileRequest request);
///
/// Initiates the asynchronous execution of the DeleteFile operation.
///
///
/// Container for the necessary parameters to execute the DeleteFile operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFile
/// operation.
/// REST API Reference for DeleteFile Operation
IAsyncResult BeginDeleteFile(DeleteFileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteFile operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFile.
///
/// Returns a DeleteFileResult from CodeCommit.
/// REST API Reference for DeleteFile Operation
DeleteFileResponse EndDeleteFile(IAsyncResult asyncResult);
#endregion
#region DeletePullRequestApprovalRule
///
/// Deletes an approval rule from a specified pull request. Approval rules can be deleted
/// from a pull request only if the pull request is open, and if the approval rule was
/// created specifically for a pull request and not generated from an approval rule template
/// associated with the repository where the pull request was created. You cannot delete
/// an approval rule from a merged or closed pull request.
///
/// Container for the necessary parameters to execute the DeletePullRequestApprovalRule service method.
///
/// The response from the DeletePullRequestApprovalRule service method, as returned by CodeCommit.
///
/// An approval rule name is required, but was not specified.
///
///
/// The approval rule cannot be deleted from the pull request because it was created by
/// an approval rule template and applied to the pull request automatically.
///
///
/// 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 name for the approval rule is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for DeletePullRequestApprovalRule Operation
DeletePullRequestApprovalRuleResponse DeletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest request);
///
/// Initiates the asynchronous execution of the DeletePullRequestApprovalRule operation.
///
///
/// Container for the necessary parameters to execute the DeletePullRequestApprovalRule operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePullRequestApprovalRule
/// operation.
/// REST API Reference for DeletePullRequestApprovalRule Operation
IAsyncResult BeginDeletePullRequestApprovalRule(DeletePullRequestApprovalRuleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeletePullRequestApprovalRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePullRequestApprovalRule.
///
/// Returns a DeletePullRequestApprovalRuleResult from CodeCommit.
/// REST API Reference for DeletePullRequestApprovalRule Operation
DeletePullRequestApprovalRuleResponse EndDeletePullRequestApprovalRule(IAsyncResult asyncResult);
#endregion
#region DeleteRepository
///
/// Deletes a repository. If a specified repository was already deleted, a null repository
/// ID is returned.
///
///
///
/// Deleting a repository also deletes all associated objects and metadata. After a repository
/// is deleted, all future push calls to the deleted repository fail.
///
///
///
/// Container for the necessary parameters to execute the DeleteRepository service method.
///
/// The response from the DeleteRepository service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for DeleteRepository Operation
DeleteRepositoryResponse DeleteRepository(DeleteRepositoryRequest request);
///
/// Initiates the asynchronous execution of the DeleteRepository operation.
///
///
/// Container for the necessary parameters to execute the DeleteRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRepository
/// operation.
/// REST API Reference for DeleteRepository Operation
IAsyncResult BeginDeleteRepository(DeleteRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRepository.
///
/// Returns a DeleteRepositoryResult from CodeCommit.
/// REST API Reference for DeleteRepository Operation
DeleteRepositoryResponse EndDeleteRepository(IAsyncResult asyncResult);
#endregion
#region DescribeMergeConflicts
///
/// Returns information about one or more merge conflicts in the attempted merge of two
/// commit specifiers using the squash or three-way merge strategy. If the merge option
/// for the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.
///
/// Container for the necessary parameters to execute the DescribeMergeConflicts service method.
///
/// The response from the DescribeMergeConflicts service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 file does not exist. Verify that you have used the correct file name,
/// full path, and extension.
///
///
/// The specified commit is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified value for the number of merge hunks to return is not valid.
///
///
/// The specified merge option is not valid for this operation. Not all merge strategies
/// are supported for all operations.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// A merge option or stategy is required, and none was provided.
///
///
/// The folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for DescribeMergeConflicts Operation
DescribeMergeConflictsResponse DescribeMergeConflicts(DescribeMergeConflictsRequest request);
///
/// Initiates the asynchronous execution of the DescribeMergeConflicts operation.
///
///
/// Container for the necessary parameters to execute the DescribeMergeConflicts operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMergeConflicts
/// operation.
/// REST API Reference for DescribeMergeConflicts Operation
IAsyncResult BeginDescribeMergeConflicts(DescribeMergeConflictsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeMergeConflicts operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeMergeConflicts.
///
/// Returns a DescribeMergeConflictsResult from CodeCommit.
/// REST API Reference for DescribeMergeConflicts Operation
DescribeMergeConflictsResponse EndDescribeMergeConflicts(IAsyncResult asyncResult);
#endregion
#region DescribePullRequestEvents
///
/// Returns information about one or more pull request events.
///
/// Container for the necessary parameters to execute the DescribePullRequestEvents service method.
///
/// The response from the DescribePullRequestEvents service method, as returned by CodeCommit.
///
/// The specified Amazon Resource Name (ARN) does not exist in the AWS account.
///
///
/// 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 Amazon Resource Name (ARN) is not valid. Make sure that you have provided the
/// full ARN for the user who initiated the change for the pull request, and then try
/// again.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// The pull request event type is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for DescribePullRequestEvents Operation
DescribePullRequestEventsResponse DescribePullRequestEvents(DescribePullRequestEventsRequest request);
///
/// Initiates the asynchronous execution of the DescribePullRequestEvents operation.
///
///
/// Container for the necessary parameters to execute the DescribePullRequestEvents operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePullRequestEvents
/// operation.
/// REST API Reference for DescribePullRequestEvents Operation
IAsyncResult BeginDescribePullRequestEvents(DescribePullRequestEventsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribePullRequestEvents operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribePullRequestEvents.
///
/// Returns a DescribePullRequestEventsResult from CodeCommit.
/// REST API Reference for DescribePullRequestEvents Operation
DescribePullRequestEventsResponse EndDescribePullRequestEvents(IAsyncResult asyncResult);
#endregion
#region DisassociateApprovalRuleTemplateFromRepository
///
/// Removes the association between a template and a repository so that approval rules
/// based on the template are not automatically created when pull requests are created
/// in the specified repository. This does not delete any approval rules previously created
/// for pull requests through the template association.
///
/// Container for the necessary parameters to execute the DisassociateApprovalRuleTemplateFromRepository service method.
///
/// The response from the DisassociateApprovalRuleTemplateFromRepository service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template 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 name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation
DisassociateApprovalRuleTemplateFromRepositoryResponse DisassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest request);
///
/// Initiates the asynchronous execution of the DisassociateApprovalRuleTemplateFromRepository operation.
///
///
/// Container for the necessary parameters to execute the DisassociateApprovalRuleTemplateFromRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApprovalRuleTemplateFromRepository
/// operation.
/// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation
IAsyncResult BeginDisassociateApprovalRuleTemplateFromRepository(DisassociateApprovalRuleTemplateFromRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisassociateApprovalRuleTemplateFromRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateApprovalRuleTemplateFromRepository.
///
/// Returns a DisassociateApprovalRuleTemplateFromRepositoryResult from CodeCommit.
/// REST API Reference for DisassociateApprovalRuleTemplateFromRepository Operation
DisassociateApprovalRuleTemplateFromRepositoryResponse EndDisassociateApprovalRuleTemplateFromRepository(IAsyncResult asyncResult);
#endregion
#region EvaluatePullRequestApprovalRules
///
/// Evaluates whether a pull request has met all the conditions specified in its associated
/// approval rules.
///
/// Container for the necessary parameters to execute the EvaluatePullRequestApprovalRules service method.
///
/// The response from the EvaluatePullRequestApprovalRules service method, as returned by CodeCommit.
///
/// 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 pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The revision ID is not valid. Use GetPullRequest to determine the value.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A revision ID is required, but was not provided.
///
///
/// The revision ID provided in the request does not match the current revision ID. Use
/// GetPullRequest to retrieve the current revision ID.
///
/// REST API Reference for EvaluatePullRequestApprovalRules Operation
EvaluatePullRequestApprovalRulesResponse EvaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest request);
///
/// Initiates the asynchronous execution of the EvaluatePullRequestApprovalRules operation.
///
///
/// Container for the necessary parameters to execute the EvaluatePullRequestApprovalRules operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEvaluatePullRequestApprovalRules
/// operation.
/// REST API Reference for EvaluatePullRequestApprovalRules Operation
IAsyncResult BeginEvaluatePullRequestApprovalRules(EvaluatePullRequestApprovalRulesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the EvaluatePullRequestApprovalRules operation.
///
///
/// The IAsyncResult returned by the call to BeginEvaluatePullRequestApprovalRules.
///
/// Returns a EvaluatePullRequestApprovalRulesResult from CodeCommit.
/// REST API Reference for EvaluatePullRequestApprovalRules Operation
EvaluatePullRequestApprovalRulesResponse EndEvaluatePullRequestApprovalRules(IAsyncResult asyncResult);
#endregion
#region GetApprovalRuleTemplate
///
/// Returns information about a specified approval rule template.
///
/// Container for the necessary parameters to execute the GetApprovalRuleTemplate service method.
///
/// The response from the GetApprovalRuleTemplate service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
/// REST API Reference for GetApprovalRuleTemplate Operation
GetApprovalRuleTemplateResponse GetApprovalRuleTemplate(GetApprovalRuleTemplateRequest request);
///
/// Initiates the asynchronous execution of the GetApprovalRuleTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetApprovalRuleTemplate operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetApprovalRuleTemplate
/// operation.
/// REST API Reference for GetApprovalRuleTemplate Operation
IAsyncResult BeginGetApprovalRuleTemplate(GetApprovalRuleTemplateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetApprovalRuleTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginGetApprovalRuleTemplate.
///
/// Returns a GetApprovalRuleTemplateResult from CodeCommit.
/// REST API Reference for GetApprovalRuleTemplate Operation
GetApprovalRuleTemplateResponse EndGetApprovalRuleTemplate(IAsyncResult asyncResult);
#endregion
#region GetBlob
///
/// Returns the base-64 encoded content of an individual blob in a repository.
///
/// Container for the necessary parameters to execute the GetBlob service method.
///
/// The response from the GetBlob service method, as returned by CodeCommit.
///
/// The specified blob does not exist.
///
///
/// A blob ID 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 file exceeds the file size limit for AWS CodeCommit. For more information
/// about limits in AWS CodeCommit, see AWS
/// CodeCommit User Guide.
///
///
/// The specified blob is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetBlob Operation
GetBlobResponse GetBlob(GetBlobRequest request);
///
/// Initiates the asynchronous execution of the GetBlob operation.
///
///
/// Container for the necessary parameters to execute the GetBlob operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBlob
/// operation.
/// REST API Reference for GetBlob Operation
IAsyncResult BeginGetBlob(GetBlobRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetBlob operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBlob.
///
/// Returns a GetBlobResult from CodeCommit.
/// REST API Reference for GetBlob Operation
GetBlobResponse EndGetBlob(IAsyncResult asyncResult);
#endregion
#region GetBranch
///
/// Returns information about a repository branch, including its name and the last commit
/// ID.
///
/// Container for the necessary parameters to execute the GetBranch service method.
///
/// The response from the GetBranch service method, as returned by CodeCommit.
///
/// 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 reference name is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetBranch Operation
GetBranchResponse GetBranch(GetBranchRequest request);
///
/// Initiates the asynchronous execution of the GetBranch operation.
///
///
/// Container for the necessary parameters to execute the GetBranch operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBranch
/// operation.
/// REST API Reference for GetBranch Operation
IAsyncResult BeginGetBranch(GetBranchRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetBranch operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBranch.
///
/// Returns a GetBranchResult from CodeCommit.
/// REST API Reference for GetBranch Operation
GetBranchResponse EndGetBranch(IAsyncResult asyncResult);
#endregion
#region GetComment
///
/// Returns the content of a comment made on a change, file, or commit in a repository.
///
///
///
///
/// Reaction counts might include numbers from user identities who were deleted after
/// the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
///
///
///
/// Container for the necessary parameters to execute the GetComment service method.
///
/// The response from the GetComment service method, as returned by CodeCommit.
///
/// This comment has already been deleted. You cannot edit or delete a deleted comment.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// 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 comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
/// REST API Reference for GetComment Operation
GetCommentResponse GetComment(GetCommentRequest request);
///
/// Initiates the asynchronous execution of the GetComment operation.
///
///
/// Container for the necessary parameters to execute the GetComment operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetComment
/// operation.
/// REST API Reference for GetComment Operation
IAsyncResult BeginGetComment(GetCommentRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetComment operation.
///
///
/// The IAsyncResult returned by the call to BeginGetComment.
///
/// Returns a GetCommentResult from CodeCommit.
/// REST API Reference for GetComment Operation
GetCommentResponse EndGetComment(IAsyncResult asyncResult);
#endregion
#region GetCommentReactions
///
/// Returns information about reactions to a specified comment ID. Reactions from users
/// who have been deleted will not be included in the count.
///
/// Container for the necessary parameters to execute the GetCommentReactions service method.
///
/// The response from the GetCommentReactions service method, as returned by CodeCommit.
///
/// This comment has already been deleted. You cannot edit or delete a deleted comment.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// The comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// The Amazon Resource Name (ARN) of the user or identity is not valid.
///
/// REST API Reference for GetCommentReactions Operation
GetCommentReactionsResponse GetCommentReactions(GetCommentReactionsRequest request);
///
/// Initiates the asynchronous execution of the GetCommentReactions operation.
///
///
/// Container for the necessary parameters to execute the GetCommentReactions operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCommentReactions
/// operation.
/// REST API Reference for GetCommentReactions Operation
IAsyncResult BeginGetCommentReactions(GetCommentReactionsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetCommentReactions operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCommentReactions.
///
/// Returns a GetCommentReactionsResult from CodeCommit.
/// REST API Reference for GetCommentReactions Operation
GetCommentReactionsResponse EndGetCommentReactions(IAsyncResult asyncResult);
#endregion
#region GetCommentsForComparedCommit
///
/// Returns information about comments made on the comparison between two commits.
///
///
///
/// Reaction counts might include numbers from user identities who were deleted after
/// the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
///
///
///
/// Container for the necessary parameters to execute the GetCommentsForComparedCommit service method.
///
/// The response from the GetCommentsForComparedCommit service method, as returned by CodeCommit.
///
/// 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 commit ID is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetCommentsForComparedCommit Operation
GetCommentsForComparedCommitResponse GetCommentsForComparedCommit(GetCommentsForComparedCommitRequest request);
///
/// Initiates the asynchronous execution of the GetCommentsForComparedCommit operation.
///
///
/// Container for the necessary parameters to execute the GetCommentsForComparedCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCommentsForComparedCommit
/// operation.
/// REST API Reference for GetCommentsForComparedCommit Operation
IAsyncResult BeginGetCommentsForComparedCommit(GetCommentsForComparedCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetCommentsForComparedCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCommentsForComparedCommit.
///
/// Returns a GetCommentsForComparedCommitResult from CodeCommit.
/// REST API Reference for GetCommentsForComparedCommit Operation
GetCommentsForComparedCommitResponse EndGetCommentsForComparedCommit(IAsyncResult asyncResult);
#endregion
#region GetCommentsForPullRequest
///
/// Returns comments made on a pull request.
///
///
///
/// Reaction counts might include numbers from user identities who were deleted after
/// the reaction was made. For a count of reactions from active identities, use GetCommentReactions.
///
///
///
/// Container for the necessary parameters to execute the GetCommentsForPullRequest service method.
///
/// The response from the GetCommentsForPullRequest service method, as returned by CodeCommit.
///
/// 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 commit ID is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest
/// to verify the correct repository name for the pull request ID.
///
/// REST API Reference for GetCommentsForPullRequest Operation
GetCommentsForPullRequestResponse GetCommentsForPullRequest(GetCommentsForPullRequestRequest request);
///
/// Initiates the asynchronous execution of the GetCommentsForPullRequest operation.
///
///
/// Container for the necessary parameters to execute the GetCommentsForPullRequest operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCommentsForPullRequest
/// operation.
/// REST API Reference for GetCommentsForPullRequest Operation
IAsyncResult BeginGetCommentsForPullRequest(GetCommentsForPullRequestRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetCommentsForPullRequest operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCommentsForPullRequest.
///
/// Returns a GetCommentsForPullRequestResult from CodeCommit.
/// REST API Reference for GetCommentsForPullRequest Operation
GetCommentsForPullRequestResponse EndGetCommentsForPullRequest(IAsyncResult asyncResult);
#endregion
#region GetCommit
///
/// Returns information about a commit, including commit message and committer information.
///
/// Container for the necessary parameters to execute the GetCommit service method.
///
/// The response from the GetCommit service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetCommit Operation
GetCommitResponse GetCommit(GetCommitRequest request);
///
/// Initiates the asynchronous execution of the GetCommit operation.
///
///
/// Container for the necessary parameters to execute the GetCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCommit
/// operation.
/// REST API Reference for GetCommit Operation
IAsyncResult BeginGetCommit(GetCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCommit.
///
/// Returns a GetCommitResult from CodeCommit.
/// REST API Reference for GetCommit Operation
GetCommitResponse EndGetCommit(IAsyncResult asyncResult);
#endregion
#region GetDifferences
///
/// Returns information about the differences in a valid commit specifier (such as a branch,
/// tag, HEAD, commit ID, or other fully qualified reference). Results can be limited
/// to a specified path.
///
/// Container for the necessary parameters to execute the GetDifferences service method.
///
/// The response from the GetDifferences service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 is not valid.
///
///
/// The specified commit ID is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 path does not exist.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for GetDifferences Operation
GetDifferencesResponse GetDifferences(GetDifferencesRequest request);
///
/// Initiates the asynchronous execution of the GetDifferences operation.
///
///
/// Container for the necessary parameters to execute the GetDifferences operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDifferences
/// operation.
/// REST API Reference for GetDifferences Operation
IAsyncResult BeginGetDifferences(GetDifferencesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetDifferences operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDifferences.
///
/// Returns a GetDifferencesResult from CodeCommit.
/// REST API Reference for GetDifferences Operation
GetDifferencesResponse EndGetDifferences(IAsyncResult asyncResult);
#endregion
#region GetFile
///
/// Returns the base-64 encoded contents of a specified file and its metadata.
///
/// Container for the necessary parameters to execute the GetFile service method.
///
/// The response from the GetFile service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// 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 file does not exist. Verify that you have used the correct file name,
/// full path, and extension.
///
///
/// The specified file exceeds the file size limit for AWS CodeCommit. For more information
/// about limits in AWS CodeCommit, see AWS
/// CodeCommit User Guide.
///
///
/// The specified commit is not valid.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for GetFile Operation
GetFileResponse GetFile(GetFileRequest request);
///
/// Initiates the asynchronous execution of the GetFile operation.
///
///
/// Container for the necessary parameters to execute the GetFile operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFile
/// operation.
/// REST API Reference for GetFile Operation
IAsyncResult BeginGetFile(GetFileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetFile operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFile.
///
/// Returns a GetFileResult from CodeCommit.
/// REST API Reference for GetFile Operation
GetFileResponse EndGetFile(IAsyncResult asyncResult);
#endregion
#region GetFolder
///
/// Returns the contents of a specified folder in a repository.
///
/// Container for the necessary parameters to execute the GetFolder service method.
///
/// The response from the GetFolder service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// 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 folder does not exist. Either the folder name is not correct, or you
/// did not enter the full path to the folder.
///
///
/// The specified commit is not valid.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for GetFolder Operation
GetFolderResponse GetFolder(GetFolderRequest request);
///
/// Initiates the asynchronous execution of the GetFolder operation.
///
///
/// Container for the necessary parameters to execute the GetFolder operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFolder
/// operation.
/// REST API Reference for GetFolder Operation
IAsyncResult BeginGetFolder(GetFolderRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetFolder operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFolder.
///
/// Returns a GetFolderResult from CodeCommit.
/// REST API Reference for GetFolder Operation
GetFolderResponse EndGetFolder(IAsyncResult asyncResult);
#endregion
#region GetMergeCommit
///
/// Returns information about a specified merge commit.
///
/// Container for the necessary parameters to execute the GetMergeCommit service method.
///
/// The response from the GetMergeCommit service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetMergeCommit Operation
GetMergeCommitResponse GetMergeCommit(GetMergeCommitRequest request);
///
/// Initiates the asynchronous execution of the GetMergeCommit operation.
///
///
/// Container for the necessary parameters to execute the GetMergeCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMergeCommit
/// operation.
/// REST API Reference for GetMergeCommit Operation
IAsyncResult BeginGetMergeCommit(GetMergeCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetMergeCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginGetMergeCommit.
///
/// Returns a GetMergeCommitResult from CodeCommit.
/// REST API Reference for GetMergeCommit Operation
GetMergeCommitResponse EndGetMergeCommit(IAsyncResult asyncResult);
#endregion
#region GetMergeConflicts
///
/// Returns information about merge conflicts between the before and after commit IDs
/// for a pull request in a repository.
///
/// Container for the necessary parameters to execute the GetMergeConflicts service method.
///
/// The response from the GetMergeConflicts service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified continuation token is not valid.
///
///
/// The destination commit specifier is not valid. You must provide a valid branch name,
/// tag, or full commit ID.
///
///
/// The specified value for the number of conflict files to return is not valid.
///
///
/// The specified merge option is not valid for this operation. Not all merge strategies
/// are supported for all operations.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 source commit specifier is not valid. You must provide a valid branch name, tag,
/// or full commit ID.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// A merge option or stategy is required, and none was provided.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for GetMergeConflicts Operation
GetMergeConflictsResponse GetMergeConflicts(GetMergeConflictsRequest request);
///
/// Initiates the asynchronous execution of the GetMergeConflicts operation.
///
///
/// Container for the necessary parameters to execute the GetMergeConflicts operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMergeConflicts
/// operation.
/// REST API Reference for GetMergeConflicts Operation
IAsyncResult BeginGetMergeConflicts(GetMergeConflictsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetMergeConflicts operation.
///
///
/// The IAsyncResult returned by the call to BeginGetMergeConflicts.
///
/// Returns a GetMergeConflictsResult from CodeCommit.
/// REST API Reference for GetMergeConflicts Operation
GetMergeConflictsResponse EndGetMergeConflicts(IAsyncResult asyncResult);
#endregion
#region GetMergeOptions
///
/// Returns information about the merge options available for merging two specified branches.
/// For details about why a merge option is not available, use GetMergeConflicts or DescribeMergeConflicts.
///
/// Container for the necessary parameters to execute the GetMergeOptions service method.
///
/// The response from the GetMergeOptions service method, as returned by CodeCommit.
///
/// The specified commit does not exist or no commit was specified, and the specified
/// repository has no default branch.
///
///
/// A commit 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 is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for GetMergeOptions Operation
GetMergeOptionsResponse GetMergeOptions(GetMergeOptionsRequest request);
///
/// Initiates the asynchronous execution of the GetMergeOptions operation.
///
///
/// Container for the necessary parameters to execute the GetMergeOptions operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMergeOptions
/// operation.
/// REST API Reference for GetMergeOptions Operation
IAsyncResult BeginGetMergeOptions(GetMergeOptionsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetMergeOptions operation.
///
///
/// The IAsyncResult returned by the call to BeginGetMergeOptions.
///
/// Returns a GetMergeOptionsResult from CodeCommit.
/// REST API Reference for GetMergeOptions Operation
GetMergeOptionsResponse EndGetMergeOptions(IAsyncResult asyncResult);
#endregion
#region GetPullRequest
///
/// Gets information about a pull request in a specified repository.
///
/// Container for the necessary parameters to execute the GetPullRequest service method.
///
/// The response from the GetPullRequest service method, as returned by CodeCommit.
///
/// 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 pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for GetPullRequest Operation
GetPullRequestResponse GetPullRequest(GetPullRequestRequest request);
///
/// Initiates the asynchronous execution of the GetPullRequest operation.
///
///
/// Container for the necessary parameters to execute the GetPullRequest operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPullRequest
/// operation.
/// REST API Reference for GetPullRequest Operation
IAsyncResult BeginGetPullRequest(GetPullRequestRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetPullRequest operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPullRequest.
///
/// Returns a GetPullRequestResult from CodeCommit.
/// REST API Reference for GetPullRequest Operation
GetPullRequestResponse EndGetPullRequest(IAsyncResult asyncResult);
#endregion
#region GetPullRequestApprovalStates
///
/// Gets information about the approval states for a specified pull request. Approval
/// states only apply to pull requests that have one or more approval rules applied to
/// them.
///
/// Container for the necessary parameters to execute the GetPullRequestApprovalStates service method.
///
/// The response from the GetPullRequestApprovalStates service method, as returned by CodeCommit.
///
/// 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 pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The revision ID is not valid. Use GetPullRequest to determine the value.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A revision ID is required, but was not provided.
///
/// REST API Reference for GetPullRequestApprovalStates Operation
GetPullRequestApprovalStatesResponse GetPullRequestApprovalStates(GetPullRequestApprovalStatesRequest request);
///
/// Initiates the asynchronous execution of the GetPullRequestApprovalStates operation.
///
///
/// Container for the necessary parameters to execute the GetPullRequestApprovalStates operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPullRequestApprovalStates
/// operation.
/// REST API Reference for GetPullRequestApprovalStates Operation
IAsyncResult BeginGetPullRequestApprovalStates(GetPullRequestApprovalStatesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetPullRequestApprovalStates operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPullRequestApprovalStates.
///
/// Returns a GetPullRequestApprovalStatesResult from CodeCommit.
/// REST API Reference for GetPullRequestApprovalStates Operation
GetPullRequestApprovalStatesResponse EndGetPullRequestApprovalStates(IAsyncResult asyncResult);
#endregion
#region GetPullRequestOverrideState
///
/// Returns information about whether approval rules have been set aside (overridden)
/// for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity
/// that overrode the rules and their requirements for the pull request.
///
/// Container for the necessary parameters to execute the GetPullRequestOverrideState service method.
///
/// The response from the GetPullRequestOverrideState service method, as returned by CodeCommit.
///
/// 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 pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The revision ID is not valid. Use GetPullRequest to determine the value.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A revision ID is required, but was not provided.
///
/// REST API Reference for GetPullRequestOverrideState Operation
GetPullRequestOverrideStateResponse GetPullRequestOverrideState(GetPullRequestOverrideStateRequest request);
///
/// Initiates the asynchronous execution of the GetPullRequestOverrideState operation.
///
///
/// Container for the necessary parameters to execute the GetPullRequestOverrideState operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPullRequestOverrideState
/// operation.
/// REST API Reference for GetPullRequestOverrideState Operation
IAsyncResult BeginGetPullRequestOverrideState(GetPullRequestOverrideStateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetPullRequestOverrideState operation.
///
///
/// The IAsyncResult returned by the call to BeginGetPullRequestOverrideState.
///
/// Returns a GetPullRequestOverrideStateResult from CodeCommit.
/// REST API Reference for GetPullRequestOverrideState Operation
GetPullRequestOverrideStateResponse EndGetPullRequestOverrideState(IAsyncResult asyncResult);
#endregion
#region 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 webpage can 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 webpage.
///
///
///
/// Container for the necessary parameters to execute the GetRepository service method.
///
/// The response from the GetRepository service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetRepository Operation
GetRepositoryResponse GetRepository(GetRepositoryRequest request);
///
/// Initiates the asynchronous execution of the GetRepository operation.
///
///
/// Container for the necessary parameters to execute the GetRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRepository
/// operation.
/// REST API Reference for GetRepository Operation
IAsyncResult BeginGetRepository(GetRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginGetRepository.
///
/// Returns a GetRepositoryResult from CodeCommit.
/// REST API Reference for GetRepository Operation
GetRepositoryResponse EndGetRepository(IAsyncResult asyncResult);
#endregion
#region GetRepositoryTriggers
///
/// Gets information about triggers configured for a repository.
///
/// Container for the necessary parameters to execute the GetRepositoryTriggers service method.
///
/// The response from the GetRepositoryTriggers service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for GetRepositoryTriggers Operation
GetRepositoryTriggersResponse GetRepositoryTriggers(GetRepositoryTriggersRequest request);
///
/// Initiates the asynchronous execution of the GetRepositoryTriggers operation.
///
///
/// Container for the necessary parameters to execute the GetRepositoryTriggers operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRepositoryTriggers
/// operation.
/// REST API Reference for GetRepositoryTriggers Operation
IAsyncResult BeginGetRepositoryTriggers(GetRepositoryTriggersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetRepositoryTriggers operation.
///
///
/// The IAsyncResult returned by the call to BeginGetRepositoryTriggers.
///
/// Returns a GetRepositoryTriggersResult from CodeCommit.
/// REST API Reference for GetRepositoryTriggers Operation
GetRepositoryTriggersResponse EndGetRepositoryTriggers(IAsyncResult asyncResult);
#endregion
#region ListApprovalRuleTemplates
///
/// Lists all approval rule templates in the specified AWS Region in your AWS account.
/// If an AWS Region is not specified, the AWS Region where you are signed in is used.
///
/// Container for the necessary parameters to execute the ListApprovalRuleTemplates service method.
///
/// The response from the ListApprovalRuleTemplates service method, as returned by CodeCommit.
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
/// REST API Reference for ListApprovalRuleTemplates Operation
ListApprovalRuleTemplatesResponse ListApprovalRuleTemplates(ListApprovalRuleTemplatesRequest request);
///
/// Initiates the asynchronous execution of the ListApprovalRuleTemplates operation.
///
///
/// Container for the necessary parameters to execute the ListApprovalRuleTemplates operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListApprovalRuleTemplates
/// operation.
/// REST API Reference for ListApprovalRuleTemplates Operation
IAsyncResult BeginListApprovalRuleTemplates(ListApprovalRuleTemplatesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListApprovalRuleTemplates operation.
///
///
/// The IAsyncResult returned by the call to BeginListApprovalRuleTemplates.
///
/// Returns a ListApprovalRuleTemplatesResult from CodeCommit.
/// REST API Reference for ListApprovalRuleTemplates Operation
ListApprovalRuleTemplatesResponse EndListApprovalRuleTemplates(IAsyncResult asyncResult);
#endregion
#region ListAssociatedApprovalRuleTemplatesForRepository
///
/// Lists all approval rule templates that are associated with a specified repository.
///
/// Container for the necessary parameters to execute the ListAssociatedApprovalRuleTemplatesForRepository service method.
///
/// The response from the ListAssociatedApprovalRuleTemplatesForRepository service method, as returned by CodeCommit.
///
/// 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.
///
///
/// The specified number of maximum results is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation
ListAssociatedApprovalRuleTemplatesForRepositoryResponse ListAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request);
///
/// Initiates the asynchronous execution of the ListAssociatedApprovalRuleTemplatesForRepository operation.
///
///
/// Container for the necessary parameters to execute the ListAssociatedApprovalRuleTemplatesForRepository operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedApprovalRuleTemplatesForRepository
/// operation.
/// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation
IAsyncResult BeginListAssociatedApprovalRuleTemplatesForRepository(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListAssociatedApprovalRuleTemplatesForRepository operation.
///
///
/// The IAsyncResult returned by the call to BeginListAssociatedApprovalRuleTemplatesForRepository.
///
/// Returns a ListAssociatedApprovalRuleTemplatesForRepositoryResult from CodeCommit.
/// REST API Reference for ListAssociatedApprovalRuleTemplatesForRepository Operation
ListAssociatedApprovalRuleTemplatesForRepositoryResponse EndListAssociatedApprovalRuleTemplatesForRepository(IAsyncResult asyncResult);
#endregion
#region ListBranches
///
/// Gets information about one or more branches in a repository.
///
/// Container for the necessary parameters to execute the ListBranches service method.
///
/// The response from the ListBranches service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for ListBranches Operation
ListBranchesResponse ListBranches(ListBranchesRequest request);
///
/// Initiates the asynchronous execution of the ListBranches operation.
///
///
/// Container for the necessary parameters to execute the ListBranches operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBranches
/// operation.
/// REST API Reference for ListBranches Operation
IAsyncResult BeginListBranches(ListBranchesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListBranches operation.
///
///
/// The IAsyncResult returned by the call to BeginListBranches.
///
/// Returns a ListBranchesResult from CodeCommit.
/// REST API Reference for ListBranches Operation
ListBranchesResponse EndListBranches(IAsyncResult asyncResult);
#endregion
#region ListPullRequests
///
/// Returns a list of pull requests for a specified repository. The return list can be
/// refined by pull request status or pull request author ARN.
///
/// Container for the necessary parameters to execute the ListPullRequests service method.
///
/// The response from the ListPullRequests service method, as returned by CodeCommit.
///
/// The specified Amazon Resource Name (ARN) does not exist in the AWS account.
///
///
/// 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 Amazon Resource Name (ARN) is not valid. Make sure that you have provided the
/// full ARN for the author of the pull request, and then try again.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
///
/// The pull request status is not valid. The only valid values are OPEN
/// and CLOSED
.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for ListPullRequests Operation
ListPullRequestsResponse ListPullRequests(ListPullRequestsRequest request);
///
/// Initiates the asynchronous execution of the ListPullRequests operation.
///
///
/// Container for the necessary parameters to execute the ListPullRequests operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPullRequests
/// operation.
/// REST API Reference for ListPullRequests Operation
IAsyncResult BeginListPullRequests(ListPullRequestsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListPullRequests operation.
///
///
/// The IAsyncResult returned by the call to BeginListPullRequests.
///
/// Returns a ListPullRequestsResult from CodeCommit.
/// REST API Reference for ListPullRequests Operation
ListPullRequestsResponse EndListPullRequests(IAsyncResult asyncResult);
#endregion
#region ListRepositories
///
/// Gets information about one or more repositories.
///
/// Container for the necessary parameters to execute the ListRepositories service method.
///
/// The response from the ListRepositories service method, as returned by CodeCommit.
///
/// The specified continuation token is not valid.
///
///
/// The specified sort order is not valid.
///
///
/// The specified sort by value is not valid.
///
/// REST API Reference for ListRepositories Operation
ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request);
///
/// Initiates the asynchronous execution of the ListRepositories operation.
///
///
/// Container for the necessary parameters to execute the ListRepositories operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRepositories
/// operation.
/// REST API Reference for ListRepositories Operation
IAsyncResult BeginListRepositories(ListRepositoriesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListRepositories operation.
///
///
/// The IAsyncResult returned by the call to BeginListRepositories.
///
/// Returns a ListRepositoriesResult from CodeCommit.
/// REST API Reference for ListRepositories Operation
ListRepositoriesResponse EndListRepositories(IAsyncResult asyncResult);
#endregion
#region ListRepositoriesForApprovalRuleTemplate
///
/// Lists all repositories associated with the specified approval rule template.
///
/// Container for the necessary parameters to execute the ListRepositoriesForApprovalRuleTemplate service method.
///
/// The response from the ListRepositoriesForApprovalRuleTemplate service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template 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 name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// The specified continuation token is not valid.
///
///
/// The specified number of maximum results is not valid.
///
/// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation
ListRepositoriesForApprovalRuleTemplateResponse ListRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest request);
///
/// Initiates the asynchronous execution of the ListRepositoriesForApprovalRuleTemplate operation.
///
///
/// Container for the necessary parameters to execute the ListRepositoriesForApprovalRuleTemplate operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRepositoriesForApprovalRuleTemplate
/// operation.
/// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation
IAsyncResult BeginListRepositoriesForApprovalRuleTemplate(ListRepositoriesForApprovalRuleTemplateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListRepositoriesForApprovalRuleTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginListRepositoriesForApprovalRuleTemplate.
///
/// Returns a ListRepositoriesForApprovalRuleTemplateResult from CodeCommit.
/// REST API Reference for ListRepositoriesForApprovalRuleTemplate Operation
ListRepositoriesForApprovalRuleTemplateResponse EndListRepositoriesForApprovalRuleTemplate(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
///
/// Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS
/// CodeCommit. For a list of valid resources in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by CodeCommit.
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 value for the resource ARN is not valid. For more information about resources
/// in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
///
/// The specified repository does not exist.
///
///
/// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For
/// a list of valid resources in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from CodeCommit.
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region MergeBranchesByFastForward
///
/// Merges two branches using the fast-forward merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesByFastForward service method.
///
/// The response from the MergeBranchesByFastForward service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// 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 was not specified.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 reference name is not valid.
///
///
/// The specified commit is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 target branch is not valid.
///
///
/// The pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for MergeBranchesByFastForward Operation
MergeBranchesByFastForwardResponse MergeBranchesByFastForward(MergeBranchesByFastForwardRequest request);
///
/// Initiates the asynchronous execution of the MergeBranchesByFastForward operation.
///
///
/// Container for the necessary parameters to execute the MergeBranchesByFastForward operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergeBranchesByFastForward
/// operation.
/// REST API Reference for MergeBranchesByFastForward Operation
IAsyncResult BeginMergeBranchesByFastForward(MergeBranchesByFastForwardRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergeBranchesByFastForward operation.
///
///
/// The IAsyncResult returned by the call to BeginMergeBranchesByFastForward.
///
/// Returns a MergeBranchesByFastForwardResult from CodeCommit.
/// REST API Reference for MergeBranchesByFastForward Operation
MergeBranchesByFastForwardResponse EndMergeBranchesByFastForward(IAsyncResult asyncResult);
#endregion
#region MergeBranchesBySquash
///
/// Merges two branches using the squash merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesBySquash service method.
///
/// The response from the MergeBranchesBySquash service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// 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.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// A commit was not specified.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The commit cannot be created because no file mode has been specified. A file mode
/// is required to update mode permissions for a file.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified reference name is not valid.
///
///
/// The specified commit is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution list is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The specified path is not valid.
///
///
/// Automerge was specified for resolving the conflict, but the replacement type is not
/// valid or content is missing.
///
///
/// Automerge was specified for resolving the conflict, but the specified replacement
/// type is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 target branch is not valid.
///
///
/// The pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The number of allowed conflict resolution entries was exceeded.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// More than one conflict resolution entries exists for the conflict. A conflict can
/// have only one conflict resolution entry.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The folderPath for a location cannot be null.
///
///
/// USE_NEW_CONTENT was specified, but no replacement content has been provided.
///
///
/// A replacement type is required.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for MergeBranchesBySquash Operation
MergeBranchesBySquashResponse MergeBranchesBySquash(MergeBranchesBySquashRequest request);
///
/// Initiates the asynchronous execution of the MergeBranchesBySquash operation.
///
///
/// Container for the necessary parameters to execute the MergeBranchesBySquash operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergeBranchesBySquash
/// operation.
/// REST API Reference for MergeBranchesBySquash Operation
IAsyncResult BeginMergeBranchesBySquash(MergeBranchesBySquashRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergeBranchesBySquash operation.
///
///
/// The IAsyncResult returned by the call to BeginMergeBranchesBySquash.
///
/// Returns a MergeBranchesBySquashResult from CodeCommit.
/// REST API Reference for MergeBranchesBySquash Operation
MergeBranchesBySquashResponse EndMergeBranchesBySquash(IAsyncResult asyncResult);
#endregion
#region MergeBranchesByThreeWay
///
/// Merges two specified branches using the three-way merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesByThreeWay service method.
///
/// The response from the MergeBranchesByThreeWay service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// 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.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// A commit was not specified.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The commit cannot be created because no file mode has been specified. A file mode
/// is required to update mode permissions for a file.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified reference name is not valid.
///
///
/// The specified commit is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution list is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The specified path is not valid.
///
///
/// Automerge was specified for resolving the conflict, but the replacement type is not
/// valid or content is missing.
///
///
/// Automerge was specified for resolving the conflict, but the specified replacement
/// type is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 target branch is not valid.
///
///
/// The pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The number of allowed conflict resolution entries was exceeded.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// More than one conflict resolution entries exists for the conflict. A conflict can
/// have only one conflict resolution entry.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The folderPath for a location cannot be null.
///
///
/// USE_NEW_CONTENT was specified, but no replacement content has been provided.
///
///
/// A replacement type is required.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for MergeBranchesByThreeWay Operation
MergeBranchesByThreeWayResponse MergeBranchesByThreeWay(MergeBranchesByThreeWayRequest request);
///
/// Initiates the asynchronous execution of the MergeBranchesByThreeWay operation.
///
///
/// Container for the necessary parameters to execute the MergeBranchesByThreeWay operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergeBranchesByThreeWay
/// operation.
/// REST API Reference for MergeBranchesByThreeWay Operation
IAsyncResult BeginMergeBranchesByThreeWay(MergeBranchesByThreeWayRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergeBranchesByThreeWay operation.
///
///
/// The IAsyncResult returned by the call to BeginMergeBranchesByThreeWay.
///
/// Returns a MergeBranchesByThreeWayResult from CodeCommit.
/// REST API Reference for MergeBranchesByThreeWay Operation
MergeBranchesByThreeWayResponse EndMergeBranchesByThreeWay(IAsyncResult asyncResult);
#endregion
#region MergePullRequestByFastForward
///
/// Attempts to merge the source commit of a pull request into the specified destination
/// branch for that pull request at the specified commit using the fast-forward merge
/// strategy. If the merge is successful, it closes the pull request.
///
/// Container for the necessary parameters to execute the MergePullRequestByFastForward service method.
///
/// The response from the MergePullRequestByFastForward service method, as returned by CodeCommit.
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request cannot be merged because one or more approval rules applied to the
/// pull request have conditions that have not been met.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// The specified reference does not exist. You must provide a full commit ID.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest
/// to verify the correct repository name for the pull request ID.
///
///
/// The tip of the source branch in the destination repository does not match the tip
/// of the source branch specified in your request. The pull request might have been updated.
/// Make sure that you have the latest changes.
///
/// REST API Reference for MergePullRequestByFastForward Operation
MergePullRequestByFastForwardResponse MergePullRequestByFastForward(MergePullRequestByFastForwardRequest request);
///
/// Initiates the asynchronous execution of the MergePullRequestByFastForward operation.
///
///
/// Container for the necessary parameters to execute the MergePullRequestByFastForward operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergePullRequestByFastForward
/// operation.
/// REST API Reference for MergePullRequestByFastForward Operation
IAsyncResult BeginMergePullRequestByFastForward(MergePullRequestByFastForwardRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergePullRequestByFastForward operation.
///
///
/// The IAsyncResult returned by the call to BeginMergePullRequestByFastForward.
///
/// Returns a MergePullRequestByFastForwardResult from CodeCommit.
/// REST API Reference for MergePullRequestByFastForward Operation
MergePullRequestByFastForwardResponse EndMergePullRequestByFastForward(IAsyncResult asyncResult);
#endregion
#region MergePullRequestBySquash
///
/// Attempts to merge the source commit of a pull request into the specified destination
/// branch for that pull request at the specified commit using the squash merge strategy.
/// If the merge is successful, it closes the pull request.
///
/// Container for the necessary parameters to execute the MergePullRequestBySquash service method.
///
/// The response from the MergePullRequestBySquash service method, as returned by CodeCommit.
///
/// The commit message is too long. Provide a shorter string.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified commit ID is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution list is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The specified path is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// Automerge was specified for resolving the conflict, but the replacement type is not
/// valid or content is missing.
///
///
/// Automerge was specified for resolving the conflict, but the specified replacement
/// type is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The number of allowed conflict resolution entries was exceeded.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// More than one conflict resolution entries exists for the conflict. A conflict can
/// have only one conflict resolution entry.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The folderPath for a location cannot be null.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request cannot be merged because one or more approval rules applied to the
/// pull request have conditions that have not been met.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// USE_NEW_CONTENT was specified, but no replacement content has been provided.
///
///
/// A replacement type is required.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest
/// to verify the correct repository name for the pull request ID.
///
///
/// The tip of the source branch in the destination repository does not match the tip
/// of the source branch specified in your request. The pull request might have been updated.
/// Make sure that you have the latest changes.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for MergePullRequestBySquash Operation
MergePullRequestBySquashResponse MergePullRequestBySquash(MergePullRequestBySquashRequest request);
///
/// Initiates the asynchronous execution of the MergePullRequestBySquash operation.
///
///
/// Container for the necessary parameters to execute the MergePullRequestBySquash operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergePullRequestBySquash
/// operation.
/// REST API Reference for MergePullRequestBySquash Operation
IAsyncResult BeginMergePullRequestBySquash(MergePullRequestBySquashRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergePullRequestBySquash operation.
///
///
/// The IAsyncResult returned by the call to BeginMergePullRequestBySquash.
///
/// Returns a MergePullRequestBySquashResult from CodeCommit.
/// REST API Reference for MergePullRequestBySquash Operation
MergePullRequestBySquashResponse EndMergePullRequestBySquash(IAsyncResult asyncResult);
#endregion
#region MergePullRequestByThreeWay
///
/// Attempts to merge the source commit of a pull request into the specified destination
/// branch for that pull request at the specified commit using the three-way merge strategy.
/// If the merge is successful, it closes the pull request.
///
/// Container for the necessary parameters to execute the MergePullRequestByThreeWay service method.
///
/// The response from the MergePullRequestByThreeWay service method, as returned by CodeCommit.
///
/// The commit message is too long. Provide a shorter string.
///
///
/// The merge cannot be completed because the target branch has been modified. Another
/// user might have modified the target branch while the merge was in progress. Wait a
/// few minutes, and then try again.
///
///
/// 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 file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified commit ID is not valid.
///
///
/// The specified conflict detail level is not valid.
///
///
/// The specified conflict resolution list is not valid.
///
///
/// The specified conflict resolution strategy is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The specified path is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// Automerge was specified for resolving the conflict, but the replacement type is not
/// valid or content is missing.
///
///
/// Automerge was specified for resolving the conflict, but the specified replacement
/// type is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 pull request cannot be merged automatically into the destination branch. You must
/// manually merge the branches and resolve any conflicts.
///
///
/// The number of allowed conflict resolution entries was exceeded.
///
///
/// The number of files to load exceeds the allowed limit.
///
///
/// The number of items to compare between the source or destination branches and the
/// merge base has exceeded the maximum allowed.
///
///
/// More than one conflict resolution entries exists for the conflict. A conflict can
/// have only one conflict resolution entry.
///
///
/// The user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The folderPath for a location cannot be null.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request cannot be merged because one or more approval rules applied to the
/// pull request have conditions that have not been met.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// USE_NEW_CONTENT was specified, but no replacement content has been provided.
///
///
/// A replacement type is required.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest
/// to verify the correct repository name for the pull request ID.
///
///
/// The tip of the source branch in the destination repository does not match the tip
/// of the source branch specified in your request. The pull request might have been updated.
/// Make sure that you have the latest changes.
///
///
/// The divergence between the tips of the provided commit specifiers is too great to
/// determine whether there might be any merge conflicts. Locally compare the specifiers
/// using git diff
or a diff tool.
///
/// REST API Reference for MergePullRequestByThreeWay Operation
MergePullRequestByThreeWayResponse MergePullRequestByThreeWay(MergePullRequestByThreeWayRequest request);
///
/// Initiates the asynchronous execution of the MergePullRequestByThreeWay operation.
///
///
/// Container for the necessary parameters to execute the MergePullRequestByThreeWay operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndMergePullRequestByThreeWay
/// operation.
/// REST API Reference for MergePullRequestByThreeWay Operation
IAsyncResult BeginMergePullRequestByThreeWay(MergePullRequestByThreeWayRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the MergePullRequestByThreeWay operation.
///
///
/// The IAsyncResult returned by the call to BeginMergePullRequestByThreeWay.
///
/// Returns a MergePullRequestByThreeWayResult from CodeCommit.
/// REST API Reference for MergePullRequestByThreeWay Operation
MergePullRequestByThreeWayResponse EndMergePullRequestByThreeWay(IAsyncResult asyncResult);
#endregion
#region OverridePullRequestApprovalRules
///
/// Sets aside (overrides) all approval rule requirements for a specified pull request.
///
/// Container for the necessary parameters to execute the OverridePullRequestApprovalRules service method.
///
/// The response from the OverridePullRequestApprovalRules service method, as returned by CodeCommit.
///
/// 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 override status is not valid. Valid statuses are OVERRIDE and REVOKE.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The revision ID is not valid. Use GetPullRequest to determine the value.
///
///
/// The pull request has already had its approval rules set to override.
///
///
/// An override status is required, but no value was provided. Valid values include OVERRIDE
/// and REVOKE.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A revision ID is required, but was not provided.
///
///
/// The revision ID provided in the request does not match the current revision ID. Use
/// GetPullRequest to retrieve the current revision ID.
///
/// REST API Reference for OverridePullRequestApprovalRules Operation
OverridePullRequestApprovalRulesResponse OverridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest request);
///
/// Initiates the asynchronous execution of the OverridePullRequestApprovalRules operation.
///
///
/// Container for the necessary parameters to execute the OverridePullRequestApprovalRules operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndOverridePullRequestApprovalRules
/// operation.
/// REST API Reference for OverridePullRequestApprovalRules Operation
IAsyncResult BeginOverridePullRequestApprovalRules(OverridePullRequestApprovalRulesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the OverridePullRequestApprovalRules operation.
///
///
/// The IAsyncResult returned by the call to BeginOverridePullRequestApprovalRules.
///
/// Returns a OverridePullRequestApprovalRulesResult from CodeCommit.
/// REST API Reference for OverridePullRequestApprovalRules Operation
OverridePullRequestApprovalRulesResponse EndOverridePullRequestApprovalRules(IAsyncResult asyncResult);
#endregion
#region PostCommentForComparedCommit
///
/// Posts a comment on the comparison between two commits.
///
/// Container for the necessary parameters to execute the PostCommentForComparedCommit service method.
///
/// The response from the PostCommentForComparedCommit service method, as returned by CodeCommit.
///
/// The before commit ID and the after commit ID are the same, which is not valid. The
/// before commit ID and the after commit ID must be different commit IDs.
///
///
/// A client request token is required. A client request token is an unique, client-generated
/// idempotency token that, when provided in a request, ensures the request cannot be
/// repeated with a changed parameter. If a request is received with the same parameters
/// and a token is included, the request returns information about the initial request
/// that used that token.
///
///
/// The comment is empty. You must provide some content for a comment. The content cannot
/// be null.
///
///
/// The comment is too large. Comments are limited to 1,000 characters.
///
///
/// 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 client request token is not valid. Either the token is not in a valid format,
/// or the token has been used in a previous request and cannot be reused.
///
///
/// The client request token is not valid.
///
///
/// The specified commit ID is not valid.
///
///
/// The location of the file is not valid. Make sure that you include the file name and
/// extension.
///
///
/// The position is not valid. Make sure that the line number exists in the version of
/// the file you want to comment on.
///
///
/// The specified path is not valid.
///
///
/// Either the enum is not in a valid format, or the specified file version enum is not
/// valid in respect to the current file version.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 path does not exist.
///
///
/// The folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
/// REST API Reference for PostCommentForComparedCommit Operation
PostCommentForComparedCommitResponse PostCommentForComparedCommit(PostCommentForComparedCommitRequest request);
///
/// Initiates the asynchronous execution of the PostCommentForComparedCommit operation.
///
///
/// Container for the necessary parameters to execute the PostCommentForComparedCommit operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPostCommentForComparedCommit
/// operation.
/// REST API Reference for PostCommentForComparedCommit Operation
IAsyncResult BeginPostCommentForComparedCommit(PostCommentForComparedCommitRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PostCommentForComparedCommit operation.
///
///
/// The IAsyncResult returned by the call to BeginPostCommentForComparedCommit.
///
/// Returns a PostCommentForComparedCommitResult from CodeCommit.
/// REST API Reference for PostCommentForComparedCommit Operation
PostCommentForComparedCommitResponse EndPostCommentForComparedCommit(IAsyncResult asyncResult);
#endregion
#region PostCommentForPullRequest
///
/// Posts a comment on a pull request.
///
/// Container for the necessary parameters to execute the PostCommentForPullRequest service method.
///
/// The response from the PostCommentForPullRequest service method, as returned by CodeCommit.
///
/// The before commit ID and the after commit ID are the same, which is not valid. The
/// before commit ID and the after commit ID must be different commit IDs.
///
///
/// A client request token is required. A client request token is an unique, client-generated
/// idempotency token that, when provided in a request, ensures the request cannot be
/// repeated with a changed parameter. If a request is received with the same parameters
/// and a token is included, the request returns information about the initial request
/// that used that token.
///
///
/// The comment is empty. You must provide some content for a comment. The content cannot
/// be null.
///
///
/// The comment is too large. Comments are limited to 1,000 characters.
///
///
/// 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 client request token is not valid. Either the token is not in a valid format,
/// or the token has been used in a previous request and cannot be reused.
///
///
/// The client request token is not valid.
///
///
/// The specified commit ID is not valid.
///
///
/// The location of the file is not valid. Make sure that you include the file name and
/// extension.
///
///
/// The position is not valid. Make sure that the line number exists in the version of
/// the file you want to comment on.
///
///
/// The specified path is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// Either the enum is not in a valid format, or the specified file version enum is not
/// valid in respect to the current file version.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 path does not exist.
///
///
/// The folderPath for a location cannot be null.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The repository does not contain any pull requests with that pull request ID. Use GetPullRequest
/// to verify the correct repository name for the pull request ID.
///
/// REST API Reference for PostCommentForPullRequest Operation
PostCommentForPullRequestResponse PostCommentForPullRequest(PostCommentForPullRequestRequest request);
///
/// Initiates the asynchronous execution of the PostCommentForPullRequest operation.
///
///
/// Container for the necessary parameters to execute the PostCommentForPullRequest operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPostCommentForPullRequest
/// operation.
/// REST API Reference for PostCommentForPullRequest Operation
IAsyncResult BeginPostCommentForPullRequest(PostCommentForPullRequestRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PostCommentForPullRequest operation.
///
///
/// The IAsyncResult returned by the call to BeginPostCommentForPullRequest.
///
/// Returns a PostCommentForPullRequestResult from CodeCommit.
/// REST API Reference for PostCommentForPullRequest Operation
PostCommentForPullRequestResponse EndPostCommentForPullRequest(IAsyncResult asyncResult);
#endregion
#region PostCommentReply
///
/// Posts a comment in reply to an existing comment on a comparison between commits or
/// a pull request.
///
/// Container for the necessary parameters to execute the PostCommentReply service method.
///
/// The response from the PostCommentReply service method, as returned by CodeCommit.
///
/// A client request token is required. A client request token is an unique, client-generated
/// idempotency token that, when provided in a request, ensures the request cannot be
/// repeated with a changed parameter. If a request is received with the same parameters
/// and a token is included, the request returns information about the initial request
/// that used that token.
///
///
/// The comment is empty. You must provide some content for a comment. The content cannot
/// be null.
///
///
/// The comment is too large. Comments are limited to 1,000 characters.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// The client request token is not valid. Either the token is not in a valid format,
/// or the token has been used in a previous request and cannot be reused.
///
///
/// The client request token is not valid.
///
///
/// The comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
/// REST API Reference for PostCommentReply Operation
PostCommentReplyResponse PostCommentReply(PostCommentReplyRequest request);
///
/// Initiates the asynchronous execution of the PostCommentReply operation.
///
///
/// Container for the necessary parameters to execute the PostCommentReply operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPostCommentReply
/// operation.
/// REST API Reference for PostCommentReply Operation
IAsyncResult BeginPostCommentReply(PostCommentReplyRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PostCommentReply operation.
///
///
/// The IAsyncResult returned by the call to BeginPostCommentReply.
///
/// Returns a PostCommentReplyResult from CodeCommit.
/// REST API Reference for PostCommentReply Operation
PostCommentReplyResponse EndPostCommentReply(IAsyncResult asyncResult);
#endregion
#region PutCommentReaction
///
/// Adds or updates a reaction to a specified comment for the user whose identity is used
/// to make the request. You can only add or update a reaction for yourself. You cannot
/// add, modify, or delete a reaction for another user.
///
/// Container for the necessary parameters to execute the PutCommentReaction service method.
///
/// The response from the PutCommentReaction service method, as returned by CodeCommit.
///
/// This comment has already been deleted. You cannot edit or delete a deleted comment.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// The comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
///
/// The value of the reaction is not valid. For more information, see the AWS
/// CodeCommit User Guide.
///
///
/// The number of reactions has been exceeded. Reactions are limited to one reaction per
/// user for each individual comment ID.
///
///
/// A reaction value is required.
///
/// REST API Reference for PutCommentReaction Operation
PutCommentReactionResponse PutCommentReaction(PutCommentReactionRequest request);
///
/// Initiates the asynchronous execution of the PutCommentReaction operation.
///
///
/// Container for the necessary parameters to execute the PutCommentReaction operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutCommentReaction
/// operation.
/// REST API Reference for PutCommentReaction Operation
IAsyncResult BeginPutCommentReaction(PutCommentReactionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutCommentReaction operation.
///
///
/// The IAsyncResult returned by the call to BeginPutCommentReaction.
///
/// Returns a PutCommentReactionResult from CodeCommit.
/// REST API Reference for PutCommentReaction Operation
PutCommentReactionResponse EndPutCommentReaction(IAsyncResult asyncResult);
#endregion
#region PutFile
///
/// Adds or updates a file in a branch in an AWS CodeCommit repository, and generates
/// a commit for the addition in the specified branch.
///
/// Container for the necessary parameters to execute the PutFile service method.
///
/// The response from the PutFile service method, as returned by CodeCommit.
///
/// The specified branch does not exist.
///
///
/// The specified branch name is not valid because it is a tag name. Enter the name of
/// a branch in the repository. For a list of valid branch names, use ListBranches.
///
///
/// A branch name is required, but was not specified.
///
///
/// The commit message is too long. Provide a shorter string.
///
///
/// A file cannot be added to the repository because the specified path name has the same
/// name as a file that already exists in this repository. Either provide a different
/// name for the file, or specify a different path for the file.
///
///
/// 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 file cannot be added because it is empty. Empty files cannot be added to the repository
/// with this API.
///
///
/// The file cannot be added because it is too large. The maximum file size is 6 MB, and
/// the combined file content change size is 7 MB. Consider making these changes using
/// a Git client.
///
///
/// A file cannot be added to the repository because the specified file name has the same
/// name as a directory in this repository. Either provide another name for the file,
/// or add the file in a directory that does not match the file name.
///
///
/// The commit cannot be created because a specified file path points to a submodule.
/// Verify that the destination files have valid file paths that do not point to a submodule.
///
///
/// The commit cannot be created because at least one of the overall changes in the commit
/// results in a folder whose contents exceed the limit of 6 MB. Either reduce the number
/// and size of your changes, or split the changes across multiple folders.
///
///
/// The specified reference name is not valid.
///
///
/// The specified deletion parameter is not valid.
///
///
/// The specified email address either contains one or more characters that are not allowed,
/// or it exceeds the maximum number of characters allowed for an email address.
///
///
/// The specified file mode permission is not valid. For a list of valid file mode permissions,
/// see PutFile.
///
///
/// The parent commit ID is not valid. The commit ID cannot be empty, and must match the
/// head commit ID for the branch of the repository where you want to add or update a
/// file.
///
///
/// The specified path is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 user name is not valid because it has exceeded the character limit for author
/// names.
///
///
/// The parent commit ID is not valid because it does not exist. The specified parent
/// commit ID does not exist in the specified branch of the repository.
///
///
/// The file could not be added because the provided parent commit ID is not the current
/// tip of the specified branch. To view the full commit ID of the current head of the
/// branch, use GetBranch.
///
///
/// A parent commit ID is required. To view the full commit ID of a branch in a repository,
/// use GetBranch or a Git command (for example, git pull or git log).
///
///
/// The folderPath for a location cannot be null.
///
///
/// The specified repository does not exist.
///
///
/// A repository name is required, but was not specified.
///
///
/// The file was not added or updated because the content of the file is exactly the same
/// as the content of that file in the repository and branch that you specified.
///
/// REST API Reference for PutFile Operation
PutFileResponse PutFile(PutFileRequest request);
///
/// Initiates the asynchronous execution of the PutFile operation.
///
///
/// Container for the necessary parameters to execute the PutFile operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutFile
/// operation.
/// REST API Reference for PutFile Operation
IAsyncResult BeginPutFile(PutFileRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutFile operation.
///
///
/// The IAsyncResult returned by the call to BeginPutFile.
///
/// Returns a PutFileResult from CodeCommit.
/// REST API Reference for PutFile Operation
PutFileResponse EndPutFile(IAsyncResult asyncResult);
#endregion
#region PutRepositoryTriggers
///
/// Replaces all triggers for a repository. Used to create or delete triggers.
///
/// Container for the necessary parameters to execute the PutRepositoryTriggers service method.
///
/// The response from the PutRepositoryTriggers service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 AWS Region for the trigger target does not match the AWS 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.
///
/// REST API Reference for PutRepositoryTriggers Operation
PutRepositoryTriggersResponse PutRepositoryTriggers(PutRepositoryTriggersRequest request);
///
/// Initiates the asynchronous execution of the PutRepositoryTriggers operation.
///
///
/// Container for the necessary parameters to execute the PutRepositoryTriggers operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutRepositoryTriggers
/// operation.
/// REST API Reference for PutRepositoryTriggers Operation
IAsyncResult BeginPutRepositoryTriggers(PutRepositoryTriggersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutRepositoryTriggers operation.
///
///
/// The IAsyncResult returned by the call to BeginPutRepositoryTriggers.
///
/// Returns a PutRepositoryTriggersResult from CodeCommit.
/// REST API Reference for PutRepositoryTriggers Operation
PutRepositoryTriggersResponse EndPutRepositoryTriggers(IAsyncResult asyncResult);
#endregion
#region TagResource
///
/// Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources
/// in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by CodeCommit.
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 value for the resource ARN is not valid. For more information about resources
/// in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
///
/// The specified tag is not valid. Key names cannot be prefixed with aws:.
///
///
/// The map of tags is not valid.
///
///
/// The specified repository does not exist.
///
///
/// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For
/// a list of valid resources in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
///
/// The tag policy is not valid.
///
///
/// A map of tags is required.
///
///
/// The maximum number of tags for an AWS CodeCommit resource has been exceeded.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from CodeCommit.
/// REST API Reference for TagResource Operation
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region TestRepositoryTriggers
///
/// Tests the functionality of repository triggers by sending information to the trigger
/// target. If real data is available in the repository, the test sends data from the
/// last commit. If no data is available, sample data is generated.
///
/// Container for the necessary parameters to execute the TestRepositoryTriggers service method.
///
/// The response from the TestRepositoryTriggers service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 AWS Region for the trigger target does not match the AWS 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.
///
/// REST API Reference for TestRepositoryTriggers Operation
TestRepositoryTriggersResponse TestRepositoryTriggers(TestRepositoryTriggersRequest request);
///
/// Initiates the asynchronous execution of the TestRepositoryTriggers operation.
///
///
/// Container for the necessary parameters to execute the TestRepositoryTriggers operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestRepositoryTriggers
/// operation.
/// REST API Reference for TestRepositoryTriggers Operation
IAsyncResult BeginTestRepositoryTriggers(TestRepositoryTriggersRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the TestRepositoryTriggers operation.
///
///
/// The IAsyncResult returned by the call to BeginTestRepositoryTriggers.
///
/// Returns a TestRepositoryTriggersResult from CodeCommit.
/// REST API Reference for TestRepositoryTriggers Operation
TestRepositoryTriggersResponse EndTestRepositoryTriggers(IAsyncResult asyncResult);
#endregion
#region UntagResource
///
/// Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS
/// CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by CodeCommit.
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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 value for the resource ARN is not valid. For more information about resources
/// in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
///
/// The specified tag is not valid. Key names cannot be prefixed with aws:.
///
///
/// The list of tags is not valid.
///
///
/// The specified repository does not exist.
///
///
/// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For
/// a list of valid resources in AWS CodeCommit, see CodeCommit
/// Resources and Operations in the AWS CodeCommit User Guide.
///
///
/// A list of tag keys is required. The list cannot be empty or null.
///
///
/// The tag policy is not valid.
///
///
/// The maximum number of tags for an AWS CodeCommit resource has been exceeded.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from CodeCommit.
/// REST API Reference for UntagResource Operation
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateApprovalRuleTemplateContent
///
/// Updates the content of an approval rule template. You can change the number of required
/// approvals, the membership of the approval rule, and whether an approval pool is defined.
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateContent service method.
///
/// The response from the UpdateApprovalRuleTemplateContent service method, as returned by CodeCommit.
///
/// The content for the approval rule template is empty. You must provide some content
/// for an approval rule template. The content cannot be null.
///
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The content of the approval rule template is not valid.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
///
/// The SHA-256 hash signature for the rule content is not valid.
///
/// REST API Reference for UpdateApprovalRuleTemplateContent Operation
UpdateApprovalRuleTemplateContentResponse UpdateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest request);
///
/// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateContent operation.
///
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateContent operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApprovalRuleTemplateContent
/// operation.
/// REST API Reference for UpdateApprovalRuleTemplateContent Operation
IAsyncResult BeginUpdateApprovalRuleTemplateContent(UpdateApprovalRuleTemplateContentRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateContent operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateContent.
///
/// Returns a UpdateApprovalRuleTemplateContentResult from CodeCommit.
/// REST API Reference for UpdateApprovalRuleTemplateContent Operation
UpdateApprovalRuleTemplateContentResponse EndUpdateApprovalRuleTemplateContent(IAsyncResult asyncResult);
#endregion
#region UpdateApprovalRuleTemplateDescription
///
/// Updates the description for a specified approval rule template.
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateDescription service method.
///
/// The response from the UpdateApprovalRuleTemplateDescription service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The description for the approval rule template is not valid because it exceeds the
/// maximum characters allowed for a description. For more information about limits in
/// AWS CodeCommit, see AWS
/// CodeCommit User Guide.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
/// REST API Reference for UpdateApprovalRuleTemplateDescription Operation
UpdateApprovalRuleTemplateDescriptionResponse UpdateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest request);
///
/// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateDescription operation.
///
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateDescription operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApprovalRuleTemplateDescription
/// operation.
/// REST API Reference for UpdateApprovalRuleTemplateDescription Operation
IAsyncResult BeginUpdateApprovalRuleTemplateDescription(UpdateApprovalRuleTemplateDescriptionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateDescription operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateDescription.
///
/// Returns a UpdateApprovalRuleTemplateDescriptionResult from CodeCommit.
/// REST API Reference for UpdateApprovalRuleTemplateDescription Operation
UpdateApprovalRuleTemplateDescriptionResponse EndUpdateApprovalRuleTemplateDescription(IAsyncResult asyncResult);
#endregion
#region UpdateApprovalRuleTemplateName
///
/// Updates the name of a specified approval rule template.
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateName service method.
///
/// The response from the UpdateApprovalRuleTemplateName service method, as returned by CodeCommit.
///
/// The specified approval rule template does not exist. Verify that the name is correct
/// and that you are signed in to the AWS Region where the template was created, and then
/// try again.
///
///
/// You cannot create an approval rule template with that name because a template with
/// that name already exists in this AWS Region for your AWS account. Approval rule template
/// names must be unique.
///
///
/// An approval rule template name is required, but was not specified.
///
///
/// The name of the approval rule template is not valid. Template names must be between
/// 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit,
/// see AWS
/// CodeCommit User Guide.
///
/// REST API Reference for UpdateApprovalRuleTemplateName Operation
UpdateApprovalRuleTemplateNameResponse UpdateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest request);
///
/// Initiates the asynchronous execution of the UpdateApprovalRuleTemplateName operation.
///
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateName operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApprovalRuleTemplateName
/// operation.
/// REST API Reference for UpdateApprovalRuleTemplateName Operation
IAsyncResult BeginUpdateApprovalRuleTemplateName(UpdateApprovalRuleTemplateNameRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateApprovalRuleTemplateName operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApprovalRuleTemplateName.
///
/// Returns a UpdateApprovalRuleTemplateNameResult from CodeCommit.
/// REST API Reference for UpdateApprovalRuleTemplateName Operation
UpdateApprovalRuleTemplateNameResponse EndUpdateApprovalRuleTemplateName(IAsyncResult asyncResult);
#endregion
#region UpdateComment
///
/// Replaces the contents of a comment.
///
/// Container for the necessary parameters to execute the UpdateComment service method.
///
/// The response from the UpdateComment service method, as returned by CodeCommit.
///
/// The comment is empty. You must provide some content for a comment. The content cannot
/// be null.
///
///
/// The comment is too large. Comments are limited to 1,000 characters.
///
///
/// This comment has already been deleted. You cannot edit or delete a deleted comment.
///
///
/// No comment exists with the provided ID. Verify that you have used the correct ID,
/// and then try again.
///
///
/// The comment ID is missing or null. A comment ID is required.
///
///
/// You cannot modify or delete this comment. Only comment authors can modify or delete
/// their comments.
///
///
/// The comment ID is not in a valid format. Make sure that you have provided the full
/// comment ID.
///
/// REST API Reference for UpdateComment Operation
UpdateCommentResponse UpdateComment(UpdateCommentRequest request);
///
/// Initiates the asynchronous execution of the UpdateComment operation.
///
///
/// Container for the necessary parameters to execute the UpdateComment operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateComment
/// operation.
/// REST API Reference for UpdateComment Operation
IAsyncResult BeginUpdateComment(UpdateCommentRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateComment operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateComment.
///
/// Returns a UpdateCommentResult from CodeCommit.
/// REST API Reference for UpdateComment Operation
UpdateCommentResponse EndUpdateComment(IAsyncResult asyncResult);
#endregion
#region 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.
///
///
///
/// Container for the necessary parameters to execute the UpdateDefaultBranch service method.
///
/// The response from the UpdateDefaultBranch service method, as returned by CodeCommit.
///
/// 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 reference name is not valid.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for UpdateDefaultBranch Operation
UpdateDefaultBranchResponse UpdateDefaultBranch(UpdateDefaultBranchRequest request);
///
/// Initiates the asynchronous execution of the UpdateDefaultBranch operation.
///
///
/// Container for the necessary parameters to execute the UpdateDefaultBranch operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDefaultBranch
/// operation.
/// REST API Reference for UpdateDefaultBranch Operation
IAsyncResult BeginUpdateDefaultBranch(UpdateDefaultBranchRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateDefaultBranch operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDefaultBranch.
///
/// Returns a UpdateDefaultBranchResult from CodeCommit.
/// REST API Reference for UpdateDefaultBranch Operation
UpdateDefaultBranchResponse EndUpdateDefaultBranch(IAsyncResult asyncResult);
#endregion
#region UpdatePullRequestApprovalRuleContent
///
/// Updates the structure of an approval rule created specifically for a pull request.
/// For example, you can change the number of required approvers and the approval pool
/// for approvers.
///
/// Container for the necessary parameters to execute the UpdatePullRequestApprovalRuleContent service method.
///
/// The response from the UpdatePullRequestApprovalRuleContent service method, as returned by CodeCommit.
///
/// The content for the approval rule is empty. You must provide some content for an approval
/// rule. The content cannot be null.
///
///
/// The specified approval rule does not exist.
///
///
/// An approval rule name is required, but was not specified.
///
///
/// The approval rule cannot be modified for the pull request because it was created by
/// an approval rule template and applied to the pull request automatically.
///
///
/// 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 content for the approval rule is not valid.
///
///
/// The name for the approval rule is not valid.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The SHA-256 hash signature for the rule content is not valid.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for UpdatePullRequestApprovalRuleContent Operation
UpdatePullRequestApprovalRuleContentResponse UpdatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest request);
///
/// Initiates the asynchronous execution of the UpdatePullRequestApprovalRuleContent operation.
///
///
/// Container for the necessary parameters to execute the UpdatePullRequestApprovalRuleContent operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePullRequestApprovalRuleContent
/// operation.
/// REST API Reference for UpdatePullRequestApprovalRuleContent Operation
IAsyncResult BeginUpdatePullRequestApprovalRuleContent(UpdatePullRequestApprovalRuleContentRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdatePullRequestApprovalRuleContent operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePullRequestApprovalRuleContent.
///
/// Returns a UpdatePullRequestApprovalRuleContentResult from CodeCommit.
/// REST API Reference for UpdatePullRequestApprovalRuleContent Operation
UpdatePullRequestApprovalRuleContentResponse EndUpdatePullRequestApprovalRuleContent(IAsyncResult asyncResult);
#endregion
#region UpdatePullRequestApprovalState
///
/// Updates the state of a user's approval on a pull request. The user is derived from
/// the signed-in account when the request is made.
///
/// Container for the necessary parameters to execute the UpdatePullRequestApprovalState service method.
///
/// The response from the UpdatePullRequestApprovalState service method, as returned by CodeCommit.
///
/// An approval state 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 state for the approval is not valid. Valid values include APPROVE and REVOKE.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The revision ID is not valid. Use GetPullRequest to determine the value.
///
///
/// The number of approvals required for the approval rule exceeds the maximum number
/// allowed.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The approval cannot be applied because the user approving the pull request matches
/// the user who created the pull request. You cannot approve a pull request that you
/// created.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A revision ID is required, but was not provided.
///
///
/// The revision ID provided in the request does not match the current revision ID. Use
/// GetPullRequest to retrieve the current revision ID.
///
/// REST API Reference for UpdatePullRequestApprovalState Operation
UpdatePullRequestApprovalStateResponse UpdatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest request);
///
/// Initiates the asynchronous execution of the UpdatePullRequestApprovalState operation.
///
///
/// Container for the necessary parameters to execute the UpdatePullRequestApprovalState operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePullRequestApprovalState
/// operation.
/// REST API Reference for UpdatePullRequestApprovalState Operation
IAsyncResult BeginUpdatePullRequestApprovalState(UpdatePullRequestApprovalStateRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdatePullRequestApprovalState operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePullRequestApprovalState.
///
/// Returns a UpdatePullRequestApprovalStateResult from CodeCommit.
/// REST API Reference for UpdatePullRequestApprovalState Operation
UpdatePullRequestApprovalStateResponse EndUpdatePullRequestApprovalState(IAsyncResult asyncResult);
#endregion
#region UpdatePullRequestDescription
///
/// Replaces the contents of the description of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestDescription service method.
///
/// The response from the UpdatePullRequestDescription service method, as returned by CodeCommit.
///
/// The pull request description is not valid. Descriptions cannot be more than 1,000
/// characters.
///
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
/// REST API Reference for UpdatePullRequestDescription Operation
UpdatePullRequestDescriptionResponse UpdatePullRequestDescription(UpdatePullRequestDescriptionRequest request);
///
/// Initiates the asynchronous execution of the UpdatePullRequestDescription operation.
///
///
/// Container for the necessary parameters to execute the UpdatePullRequestDescription operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePullRequestDescription
/// operation.
/// REST API Reference for UpdatePullRequestDescription Operation
IAsyncResult BeginUpdatePullRequestDescription(UpdatePullRequestDescriptionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdatePullRequestDescription operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePullRequestDescription.
///
/// Returns a UpdatePullRequestDescriptionResult from CodeCommit.
/// REST API Reference for UpdatePullRequestDescription Operation
UpdatePullRequestDescriptionResponse EndUpdatePullRequestDescription(IAsyncResult asyncResult);
#endregion
#region UpdatePullRequestStatus
///
/// Updates the status of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestStatus service method.
///
/// The response from the UpdatePullRequestStatus service method, as returned by CodeCommit.
///
/// 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 pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The pull request status is not valid. The only valid values are OPEN
/// and CLOSED
.
///
///
/// The pull request status update is not valid. The only valid update is from OPEN
/// to CLOSED
.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A pull request status is required, but none was provided.
///
/// REST API Reference for UpdatePullRequestStatus Operation
UpdatePullRequestStatusResponse UpdatePullRequestStatus(UpdatePullRequestStatusRequest request);
///
/// Initiates the asynchronous execution of the UpdatePullRequestStatus operation.
///
///
/// Container for the necessary parameters to execute the UpdatePullRequestStatus operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePullRequestStatus
/// operation.
/// REST API Reference for UpdatePullRequestStatus Operation
IAsyncResult BeginUpdatePullRequestStatus(UpdatePullRequestStatusRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdatePullRequestStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePullRequestStatus.
///
/// Returns a UpdatePullRequestStatusResult from CodeCommit.
/// REST API Reference for UpdatePullRequestStatus Operation
UpdatePullRequestStatusResponse EndUpdatePullRequestStatus(IAsyncResult asyncResult);
#endregion
#region UpdatePullRequestTitle
///
/// Replaces the title of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestTitle service method.
///
/// The response from the UpdatePullRequestTitle service method, as returned by CodeCommit.
///
/// The pull request ID is not valid. Make sure that you have provided the full ID and
/// that the pull request is in the specified repository, and then try again.
///
///
/// The title of the pull request is not valid. Pull request titles cannot exceed 100
/// characters in length.
///
///
/// The pull request status cannot be updated because it is already closed.
///
///
/// The pull request ID could not be found. Make sure that you have specified the correct
/// repository name and pull request ID, and then try again.
///
///
/// A pull request ID is required, but none was provided.
///
///
/// A pull request title is required. It cannot be empty or null.
///
/// REST API Reference for UpdatePullRequestTitle Operation
UpdatePullRequestTitleResponse UpdatePullRequestTitle(UpdatePullRequestTitleRequest request);
///
/// Initiates the asynchronous execution of the UpdatePullRequestTitle operation.
///
///
/// Container for the necessary parameters to execute the UpdatePullRequestTitle operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePullRequestTitle
/// operation.
/// REST API Reference for UpdatePullRequestTitle Operation
IAsyncResult BeginUpdatePullRequestTitle(UpdatePullRequestTitleRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdatePullRequestTitle operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdatePullRequestTitle.
///
/// Returns a UpdatePullRequestTitleResult from CodeCommit.
/// REST API Reference for UpdatePullRequestTitle Operation
UpdatePullRequestTitleResponse EndUpdatePullRequestTitle(IAsyncResult asyncResult);
#endregion
#region 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 webpage can 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 webpage.
///
///
///
/// Container for the necessary parameters to execute the UpdateRepositoryDescription service method.
///
/// The response from the UpdateRepositoryDescription service method, as returned by CodeCommit.
///
/// 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.
///
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for UpdateRepositoryDescription Operation
UpdateRepositoryDescriptionResponse UpdateRepositoryDescription(UpdateRepositoryDescriptionRequest request);
///
/// Initiates the asynchronous execution of the UpdateRepositoryDescription operation.
///
///
/// Container for the necessary parameters to execute the UpdateRepositoryDescription operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRepositoryDescription
/// operation.
/// REST API Reference for UpdateRepositoryDescription Operation
IAsyncResult BeginUpdateRepositoryDescription(UpdateRepositoryDescriptionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateRepositoryDescription operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRepositoryDescription.
///
/// Returns a UpdateRepositoryDescriptionResult from CodeCommit.
/// REST API Reference for UpdateRepositoryDescription Operation
UpdateRepositoryDescriptionResponse EndUpdateRepositoryDescription(IAsyncResult asyncResult);
#endregion
#region UpdateRepositoryName
///
/// Renames a repository. The repository name must be unique across the calling AWS account.
/// Repository names are limited to 100 alphanumeric, dash, and underscore characters,
/// and cannot include certain characters. The suffix .git is prohibited. For more information
/// about the limits on repository names, see Limits
/// in the AWS CodeCommit User Guide.
///
/// Container for the necessary parameters to execute the UpdateRepositoryName service method.
///
/// The response from the UpdateRepositoryName service method, as returned by CodeCommit.
///
/// A specified repository name is not valid.
///
///
///
/// This exception occurs only 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.
///
/// REST API Reference for UpdateRepositoryName Operation
UpdateRepositoryNameResponse UpdateRepositoryName(UpdateRepositoryNameRequest request);
///
/// Initiates the asynchronous execution of the UpdateRepositoryName operation.
///
///
/// Container for the necessary parameters to execute the UpdateRepositoryName operation on AmazonCodeCommitClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRepositoryName
/// operation.
/// REST API Reference for UpdateRepositoryName Operation
IAsyncResult BeginUpdateRepositoryName(UpdateRepositoryNameRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateRepositoryName operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRepositoryName.
///
/// Returns a UpdateRepositoryNameResult from CodeCommit.
/// REST API Reference for UpdateRepositoryName Operation
UpdateRepositoryNameResponse EndUpdateRepositoryName(IAsyncResult asyncResult);
#endregion
}
}