/*
* 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.Threading;
using System.Threading.Tasks;
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 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AssociateApprovalRuleTemplateWithRepositoryAsync(AssociateApprovalRuleTemplateWithRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task BatchAssociateApprovalRuleTemplateWithRepositoriesAsync(BatchAssociateApprovalRuleTemplateWithRepositoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task BatchDescribeMergeConflictsAsync(BatchDescribeMergeConflictsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task BatchDisassociateApprovalRuleTemplateFromRepositoriesAsync(BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task BatchGetCommitsAsync(BatchGetCommitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task BatchGetRepositoriesAsync(BatchGetRepositoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateApprovalRuleTemplateAsync(CreateApprovalRuleTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateBranchAsync(CreateBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateCommitAsync(CreateCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreatePullRequest
///
/// Creates a pull request in the specified repository.
///
/// Container for the necessary parameters to execute the CreatePullRequest service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePullRequestAsync(CreatePullRequestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreatePullRequestApprovalRule
///
/// Creates an approval rule for a pull request.
///
/// Container for the necessary parameters to execute the CreatePullRequestApprovalRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePullRequestApprovalRuleAsync(CreatePullRequestApprovalRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRepository
///
/// Creates a new, empty repository.
///
/// Container for the necessary parameters to execute the CreateRepository service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateRepositoryAsync(CreateRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateUnreferencedMergeCommitAsync(CreateUnreferencedMergeCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteApprovalRuleTemplateAsync(DeleteApprovalRuleTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteBranchAsync(DeleteBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteCommentContentAsync(DeleteCommentContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteFileAsync(DeleteFileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePullRequestApprovalRuleAsync(DeletePullRequestApprovalRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteRepositoryAsync(DeleteRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeMergeConflictsAsync(DescribeMergeConflictsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribePullRequestEvents
///
/// Returns information about one or more pull request events.
///
/// Container for the necessary parameters to execute the DescribePullRequestEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribePullRequestEventsAsync(DescribePullRequestEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DisassociateApprovalRuleTemplateFromRepositoryAsync(DisassociateApprovalRuleTemplateFromRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task EvaluatePullRequestApprovalRulesAsync(EvaluatePullRequestApprovalRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApprovalRuleTemplate
///
/// Returns information about a specified approval rule template.
///
/// Container for the necessary parameters to execute the GetApprovalRuleTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetApprovalRuleTemplateAsync(GetApprovalRuleTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetBlobAsync(GetBlobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetBranchAsync(GetBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCommentAsync(GetCommentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCommentReactionsAsync(GetCommentReactionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCommentsForComparedCommitAsync(GetCommentsForComparedCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCommentsForPullRequestAsync(GetCommentsForPullRequestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCommitAsync(GetCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetDifferencesAsync(GetDifferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetFileAsync(GetFileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetFolder
///
/// Returns the contents of a specified folder in a repository.
///
/// Container for the necessary parameters to execute the GetFolder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetFolderAsync(GetFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMergeCommit
///
/// Returns information about a specified merge commit.
///
/// Container for the necessary parameters to execute the GetMergeCommit service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetMergeCommitAsync(GetMergeCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetMergeConflictsAsync(GetMergeConflictsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetMergeOptionsAsync(GetMergeOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetPullRequest
///
/// Gets information about a pull request in a specified repository.
///
/// Container for the necessary parameters to execute the GetPullRequest service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPullRequestAsync(GetPullRequestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPullRequestApprovalStatesAsync(GetPullRequestApprovalStatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPullRequestOverrideStateAsync(GetPullRequestOverrideStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetRepositoryAsync(GetRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRepositoryTriggers
///
/// Gets information about triggers configured for a repository.
///
/// Container for the necessary parameters to execute the GetRepositoryTriggers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetRepositoryTriggersAsync(GetRepositoryTriggersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListApprovalRuleTemplatesAsync(ListApprovalRuleTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAssociatedApprovalRuleTemplatesForRepositoryAsync(ListAssociatedApprovalRuleTemplatesForRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBranches
///
/// Gets information about one or more branches in a repository.
///
/// Container for the necessary parameters to execute the ListBranches service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListBranchesAsync(ListBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPullRequestsAsync(ListPullRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRepositories
///
/// Gets information about one or more repositories.
///
/// Container for the necessary parameters to execute the ListRepositories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListRepositoriesAsync(ListRepositoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRepositoriesForApprovalRuleTemplate
///
/// Lists all repositories associated with the specified approval rule template.
///
/// Container for the necessary parameters to execute the ListRepositoriesForApprovalRuleTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListRepositoriesForApprovalRuleTemplateAsync(ListRepositoriesForApprovalRuleTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region MergeBranchesByFastForward
///
/// Merges two branches using the fast-forward merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesByFastForward service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergeBranchesByFastForwardAsync(MergeBranchesByFastForwardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region MergeBranchesBySquash
///
/// Merges two branches using the squash merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesBySquash service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergeBranchesBySquashAsync(MergeBranchesBySquashRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region MergeBranchesByThreeWay
///
/// Merges two specified branches using the three-way merge strategy.
///
/// Container for the necessary parameters to execute the MergeBranchesByThreeWay service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergeBranchesByThreeWayAsync(MergeBranchesByThreeWayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergePullRequestByFastForwardAsync(MergePullRequestByFastForwardRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergePullRequestBySquashAsync(MergePullRequestBySquashRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task MergePullRequestByThreeWayAsync(MergePullRequestByThreeWayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task OverridePullRequestApprovalRulesAsync(OverridePullRequestApprovalRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PostCommentForComparedCommit
///
/// Posts a comment on the comparison between two commits.
///
/// Container for the necessary parameters to execute the PostCommentForComparedCommit service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PostCommentForComparedCommitAsync(PostCommentForComparedCommitRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PostCommentForPullRequest
///
/// Posts a comment on a pull request.
///
/// Container for the necessary parameters to execute the PostCommentForPullRequest service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PostCommentForPullRequestAsync(PostCommentForPullRequestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PostCommentReplyAsync(PostCommentReplyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutCommentReactionAsync(PutCommentReactionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutFileAsync(PutFileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutRepositoryTriggersAsync(PutRepositoryTriggersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task TestRepositoryTriggersAsync(TestRepositoryTriggersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateApprovalRuleTemplateContentAsync(UpdateApprovalRuleTemplateContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApprovalRuleTemplateDescription
///
/// Updates the description for a specified approval rule template.
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateDescription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateApprovalRuleTemplateDescriptionAsync(UpdateApprovalRuleTemplateDescriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApprovalRuleTemplateName
///
/// Updates the name of a specified approval rule template.
///
/// Container for the necessary parameters to execute the UpdateApprovalRuleTemplateName service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateApprovalRuleTemplateNameAsync(UpdateApprovalRuleTemplateNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateComment
///
/// Replaces the contents of a comment.
///
/// Container for the necessary parameters to execute the UpdateComment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateCommentAsync(UpdateCommentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateDefaultBranchAsync(UpdateDefaultBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdatePullRequestApprovalRuleContentAsync(UpdatePullRequestApprovalRuleContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdatePullRequestApprovalStateAsync(UpdatePullRequestApprovalStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdatePullRequestDescription
///
/// Replaces the contents of the description of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestDescription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdatePullRequestDescriptionAsync(UpdatePullRequestDescriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdatePullRequestStatus
///
/// Updates the status of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdatePullRequestStatusAsync(UpdatePullRequestStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdatePullRequestTitle
///
/// Replaces the title of a pull request.
///
/// Container for the necessary parameters to execute the UpdatePullRequestTitle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdatePullRequestTitleAsync(UpdatePullRequestTitleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateRepositoryNameAsync(UpdateRepositoryNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}