import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CodeCommitClient } from "./CodeCommitClient" ; import { AssociateApprovalRuleTemplateWithRepositoryCommand , AssociateApprovalRuleTemplateWithRepositoryCommandInput , AssociateApprovalRuleTemplateWithRepositoryCommandOutput , } from "./commands/AssociateApprovalRuleTemplateWithRepositoryCommand" ; import { BatchAssociateApprovalRuleTemplateWithRepositoriesCommand , BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput , BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput , } from "./commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand" ; import { BatchDescribeMergeConflictsCommand , BatchDescribeMergeConflictsCommandInput , BatchDescribeMergeConflictsCommandOutput , } from "./commands/BatchDescribeMergeConflictsCommand" ; import { BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand , BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput , BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput , } from "./commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand" ; import { BatchGetCommitsCommand , BatchGetCommitsCommandInput , BatchGetCommitsCommandOutput , } from "./commands/BatchGetCommitsCommand" ; import { BatchGetRepositoriesCommand , BatchGetRepositoriesCommandInput , BatchGetRepositoriesCommandOutput , } from "./commands/BatchGetRepositoriesCommand" ; import { CreateApprovalRuleTemplateCommand , CreateApprovalRuleTemplateCommandInput , CreateApprovalRuleTemplateCommandOutput , } from "./commands/CreateApprovalRuleTemplateCommand" ; import { CreateBranchCommand , CreateBranchCommandInput , CreateBranchCommandOutput , } from "./commands/CreateBranchCommand" ; import { CreateCommitCommand , CreateCommitCommandInput , CreateCommitCommandOutput , } from "./commands/CreateCommitCommand" ; import { CreatePullRequestApprovalRuleCommand , CreatePullRequestApprovalRuleCommandInput , CreatePullRequestApprovalRuleCommandOutput , } from "./commands/CreatePullRequestApprovalRuleCommand" ; import { CreatePullRequestCommand , CreatePullRequestCommandInput , CreatePullRequestCommandOutput , } from "./commands/CreatePullRequestCommand" ; import { CreateRepositoryCommand , CreateRepositoryCommandInput , CreateRepositoryCommandOutput , } from "./commands/CreateRepositoryCommand" ; import { CreateUnreferencedMergeCommitCommand , CreateUnreferencedMergeCommitCommandInput , CreateUnreferencedMergeCommitCommandOutput , } from "./commands/CreateUnreferencedMergeCommitCommand" ; import { DeleteApprovalRuleTemplateCommand , DeleteApprovalRuleTemplateCommandInput , DeleteApprovalRuleTemplateCommandOutput , } from "./commands/DeleteApprovalRuleTemplateCommand" ; import { DeleteBranchCommand , DeleteBranchCommandInput , DeleteBranchCommandOutput , } from "./commands/DeleteBranchCommand" ; import { DeleteCommentContentCommand , DeleteCommentContentCommandInput , DeleteCommentContentCommandOutput , } from "./commands/DeleteCommentContentCommand" ; import { DeleteFileCommand , DeleteFileCommandInput , DeleteFileCommandOutput } from "./commands/DeleteFileCommand" ; import { DeletePullRequestApprovalRuleCommand , DeletePullRequestApprovalRuleCommandInput , DeletePullRequestApprovalRuleCommandOutput , } from "./commands/DeletePullRequestApprovalRuleCommand" ; import { DeleteRepositoryCommand , DeleteRepositoryCommandInput , DeleteRepositoryCommandOutput , } from "./commands/DeleteRepositoryCommand" ; import { DescribeMergeConflictsCommand , DescribeMergeConflictsCommandInput , DescribeMergeConflictsCommandOutput , } from "./commands/DescribeMergeConflictsCommand" ; import { DescribePullRequestEventsCommand , DescribePullRequestEventsCommandInput , DescribePullRequestEventsCommandOutput , } from "./commands/DescribePullRequestEventsCommand" ; import { DisassociateApprovalRuleTemplateFromRepositoryCommand , DisassociateApprovalRuleTemplateFromRepositoryCommandInput , DisassociateApprovalRuleTemplateFromRepositoryCommandOutput , } from "./commands/DisassociateApprovalRuleTemplateFromRepositoryCommand" ; import { EvaluatePullRequestApprovalRulesCommand , EvaluatePullRequestApprovalRulesCommandInput , EvaluatePullRequestApprovalRulesCommandOutput , } from "./commands/EvaluatePullRequestApprovalRulesCommand" ; import { GetApprovalRuleTemplateCommand , GetApprovalRuleTemplateCommandInput , GetApprovalRuleTemplateCommandOutput , } from "./commands/GetApprovalRuleTemplateCommand" ; import { GetBlobCommand , GetBlobCommandInput , GetBlobCommandOutput } from "./commands/GetBlobCommand" ; import { GetBranchCommand , GetBranchCommandInput , GetBranchCommandOutput } from "./commands/GetBranchCommand" ; import { GetCommentCommand , GetCommentCommandInput , GetCommentCommandOutput } from "./commands/GetCommentCommand" ; import { GetCommentReactionsCommand , GetCommentReactionsCommandInput , GetCommentReactionsCommandOutput , } from "./commands/GetCommentReactionsCommand" ; import { GetCommentsForComparedCommitCommand , GetCommentsForComparedCommitCommandInput , GetCommentsForComparedCommitCommandOutput , } from "./commands/GetCommentsForComparedCommitCommand" ; import { GetCommentsForPullRequestCommand , GetCommentsForPullRequestCommandInput , GetCommentsForPullRequestCommandOutput , } from "./commands/GetCommentsForPullRequestCommand" ; import { GetCommitCommand , GetCommitCommandInput , GetCommitCommandOutput } from "./commands/GetCommitCommand" ; import { GetDifferencesCommand , GetDifferencesCommandInput , GetDifferencesCommandOutput , } from "./commands/GetDifferencesCommand" ; import { GetFileCommand , GetFileCommandInput , GetFileCommandOutput } from "./commands/GetFileCommand" ; import { GetFolderCommand , GetFolderCommandInput , GetFolderCommandOutput } from "./commands/GetFolderCommand" ; import { GetMergeCommitCommand , GetMergeCommitCommandInput , GetMergeCommitCommandOutput , } from "./commands/GetMergeCommitCommand" ; import { GetMergeConflictsCommand , GetMergeConflictsCommandInput , GetMergeConflictsCommandOutput , } from "./commands/GetMergeConflictsCommand" ; import { GetMergeOptionsCommand , GetMergeOptionsCommandInput , GetMergeOptionsCommandOutput , } from "./commands/GetMergeOptionsCommand" ; import { GetPullRequestApprovalStatesCommand , GetPullRequestApprovalStatesCommandInput , GetPullRequestApprovalStatesCommandOutput , } from "./commands/GetPullRequestApprovalStatesCommand" ; import { GetPullRequestCommand , GetPullRequestCommandInput , GetPullRequestCommandOutput , } from "./commands/GetPullRequestCommand" ; import { GetPullRequestOverrideStateCommand , GetPullRequestOverrideStateCommandInput , GetPullRequestOverrideStateCommandOutput , } from "./commands/GetPullRequestOverrideStateCommand" ; import { GetRepositoryCommand , GetRepositoryCommandInput , GetRepositoryCommandOutput , } from "./commands/GetRepositoryCommand" ; import { GetRepositoryTriggersCommand , GetRepositoryTriggersCommandInput , GetRepositoryTriggersCommandOutput , } from "./commands/GetRepositoryTriggersCommand" ; import { ListApprovalRuleTemplatesCommand , ListApprovalRuleTemplatesCommandInput , ListApprovalRuleTemplatesCommandOutput , } from "./commands/ListApprovalRuleTemplatesCommand" ; import { ListAssociatedApprovalRuleTemplatesForRepositoryCommand , ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput , ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput , } from "./commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand" ; import { ListBranchesCommand , ListBranchesCommandInput , ListBranchesCommandOutput , } from "./commands/ListBranchesCommand" ; import { ListPullRequestsCommand , ListPullRequestsCommandInput , ListPullRequestsCommandOutput , } from "./commands/ListPullRequestsCommand" ; import { ListRepositoriesCommand , ListRepositoriesCommandInput , ListRepositoriesCommandOutput , } from "./commands/ListRepositoriesCommand" ; import { ListRepositoriesForApprovalRuleTemplateCommand , ListRepositoriesForApprovalRuleTemplateCommandInput , ListRepositoriesForApprovalRuleTemplateCommandOutput , } from "./commands/ListRepositoriesForApprovalRuleTemplateCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { MergeBranchesByFastForwardCommand , MergeBranchesByFastForwardCommandInput , MergeBranchesByFastForwardCommandOutput , } from "./commands/MergeBranchesByFastForwardCommand" ; import { MergeBranchesBySquashCommand , MergeBranchesBySquashCommandInput , MergeBranchesBySquashCommandOutput , } from "./commands/MergeBranchesBySquashCommand" ; import { MergeBranchesByThreeWayCommand , MergeBranchesByThreeWayCommandInput , MergeBranchesByThreeWayCommandOutput , } from "./commands/MergeBranchesByThreeWayCommand" ; import { MergePullRequestByFastForwardCommand , MergePullRequestByFastForwardCommandInput , MergePullRequestByFastForwardCommandOutput , } from "./commands/MergePullRequestByFastForwardCommand" ; import { MergePullRequestBySquashCommand , MergePullRequestBySquashCommandInput , MergePullRequestBySquashCommandOutput , } from "./commands/MergePullRequestBySquashCommand" ; import { MergePullRequestByThreeWayCommand , MergePullRequestByThreeWayCommandInput , MergePullRequestByThreeWayCommandOutput , } from "./commands/MergePullRequestByThreeWayCommand" ; import { OverridePullRequestApprovalRulesCommand , OverridePullRequestApprovalRulesCommandInput , OverridePullRequestApprovalRulesCommandOutput , } from "./commands/OverridePullRequestApprovalRulesCommand" ; import { PostCommentForComparedCommitCommand , PostCommentForComparedCommitCommandInput , PostCommentForComparedCommitCommandOutput , } from "./commands/PostCommentForComparedCommitCommand" ; import { PostCommentForPullRequestCommand , PostCommentForPullRequestCommandInput , PostCommentForPullRequestCommandOutput , } from "./commands/PostCommentForPullRequestCommand" ; import { PostCommentReplyCommand , PostCommentReplyCommandInput , PostCommentReplyCommandOutput , } from "./commands/PostCommentReplyCommand" ; import { PutCommentReactionCommand , PutCommentReactionCommandInput , PutCommentReactionCommandOutput , } from "./commands/PutCommentReactionCommand" ; import { PutFileCommand , PutFileCommandInput , PutFileCommandOutput } from "./commands/PutFileCommand" ; import { PutRepositoryTriggersCommand , PutRepositoryTriggersCommandInput , PutRepositoryTriggersCommandOutput , } from "./commands/PutRepositoryTriggersCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { TestRepositoryTriggersCommand , TestRepositoryTriggersCommandInput , TestRepositoryTriggersCommandOutput , } from "./commands/TestRepositoryTriggersCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateApprovalRuleTemplateContentCommand , UpdateApprovalRuleTemplateContentCommandInput , UpdateApprovalRuleTemplateContentCommandOutput , } from "./commands/UpdateApprovalRuleTemplateContentCommand" ; import { UpdateApprovalRuleTemplateDescriptionCommand , UpdateApprovalRuleTemplateDescriptionCommandInput , UpdateApprovalRuleTemplateDescriptionCommandOutput , } from "./commands/UpdateApprovalRuleTemplateDescriptionCommand" ; import { UpdateApprovalRuleTemplateNameCommand , UpdateApprovalRuleTemplateNameCommandInput , UpdateApprovalRuleTemplateNameCommandOutput , } from "./commands/UpdateApprovalRuleTemplateNameCommand" ; import { UpdateCommentCommand , UpdateCommentCommandInput , UpdateCommentCommandOutput , } from "./commands/UpdateCommentCommand" ; import { UpdateDefaultBranchCommand , UpdateDefaultBranchCommandInput , UpdateDefaultBranchCommandOutput , } from "./commands/UpdateDefaultBranchCommand" ; import { UpdatePullRequestApprovalRuleContentCommand , UpdatePullRequestApprovalRuleContentCommandInput , UpdatePullRequestApprovalRuleContentCommandOutput , } from "./commands/UpdatePullRequestApprovalRuleContentCommand" ; import { UpdatePullRequestApprovalStateCommand , UpdatePullRequestApprovalStateCommandInput , UpdatePullRequestApprovalStateCommandOutput , } from "./commands/UpdatePullRequestApprovalStateCommand" ; import { UpdatePullRequestDescriptionCommand , UpdatePullRequestDescriptionCommandInput , UpdatePullRequestDescriptionCommandOutput , } from "./commands/UpdatePullRequestDescriptionCommand" ; import { UpdatePullRequestStatusCommand , UpdatePullRequestStatusCommandInput , UpdatePullRequestStatusCommandOutput , } from "./commands/UpdatePullRequestStatusCommand" ; import { UpdatePullRequestTitleCommand , UpdatePullRequestTitleCommandInput , UpdatePullRequestTitleCommandOutput , } from "./commands/UpdatePullRequestTitleCommand" ; import { UpdateRepositoryDescriptionCommand , UpdateRepositoryDescriptionCommandInput , UpdateRepositoryDescriptionCommandOutput , } from "./commands/UpdateRepositoryDescriptionCommand" ; import { UpdateRepositoryNameCommand , UpdateRepositoryNameCommandInput , UpdateRepositoryNameCommandOutput , } from "./commands/UpdateRepositoryNameCommand" ; /**
 * <fullname>AWS CodeCommit</fullname>
 *         <p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
 *             AWS CodeCommit API along with usage examples.</p>
 *         <p>You can use the AWS CodeCommit API to work with the following objects:</p>
 *
 *             <p>Repositories, by calling the following:</p>
 *           <ul>
 *             <li>
 *                   <p>
 *                   <a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your AWS account.</p>
 *             </li>
 *             <li>
 *                   <p>
 *                   <a>CreateRepository</a>, which creates an AWS CodeCommit repository.</p>
 *             </li>
 *             <li>
 *                   <p>
 *                   <a>DeleteRepository</a>, which deletes an AWS CodeCommit repository.</p>
 *             </li>
 *             <li>
 *                   <p>
 *                   <a>GetRepository</a>, which returns information about a specified repository.</p>
 *             </li>
 *             <li>
 *                   <p>
 *                   <a>ListRepositories</a>, which lists all AWS CodeCommit repositories associated with your AWS account.</p>
 *             </li>
 *             <li>
 *                   <p>
 *                   <a>UpdateRepositoryDescription</a>, which sets or updates the description of the repository.</p>
 *               </li>
 *             <li>
 *                   <p>
 *                   <a>UpdateRepositoryName</a>, 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.</p>
 *             </li>
 *          </ul>
 *
 *             <p>Branches, by calling the following:</p>
 *             <ul>
 *             <li>
 *                     <p>
 *                   <a>CreateBranch</a>, which creates a branch in a specified
 *                     repository.</p>
 *             </li>
 *             <li>
 *                     <p>
 *                   <a>DeleteBranch</a>, which deletes the specified branch in a repository unless it is the default branch.</p>
 *                 </li>
 *             <li>
 *                     <p>
 *                   <a>GetBranch</a>, which returns information about a specified branch.</p>
 *             </li>
 *             <li>
 *                     <p>
 *                   <a>ListBranches</a>, which lists all branches for a specified repository.</p>
 *             </li>
 *             <li>
 *                     <p>
 *                   <a>UpdateDefaultBranch</a>, which changes the default branch for a repository.</p>
 *             </li>
 *          </ul>
 *
 *         <p>Files, by calling the following:</p>
 *         <ul>
 *             <li>
 *                <p>
 *                   <a>DeleteFile</a>, which deletes the content of a specified file from a specified branch.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetBlob</a>, which returns the base-64 encoded content of an
 *                     individual Git blob object in a repository.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>GetFolder</a>, which returns the contents of a specified folder or directory.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>PutFile</a>, which adds or modifies a single file in a specified repository and branch.</p>
 *             </li>
 *          </ul>
 *
 *
 *             <p>Commits, by calling the following:</p>
 *               <ul>
 *             <li>
 *                       <p>
 *                   <a>BatchGetCommits</a>, which returns information about one or more commits in a repository.</p>
 *                   </li>
 *             <li>
 *                <p>
 *                   <a>CreateCommit</a>, which creates a commit for changes to a repository.</p>
 *             </li>
 *             <li>
 *                       <p>
 *                   <a>GetCommit</a>, which returns information about  a commit, including commit
 *                           messages and author and committer information.</p>
 *                   </li>
 *             <li>
 *                       <p>
 *                   <a>GetDifferences</a>, which returns information about the
 *                     differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID,
 *                     or other fully qualified reference).</p>
 *                   </li>
 *          </ul>
 *
 *
 *         <p>Merges, by calling the following:</p>
 *         <ul>
 *             <li>
 *                 <p>
 *                   <a>BatchDescribeMergeConflicts</a>, which returns information about conflicts in a merge between commits in a repository.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>CreateUnreferencedMergeCommit</a>, which creates an unreferenced commit between two branches or commits for the
 *                     purpose of comparing them and identifying any potential conflicts.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>DescribeMergeConflicts</a>, which returns information about merge conflicts between the base, source, and destination versions
 *                     of a file in a potential merge.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetMergeCommit</a>, which returns information about the merge between a source and destination commit. </p>
 *
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetMergeConflicts</a>, which returns information about merge conflicts
 *                     between the source and destination branch in a pull request.</p>
 *             </li>
 *             <li>
 *
 *                 <p>
 *                   <a>GetMergeOptions</a>, which returns information about the available merge options between two branches or commit specifiers.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergeBranchesByFastForward</a>, which merges two branches using the fast-forward merge option.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergeBranchesBySquash</a>, which merges two branches using the squash merge option.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergeBranchesByThreeWay</a>, which merges two branches using the three-way merge option.</p>
 *             </li>
 *          </ul>
 *
 *
 *         <p>Pull requests, by calling the following:</p>
 *         <ul>
 *             <li>
 *                 <p>
 *                   <a>CreatePullRequest</a>, which creates a pull request in a specified repository.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>CreatePullRequestApprovalRule</a>, which creates an approval rule for a specified pull request.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>DeletePullRequestApprovalRule</a>, which deletes an approval rule for a specified pull request.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>DescribePullRequestEvents</a>, which returns information about one or more pull request events.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>EvaluatePullRequestApprovalRules</a>, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetCommentsForPullRequest</a>, which returns information about comments on a specified pull request.</p>
 *             </li>
 *             <li>
 *
 *                 <p>
 *                   <a>GetPullRequest</a>, which returns information about a specified pull request.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>GetPullRequestApprovalStates</a>, which returns information about the approval states for a specified pull request.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>GetPullRequestOverrideState</a>, 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.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>ListPullRequests</a>, which lists all pull requests for a repository.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergePullRequestByFastForward</a>, 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.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergePullRequestBySquash</a>, which merges the source destination branch of a pull request into the specified destination
 *                 branch for that pull request using the squash merge option.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>MergePullRequestByThreeWay</a>. 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.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>OverridePullRequestApprovalRules</a>, which sets aside all approval rule requirements for a pull request.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>PostCommentForPullRequest</a>, which posts a comment to a pull request at the specified line, file, or request.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UpdatePullRequestApprovalRuleContent</a>, which updates the structure of an approval rule for a pull request.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UpdatePullRequestApprovalState</a>, which updates the state of an approval on a pull request.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>UpdatePullRequestDescription</a>, which updates the description of a pull request.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>UpdatePullRequestStatus</a>, which updates the status of a pull request.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>UpdatePullRequestTitle</a>, which updates the title of a pull request.</p>
 *             </li>
 *          </ul>
 *
 *         <p>Approval rule templates, by calling the following:</p>
 *         <ul>
 *             <li>
 *                <p>
 *                   <a>AssociateApprovalRuleTemplateWithRepository</a>, 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.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>BatchAssociateApprovalRuleTemplateWithRepositories</a>, 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.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>BatchDisassociateApprovalRuleTemplateFromRepositories</a>, 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.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>CreateApprovalRuleTemplate</a>, which creates a template for approval rules that can then be associated with one or more repositories
 *              in your AWS account.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>DeleteApprovalRuleTemplate</a>, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>DisassociateApprovalRuleTemplateFromRepository</a>, 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.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>GetApprovalRuleTemplate</a>, which returns information about an approval rule template.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>ListApprovalRuleTemplates</a>, which lists all approval rule templates in the AWS Region in your AWS account.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>ListAssociatedApprovalRuleTemplatesForRepository</a>, which lists all approval rule templates that are associated with a specified repository.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>ListRepositoriesForApprovalRuleTemplate</a>, which lists all repositories associated with the specified approval rule template.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UpdateApprovalRuleTemplateDescription</a>, which updates the description of an
 *                     approval rule template.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UpdateApprovalRuleTemplateName</a>, which updates the name of an approval rule template.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UpdateApprovalRuleTemplateContent</a>, which updates the content of an approval rule template.</p>
 *             </li>
 *          </ul>
 *
 *         <p>Comments in a repository, by calling the following:</p>
 *         <ul>
 *             <li>
 *                 <p>
 *                   <a>DeleteCommentContent</a>, which deletes the content of a comment on a commit in a repository.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetComment</a>, which returns information about a comment on a commit.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetCommentReactions</a>, which returns information about emoji reactions to comments.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>GetCommentsForComparedCommit</a>, which returns information about comments on the comparison between two commit specifiers
 *                     in a repository.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>PostCommentForComparedCommit</a>, which creates a comment on the comparison between two commit specifiers in a repository.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>PostCommentReply</a>, which creates a reply to a comment.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>PutCommentReaction</a>, which creates or updates an emoji reaction to a comment.</p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a>UpdateComment</a>, which updates the content of a comment on a commit in a repository.</p>
 *             </li>
 *          </ul>
 *
 *         <p>Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:</p>
 *         <ul>
 *             <li>
 *                <p>
 *                   <a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeCommit.</p>
 *             </li>
 *             <li>
 *                <p>
 *                   <a>UntagResource</a>, which removes tags for a resource in AWS CodeCommit.</p>
 *             </li>
 *          </ul>
 *
 *             <p>Triggers, by calling the following:</p>
 *                 <ul>
 *             <li>
 *                         <p>
 *                   <a>GetRepositoryTriggers</a>, which returns information about triggers configured
 *                             for a repository.</p>
 *             </li>
 *             <li>
 *                         <p>
 *                   <a>PutRepositoryTriggers</a>, which replaces all triggers for a repository and can
 *                             be used to create or delete triggers.</p>
 *             </li>
 *             <li>
 *                         <p>
 *                   <a>TestRepositoryTriggers</a>, which tests the functionality of a repository trigger
 *                             by sending data to the trigger target.</p>
 *             </li>
 *          </ul>
 *
 *
 *
 *
 *         <p>For information about how to use AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
 */ export class CodeCommit extends CodeCommitClient { /**
     * <p>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.</p>
     */ public associateApprovalRuleTemplateWithRepository ( args , options ? ) ; public associateApprovalRuleTemplateWithRepository ( args , cb ) ; public associateApprovalRuleTemplateWithRepository ( args , options , cb ) ; public associateApprovalRuleTemplateWithRepository ( args , optionsOrCb ? , cb ? ) { const command = new AssociateApprovalRuleTemplateWithRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an association between an approval rule template and one or more specified repositories. </p>
     */ public batchAssociateApprovalRuleTemplateWithRepositories ( args , options ? ) ; public batchAssociateApprovalRuleTemplateWithRepositories ( args , cb ) ; public batchAssociateApprovalRuleTemplateWithRepositories ( args , options , cb ) ; public batchAssociateApprovalRuleTemplateWithRepositories ( args , optionsOrCb ? , cb ? ) { const command = new BatchAssociateApprovalRuleTemplateWithRepositoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.</p>
     */ public batchDescribeMergeConflicts ( args , options ? ) ; public batchDescribeMergeConflicts ( args , cb ) ; public batchDescribeMergeConflicts ( args , options , cb ) ; public batchDescribeMergeConflicts ( args , optionsOrCb ? , cb ? ) { const command = new BatchDescribeMergeConflictsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the association between an approval rule template and one or more specified repositories. </p>
     */ public batchDisassociateApprovalRuleTemplateFromRepositories ( args , options ? ) ; public batchDisassociateApprovalRuleTemplateFromRepositories ( args , cb ) ; public batchDisassociateApprovalRuleTemplateFromRepositories ( args , options , cb ) ; public batchDisassociateApprovalRuleTemplateFromRepositories ( args , optionsOrCb ? , cb ? ) { const command = new BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the contents of one or more commits in a repository.</p>
     */ public batchGetCommits ( args , options ? ) ; public batchGetCommits ( args , cb ) ; public batchGetCommits ( args , options , cb ) ; public batchGetCommits ( args , optionsOrCb ? , cb ? ) { const command = new BatchGetCommitsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about one or more repositories.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public batchGetRepositories ( args , options ? ) ; public batchGetRepositories ( args , cb ) ; public batchGetRepositories ( args , options , cb ) ; public batchGetRepositories ( args , optionsOrCb ? , cb ? ) { const command = new BatchGetRepositoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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
     *             <a>AssociateApprovalRuleTemplateWithRepository</a>.</p>
     */ public createApprovalRuleTemplate ( args , options ? ) ; public createApprovalRuleTemplate ( args , cb ) ; public createApprovalRuleTemplate ( args , options , cb ) ; public createApprovalRuleTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateApprovalRuleTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a branch in a repository and points the branch to a commit.</p>
     *         <note>
     *             <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p>
     *          </note>
     */ public createBranch ( args , options ? ) ; public createBranch ( args , cb ) ; public createBranch ( args , options , cb ) ; public createBranch ( args , optionsOrCb ? , cb ? ) { const command = new CreateBranchCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a commit for a repository on the tip of a specified branch.</p>
     */ public createCommit ( args , options ? ) ; public createCommit ( args , cb ) ; public createCommit ( args , options , cb ) ; public createCommit ( args , optionsOrCb ? , cb ? ) { const command = new CreateCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a pull request in the specified repository.</p>
     */ public createPullRequest ( args , options ? ) ; public createPullRequest ( args , cb ) ; public createPullRequest ( args , options , cb ) ; public createPullRequest ( args , optionsOrCb ? , cb ? ) { const command = new CreatePullRequestCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an approval rule for a pull request.</p>
     */ public createPullRequestApprovalRule ( args , options ? ) ; public createPullRequestApprovalRule ( args , cb ) ; public createPullRequestApprovalRule ( args , options , cb ) ; public createPullRequestApprovalRule ( args , optionsOrCb ? , cb ? ) { const command = new CreatePullRequestApprovalRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new, empty repository.</p>
     */ public createRepository ( args , options ? ) ; public createRepository ( args , cb ) ; public createRepository ( args , options , cb ) ; public createRepository ( args , optionsOrCb ? , cb ? ) { const command = new CreateRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public createUnreferencedMergeCommit ( args , options ? ) ; public createUnreferencedMergeCommit ( args , cb ) ; public createUnreferencedMergeCommit ( args , options , cb ) ; public createUnreferencedMergeCommit ( args , optionsOrCb ? , cb ? ) { const command = new CreateUnreferencedMergeCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.</p>
     */ public deleteApprovalRuleTemplate ( args , options ? ) ; public deleteApprovalRuleTemplate ( args , cb ) ; public deleteApprovalRuleTemplate ( args , options , cb ) ; public deleteApprovalRuleTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteApprovalRuleTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a branch from a repository, unless that branch is the default branch for the repository. </p>
     */ public deleteBranch ( args , options ? ) ; public deleteBranch ( args , cb ) ; public deleteBranch ( args , options , cb ) ; public deleteBranch ( args , optionsOrCb ? , cb ? ) { const command = new DeleteBranchCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the content of a comment made on a change, file, or commit in a repository.</p>
     */ public deleteCommentContent ( args , options ? ) ; public deleteCommentContent ( args , cb ) ; public deleteCommentContent ( args , options , cb ) ; public deleteCommentContent ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCommentContentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public deleteFile ( args , options ? ) ; public deleteFile ( args , cb ) ; public deleteFile ( args , options , cb ) ; public deleteFile ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public deletePullRequestApprovalRule ( args , options ? ) ; public deletePullRequestApprovalRule ( args , cb ) ; public deletePullRequestApprovalRule ( args , options , cb ) ; public deletePullRequestApprovalRule ( args , optionsOrCb ? , cb ? ) { const command = new DeletePullRequestApprovalRuleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a repository. If a specified repository was already deleted, a null repository
     *             ID is returned.</p>
     *         <important>
     *             <p>Deleting a repository also deletes all associated objects and metadata. After a repository is
     *                 deleted, all future push calls to the deleted repository fail.</p>
     *          </important>
     */ public deleteRepository ( args , options ? ) ; public deleteRepository ( args , cb ) ; public deleteRepository ( args , options , cb ) ; public deleteRepository ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public describeMergeConflicts ( args , options ? ) ; public describeMergeConflicts ( args , cb ) ; public describeMergeConflicts ( args , options , cb ) ; public describeMergeConflicts ( args , optionsOrCb ? , cb ? ) { const command = new DescribeMergeConflictsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about one or more pull request events.</p>
     */ public describePullRequestEvents ( args , options ? ) ; public describePullRequestEvents ( args , cb ) ; public describePullRequestEvents ( args , options , cb ) ; public describePullRequestEvents ( args , optionsOrCb ? , cb ? ) { const command = new DescribePullRequestEventsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public disassociateApprovalRuleTemplateFromRepository ( args , options ? ) ; public disassociateApprovalRuleTemplateFromRepository ( args , cb ) ; public disassociateApprovalRuleTemplateFromRepository ( args , options , cb ) ; public disassociateApprovalRuleTemplateFromRepository ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateApprovalRuleTemplateFromRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
     */ public evaluatePullRequestApprovalRules ( args , options ? ) ; public evaluatePullRequestApprovalRules ( args , cb ) ; public evaluatePullRequestApprovalRules ( args , options , cb ) ; public evaluatePullRequestApprovalRules ( args , optionsOrCb ? , cb ? ) { const command = new EvaluatePullRequestApprovalRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a specified approval rule template.</p>
     */ public getApprovalRuleTemplate ( args , options ? ) ; public getApprovalRuleTemplate ( args , cb ) ; public getApprovalRuleTemplate ( args , options , cb ) ; public getApprovalRuleTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GetApprovalRuleTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the base-64 encoded content of an individual blob in a repository.</p>
     */ public getBlob ( args , options ? ) ; public getBlob ( args , cb ) ; public getBlob ( args , options , cb ) ; public getBlob ( args , optionsOrCb ? , cb ? ) { const command = new GetBlobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a repository branch, including its name and the last commit ID.</p>
     */ public getBranch ( args , options ? ) ; public getBranch ( args , cb ) ; public getBranch ( args , options , cb ) ; public getBranch ( args , optionsOrCb ? , cb ? ) { const command = new GetBranchCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the content of a comment made on a change, file, or commit in a repository. </p>
     *             <note>
     *             <p>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.</p>
     *          </note>
     */ public getComment ( args , options ? ) ; public getComment ( args , cb ) ; public getComment ( args , options , cb ) ; public getComment ( args , optionsOrCb ? , cb ? ) { const command = new GetCommentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.</p>
     */ public getCommentReactions ( args , options ? ) ; public getCommentReactions ( args , cb ) ; public getCommentReactions ( args , options , cb ) ; public getCommentReactions ( args , optionsOrCb ? , cb ? ) { const command = new GetCommentReactionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about comments made on the comparison between two commits.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public getCommentsForComparedCommit ( args , options ? ) ; public getCommentsForComparedCommit ( args , cb ) ; public getCommentsForComparedCommit ( args , options , cb ) ; public getCommentsForComparedCommit ( args , optionsOrCb ? , cb ? ) { const command = new GetCommentsForComparedCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns comments made on a pull request.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public getCommentsForPullRequest ( args , options ? ) ; public getCommentsForPullRequest ( args , cb ) ; public getCommentsForPullRequest ( args , options , cb ) ; public getCommentsForPullRequest ( args , optionsOrCb ? , cb ? ) { const command = new GetCommentsForPullRequestCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a commit, including commit message and committer information.</p>
     */ public getCommit ( args , options ? ) ; public getCommit ( args , cb ) ; public getCommit ( args , options , cb ) ; public getCommit ( args , optionsOrCb ? , cb ? ) { const command = new GetCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public getDifferences ( args , options ? ) ; public getDifferences ( args , cb ) ; public getDifferences ( args , options , cb ) ; public getDifferences ( args , optionsOrCb ? , cb ? ) { const command = new GetDifferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the base-64 encoded contents of a specified file and its metadata.</p>
     */ public getFile ( args , options ? ) ; public getFile ( args , cb ) ; public getFile ( args , options , cb ) ; public getFile ( args , optionsOrCb ? , cb ? ) { const command = new GetFileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the contents of a specified folder in a repository.</p>
     */ public getFolder ( args , options ? ) ; public getFolder ( args , cb ) ; public getFolder ( args , options , cb ) ; public getFolder ( args , optionsOrCb ? , cb ? ) { const command = new GetFolderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a specified merge commit.</p>
     */ public getMergeCommit ( args , options ? ) ; public getMergeCommit ( args , cb ) ; public getMergeCommit ( args , options , cb ) ; public getMergeCommit ( args , optionsOrCb ? , cb ? ) { const command = new GetMergeCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.</p>
     */ public getMergeConflicts ( args , options ? ) ; public getMergeConflicts ( args , cb ) ; public getMergeConflicts ( args , options , cb ) ; public getMergeConflicts ( args , optionsOrCb ? , cb ? ) { const command = new GetMergeConflictsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public getMergeOptions ( args , options ? ) ; public getMergeOptions ( args , cb ) ; public getMergeOptions ( args , options , cb ) ; public getMergeOptions ( args , optionsOrCb ? , cb ? ) { const command = new GetMergeOptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about a pull request in a specified repository.</p>
     */ public getPullRequest ( args , options ? ) ; public getPullRequest ( args , cb ) ; public getPullRequest ( args , options , cb ) ; public getPullRequest ( args , optionsOrCb ? , cb ? ) { const command = new GetPullRequestCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public getPullRequestApprovalStates ( args , options ? ) ; public getPullRequestApprovalStates ( args , cb ) ; public getPullRequestApprovalStates ( args , options , cb ) ; public getPullRequestApprovalStates ( args , optionsOrCb ? , cb ? ) { const command = new GetPullRequestApprovalStatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public getPullRequestOverrideState ( args , options ? ) ; public getPullRequestOverrideState ( args , cb ) ; public getPullRequestOverrideState ( args , options , cb ) ; public getPullRequestOverrideState ( args , optionsOrCb ? , cb ? ) { const command = new GetPullRequestOverrideStateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a repository.</p>
     *
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public getRepository ( args , options ? ) ; public getRepository ( args , cb ) ; public getRepository ( args , options , cb ) ; public getRepository ( args , optionsOrCb ? , cb ? ) { const command = new GetRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about triggers configured for a repository.</p>
     */ public getRepositoryTriggers ( args , options ? ) ; public getRepositoryTriggers ( args , cb ) ; public getRepositoryTriggers ( args , options , cb ) ; public getRepositoryTriggers ( args , optionsOrCb ? , cb ? ) { const command = new GetRepositoryTriggersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listApprovalRuleTemplates ( args , options ? ) ; public listApprovalRuleTemplates ( args , cb ) ; public listApprovalRuleTemplates ( args , options , cb ) ; public listApprovalRuleTemplates ( args , optionsOrCb ? , cb ? ) { const command = new ListApprovalRuleTemplatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all approval rule templates that are associated with a specified repository.</p>
     */ public listAssociatedApprovalRuleTemplatesForRepository ( args , options ? ) ; public listAssociatedApprovalRuleTemplatesForRepository ( args , cb ) ; public listAssociatedApprovalRuleTemplatesForRepository ( args , options , cb ) ; public listAssociatedApprovalRuleTemplatesForRepository ( args , optionsOrCb ? , cb ? ) { const command = new ListAssociatedApprovalRuleTemplatesForRepositoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more branches in a repository.</p>
     */ public listBranches ( args , options ? ) ; public listBranches ( args , cb ) ; public listBranches ( args , options , cb ) ; public listBranches ( args , optionsOrCb ? , cb ? ) { const command = new ListBranchesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public listPullRequests ( args , options ? ) ; public listPullRequests ( args , cb ) ; public listPullRequests ( args , options , cb ) ; public listPullRequests ( args , optionsOrCb ? , cb ? ) { const command = new ListPullRequestsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more repositories.</p>
     */ public listRepositories ( args , options ? ) ; public listRepositories ( args , cb ) ; public listRepositories ( args , options , cb ) ; public listRepositories ( args , optionsOrCb ? , cb ? ) { const command = new ListRepositoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all repositories associated with the specified approval rule template.</p>
     */ public listRepositoriesForApprovalRuleTemplate ( args , options ? ) ; public listRepositoriesForApprovalRuleTemplate ( args , cb ) ; public listRepositoriesForApprovalRuleTemplate ( args , options , cb ) ; public listRepositoriesForApprovalRuleTemplate ( args , optionsOrCb ? , cb ? ) { const command = new ListRepositoriesForApprovalRuleTemplateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the<i> AWS CodeCommit User
     *                 Guide</i>.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Merges two branches using the fast-forward merge strategy.</p>
     */ public mergeBranchesByFastForward ( args , options ? ) ; public mergeBranchesByFastForward ( args , cb ) ; public mergeBranchesByFastForward ( args , options , cb ) ; public mergeBranchesByFastForward ( args , optionsOrCb ? , cb ? ) { const command = new MergeBranchesByFastForwardCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Merges two branches using the squash merge strategy.</p>
     */ public mergeBranchesBySquash ( args , options ? ) ; public mergeBranchesBySquash ( args , cb ) ; public mergeBranchesBySquash ( args , options , cb ) ; public mergeBranchesBySquash ( args , optionsOrCb ? , cb ? ) { const command = new MergeBranchesBySquashCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Merges two specified branches using the three-way merge strategy.</p>
     */ public mergeBranchesByThreeWay ( args , options ? ) ; public mergeBranchesByThreeWay ( args , cb ) ; public mergeBranchesByThreeWay ( args , options , cb ) ; public mergeBranchesByThreeWay ( args , optionsOrCb ? , cb ? ) { const command = new MergeBranchesByThreeWayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public mergePullRequestByFastForward ( args , options ? ) ; public mergePullRequestByFastForward ( args , cb ) ; public mergePullRequestByFastForward ( args , options , cb ) ; public mergePullRequestByFastForward ( args , optionsOrCb ? , cb ? ) { const command = new MergePullRequestByFastForwardCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public mergePullRequestBySquash ( args , options ? ) ; public mergePullRequestBySquash ( args , cb ) ; public mergePullRequestBySquash ( args , options , cb ) ; public mergePullRequestBySquash ( args , optionsOrCb ? , cb ? ) { const command = new MergePullRequestBySquashCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public mergePullRequestByThreeWay ( args , options ? ) ; public mergePullRequestByThreeWay ( args , cb ) ; public mergePullRequestByThreeWay ( args , options , cb ) ; public mergePullRequestByThreeWay ( args , optionsOrCb ? , cb ? ) { const command = new MergePullRequestByThreeWayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets aside (overrides) all approval rule requirements for a specified pull request.</p>
     */ public overridePullRequestApprovalRules ( args , options ? ) ; public overridePullRequestApprovalRules ( args , cb ) ; public overridePullRequestApprovalRules ( args , options , cb ) ; public overridePullRequestApprovalRules ( args , optionsOrCb ? , cb ? ) { const command = new OverridePullRequestApprovalRulesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Posts a comment on the comparison between two commits.</p>
     */ public postCommentForComparedCommit ( args , options ? ) ; public postCommentForComparedCommit ( args , cb ) ; public postCommentForComparedCommit ( args , options , cb ) ; public postCommentForComparedCommit ( args , optionsOrCb ? , cb ? ) { const command = new PostCommentForComparedCommitCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Posts a comment on a pull request.</p>
     */ public postCommentForPullRequest ( args , options ? ) ; public postCommentForPullRequest ( args , cb ) ; public postCommentForPullRequest ( args , options , cb ) ; public postCommentForPullRequest ( args , optionsOrCb ? , cb ? ) { const command = new PostCommentForPullRequestCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Posts a comment in reply to an existing comment on a comparison between commits or a pull request.</p>
     */ public postCommentReply ( args , options ? ) ; public postCommentReply ( args , cb ) ; public postCommentReply ( args , options , cb ) ; public postCommentReply ( args , optionsOrCb ? , cb ? ) { const command = new PostCommentReplyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public putCommentReaction ( args , options ? ) ; public putCommentReaction ( args , cb ) ; public putCommentReaction ( args , options , cb ) ; public putCommentReaction ( args , optionsOrCb ? , cb ? ) { const command = new PutCommentReactionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.</p>
     */ public putFile ( args , options ? ) ; public putFile ( args , cb ) ; public putFile ( args , options , cb ) ; public putFile ( args , optionsOrCb ? , cb ? ) { const command = new PutFileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces all triggers for a repository. Used to create or delete triggers.</p>
     */ public putRepositoryTriggers ( args , options ? ) ; public putRepositoryTriggers ( args , cb ) ; public putRepositoryTriggers ( args , options , cb ) ; public putRepositoryTriggers ( args , optionsOrCb ? , cb ? ) { const command = new PutRepositoryTriggersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources
     *             in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
     *                 Guide</i>.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public testRepositoryTriggers ( args , options ? ) ; public testRepositoryTriggers ( args , cb ) ; public testRepositoryTriggers ( args , options , cb ) ; public testRepositoryTriggers ( args , optionsOrCb ? , cb ? ) { const command = new TestRepositoryTriggersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS
     *             CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
     *                 Guide</i>.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public updateApprovalRuleTemplateContent ( args , options ? ) ; public updateApprovalRuleTemplateContent ( args , cb ) ; public updateApprovalRuleTemplateContent ( args , options , cb ) ; public updateApprovalRuleTemplateContent ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApprovalRuleTemplateContentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the description for a specified approval rule template.</p>
     */ public updateApprovalRuleTemplateDescription ( args , options ? ) ; public updateApprovalRuleTemplateDescription ( args , cb ) ; public updateApprovalRuleTemplateDescription ( args , options , cb ) ; public updateApprovalRuleTemplateDescription ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApprovalRuleTemplateDescriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the name of a specified approval rule template.</p>
     */ public updateApprovalRuleTemplateName ( args , options ? ) ; public updateApprovalRuleTemplateName ( args , cb ) ; public updateApprovalRuleTemplateName ( args , options , cb ) ; public updateApprovalRuleTemplateName ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApprovalRuleTemplateNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces the contents of a comment.</p>
     */ public updateComment ( args , options ? ) ; public updateComment ( args , cb ) ; public updateComment ( args , options , cb ) ; public updateComment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateCommentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets or changes the default branch name for the specified repository.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public updateDefaultBranch ( args , options ? ) ; public updateDefaultBranch ( args , cb ) ; public updateDefaultBranch ( args , options , cb ) ; public updateDefaultBranch ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDefaultBranchCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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. </p>
     */ public updatePullRequestApprovalRuleContent ( args , options ? ) ; public updatePullRequestApprovalRuleContent ( args , cb ) ; public updatePullRequestApprovalRuleContent ( args , options , cb ) ; public updatePullRequestApprovalRuleContent ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePullRequestApprovalRuleContentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public updatePullRequestApprovalState ( args , options ? ) ; public updatePullRequestApprovalState ( args , cb ) ; public updatePullRequestApprovalState ( args , options , cb ) ; public updatePullRequestApprovalState ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePullRequestApprovalStateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces the contents of the description of a pull request.</p>
     */ public updatePullRequestDescription ( args , options ? ) ; public updatePullRequestDescription ( args , cb ) ; public updatePullRequestDescription ( args , options , cb ) ; public updatePullRequestDescription ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePullRequestDescriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the status of a pull request. </p>
     */ public updatePullRequestStatus ( args , options ? ) ; public updatePullRequestStatus ( args , cb ) ; public updatePullRequestStatus ( args , options , cb ) ; public updatePullRequestStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePullRequestStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces the title of a pull request.</p>
     */ public updatePullRequestTitle ( args , options ? ) ; public updatePullRequestTitle ( args , cb ) ; public updatePullRequestTitle ( args , options , cb ) ; public updatePullRequestTitle ( args , optionsOrCb ? , cb ? ) { const command = new UpdatePullRequestTitleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets or changes the comment or description for a repository.</p>
     *         <note>
     *             <p>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.</p>
     *          </note>
     */ public updateRepositoryDescription ( args , options ? ) ; public updateRepositoryDescription ( args , cb ) ; public updateRepositoryDescription ( args , options , cb ) ; public updateRepositoryDescription ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRepositoryDescriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Limits</a> in the AWS CodeCommit
     *             User Guide.</p>
     */ public updateRepositoryName ( args , options ? ) ; public updateRepositoryName ( args , cb ) ; public updateRepositoryName ( args , options , cb ) ; public updateRepositoryName ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRepositoryNameCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }